PHP Tutorials

Whether just getting started or an expert, this vast collection of PHP tutorials will help you create dynamic content for powerful web-based applications in no time.

Results via Envato Market

By Mattias Nilsson on July 30, 2000 Example 2 (page2.php): <?php session_start(); print “Value of ‘my_session_variable’: $my_session_variable”; ?> Try this out, you’ll see that the variable kept it’s value across pages! Using session variables for authentication in conjunction with a database is just as simple. Create a login-page gives the user a userid and…

By Mattias Nilsson on July 30, 2000 An all to common error on the web is broken links. You end up with broken links from other sites whenever you rearrange your site. People bookmark some page they like and come back 3 months later only to find a ‘404 Not…

By Mattias Nilsson on July 30, 2000 Throwing errors from PHP pages Throwing errors from a PHP page is quite the same as emulating Apache’s behaviour for ErrorDocument directives, you simply redirect the user using a query-string that specifies variables that Apache usually sets as environment variables. This makes it…