[PHP] parsing ini files

2003-10-15 Thread Andrei Popovici
I have a script which reads his configuration from an ini file. For reading
that file I use the parse_ini function. When the ini is written incorectly
the php displays a message that he has encountered a parse error in that
ini. How can I catch that error and display a message of my own?

Andrei.

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



Re: [PHP] FTP resumepos

2003-10-14 Thread Andrei Popovici
So, resumepos is the number of bytes from wich the ftp_get will start
reading the 'remote_file' and writing to the 'local-file'?

Andrei.

"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Andrei Popovici ([EMAIL PROTECTED]):
> > Can anyone help me understand how the parameter resumepos from ftp_get
> > function can be used?
>
> ftp_get will  first seek the value  'resumepos' within the
> 'remote_file', before it starts to write to 'local_file'.
>
> Curt
> --
> "My PHP key is worn out"
>
>   PHP List stats since 1997:
>   http://zirzow.dyndns.org/html/mlists/

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



[PHP] FTP resumepos

2003-10-13 Thread Andrei Popovici
Can anyone help me understand how the parameter resumepos from ftp_get
function can be used?

Thanks.

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