This code prevents session hijacking. It compares the ip number of the creator with that of the user of the session. If they don’t match it gives an
PHP Tips
Other Categories: Application Architecture, Databases, News, Pear, PHP Functions, Setup & Installation, Site Operation, Tools, and Tricks & Hacks.
I had once needed to run two MySQL servers from the same binary one with Transactional support and another without. The procedure followed is
A lot of news and information sites have introduced so called Printer Friendly Pages that provide an alternative layout for their pages
What if a user could select a browser bookmark and get their data? BadBlue’s free PHP web server for Windows has a new
Begin PHP processing
If you fancy a real challenge, check out my guide to using cookies on your WAP-enabled mobile phone. The worked examples show how to determine if
To get MySQL to work with the PHP 5 copy /dll/libmySQL.dll to the directory where php 5 resides and copy the /extensions/php_mysql.dll to
Okay so you want to make a quick if in the middle of a string. You could to a quick function to return one value if a condition is true
Ever wanted to get some database content or server side scripting output onto a plain old HTML (non-php) page? I wrote a link
form variables generator