PHP & JavaScript World Domination Series: Storing data in the client.
26574PHP & JavaScript World Domination Series: Storing data in the client.http://www.phpbuilder.com/columns/luis20000724.php3One of the things that all programmers love is to write a program which writes another program. On the web we have two different programming environments: the client (browser) and the server. Due to the HTTP protocol definition we can write a program on the server which writes another program to be executed on the client. Let's pick PHP (of course) for the server and JavaScript for the client. We'll show you in this article how you can use this scheme to store data in the client and then minimize the data transfered between the server and the browser for interactive applications like a chat room, a news system or whatever you want.PHP > Tips and Tutorials > MiscellaneousOct 16, 2006
We've all seen the dreaded Error 404 message - the result of broken links and mistyped URLs. You've probably been on some websites where the error pages are customised with their own logo and message, and I'm sure you'll agree that it looks far more professional than the standard one.
Before starting you will need to create a new txt file. Leave the file blank and save it as ips.txt. After that, we goes to the code. This is a good way of keeping track of your visitors!
This function is an alternative to str_ireplace() function in php5. It is useful when you need to call str_ireplace() function but you have php4 installed in your server. Put this function stri_replace() as a custom function in your code and do the same work as str_ireplace() does in PHP5
The more I thought about it the more I began to see some of the benefits of generating style sheets with PHP. It can help keep related styles together in one document as opposed to having separate files for various browsers and JavaScript can be used on the client side to pass values back to the server so a custom style sheet can be created.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.