Re: ftp connection
| From: | Chris Lee | Date: | Tue, 27 Feb 2001 23:28:10 +0000 |
| Subject: | Re: ftp connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41933@lists.php.net to get a copy of this message | ||
this is probably NOT the problem, but I'll post anyway. Ive found if copying
code from web browser, ie from phpbuilder.com in IE, that 0x0D and 0x0A get
thrown in alot. this causes php to tell me that certain functions are
undefined, even though I know they are. I remove all 0x0D and 0x0A.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
lee@mediawaveonline.com
"Jon A" <jon_a@gmx.net> wrote in message
news:5.0.2.1.0.20010225234453.009eaec0@pop.gmx.net...
> I need some help...
>
> I try to do a ftp connection with php, but when i run the script it claims
> that ftp_connect is "call to undefined function.
>
> I have done a call to phpinfo, and it shows that ftp IS enabled! - Whats
wrong?
>
> Here is what i use:
>
> $conn_id = ftp_connect("MyFtpSite");
> $login_result = ftp_login($conn_id, "MyUserName", "MyPassword");
>
> etc...
>
> thanks for any help you can give me.
>
> Jon A
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>