Re: [PHP] delete and recreate

2011-11-09 Thread Jim Lucas
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?

Re: [PHP] delete and recreate

2011-11-09 Thread Jim Giner
Is anyone concerned about the OP's original statement about "receives a password via query string". Perhaps that is his problem since he did mention it? I didn't attempt to answer it because I didn't know what/why he was prompting for a password. -- PHP General Mailing List (http://www.ph

Re: [PHP] delete and recreate

2011-11-09 Thread Adam Richardson
On Wed, Nov 9, 2011 at 10: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

Re: [PHP] delete and recreate

2011-11-09 Thread Stuart Dallas
On 9 Nov 2011, at 15:35, 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 see