RE: [PHP] Weird ftp_login() error
| From: | Jennifer Goodie | Date: | Wed, 16 Apr 2003 00:53:46 +0000 |
| Subject: | RE: [PHP] Weird ftp_login() error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144046@lists.php.net to get a copy of this message | ||
I think the key there is "other servers". Are you sure this server allows
connections?
Did you check to make sure this server works?
> -----Original Message-----
> From: CDitty [mailto:mail@redhotsweeps.com]
> Sent: Tuesday, April 15, 2003 5:50 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Weird ftp_login() error
>
>
> Thanks, but already verified. The same script works fine on
> other servers.
>
> Any other ideas?
>
> CDitty
>
> At 06:40 PM 4/15/2003, Jennifer Goodie wrote:
> >Judging by the error, $conn_id is not a connection identifier
> returned from
> >ftp_connect(). Maybe you should check the results of the call to that
> >function.
> >
> > > -----Original Message-----
> > > From: CDitty [mailto:mail@redhotsweeps.com]
> > > Sent: Tuesday, April 15, 2003 4:26 PM
> > > To: php-general@lists.php.net
> > > Subject: [PHP] Weird ftp_login() error
> > >
> > >
> > > I have a customer that is receiving the error message below.
> > > Everything is
> > > working fine on my machine and I don't have a clue to what the error
> > > is. Anyone have a clue?
> > >
> > > Warning: ftp_login() expects parameter 1 to be resource,
> boolean given in
> > > /import.php on line 60
> > >
> > > Here is the code......
> > > $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
> > >
> > > All of the variables have been set.
> > >
> > > CDitty
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>