Reply to Re: [PHP-WIN] including an HTML file

Your name:

Reply:


Posted by Leif Gregory on 01/14/05 20:41

Hello Gaetano,

Thursday, January 13, 2005, 5:53:04 PM, you wrote:
>> So i must do all manually
>> i write this
[snip]
>> where $corpo is a variable for the name of the file.
>> if the file not existe the page have a blank body

I don't know of another way to do what you asked, which was to include
only the information contained between the <BODY> and </BODY> tags.

You could put and else clause to your if(file_exist) which would
include the contents of some other file if that condition happens.

That file could just be some default content.

Cheers,
Leif Gregory

--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация