View Single Post
  #9 (permalink)  
Old 06-25-04, 07:24 AM
Infinite_Hackers's Avatar
Infinite_Hackers Infinite_Hackers is offline
Coding Addict
 
Join Date: Dec 2003
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by NeverMind
I think he meant creating new HTML files out of php files so they are static and don't need to connect to database and do processing and other php stuff! not allowing HTML files to be preprocessed with php!

doing this wouldn't be easy! you have to store all contents of the page and then save them into a file with fopen(), fwrite() and fclose() !
If your correct, how about view source code of the php (not relative, HTTP way, so you will get the html and not the actual php code ) file and write the code to an .html file?
__________________
New beta project: GFX-PRO.ATH.CX
Description: GFX-PRO a great new project that anyone can and setup in less then a minute. [ More info ]
Website: http://gfx-pro.ath.cx
Status: Online
http://gfx-pro.ath.cx/sig.png
Reply With Quote