WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Getting newsgroup with PHP
Categories : PHP, IMAP Update Picture
Mario Hadiwinata
Date : Feb 14th 2001
Grade : 1 of 5 (graded 1 times)
Viewed : 4530
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Mario Hadiwinata
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

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);

?>



A PHP based webmail at : http://www.horde.org/imp
Categories : Email, IMAP, PHP, Complete Programs
imap_sort
Categories : IMAP, Email, PHP, PHP Functions
Data Retrieve from mailbox and generate the SQL Syntax
Categories : PHP, IMAP, Mail
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
Query2Report : Generating Html, Pdf and Csv Reports from SQL Query
Categories : PHP, PHP, HTML, PDF, Excel
imap_append -- Append a string message to a specified mailbox
Categories : PHP, PHP Functions, IMAP, PHP Functions
Convert text to 'quoted printable' without the IMAP package installed.
Categories : PHP, Mail, 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
Basic Authentication with sessions
Categories : PHP, Beginner Guides, Authentication, Form Processing, Sessions
Call a cgi from php with include function
Categories : PHP, CGI
Displaying records of database in more than one page (paging)
Categories : Databases, MySQL, PHP
Latitude-Longitude to Miles
Categories : PHP, Utilities, Math.
Message of the Day - Random Message (Needs MySQL!)
Categories : Databases, HTML and PHP, PHP, MySQL
Retrieve text from table and email to your e- address in pipe delimited format.
Categories : PHP, MySQL