Re: Problem with script halting
| From: | Jason Wong | Date: | Sun, 04 Apr 2004 17:20:40 +0000 |
| Subject: | Re: Problem with script halting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182290@lists.php.net to get a copy of this message | ||
On Sunday 04 April 2004 23:38, Nathan Croker wrote:
> Can anyone tell me why the following line of code halts my entire script
> (anything after it is not processed).
>
> ftp_chmod($conn, 0777, $to);
>
> All other ftp commands in the script work perfectly. I've tried replacing
> '0777' with 777, 1777, in and out of "s, but it still halts the script,
> there is nothing after the command to halt the execution of the script
> either. echoing something directly before it will appear, but echoing
> something directly after it does not.
When you say halt, do you mean the script terminates or does it hang? If the
former what does the php error log say?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He is the best of men who dislikes power.
-- Mohammed
*/