Just a quick post as I understood something important about WordPress famous plugin for paging - WP-PageNavi. My configuration for this was not very correct and it was getting 404 Not found in Google webmaster tool. I think you would not like to see those error in webmaster tool. And… (Continue)
I have compiled few PHP configuration settings that are helpful in adjusting ourselves to new PHP environment.
Here are few php.ini setting you may be aware of that will expire in php6. It would be good to aware of these fading configurations setting as you may need this when you… (Continue)
WordPress has a nice feature of moving Wp-Content folder to a different place. This can be helpful for Content Delivery Network management. Wp-Content directory include all theme files, plugins and any uploads you have.
We can use Content Delivery Network to parallelize the connection in Browser and distribute the loads… (Continue)
Use set_time_limit(timeInSecond or 0); in your script or max_execution_time in php config file(php.ini) for setting execution time of your script. If you want unlimited execution time then use 0 for second.
You may still be getting "execution time exceeded" error after setting long time for "execution time" in php.ini or… (Continue)
"Essential PHP Security" is an essential book for experienced PHP programmer. It discusses essential security measures you can take for making your PHP applications secure. Even if there are another team for your high profile web site's security then also it is very useful. You will learn about many php.ini… (Continue)
You need to configure apache a little for telling how to execute php files.For making php work with apache you first dump php suppose c:\php501\. Then add these lines to your apache httpd.conf file. ScriptAlias /php/ "c:/php501/"AddType application/x-httpd-php .phpAction application/x-httpd-php "/php/php-cgi.exe"
First check your apache server is running correctly. If… (Continue)
The file php.ini is used for setting php directive value. It changes the php’s behaviors.
What is php.ini file?
PHP will dump php.ini file as php.ini.dist and php.ini.recommended. In the absence of php.ini file php can use the default built-in configuration value. Rename php.ini.recommended file to php.ini and place it… (Continue)
You can customize the message shown to user when they access Forbidden web page. This is 403 status code header sent by server to browser.
ForbiddenYou don't have permission to access ... on this server.Apache .... Server ........
Just add this line to your Apache Config file (httpd):ErrorDocument 403 /forbidden.html… (Continue)
Some files are login protected in PHP application and some are include files that need not run directly and can hold some important data not for direct public view.
For each login-protected page you will write login check script at top of the page.
<?php
If not login then
Redirect… (Continue)