I recently removed some code form a website, but I left an @opendir function in the code... nothing else was done to the handle, but I did not have a closedir on the page. Is it possible that this killed the whole server? What happens to these handles in PHP5?
Please tell me I didn't kill the server...
Thank you in advance!
OpenDir help
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: OpenDir help
Generally PHP frees resources when the script terminates. But there is a chance that the script is using enough server resource that it is/has crashed the web server you are running on. The only way to see if it is running is by trying to request a web file and see if it serves.