Click to See Complete Forum and Search --> : execute .php file from php file


kalaid
January 28th, 2008, 08:45 AM
Hi Guy's

I am working with the concept of threading, Here I want to execute a same e php file more than one time simultaneously. Is there is any command to execute php file

Thanks in advance

PeejAvery
January 28th, 2008, 10:28 AM
Using a PHP file to call itself creates infinite recursion. Two ways to avoid this would be...

1. Using a different PHP script to call the first.

2. Use a session variable to limit the times that it opens itself.