Hey,
Thanks for replying.

Globals are on.... heres my phpinfo page:
http://cheap-php-web-hosting.com/phpinfo.php

this is my .htaccess file:

RewriteEngine On
Options +FollowSymlinks
RewriteRule ^tt/(.*).php tt.php?id=$1

This is my php page:
<?php
echo "Ok,we are in tt.php<br>";
if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo "No
\$_GET[id]<br>";}
print_r($_GET);
print_r($_REQUEST);
print_r($_GET['id']);
?>

heres from where i am calling it:
http://cheap-php-web-hosting.com/tt/23


DAMN thing does not work.

Any ideas?

-Ryan





and heres how I am calling it
On 1/16/2004 12:55:22 AM, Peter Vertes ([EMAIL PROTECTED]) wrote:
> I had the same problem with PHP after
> I've upgraded to 4.3.3 from 4.3.1. I was tearing my hair out but couldn't
> figure out what was wrong. I ended up editing my php.ini file and turning
> REGISTER GLOBALS = On. It works fine now and since this is on my
> development box I
> don't really care about security that much. Hope this helped...
>
> -Pete
>
> P.S.: This all happened on a Gentoo Linux box...
>
> On Wed, 2004-01-14 at 17:11, Ryan A wrote: Oops sorry, missed that. Heres
whats on top of the page: echo "Ok,we are in show.php<br>";
if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo "No
\$_GET[id]<br>";} if(isset($_GET["sid"])){echo "Got
\$_GET[sid]<br>";}else{echo "No \$_GET[sid]<br>";} print_r($_GET);
print_r($_GET['id']); print_r($_GET['sid']); and heres the output: Ok,we are
in show.php No $_GET[id] No $_GET[sid] Array ( ) Ideas? Cheers, -Ryan On
1/14/2004 10:56:35 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > On
Thursday 15 January 2004 05:01, Ryan A wrote: > > > I put this in for
testing: > > > > if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo
> "No > > \$_GET[id]<br>";} > > if(isset($_GET["sid"])){echo "Got
\$_GET[sid]<br>";}else{echo > "No > > \$_GET[sid]<br>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to