Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-14-2003, 04:51 AM   #1
LQ Newbie
Registered: Jun 2001
Posts: 12

Rep: Reputation: 0
I need help with php.ini

Hello, I just installed Red Hat 9 but I've got a problem when the REQUEST URL is like this phpinfo.php?cod_conta=22.10010
<br> My query string looks like this cod_conta=22.10010
That's OK, but if I try show the variable $cod_conta it shows no result.

Is anything missing in php.ini, I am trying it but I have no results,

Old 10-14-2003, 05:01 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Unless you have $register_globals = yes set in you php.ini (bad idea) then you should be looking at $_GET['cod_conta']. Having a read of might help you out.


Old 10-14-2003, 05:14 AM   #3
LQ Newbie
Registered: Jun 2001
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for the advice, for now the register globals will be on, but soon I will change the code so I can turn it off later


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
Where is php.ini? Penguin_5333 Linux - Software 8 09-01-2012 08:19 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
Upgraded PHP from 4.3.4 to 4.3.10 and now it won't read php.ini gregmcavoy Linux - Software 11 01-22-2005 12:16 PM
php: different mail server from php.ini rayds Programming 0 09-14-2004 03:48 AM
where is php.ini? ShawnD Linux - Software 6 07-24-2002 10:42 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:28 PM.

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