on this page: arrays debugging documenting images login oop recursion regex sessions
more on this site
[ to directory ]
- Basics
- Intermediate
- Advanced
- General for all
-
¦
tops in its class
- i have a copy of it:
- i use it in teaching:
links - php-howtos
How to do things with PHP code.
arrays
debugging
-
Class: PHP Debug
http://www.phpclasses.org/browse/package/1479.html
trace the execution steps of PHP scripts to assist in their eventual debugging. The class can keep track of messages associated with different types of script activity so it can later generate a report that can be outputted for instance at the end of each script pages.
Vernet Loic
: no date
-
JavaScript Powered PHP Debugging
http://www.zend.com/zend/tut/tutorial-DebugLib.php
Write debug messages to a javascript window, thereby not "interrupting your site layout. You will learn to apply basic string substitution, and briefly examine a method of capturing data on PHP’s STDOUT via output buffering."
Craig Davis
: 2003
-
PHP debug class
http://phpdebug.sourceforge.net/
"... to provide assistance in debugging PHP code, by "debug" i don't mean "step by step debug" but program trace, variables display, process time, included files, queries executed... These informations are gathered through the script execution and therefore are displayed at the end of the script so that it can be read and used at any moment. (during the development phase or using a special account in production)"
Vernet Loic
: Apr 2006
documenting
-
CCDoc
http://ccdoc.sourceforge.net/
"a free javadoc inspired tool that automatically generates HTML web documentation from C++ programs by parsing the source file headers."
Joe Linoff
: Sep 2004
-
PHPDoc
http://www.phpdoc.de/
"a way to generate an API documentation of objectoriented and procedural code with certain markup in your source."
Ulf Wendel
: 2001
images
-
Generating Images on the Fly
http://www.webmonkey.com/webmonkey/01/21/index4a.html
"The HTML on the page has the usual IMG tag, but the file it points to is a script rather than a static image file. The script, when called, generates and returns an image according to the arguments it's fed." Also how to use GIMP and Generator to make images with php. (From 2001, so possibly needs a look at current function documentation when using.)
Paul Adams
: 2001
-
Image manipulation with PHP & the GD library, Part 1
http://www.phpit.net/article/image-manipulation-php-gd-part1/
"How to open images, display or save them, and how to write a simple image converter"
PHP IT
: 2006
login
oop
recursion
regex
sessions
-
"Headers already sent"
http://www.phpfreaks.com/forums/index.php/topic,95562.0.html
Clear explanation of that pesky error message
PHPFreaks
: 2006
-
Cookies and Sessions - PHP in a Nutshell
http://hudzilla.org/phpbook/read.php/10_0_0
"Owing to the fact that HTTP is stateless - that is, any data you have stored is forgotten about when the page has been sent to the client and the connection is closed - it took a little work to find a solution to the problem. Eventually, Netscape put a solution into their browser known as "cookies" - tiny bits of information that a web site could store on the client's machine that were sent back to the web site each time a new page was requested. Each cookie could only be read by the web site that had written it, meaning that it was a secure way to store information across pages." ... "Sessions grew up from cookies as a way of storing data on the server side, ... In order to set up a unique identifier on the client, sessions still use a small cookie - this cookie simply holds a value that uniquely identifies the client to the server, and corresponds to a data file on the server."
Paul Hudson
: 2006
-
Introduction to Maintaining State with PHP Sessions
http://www.devshed.com/c/a/PHP/Introduction-to-Maintaining-the-State-of-Applicat ions-with-PHP-Sessions/
good discussion
DevShed
: Apr 2006
-
Session Handling Functions
http://www.php.net/manual/en/ref.session.php
The manual: the authoritative word on php session functions; with comments.
PHP.Net
: 2005
-
Sessions at free2code
http://www.free2code.net/tutorials/programming/php/4/sessions.php
very good explanation
Free2Code
: 2005
More php info on this site