![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I need to have the contents of $HTTP_RAW_POST_DATA because of non-regular uploads (from a browser to my home-made WebDAV-server). However, no matter what I do, it is always NULL. I guess the following script should return SOMETHING in $HTTP_RAW_POST DATA if "always_populate_raw_post_data 1" is added to the php.ini file (and yes, I've restarted apache :-)... so, why is it empty and how can I get the RAW post data? test.php: <form action="<?echo($PHP_SELF)?>" method="post"> <input type="text" value="you-suck"> <input type="submit"> </form> <?php echo("Raw post data: ".$HTTP_RAW_POST_DATA."<br>\n"); echo("Raw post data decoded: ".base64_decode($HTTP_RAW_POST_DATA)."<br>\n") ; echo("<hr>"); phpinfo(); ?> Allman | |||
|
| | #2 | ||
| On Fri, 1 Aug 2003 13:53:07 +0200, Allman hath writ: > I need to have the contents of $HTTP_RAW_POST_DATA because of non-regular > uploads (from a browser to my home-made WebDAV-server). However, no matter > what I do, it is always NULL. I guess the following script should return > SOMETHING in $HTTP_RAW_POST DATA if "always_populate_raw_post_data 1" is > added to the php.ini file (and yes, I've restarted apache :-)... so, why is > it empty and how can I get the RAW post data? > > test.php: > ><form action="<?echo($PHP_SELF)?>" method="post"> ><input type="text" value="you-suck"> ><input type="submit"> ></form> ><?php > echo("Raw post data: ".$HTTP_RAW_POST_DATA."<br>\n"); > echo("Raw post data decoded: ".base64_decode($HTTP_RAW_POST_DATA)."<br>\n") ; > echo("<hr>"); > phpinfo(); > ?> How is PHP "always_populate_raw_post_data" set? Jonesy -- | Marvin L Jones | jonz | W3DHJ | OS/2 | Gunnison, Colorado | @ | Jonesy | linux __ | 7,703' -- 2,345m | config.com | DM68mn SK | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: http_raw_post_data, trouble, using |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forwarding trouble | Mauro Clerici | PHP | 1 | 07-01-2007 3:38 PM |
| Halo PC Trouble | Jim | Console Subjects | 4 | 06-26-2007 10:45 AM |
| color trouble | David | Graphics in general | 0 | 06-11-2007 11:07 PM |
| Having trouble getting interviews? | Stellar Resumes | Building An Internet Business | 0 | 06-11-2007 12:25 AM |
| Featured Websites | ||||
|