janim Posted January 17, 2008 Share Posted January 17, 2008 hi guys why i'm getting this error ?? when i click the link in ie6 it's prompt me with save as this page not executing it but it works fine in firefox here how i generate the link : <a href="page.php?id=<?=$row[id]?>">Click here</a> thanks Quote Link to comment Share on other sites More sharing options...
revraz Posted January 17, 2008 Share Posted January 17, 2008 If you hover over the link, what does it say at the bottom. Quote Link to comment Share on other sites More sharing options...
janim Posted January 17, 2008 Author Share Posted January 17, 2008 what is buttom ? do you mean info bar ? it type the link like it should be Quote Link to comment Share on other sites More sharing options...
revraz Posted January 17, 2008 Share Posted January 17, 2008 You can try this <a href="page.php?id=<?php echo $row[id]?>">Click here</a> Quote Link to comment Share on other sites More sharing options...
janim Posted January 17, 2008 Author Share Posted January 17, 2008 You can try this <a href="page.php?id=<?php echo $row[id]?>">Click here[/url] it's the same :'( Quote Link to comment Share on other sites More sharing options...
revraz Posted January 17, 2008 Share Posted January 17, 2008 Something may be wrong in that page. Does a simple page work? <?php echo "Hi"; ?> Quote Link to comment Share on other sites More sharing options...
janim Posted January 17, 2008 Author Share Posted January 17, 2008 everything works fine it works ok in firefox and it was working good yesterday but i don't know what's happend now why ie deal with like a file i'm using ajax to generate these links is this the pb ? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted January 17, 2008 Share Posted January 17, 2008 It's likely because you have an editor associated with .php files and IE is trying to open or save them based on that. Mine does it as well. It can be quite annoying. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 18, 2008 Share Posted January 18, 2008 Interesting, my editor is associated with it and I haven't seen that issue. Is your editor a plug in to IE? Quote Link to comment Share on other sites More sharing options...
janim Posted January 18, 2008 Author Share Posted January 18, 2008 my editor is dreamweaver 8 !! how can i know if is it plugs into IE ?? i changed the (open with ) from folder options in win explorer i changed the php editor into notepad but i still have the same pb Quote Link to comment Share on other sites More sharing options...
adam291086 Posted January 18, 2008 Share Posted January 18, 2008 have you tried defining the absolute url i.e http://www.example.com/ Quote Link to comment Share on other sites More sharing options...
janim Posted January 18, 2008 Author Share Posted January 18, 2008 i'm doing this in localhost and i tried this : <a href=" http://localhost/website1/page.php?id=<?=$row[id]?>">ddddd</a> but nothing this IE gonna kill me, i hate this shit Quote Link to comment Share on other sites More sharing options...
adam291086 Posted January 18, 2008 Share Posted January 18, 2008 Not sure then, have you tried manually adding in the Id number. Then see what happens Quote Link to comment Share on other sites More sharing options...
janim Posted January 18, 2008 Author Share Posted January 18, 2008 i did that i changed the page name too but nothing i tried to send header('content-Type : text/html ') but nothing too how can i tell this fu*** browser that it's just page thanks all for helping Quote Link to comment Share on other sites More sharing options...
adam291086 Posted January 18, 2008 Share Posted January 18, 2008 check the file you are trying to run is named correctly. i.e there is no space between name and the .php. Not sure but its worth a shot. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted January 18, 2008 Share Posted January 18, 2008 Rather than trying to change the file association - how about deleting it? It's not a long term solution, but it'd at least show us what the issue is. If you're using XP, go to control panel > folder options > file types. Wait for the field to populate. If you type php, it'll find the relevant one. And then hit delete. Quote Link to comment Share on other sites More sharing options...
monkeytooth Posted January 18, 2008 Share Posted January 18, 2008 I can't remember what the problem was, but I do remember that it was due to the localhost factor.. if your doing this all on a local machine.. try changing your dns/proxy settings in IE to IP: 127.0.0.0 Port:80 or 8080 pending on your server settings.. Although If I remeber right it was cause of a conflict between my server and my OS.. the OS wanted to run the file but since it was being ran through IE, IE would tempt to download it or make it seem like it was, cause it was a local file.. but when I made changed my settings above to match the local host and try to resolve through the host first it worked fine.. Warning note: Programs like AIM, MSN, and so on may go offline as they use the same settings.. just remember to switch everything back to the way it was after your done testing.. hopefully this helps.. it worked for me.. sorry I can't remember the exact problem that was causing it though. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted January 18, 2008 Share Posted January 18, 2008 Is this a problem with all pages or that particular page? Quote Link to comment Share on other sites More sharing options...
roshanbh Posted January 18, 2008 Share Posted January 18, 2008 you can also try clearing all the cache and restart your server. It may help you. Quote Link to comment Share on other sites More sharing options...
revraz Posted January 18, 2008 Share Posted January 18, 2008 He stated that a simple echo "Hi" php file worked. Something to do with his url after the ? Is this a problem with all pages or that particular page? Quote Link to comment Share on other sites More sharing options...
revraz Posted January 18, 2008 Share Posted January 18, 2008 What happens when you click on this link http://www.blahblahblah.com/page.php?id=1 If it gives a page not found, it's your code. If it tries to download, its your browser. Quote Link to comment Share on other sites More sharing options...
janim Posted January 18, 2008 Author Share Posted January 18, 2008 check the file you are trying to run is named correctly. i.e there is no space between name and the .php. Not sure but its worth a shot. i did that everything is ok it opens in firefox fine Rather than trying to change the file association - how about deleting it? It's not a long term solution, but it'd at least show us what the issue is. If you're using XP, go to control panel > folder options > file types. Wait for the field to populate. If you type php, it'll find the relevant one. And then hit delete. i did that too same pb but the deference that it's prompet to save unknown file called page.php Is this a problem with all pages or that particular page? no it's just with this page <a href="page.php?id=<?=$row[id]?>">click here</a> all other pages work fine you can also try clearing all the cache and restart your server. It may help you. i did this too but :-\ :-\ nothing What happens when you click on this link http://www.blahblahblah.com/page.php?id=1 If it gives a page not found, it's your code. If it tries to download, its your browser. i just downloaded IE7 but it's the same too is this on my own browser or all the ie's ?? thank you guys for helping Quote Link to comment Share on other sites More sharing options...
revraz Posted January 18, 2008 Share Posted January 18, 2008 What do you mean by "nothing". IE6 and 7 work fine here. i did this too but :-\ :-\ nothing What happens when you click on this link http://www.blahblahblah.com/page.php?id=1 If it gives a page not found, it's your code. If it tries to download, its your browser. i just downloaded IE7 but it's the same too is this on my own browser or all the ie's ?? thank you guys for helping Quote Link to comment Share on other sites More sharing options...
janim Posted January 20, 2008 Author Share Posted January 20, 2008 hi guys i wanna thank every one who tried to help here i solved this pb i just type this at the top of the page header("Content-Type : text/html "); in fact all the page was missed up php there html there js under :o :'( but after organizing the page and sending this header every thing went good thanks anyway guys Quote Link to comment 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.