|
|
|
||||
|
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 |
|
Too lazy to set a custom title
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
|
PHP question: How to 'forward' to a page like metarfresh in php?
This page (let's say test.php) should forward the surfer straight to the joinpage(of nats on the same server)
The nats link is http://secure.domain.com/signup/signup.php?nats=<?=$_REQUEST['nats']?$_REQUEST['nats']:'GftgsnN'?>&step=2 When I link to this as in a hef=http://secure.domain.com/signup/signup.php?nats=<?=$_REQUEST['nats']?$_REQUEST['nats']:'GftgsnN'?>&step=2 and save the page it works. It 'transform' this link to a correct output. However, when i use meta http-equiv="refresh" content="0;url=http://secure.domain.com/signup/signup.php?nats=<?=$_REQUEST['nats']?$_REQUEST['nats']:'GftgsnN'?>&step=2 and save this as .test.pho it does not work. It simply doesn't transform the code into 'correct output' Jeez, I hope I was clear WHat should I do Andre
__________________
Questions? ICQ: 125184542 |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
|
try this:
PHP Code:
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Nov 2001
Location: MTL
Posts: 5,060
|
header will work, but make sure you arent printing anything on the page first, or else you will get an error saying your headers are already sent!....
i.e. you have to use header BEFORE anything is output to the page...
__________________
mmm my sig was too big... no more cool animation but hey still! need php? ICQ: 94586959 |
|
|
|