Header:Refresh don't work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Header:Refresh don't work

Post by Goofan »

Hi,

My website to referense from(drang.se)
My problem is that on localhost the page refresh and goes to page ?link=Drangen
but when i transfer it over to the server it doesn't work at all :(
The php/html/css isn't outdated on the server couse i got other stuffs only existing on newer versions, so i know it proberbly should work.

Please do help.
//Thomas
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Header:Refresh don't work

Post by pickle »

Are you doing a refresh or changing location? If Location, you need to specify the fully qualified URL (ie: drang.se/page.php?link=Drangen), not just the local file path (ie: /page.php?link=Drangen)
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: Header:Refresh don't work

Post by Goofan »

it is the same location it only adds the ?link=Drangen part... so it should be a refresh right?

Edit:
I tried adding the full destination and still it didn't work :(
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: Header:Refresh don't work

Post by Goofan »

really noone?

I thought it would be an easy fix nut seems like noone of you guys know an solution...

I will try to remake my code but please if you have an solution on the matter it would be great :)
User avatar
Goofan
Forum Contributor
Posts: 305
Joined: Wed Nov 04, 2009 2:11 pm
Location: Sweden

Re: Header:Refresh don't work

Post by Goofan »

Fixed the problem by rerouting ouround the problem. Thanks for all the help tho.

/Thomas
Post Reply