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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP ~ Header (Location) 1

Status
Not open for further replies.

kizmar2

Programmer
May 25, 2004
164
US
I have a form page that upon submission it's passed to a PHP page, then the PHP page goes to confermation page... then that page uses a meta refresh to go back to the original page.

I use CSS styles on the original page, which show when you gt to the page normally. After you submit the form and it goes through the PHP header change, then the meta refresh, the page styles don't show... ??? I don't get it... you can check it out here:


KizMar
------------
 
On the redirected page you seemed to have worked out another forward slash in the address:
Original:
Redirected:
This throws off your css loading which goes two directories back from the current one. In the original page that is the root, in the new one it is iframe. So the css file is not found. Try to find out where the extra slash is comming from.
 
That's exactly what it was! Thanks... I was passing a "/" and had it on the http part too... it's weird that it would still find the file to display, but the css would be messed up.

KizMar
------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top