Browsers Don't read PHP so i'm using a server basically i'm accessing files by localhost/Site/P1.php
any chance i could make Notepad++ open my files like that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want Notepad++ to read the outputted PHP from the server, I think you need your browser for that. You can often set the editor for webpages (and its even possible to do so from the installer for Internet Explorer)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did quite get the question at first.
If you want it to launch the current file in your browser, use the Run menu, the website has details on how to use it with the filename
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Personally i just keep a folder open on the current project im working on.
Just need to drag n Drop the file i want to edit.
(I'm guessing the want the same functionality as internet explorers "View Source", where it opens the actual file the browser is using in notepad. I don't see any way to put in a "url" into notepadd++ and it give you the file as notepad++ - i doubt - knows that the server is actually part of a file system)
Though i think i get what harry is saying when he says use Run. Windows Run dialog box opens files that are in the windows environment PATH.
Maybe if you add your website to the PATH environment variable you could call your scripts like Start->Run->Site/P1.php
Ofcourse you would need to set Notepad ++ as the default program for opening .php files.
Easy enough,
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks but it doesn't really have anything to do with what i asked and it's not working either
what i asked was this
to open a php file you type http://localhost/myfile.php
if i launch open the file in the browser from notepad++ it won't use local host
what i want is notepad++ every time it uses the php api also replace the normal open in browser command by localhost+filename
or if you know any other way to get rid of localhot or open php files without it
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Browsers Don't read PHP so i'm using a server basically i'm accessing files by localhost/Site/P1.php
any chance i could make Notepad++ open my files like that?
Well ....
i solved my problem using this simple guide
http://guides.jlbn.net/setvh/setvh1.html
Anyone?
If you want Notepad++ to read the outputted PHP from the server, I think you need your browser for that. You can often set the editor for webpages (and its even possible to do so from the installer for Internet Explorer)
I doubt it all i need from notepad++ is that on php pages it launches the browser with a localhost added and half the file address...
Any chance of making something like that?
Did quite get the question at first.
If you want it to launch the current file in your browser, use the Run menu, the website has details on how to use it with the filename
Personally i just keep a folder open on the current project im working on.
Just need to drag n Drop the file i want to edit.
(I'm guessing the want the same functionality as internet explorers "View Source", where it opens the actual file the browser is using in notepad. I don't see any way to put in a "url" into notepadd++ and it give you the file as notepad++ - i doubt - knows that the server is actually part of a file system)
Though i think i get what harry is saying when he says use Run. Windows Run dialog box opens files that are in the windows environment PATH.
Maybe if you add your website to the PATH environment variable you could call your scripts like Start->Run->Site/P1.php
Ofcourse you would need to set Notepad ++ as the default program for opening .php files.
Easy enough,
Hope this helps.
Thanks but it doesn't really have anything to do with what i asked and it's not working either
what i asked was this
to open a php file you type
http://localhost/myfile.php
if i launch open the file in the browser from notepad++ it won't use local host
what i want is notepad++ every time it uses the php api also replace the normal open in browser command by localhost+filename
or if you know any other way to get rid of localhot or open php files without it