![]() |
|
|
|||||||
| PHP - Code PHP programming - Ask questions and help people with PHP code. If you are stuck and need help, this is where you ask for help. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
What would be an easy way to check if a PHP script is running locally on the development machine or remotely on the webserver?
I can do something like: Check for a file that only exists locally, if not found the script runs on the web server. But maybe there is a more elegant way? |
| Sponsored Links |
|
|