Posts Tagged ‘php’
Writing a better PHP code..
Some usefull links I got while searching for “How to write a better PHP code”. Do read these if you are really interested in optimizing your PHP code.
Write better PHP code (1): A web site is an application, not a book
Write better PHP code (5): Caching for fun and profit
Write better PHP code (3): Starting with third-party code
how to write better code
Some quotes…
“The bad thing with very fast hardware is that it costs a lot. As a consequence, it is wise to start with relatively slow server(s), with relatively slow network connections and thus hit the limit at which you know that the site must be optimized as soon as possible. This way you have a lot of room for upgrading the hardware at relatively moderate prices, and a good reason to think of software optimization with enough time to actually implement what’s needed. Starting with very fast hardware and hitting the wall at a moment when you simply can’t afford even faster machine(s) is about the worst thing that can happen to you…”
Simple HOWTO e-mail form.
Wanna setup an email/contact form just like THIS
Here is a simple HOWTO do that.
There was some problem with PHP GLOBALS. ThanX to THIS thread on beigetower FORUM.
Let us start hacking the script.. (‘;’)
First download zipped file email_form.tar.gz.
Now extract to your web directory.
For simplicity, copy both email.php and mail.php in the same place.
Change the look of email.php as you like. Open mail.php in a text editor and change the email-ID.That’s it.
Point your browser to email.php.
Have fun.
Any doubts/comments should goto HERE