![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2004
Posts: 100
|
Anyone Good With PHP?
Here's the code...
$DEFAULT_EXIT_PAGE = "$HTTP_REFERER/hey.html"; When I try to use the code it adds an extra blackslash "/" so when it referrs back to the code it looks something like http://www.aol.com//hey.html which makes the url invalid. I have tried $DEFAULT_EXIT_PAGE = "$HTTP_REFERER hey.html"; When this code is implemented it creates http://www.aol.com/%20hey.html And when I implement $DEFAULT_EXIT_PAGE = "$HTTP_REFERER hey.html"; Syntax is incorrect and doesn't even properly proces the php file. So I was wondering how to make it so it simply referrs http://www.aol.com/hey.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
use {$HTTP_REFERER}
(I'd use $_SERVER[''], but you can go with this) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2004
Location: in your imagination...
Posts: 491
|
$DEFAULT_EXIT_PAGE = $HTTP_REFERER."hey.html";
![]()
__________________
![]() ![]() ![]() ![]() Good, filtered traffic: Chocker, Traffic Holder || My favourite hosting: HQ Host |
![]() |
![]() ![]() ![]() ![]() ![]() |