Re: [PHP] Please dirrect me -- headers ????

This is a discussion on Re: [PHP] Please dirrect me -- headers ???? within the PHP General forums, part of the PHP Programming Forums category; Hi, Headers have nothing to do with the <head> tag, the headers are sent before the html page, ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2003
Ryan Gibson
 
Posts: n/a
Default Re: [PHP] Please dirrect me -- headers ????

Hi,

Headers have nothing to do with the <head> tag, the headers are sent before
the html page, ie they are not part of the html document, but something sent
by the web server before the page is sent to the user


Try:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

And

http://www.cs.tut.fi/~jkorpela/http.html

As for question 2, if you want to redirect the user to the other website use
the location header to redirect them to the other site (otherwise you'll
have to redirect them to the other site, then use frames to open the content
on the original site)


On 14/7/03 5:16 pm, "Anthony" <atampone@attechcomputer.com> wrote:

> This isn't necessarily PHP specific, but I'm looking for more information on
> HTTP headers. I'd like to know what headers I should send and why. I want
> my code to send out w3c compliant HTML. I'm confused on exactly what
> headers do, and the difference between HTTP headers and information
> contained within the <HEAD> tag. Multiple google searches have gotten me
> only more confused. Someone please send me in the right direction :)
>
> on an a possible similar note, I have a domain name www.mydom1.com and when
> the user goes to it, I want it so say www.mydom.com in the browser address
> bar. Can I do this by sending certain headers? (I have both domains
> pointing to the same server) ... should/could I do something like this
> through PHP or is there something I can set in Apache to do the same thing?
>
> Simply confused,
> - Anthony
>
>


Ryan Gibson
-----------
ryan_gibson@jmp-partnerhip.co.uk

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0