Jeffery Vaska has “10 Tips That Every PHP Newbie Should Know“, a nice collection of tips for a newbie venturing into PHP. Tips like MySQL Connection Class, Dealing with Magic Quotes etc can be found there.
Jeffery Vaska has “10 Tips That Every PHP Newbie Should Know“, a nice collection of tips for a newbie venturing into PHP. Tips like MySQL Connection Class, Dealing with Magic Quotes etc can be found there.
The following code is basically JS, but has been made into a PHP function so that it could be invoked with different parameters as per our needs.
<?php
function js_redirect($url, $seconds=5) {
echo “<script language=\”JavaScript\”>\n”;
echo “<!– hide code from displaying on browsers with JS turned off\n\n”;
echo “function redirect() {\n”;
echo “window.location = \”" . $url . “\”;\n”;
echo “}\n\n”;
echo “timer [...]
Spellify automatically checks for spelling errors on user entered text in input text fields. Spellify is powered by the Google™ spell checker. You can see a demo at te homepage and also download the latest version there. Spellify not only works for text fields, but also on text areas.
Add great flash effects to existing images on you site/blog using swfIR..
Effects include Elastic header image (Automatically resizing images according to text size changes by user), rotated image within content, smooth rounded edges to images, shadow effects etc..
HomePage : http://www.swfir.com/
Open Flash Chart lets you make great chart/pie representations from you data for a great looking output. The data file is either a text file, or a .php, Perl, Python, Java (or another flavour of dynamic) page.
Open Flash Chart, is open source. It is free to use and you get the source code to fiddle [...]
500 Internal Server Error on Localhost for Web.Developer Server Suite was pissing me off for a long time. The Apache error logs shows “RewriteEngine not allowed here”. Deleting .htaccess would fix the problem, but here is the fix. It’s a problem with mod_rewrite module and Apache’s AllowOverride configuration. Here’s how to fix it :
Firstly, [...]