php script

PHP Add Captcha Protection To Web Forms

by Vivek Gite on June 24, 2009 · 15 comments

I own a small business website. However, bots started to abusing my forms such as contact.php. How do I stop bots bots from abusing my site? How do I tell if PHP form is submitted by a person or a script?

{ 15 comments }

Can you explain usage of predefined variables called $_SERVER['PHP_SELF']?

{ 2 comments }

Domain Redirection Using a PHP Script

by Vivek Gite on December 18, 2008 · 1 comment

Q. How do I redirect my domain name using a php server side scripting under Apache web server?

{ 1 comment }

FreeBSD: Nginx FastCGI PHP Configuration

by Vivek Gite on October 9, 2008 · 10 comments

Q. How do I configure PHP as FastCGI under FreeBSD Nginx webserver?

{ 10 comments }

Q. I’m using PHP along with latest version of Apache. Only <?php and <script> tags are recognized. Many of my scripts are broken. How do I allow the <? tag also?

{ 5 comments }

I‘ve nicely written PHP script that I’d like to run as a cron job. I’m using CentOS 4.5 as server with Apache web server. How do I setup a PHP script as a cron job?

{ 10 comments }

I‘ve been trying to migrate my webblogs using Wordpress inbuilt import facility. I’ve exported current blog as a xml file and downloaded to my desktop. Next I navigated to my new blog’s admin area and clicked on Manage > Import. However import failed after importing 50-60% posts only.

I went through Apache and PHP log files and I realized that the script was timed out. How do I fix this problem under Linux / UNIX?

{ 3 comments }