Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

Var Pb..!

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Var Pb..!

Postby xxlm » Sat Jan 04, 2003 4:54 pm

First of all:
Hi everybody!

Now my pb.
I have installed php 4.2, mySQL 3.23 and PhpMyAdmin.
All is ok but!!!

I've got pb with parameters passing through URL like:
test.php?test=hello

and test.php:
<?
echo "$test";
?>

I've got a blank windows. But the php work cause if I put
<?
echo "test: $test";
?>

it display:
test:

and not the var I send!
Why????
Any idea?

Thx
;)
xxlm
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sat Jan 04, 2003 4:46 pm
Location: Amiens - FRANCE

Postby Oleg Butuzov » Sun Jan 05, 2003 12:58 am

register_globals = On;
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby xxlm » Sun Jan 05, 2003 1:52 am

I'll try.
But a question is:
Why this work in the past without setting this var on "On"?

Tell you if it's ok and THX A LOT cause I'm becoming crazy!
xxlm
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sat Jan 04, 2003 4:46 pm
Location: Amiens - FRANCE

Postby xxlm » Sun Jan 05, 2003 1:58 am

It's working! It's WORKING!!!!
THX TO YOU!!!
xxlm
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sat Jan 04, 2003 4:46 pm
Location: Amiens - FRANCE


Return to PHP Installation

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron