Gunter Sammet wrote:
You need to use CHAP authentication, chap authentication in it's simplest form requires that the username password combination has to be sent as a base 64 encoded header. More details are available in RFC 2616 but rather than reinventing the wheel you might want to use an available HTTP class or curl.Yes I had quotes. And you're right the interpretation of the URL is as you laid it out.
Unfortunatelly I don't have control on the login credentials. Tried %40 to replace the @ but then it won't be accepted as a login.
Thanks for your reply!
To elaborate futher you have to open a socket as curt suggested and when you get the 40x (can't remember the number) header saying authentication required, you need to respond by sending the header described above.
open a connection to 'mydomain.com' on port '[EMAIL PROTECTED]', and send the username 'myname'.
-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php