| 
 Posted by Philip Ronan on 11/01/05 17:59 
"Du" wrote: 
 
> is there a way to forward the user to another address using cURL, without 
> having to use header? 
 
No. You have to use a "Location" header to do that. 
 
> I need to send the referer, but header ("location: ") doens't seem to do it 
 
"Referer" is a *request* header. It doesn't belong in a HTTP *response*. The 
client's browser might provide a Referer header at the new location if it's 
configured to do so (most browsers are). But you have no control over this. 
 
Try checking the HTTP specification: <http://rfc.net/rfc2616.html> 
 
--  
phil [dot] ronan @ virgin [dot] net 
http://vzone.virgin.net/phil.ronan/
 
[Back to original message] 
 |