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
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
פרייסז - השוואת מחירים בסופר
ZeroLag.com
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 : PhpView 0.1 - simple php viewer, using temporary files and frames.
Categories : PHP, PHP Options and Info, Debugging, HTML and PHP Update Picture
zom mose
Date : Dec 10th 1999
Grade : 3 of 5 (graded 8 times)
Viewed : 21017
File : No file for this code example.
Images : No Images for this code example.
Search : More code by zom mose
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

<? /******************************.
/ *PhpView* - 0.1 - 10 dec 1999 |
| written by mose <[email protected]> |
| Just put that file anywhere |
| in an unix apache+php webtree |
| Call it with your browser |
| you'll save time in debugging. |
| ------------------------------ |
| That piece of code is free |
'------------------------------*/ ?>

<?        if (empty($pvfile)) { $pvfile = "/tmp/test.".time().".php"; } ?>
<?        if ($pvin == "top") { ?>
<html><body bgcolor=#ffffff>
<form action=<? echo $PHP_SELF; ?> method=post target=content>
<input type=hidden name=pvin value=content>
<input type=hidden name=pvfile value="<? echo $pvfile; ?>">
<textarea name=pvtext cols=80 rows=12 wrap=no><? echo "$pvtext"; ?></textarea>
<input type=submit name=pvaction value='View'>
</form></body></html>
<?         } elseif ($pvin == "content") {
                if (!empty($pvtext)) {
                        $pvfp = fopen($pvfile,"w");
                        fputs($pvfp,"$pvtext");
                        fclose($pvfp);
                        echo "Result ($pvfile)";
                        echo "<hr noshade size=1>\n";
                        if (is_file($pvfile)) {
                                $pvtimein = split(" ",microtime());
                                include "$pvfile";
                                $pvtimeout = split(" ",microtime());
                                echo "<hr noshade size=1>\n";
                                $pvlapsm = $pvtimeout[0] - $pvtimein[0];
                                $pvlapss = $pvtimeout[1] - $pvtimein[1];
                                echo "TimeSpent ".$pvlapss+$pvlapsm;
                        }
                } else {
                        echo "Type in the box your php or html text, it will be included in the bottom
frame.<br>";
                        echo "<b>PhpView</b> also displays time spent to do it.";
                }
        } else { ?>
<html>
<head><title>PhpView</title></head>
<frameset rows="230,*">
        <frame name=top src=<? echo $PHP_SELF; ?>?pvin=top frameborder=0 framespacing=0>
        <frame name=content src=<? echo $PHP_SELF; ?>?pvin=content frameborder=0 framespacing=0>
</frameset>
</html>
<?        } ?>



PHP, simple, counter, bala
Categories : HTML and PHP, PHP, PHP Options and Info
Save time debugging PHP3 under UNIX/Linux using linked .phps files
Categories : HTML and PHP, Debugging, PHP
PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use!
Categories : HTML and PHP, Email, PHP, Perl, HTML and PHP
Changing the default 30 seconds time limit of PHP scripts
Categories : PHP, PHP Options and Info
Random Image Display
Categories : PHP, Filesystem, Graphics, HTML and PHP
Security, Password lock out after three tries, authorization fails and is logged locked out of account till admin decides he will unlock it.
Categories : Sessions, PHP, MySQL, PHP Options and Info
Creates three SELECT form fields: Month, Day, and Year. You give it a string which will be used to make the name for the three fields, and a number of seconds to use as the default date. If you give it blank for this value, the current date is used.
Categories : HTML and PHP, PHP, Date Time
Produces browser-safe strings while preserving HTML tags.
Categories : Strings, HTTP, PHP, HTML and PHP
Step by Step installation manual for PHP4.1.x on Windows 2000 based systems running IIS5 using CGI or ISAPI
Categories : PHP, PHP Configuration, PHP Options and Info, Windows 2000
A Custom Error Handling And Debugging Class
Categories : PHP, PHP Classes, Debugging, Errors and Logging
If you want to create select buttons featuring current date this example will show you how...
Categories : Date Time, HTML and PHP, PHP
How to pass an array from one PHP Script to another via an HTML form
Categories : PHP, HTML and PHP, Arrays
Record Set Paging with PHP (RSP)
Categories : PHP, MySQL, Navigation, Databases, HTML and PHP
Using select multiple with php3
Categories : HTML and PHP, PHP
The Nearly Perfect Contact Us Form
Categories : PHP, Form Processing, HTML and PHP