ball420 Posted January 25, 2007 Share Posted January 25, 2007 i'm having a problem viewing any of my work. when i go to open any script that i wrote i save it try to view it and it asks me to open | save | cancel i hit open and it try's to open in an internet explorer then it jsut diasappears and asks me the same question. what the heck is going on help please!!!! i'm running xp pro with xampp and that all works fine. thanks a million for the responses Quote Link to comment Share on other sites More sharing options...
dgiberson Posted January 25, 2007 Share Posted January 25, 2007 save it, then open up with notepad/pspad whatever.... Quote Link to comment Share on other sites More sharing options...
ball420 Posted January 25, 2007 Author Share Posted January 25, 2007 ya but i want to see if it works?? notepad jsut sows me the code Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted January 25, 2007 Share Posted January 25, 2007 You need to request it via a URL to your localhost in your browser, like[nobbc]http://localhost/yourfile.php[/nobbc]Ken Quote Link to comment Share on other sites More sharing options...
ball420 Posted January 25, 2007 Author Share Posted January 25, 2007 ya that is how i am doing it. it jsut not working. very frustrating. the code works cause i uploaded it to a remote webserver but on localhost it just bounces from that open save cancel Quote Link to comment Share on other sites More sharing options...
sayedsohail Posted January 25, 2007 Share Posted January 25, 2007 I assume it has to do with the localhost settings, what is your content directory. Are you saving the file with proper extension i.e, xyz.php, xyz.html etc.sorry if i sound bit strange try typing http://localhost/yourcontentdirectory/yourfilename.php if this doesn't work please post your file (script) and we can test and advise.regards, Quote Link to comment Share on other sites More sharing options...
ball420 Posted January 25, 2007 Author Share Posted January 25, 2007 it works!!!!! thanks for the help i was just not putting items in the right directory thanks for everyone's responses!!!PHP freaks #1 site 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.