Jump to content


Photo

Handling an HTTP Post with PHP


  • Please log in to reply
2 replies to this topic

#1 insky10

insky10
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 13 April 2006 - 04:47 PM

Hello,

I am new to PHP and was wondering if someone could help me with a script
to handle an HTTP Post. I just want something that will take a HTTP Post
and write the data that it receives to a file on my web server.

thanks...

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 13 April 2006 - 05:39 PM

If you have written any code and have questions, please post your code and your questions.

If you're not sure where to begin, read [a href=\"http://us2.php.net/manual/en/language.variables.external.php\" target=\"_blank\"]this[/a] section in the online manual.

Ken

#3 titangf

titangf
  • Members
  • PipPipPip
  • Advanced Member
  • 58 posts
  • LocationColorado, USA

Posted 13 April 2006 - 09:33 PM

I don't know what your code looks like cause you havn't posted it, but you'll want to use this if your trying to pass it from page to page.
$HTTP_GET_VARS
//use on the recieving page
If your trying to retrieve it from a database... its a little more involved.
[!--coloro:#3366FF--][span style="color:#3366FF"][!--/coloro--][a href="http://www.csszengarden.com/" target="_blank"]css zen garden - beautiful design with the programmer in mind[/a][!--colorc--][/span][!--/colorc--]

[!--coloro:#3366FF--][span style="color:#3366FF"][!--/coloro--]Time is the invention of man to gauge what his achievements have been before he fades to dust.[!--colorc--][/span][!--/colorc--]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users