Is it possible to include the userid and password for a webserver in the fsockopen function?
These variables are required with ftp clients and I assume that they would be required with fsockopen also.
Thanks.
Fsockopen just opens a socket, a data connection. This connection is then used to send data back and forth. Anybody can open a connection to an FTP server, but the FTP server will then send back data requesting a username and password.
Thanks, I've got the code working now...