Fwd: [PHP] delete and recreate

From: Date: Thu, 10 Nov 2011 09:25:58 +0000
Subject: Fwd: [PHP] delete and recreate
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-315621@lists.php.net to get a copy of this message
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@gmail.com> Date: Thu, Nov 10, 2011 at 3:25 AM Subject: Re: [PHP] delete and recreate To: Jim Lucas <lists@cmsws.com> On Wed, Nov 9, 2011 at 1:44 PM, Jim Lucas <lists@cmsws.com> 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

« previous php.general (#315621) next »