LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-11-2003, 03:58 PM   #1
tpat
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, 04:11 PM   #2
leed_25
Member
 
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
discussed:


,----[ http://www.php.net/manual/en/securit...terglobals.php ]
| 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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:33 AM.

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