Hoisted on me own petard, as it were. Meant this to go to OP and list, not Jim. ---------- Forwarded message ---------- From: tamouse mailing lists <tamouse.lists@xxxxxxxxx> Date: Thu, Nov 10, 2011 at 3:25 AM Subject: Re: delete and recreate To: Jim Lucas <lists@xxxxxxxxx> On Wed, Nov 9, 2011 at 1:44 PM, Jim Lucas <lists@xxxxxxxxx> wrote: > On 11/9/2011 7:35 AM, Kirk Bailey wrote: >> So, I want to create a script to delete an old file and create a new one which >> is empty. The script receives a password via query string. The obvious methods >> give me back a very useless 500 error. Any suggestions on how to accomplish what >> I seek? >> > > First, please include the at minimum the following information when asking a > question about a problem that you are having. > > 1) Operating System (Windows, Linux, etc...) > 2) Web server type and version > 3) PHP Version ( and how it is loaded in the web server ) > 3) Example code that you have tried. > a) What the code is doing. > b) What you expect the code to be doing. And while you're pondering that, make sure to read this very very completely and take it to heart: http://www.catb.org/~esr/faqs/smart-questions.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php