tibberous Posted August 15, 2007 Share Posted August 15, 2007 I have a page that needs to be able to send a file to an existing form as a post request. The form is on another site so I can't change it, I have to be able to send a post request with a file attached. Any ideas how to do this? Link to comment https://forums.phpfreaks.com/topic/64982-sending-file-from-server-as-a-post-variable/ Share on other sites More sharing options...
Fadion Posted August 15, 2007 Share Posted August 15, 2007 U can use cURL for that. Also i found an <a href="http://netevil.org/blog/2006/nov/http-post-from-php-without-curl">article</a> wich tells how to submit post data without cURL. Hope it works anyway. Link to comment https://forums.phpfreaks.com/topic/64982-sending-file-from-server-as-a-post-variable/#findComment-324318 Share on other sites More sharing options...
tibberous Posted August 15, 2007 Author Share Posted August 15, 2007 I'll read it over, thanks. Link to comment https://forums.phpfreaks.com/topic/64982-sending-file-from-server-as-a-post-variable/#findComment-324322 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.