WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
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 Resources
Web Development Content
Internet Security Software
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
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

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 : This script shows you the 7th latest php items from the mailing list archive on zend.com
Categories : HTML, HTML and PHP, HTTP, PHP Update Picture
idban secandri
Date : Jul 17th 2000
Grade : 1 of 5 (graded 2 times)
Viewed : 6202
File : No file for this code example.
Images : No Images for this code example.
Search : More code by idban secandri
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

<?
// dedicate to my wife ( desy ) who infected with Hepatitis B virus, throw 'em away honey!, you can doit!!
// distribute as GPL!
?>

<table border="0" width="98%" bgcolor="#000000" cellspacing="0">
<tr>
<td width="100%"><small><font face="Verdana" color="#FFFFFF"><strong>7 latest mail from php3 mailing
list on php3-general</strong></font></small><table border="0" width="100%"
bgcolor="#000000" cellspacing="1">
<tr>
<td width="68%" bgcolor="#8080C0"><font face="Arial" color="#000000"><small><strong>Subject</strong></small></font></td>
<td width="19%" bgcolor="#8080C0"><font face="Arial" color="#000000"><small><strong>Author</strong></small></font></td>
<td width="13%" bgcolor="#8080C0"><font face="Arial" color="#000000"><small><strong>Date</strong></small></font></td>
</tr>
<?
$bulan= time();
$bulanstr=date("m",$bulan+(0*3600));
$fp = fsockopen("www.zend.com", 80, &$errno, &$errstr, 30);
if(!$fp) {
echo "Zend.com down!! :( <br>\n";
exit; }
else {
$file=fopen("http://www.zend.com/lists/php-general/2000$bulanstr/maillist.html","r");
if (!$file) {
echo "error when connect\n";
exit; }
while (!feof($file)) {
$line = fgets($file,1024);
if (eregi(" <A NAME=\"(.*)</A>", $line, $subject)){
$su++;
if ($su > 7) { break; }
$subject2= str_replace("HREF=\"","HREF=\"http://www.zend.com/lists/php-general/2000$bulanstr/",$subject[1]);
print (" <tr>\n
<td width=\"68%\" bgcolor=\"");
if ($su % 2 ) { echo"#C0C0C0"; } else { echo"#8080C0"; }
print ("\" valign=\"top\"><font face=\"Arial\" color=\"#000000\"><small><A NAME=\"$subject2</a></small></font></td>\n");
}
if (eregi(" <a href=\"mailto:(.*)</a>", $line, $author)){
$au++;
if ($au > 7 ) { break; }
print (" <td width=\"18%\" bgcolor=\"");
if ($su % 2 ) { echo"#C0C0C0"; } else { echo"#8080C0"; }
print ("\" valign=\"top\"><font face=\"Arial\" color=\"#000000\"><small><a href=\"mailto:$author[1]</a></small></font></td>\n");

}
if (eregi("(.*)/2000", $line, $date1)){
$da1++;
if ($da1 > 7 ) { break; }
print (" <td width=\"13%\" bgcolor=\"");
if ($su % 2 ) { echo"#C0C0C0"; } else { echo"#8080C0"; }
print ("\" valign=\"top\"><font face=\"Arial\" color=\"#000000\"><small><p align=\"right\">$date1[1]");
}
if (eregi("/2000(.*)", $line, $date2)){
$da2++;
if ($da2 > 7 ) { break; }
print ("/2000 $date2[1]</small></font></td>\n</tr>\n");
}
}
}
fclose($file);
?>
<tr>
<td width="100%" bgcolor="#8080C0" valign="top" colspan="3"><font face="Arial"
color="#000000"><small><p align="right">source <a href="http://www.zend.com">zend.com</a>
mailing list archive! copyright <a href="http://www.zend.com">zend.com</a> 2000</small><br>
<small>script done by<a
href="mailto:idban@tekkenzaibatsu.com?subject=gimme latest zend mailing list script">
idban secandri</a> want this script? just 1 US$ and contact me :) </small></font></td>
</tr>
</table>
</td>
</tr>
</table>



class formHTML build your HTML Forms from PHP
Categories : PHP, PHP Classes, HTML and PHP, HTML
Automatic generation of HTML code for a table. OO interface. Can define colspan, rowspan, table style, cell style, and data style. Simple, but effective.
Categories : PHP, PHP Classes, HTML, HTML and PHP
PHP4 HTTP Compression Speeds up the Web
Categories : PHP, Zlib, HTML and PHP, HTTP, Network
Script to check values being submitted by POST or GET method from a form. This script may help diagnose what variables are being supplied by a browser to other php scripts.
Categories : HTML, Variables, Debugging, PHP, HTTP
Upload Script, Upload File Script, Input Type="File"
Categories : PHP, HTML and PHP, HTTP
webcam cam view image ispy browser independant
Categories : Graphics, HTML, HTML and PHP, PHP
How to preset a text string in a textarea input field
Categories : HTML, HTML and PHP, PHP, Beginner Guides
Snipe.Net's Web Design Color Scheme Previewer- Allows uses to input hex codes for their text, background, and link colors, and preview the color scheme with their background image. Example: http://www.snipe.net/tech/snipeschool/hex.php3
Categories : PHP, HTML and PHP, General, Graphics, HTML
The first step Guest Book ... ^^
Categories : MySQL, PHP, Apache, HTML, HTTP
Browser Detection, Redirection Type, MSIE, MOZILLA, Netscape Navigator, NS, $HTTP_USER_AGENT, HTTP_USER_AGENT
Categories : PHP, HTTP, Browsers, HTML and PHP
Pseudo Non Parsed Header. Output to the the browser as the script runs.
Categories : PHP, HTTP, HTML and PHP
Real simple example of removing HTML tags from text then changing \n (new line) to <br>. Could be used in a forum for instance.
Categories : HTML, PHP, HTML and PHP, Beginner Guides
Popup Menu 0.5, popup, select, html, state-maintaing
Categories : HTML, PHP, HTML and PHP
A simple class with some HTML output functions that would come in handy for consistent page layout etc.
Categories : PHP, PHP Classes, HTML and PHP, HTML, Navigation
Query2Report : Generating Html, Pdf and Csv Reports from SQL Query
Categories : PHP, PHP, HTML, PDF, Excel