ptityop Posted September 15, 2010 Share Posted September 15, 2010 Hi! I have an odd problem... I inserted a flash file in a php doc, and basically what happens is that on some computers, the link does not work without the www extension ... by that i mean if people go to http://mysite.com they will not be able to click the banner but if they put http://www.mysite.com it works... Very odd as the link is part of the flash movie and it only happens on some computers not all ... anyone would have an idea as to what could cause this ? Alternativly what can I do with this piece of code that does not seem to do the trick either <div class="subtitulo"><a href="http://hostelsuites.com/hostel-banner.php?Buenos+Aires+Hostel+Suites+Florida&id_hostel=30&idioma=3&id_banner=2"><?php echo ucfirst($lang["expanish"]) ?></a><br /> <br/></div> Many thanks for any help ! Quote Link to comment https://forums.phpfreaks.com/topic/213520-problem-with-links/ Share on other sites More sharing options...
.josh Posted September 16, 2010 Share Posted September 16, 2010 Maybe you need to provide more info but... why don't you just output the link with www on it in the first place? Is that the code that gets output? just change ...<a href="http://hostelsuit.... to ...<a href="http://www.hostelsuit... Quote Link to comment https://forums.phpfreaks.com/topic/213520-problem-with-links/#findComment-1111510 Share on other sites More sharing options...
ptityop Posted September 16, 2010 Author Share Posted September 16, 2010 hi,thanks for your reply... i probably was not clear enough (sorry english is not my first language) "Maybe you need to provide more info but... why don't you just output the link with www on it in the first place? Is that the code that gets output?" This is not really the issue as the the problem only happens on some computers not others ... so i guess we'll have to look somewhere else than the banner itself ... whatever the link is , it does the same... Quote Link to comment https://forums.phpfreaks.com/topic/213520-problem-with-links/#findComment-1111533 Share on other sites More sharing options...
gamesmstr Posted September 16, 2010 Share Posted September 16, 2010 I think I might know what the problem is. I see something similar in the game I run. If you are using sessions and log in under www.mysite.com and then type in an address without the www like mysite.com/myfile.php it will tell you you are not logged in. Sessions are site specific and the WWW counts. Quote Link to comment https://forums.phpfreaks.com/topic/213520-problem-with-links/#findComment-1111537 Share on other sites More sharing options...
ptityop Posted September 16, 2010 Author Share Posted September 16, 2010 hummm... there is no session actually, the site does not require any log in ... this is so weird! Quote Link to comment https://forums.phpfreaks.com/topic/213520-problem-with-links/#findComment-1111548 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.