Php > Miscellaneous
PhpView 0.1 - simple php viewer, using temporary files and frames
PhpView 0.1 - simple php viewer, using temporary files and frames if (empty($pvfile)) { $pvfile = "/tmp/test.".time().".php"; } ?> if ($pvin == "top") { ?>
method=post target=content>
echo "$pvtext"; ?>
} elseif ($pvin == "content") { if (!empty($pvtext)) { $pvfp = fopen($pvfile,"w"); fputs($pvfp,"$pvtext"); fclose($pvfp); echo "Result ($pvfile)"; echo "
\n"; if (is_file($pvfile)) { $pvtimein = split(" ",microtime()); include "$pvfile"; $pvtimeout = split(" ",microtime()); echo "
\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.
"; echo "
PhpView
also displays time spent to do it."; } } else { ?>
PhpView
?pvin=top frameborder=0 framespacing=0>
?pvin=content frameborder=0 framespacing=0>
} ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage