Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to specify/ assign 'HTTP_REFERER for my vb app

Status
Not open for further replies.
Apr 28, 2006
69
NL
I am creating a program that talkes to http server and they do check for
$_SERVER['HTTP_REFERER'] but i wonder how i can assigne one for my application? Could any one tell me how.Thanks
 
How are you composing your requests?

If you are writing raw HTTP to port 80 then why not put Referer into the HTTP Request as per the RFC ?


PS: This site helps you see it from the server's perspective:
 
Thank u for u reply. i am making a few types programs that they make diffrent types of request. They are mainly dealing with real audio files such as open media file and loading file inside a webbrowser control in my vb6 form. Some of types of request are as follows:

inet1.OpenURL,
inet1.Execute,
GET (Retrieve data from the server.)
HEAD (Retrieve header only from the server)
Inet1.GetChunk
Inet1.ResponseInfo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top