Menu

How to preview php file from localhost?

2008-04-26
2012-11-13
  • Nobody/Anonymous

    Hi, I was wondering if there was a way to preview a php file I was working on to find the localhost path? For example, if I preview the file it will load "C:/myfolderhere/test.php" instead of "http://localhost/test.php".

    Thanks.

     
    • Nobody/Anonymous

      Just go to your browser and type it in.

       
    • Nobody/Anonymous

      Hehe, yes, I realize I can do that, but it would be much easier if I can use the shortcut preview to move to that path. I figured Notepad++ would be able to do that... If not, maybe it would be possible to write a script to redirect my pages, I'll look into that.

       
MongoDB Logo MongoDB