Re: [PHP] Sending headers to server
[email protected] (Matijn Woudt)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAC_gtuNFjVskz+QXNL6v7GQD-se7EBP+MA80ddwoscU9h_39iw@mail.gmail.com> |
On Sat, Aug 3, 2013 at 11:46 AM, Karim Geiger <[email protected]> wrote: > Am 02.08.13 18:03, schrieb Miguel Guedes: > > This is strange. I've just found out that the headers are sent > > correctly if I access the website outside of localhost. I don't > > understand why. > > I also don't. I've tried the exactly same code you posted on my > localhost as well and it worked all properly. Weird behaviour, can > anyone explain why this happens? > > Regards > > Karim > Could it be that you're actually ending up with a different site because you have configured your vhost to a certain domain? - Matijn