The Little Guy Posted October 30, 2009 Share Posted October 30, 2009 I am wondering, because I cant find what I want on google, what an HTTP Header Request would look like if there is 1 or more attached files. I found that a post would look something like this: POST /login.php HTTP/1.1 Host: www.mysite.com User-Agent: Mozilla/4.0 Content-Length: 27 Content-Type: application/x-www-form-urlencoded userid=joe&password=guessme but what would it look like if say there was a txt file attached? Quote Link to comment https://forums.phpfreaks.com/topic/179691-http-post/ Share on other sites More sharing options...
trq Posted October 30, 2009 Share Posted October 30, 2009 You might want to take a look here. The w3c outline all of the http protocol specs. Quote Link to comment https://forums.phpfreaks.com/topic/179691-http-post/#findComment-948091 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.