PHP File Upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dankolle
Forum Newbie
Posts: 3
Joined: Wed Jun 17, 2009 9:07 am

PHP File Upload

Post by dankolle »

I am trying to upload a file to my server, then have that file upload to several other file hosting servers. I have a client that needs this ASAP, can anyone help me with this? I can't use a standard form because the input type=file won't let me set the value, and I can't FTP it
dankolle
Forum Newbie
Posts: 3
Joined: Wed Jun 17, 2009 9:07 am

Re: PHP File Upload

Post by dankolle »

That worked great! the cURL is able to send files to their processing pages. The only problem I am having is there is an account that needs to login first, then send the files to another page. Right now I have two different requests, but apparently cURL cannot set cookies back, so should I try and login, then send the files with the same connection? Is this even possible? Basically my client want to close uploadground.com if anyone wants to look at how it works...maybe I am on the wrong page all together?
Any help would be awesome...even if you don't know about cURL (because I sure dont)
Post Reply