Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-26-2004, 03:10 AM   #1
LQ Newbie
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Rep: Reputation: 15
php HTTP_RAW_POST_DATA na value in function


When I use HTTP_RAW_POST_DATA in a function - called via a 'required' - I get an error ' undefined variable'. But when I use it in the main php file that is called by a client everything is OK.
	if (!empty($GLOBALS['HTTP_RAW_POST_DATA'])) {
		print $req . "\n";	
What am I doing wrong?
Old 12-26-2004, 05:11 AM   #2
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
You should post this to the Programming forum. PHP Coding does not relate to Linux Software, so you won't find much replies here!

If a mod could move it, that'd be great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php, else function not working. Erhnam Programming 4 06-01-2005 08:48 AM
PHP Variable = function? wh33t Programming 2 01-22-2005 07:28 AM
php HTTP_RAW_POST_DATA no value in function dinges Programming 1 12-27-2004 12:59 PM
need help in PHP header() function ArulPrabhuT Programming 1 11-26-2004 11:17 AM
Passing one php function result as a parameter to another php function davee Programming 13 09-12-2004 01:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration