![]() |
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 |
use {$HTTP_REFERER}
(I'd use $_SERVER[''], but you can go with this) |
$DEFAULT_EXIT_PAGE = $HTTP_REFERER."hey.html";
:pimp |
All times are GMT -7. The time now is 10:22 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123