need a program to do that?
need a program to do that?
If you've got the whatever.php file, you can open it in Notepad.
You can view it with any text or HTML editor. However, you might want to view it with Dreamweaver or some other software that recognizes php code. This will make the code more readable as it will use different colors for various keywords and stuff.
You can use notepad or an IDE like Eclipse. However, I would have to ask how you downloaded it. Did you download the source code from a directory or did you try to save from a web browser? You can't download a php page like you can a simple html page from a website. A PHP file will compile on the server end and then display the compiled web page on your browser. You will not see the source code behind it. Sorry if you already knew that but I just wanted to make sure.
Open it in Notepad++ or did you download it form a server. You can only download the raw php code when the php deamon is turned off
you can open it with whatever text edititor.
bbedit is a good editor that you can demo
i like to use dreamweaver. you can also get a demo of that.
Adobe - Dreamweaver CS3, Web Site Design, Web Page Design, Web Design Software
Notepad and up should work. Sometimes it it's in UTF8 though. So normal notepad won't work so then you'll need alternatives like Microsoft word and Notepad ++
I've never used dreamweaver. Is it worth purchasing?
dreamweaver is a wonderful tool for editing html but I do not need it for php because there are others available for free or less money. But that is an decision everybody has to do no his / her own.
About saving a php file, just just have to look for the ending, an php file ends with .php ,not .html, .htm or any other, just .php .
Regrades Snoop1990
I have a doubt. Is it possible to view the code of PHP file, which generates the HTML code directly from the net?
I prefer notepad++ for editing my php files.