Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP/HTML Previewer


ghost's Avatar
0 0

Does anyone know of a good program that will let me preview php and html without using a server, preferably free, and relatively small? Thanks


ghost's Avatar
0 0

You can't preview PHP without a server. Well… you can install just PHP, run it from the command line piping it into a .html file and viewing that, but even then you need a mysql server, the extensions etc. I suggest you do install a server on your localhost and restrict access so it can only be accessed from your own computer.

As for HTML simply install a WYSIWYG editor such as Dreamweaver, maybe HTML-Kit (not sure). Or just use any old editor and have the same html file open in a browser and hit refresh.

The servers (if you choose to install them) aren't big, and they are free. For me they total 145mb once installed, but a lot of that is information in the db which I included in the count. That's nothing compared to what you'll have in the public folder, atm (on a private server) I have 283mb.

Did that help you in the slightest?


ghost's Avatar
0 0

Well its pretty simple if you have Mozilla firefox installed and you make it your default browser, then everytime you make a html/htm file then there is a firefox logo as whatever you saved it as meaning you open it in Firefox. But for PHP I just upload it to a sub domain, use i love hbh. keep up the good work!.com or any good Subdomain


ghost's Avatar
0 0

I have a server (XAMPP);). I just wanted to know if it was possible to see it without a server.


ghost's Avatar
0 0

I am not sure, I think you have to download MySQL , Apache, and PHP


ghost's Avatar
0 0

No. I have used a program called DZSoft and it shows you a preview of the php, but it's not small and it expires/costs money. So now I'm looking for a small one that's free:D