Topic awaiting preservation: passing variable help / dereferer script |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
posted 10-01-2003 15:14
I am trying to write a dereferer script but I keep on getting an error message. code: <a href="http:\\www.domain.com\deref.php?site=www.link.de">link.de</a>
code: <html>
|
Paranoid (IV) Inmate From: everywhere |
posted 10-01-2003 15:19
You're missing a http:// |
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
posted 10-01-2003 15:36
thanx but it still doesn't work. Now the deref.php page keeps on refreshing itself instead of the liked site. i am not getting the page not found error anymore though. |
Maniac (V) Mad Scientist From: :morF |
posted 10-01-2003 15:40
Try specifying where to get the variable data from, so: |
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
posted 10-01-2003 16:12
it works now. thanx to the both of you! I found that not every browser actually transmits the referer. I used a php script to test this on the target site. So far only opera sends the referrer... strange... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-01-2003 16:26
patric design: As far as I can tell all browsers send a referer (unless you are blocking them with something like Proximitorn), however, using a JavaScript popup script stops IE/Win from sending them although other browsers are fine: |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
posted 10-08-2003 09:38
I guess it's time to remind those who need it that since 4.0.1 there has been a change in the way PHP handles query strings. Depending on the way your webmaster has set up the php.ini file (or right out of the box if you installed it yourself) the option Register_Globals has been set to false. code: $site = (isset($_POST["site"]))?$_POST["site"]:"default_value"; thereby assigning their EGPCS array elements to 'real" variables. |