Re: delete and recreate
| From: | Adam Richardson | Date: | Wed, 09 Nov 2011 16:59:07 +0000 |
| Subject: | Re: delete and recreate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315617@lists.php.net to get a copy of this message | ||
On Wed, Nov 9, 2011 at 10:35 AM, Kirk Bailey <kbailey@howlermonkey.net>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?
>
> --
> end
>
> Very Truly yours,
> - Kirk Bailey,
> Largo Florida
>
> kniht
> +-----+
> | BOX |
> +-----+
> think
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Make sure PHP has the permissions needed to delete and create files in the
directory.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com