In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Thanks guys, I was unaware having quotes around it would make a difference.
> Works fine once I removed the quotes.
> "John Kelly" <> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Can I pass the ftp transfer mode in a string like ...
> > $filetype = "FTP_ASCII";
> > $upload = ftp_fput($conid, $dfile, $sfile, $filetype);
> > I ask as when I do I get the following error message ...
> > Warning: ftp_fput() expects parameter 4 to be long, string given
> > If I replace $filetype with the text FTP_ASCII or FTP_BINARY it works
Quick explanation: FTP_ASCII is a symbolic constant, "FTP_ASCII" is a
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing on usenet?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php