Re: Problem with ftp_rmdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 2, 2006 8:06 am, PJ wrote:
> I'm using function ftp_rmdir to create some aplication and for testing
> I've used following sample from php.net
>
> if (ftp_rmdir($conn_id, $dir)) {
>     echo "Successfully deleted $dir\n";
> } else {
>     echo "There was a problem while deleting $dir\n";
> }
>
> Command really removed specified directory, but stopped script as
> well.
> So there is no more output about "Successfully deleting" of this file
> after line with ftp_rmdir....
>
> When I tried this:
> $x=ftp_rmdir($conn_id, $dir);
> echo "start $x end";
>
> the second line with echo wasn't put to output... It seems like there
> is
> exit function after ftp_rmdir...
>
> Does anybody knows, what goes wrong??

No idea what's wrong, but check your Apache error logs (if you run
Apache) to see if you have a child segfaulting at that point.

If so, you can find out more about how to debug here:
http://bugs.php.net/
Search for the "backtrace" link and info on that page.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux