Thread
:
PHP Gurus, fix this simple code
View Single Post
06-02-2008, 04:53 AM
k0nr4d
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
you all fail. That code would rely on register_globals being on, which is off by default under php5.
<?php
$id = $_GET[id];
header('Location: http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=98956-0000&PA='.$id.'&HTML=http://www.site.com');
exit();
?>
__________________
Mechanical Bunny Media
Mechbunny Tube Script
|
Mechbunny Webcam Aggregator Script
|
Custom Web Development
k0nr4d
View Public Profile
Visit k0nr4d's homepage!
Find More Posts by k0nr4d