Share your knowledge at the LQ Wiki.
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 01-11-2003, 02:58 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 3

Rep: Reputation: 0
Angry php variables not being passed on

i recently compiled php 4.3 on my machine, and now variables are not getting passed on between scripts. variables from forms, query strings, etc. are not working. what is the problem here?
Old 01-11-2003, 03:11 PM   #2
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102

Rep: Reputation: 17
I'll bet that you need to set register_globals=on to
get your old behavior. You should probably consider
refactoring your code so that you can leave
register_global at it's default value of 'off'. Here's
a link to a page on the PHP site wherein this issue is

,----[ ]
| One feature of PHP that can be used to enhance security is
| configuring PHP with register_globals = off. By turning
| off the ability for any user-submitted variable to be
| injected into PHP code, you can reduce the amount of
| variable poisoning a potential attacker may inflict. They
| will have to take the additional time to forge
| submissions, and your internal variables are effectively
| isolated from user submitted data.

If this post was helpful to you, please consider hitting my 'Affero' button.


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
awk: /matching/ variables passed with -v aunquarra Linux - General 2 02-17-2005 06:47 PM
What are the names of the variables passed to konqueror's email client? BluePyre Linux - Software 0 07-04-2004 11:33 AM
php not taking arguments when passed through URLs BrianK Linux - Software 2 03-29-2004 11:38 AM
PHP Can't read from passed headers uuplunkeruu Programming 5 03-24-2004 04:38 PM
Can parameters passed to a php be hide ? cjagdish69 Linux - Software 1 11-11-2003 07:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 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
Open Source Consulting | Domain Registration