954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem with php5 variables

Hi All

I' am a new pie in php I have finished with installing php5 and mysql and the apache server when ever I have tried to run php nuke portal I got this sample of errors

Notice: Undefined variable: querystring in h:\apache group\Apache\htdocs\html\mainfile.php on line 28

Notice: Undefined variable: HTTP_USER_AGENT in h:\apache group\Apache\htdocs\html\mainfile.php on line 33

Notice: Undefined variable: HTTP_SERVER_VARS in h:\apache group\Apache\htdocs\html\mainfile.php on line 39

Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in h:\apache group\Apache\htdocs\html\mainfile.php on line 56

Notice: Undefined variable: forum_admin in h:\apache group\Apache\htdocs\html\mainfile.php on line 134


I have also included a pdf file of my phpinfo so that it may help some one to figure out my problem thanks all


Thanks and regards
wlhan :o

Attachments phpinfo.pdf (67.54KB)
wlhan
Newbie Poster
4 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

also i have attached php.ini file and httpd.conf with this post i'am still waiting for some replu up to now

Attachments myfiles.zip (27.16KB)
wlhan
Newbie Poster
4 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

I was aiming that somboddy gonna reply me or solve my problem but i think that im not welcome here

bye

wlhan
Newbie Poster
4 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

Ah, calm down. The problem is that $HTTP_ x _VARS isn't enabled in PHP5. Ya need to change your php.ini file settings.

Roberdin
Supreme Evil Overlord
Team Colleague
282 posts since Feb 2003
Reputation Points: 63
Solved Threads: 6
 

Thanks Roberdin

but could you show me how to enable it i mean i line that i should enable it

wlhan
Newbie Poster
4 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You