Jump to content

[SOLVED] A mini redirection problem - Support please


npsari

Recommended Posts

Hi

 

I am using this simple redirection php code in my site

 

<?php
header( 'Location: http://example.com?Friend=$ID' ) ;
?>

 

I want the ID to alter... however, when i type in the browser: http://www.mysite.com?ID=5

 

The redirect code doesnt take me to

http://example.com?Friend=5

 

It still takes me to

http://example.com?Friend=$ID

 

therefore, an error

 

Why it doesnt read the variable

 

How can i fix this

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.