PDA

View Full Version : Anyone Knows how to Convert PHP to HTML?



Kakhashi
03-19-2008, 09:13 PM
HELP HELP...Thanks a lot in advance guys!

MrJD
03-19-2008, 09:23 PM
what? other than loading the page in a browser then saving the source I have no idea

gaydemon
03-20-2008, 01:34 AM
Really depends on what you are trying to do.

But like MrJD said, click on "view" -> "source" (in IE), then copy all of it into a new HTML document, you might have to edit that though and remove any PHP elements that might remain.

Otherwise you would have to look at the original code in the php templates and copy any HTML out from that into a new HTML document but then you would not have any of the data.

HunkMoneyLuke
03-20-2008, 04:56 AM
php is html with extra coding in it. If your original php page has any special coding, you will need to replace that with the appropriate html code that will do the same functionality.

Kakhashi
03-20-2008, 08:04 PM
Thanks a lot everyone....What I did was to save the website page, open in DW and save in html. Then I uploaded to the server, I could not open it :( and I did what you guys suggested but it seems everything is almost all coded in php :(

Gaystoryman
03-20-2008, 09:30 PM
Do a 'view source' first, then save that and paste into a blank html page in DW, that should do it. Just saving the 'page' wouldn't work, I don't think. Not like I know, but if you save the 'source' it won't have all the php code, just the result of the php code.

gaybucks_chip
03-20-2008, 11:20 PM
Keep in mind that when you're seeing a .php page in your browser, you're seeing it *after* the PHP has run and inserted or done whatever the code told it to do. To see the PHP page with the code in it, you have to be able to download the page through FTP or something before the PHP processor gets to it.

abostonboy
03-20-2008, 11:31 PM
Chip. PM sent about this issue. I am sure Tae would welcome you input.

Kakhashi
03-24-2008, 08:09 AM
Yeah I tried that but I could not FTP anything to the root...oh well, thanks a lot everyone. You guys are the best!;)

GTP
03-24-2008, 09:57 AM
html is a markup language, php is a coding language. You can have a php script without any html output...

If you need more help in the specific project (and it is not anything bareback-related) send me a pm with details and I will try to help you.

Kakhashi
03-24-2008, 06:01 PM
Hey GTP,

Thanks a lot..I guess now they find the way to do it! But I really appreciate!