News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

"GET" or "POST"

Started by Farabi, April 20, 2011, 03:31:57 AM

Previous topic - Next topic

Farabi

For example I post a url address like this http://path/to/script.php?a=1&b=2 and the php page process an image and display it on a webpage

What MIME Type I should use? And what Method I should use, POST or GET?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dedndave

for PHP stuff, i like Gary's little site
http://apptools.com/
he explains things very clearly   :U

i am guessing GET
you can use different mime types, depending on how you want the content to be rendered
the URL you provided doesn't help us much, though   :P

mineiro

you can use GET Sr Farabi.
GET have a limit of 255 chars in the URI, but today browsers don't have this limit, and the argument's are visible.
http://messagebox/user32.php?hinst=0&lpText=hello&Caption=nice&Type=MB_OK
in POST they are entered by the user, so the URL don't show this, and this limit is 4kb.
regards.