|
|
|
|
|
This example will let u take information from newsgroup with PHP..
try it.. so cool..
imap.php
<?php
$mbox = imap_open ("{information.binus.ac.id/nntp:119}forum.keluhan", "", "");
echo $mbox;
echo "<p><h1>Newsgroup in forum.keluhan</h1>\n";
$headers = imap_headers ($mbox);
for ($x=1; $x < count($headers); $x++) {
$idx = ($x-1);
echo "<a href=\"view.php?num=$x\">$headers[$idx]</a><br>";
}
imap_close($mbox);
?>
view.php
<?php
$mbox = imap_open ("{information.binus.ac.id/nntp:119}forum.keluhan", "", "");
echo $mbox;
$headers = imap_headers ($mbox);
echo "<p><h1>View " . $headers[$num-1] . " </h1>\n";
echo imap_fetchheader($mbox,$num);
echo "<BR><P>";
echo imap_body($mbox,$num);
?> |
|
| imap_subscribe -- Subscribe to a mailbox Categories : PHP, PHP Functions, IMAP, Email | | | imap_headerinfo -- Read the header of the message Categories : PHP, PHP Functions, IMAP | | | PHP3 FormMail This script sends E-mail using PHP3 function mail(). Body of
message is from text file that you create. Easily modified. Categories : PHP, Email, IMAP | | | imap_append -- Append a string message to a specified mailbox Categories : PHP, PHP Functions, IMAP, PHP Functions | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | Data Retrieve from mailbox and generate the SQL Syntax Categories : PHP, IMAP, Mail | | | imap_sort Categories : IMAP, Email, PHP, PHP Functions | | | Convert text to 'quoted printable' without the IMAP package installed. Categories : PHP, Mail, IMAP | | | A PHP based webmail at : http://www.horde.org/imp Categories : Email, IMAP, PHP, Complete Programs | | | Class: Info on Users, Servers and the running script Categories : PHP, Classes and Objects, User Interface, PHP Classes | | | How insert data into a MS ACCESS database by using PHP Categories : PHP, PCRE | | | Simple way to replace a variable value in a .conf (.ini) file using a
webbrowser - the first stage of a complete universal configuration editor Categories : PHP, Regexps, Code Editors, Filesystem | | | icap_close -- Close an ICAP stream Categories : PHP, PHP Functions, ICAP | | | Website colour changer Categories : PHP, HTML and PHP, Date Time | | | JSON File Upload Categories : PHP, AJAX, Filesystem | |
| |
| |
|