RE: [PHP] how to generate static html pages from dynamic php pages

From: Date: Wed, 08 May 2002 22:10:49 +0000
Subject: RE: [PHP] how to generate static html pages from dynamic php pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96687@lists.php.net to get a copy of this message
See comment below regarding technique for caching dynamic pages ... -----Original Message----- > From: 1LT John W. Holmes [mailto:holmes072000@charter.net] > Sent: Wednesday, May 08, 2002 5:12 PM > To: Nicole Lallande; php-general@lists.php.net > Subject: Re: [PHP] how to generate static html pages > from dynamic php pages > One really neat thing I learned from a slide show on > php.net... you can have > your links be to static urls like > www.domain.com/products/1234 > Since there is no 1234/ directory to begin with, > you'll get a 404 error. So modify your 404 page to look in your > database and see if there is a product 1234. If there is, > generate the data for the page and actually write a > static page to 1234/index.html and redirect the user > back to it. This way, the next time someone looks at product > 1234, they'll get the static page. > I just though this was an awesome concept. I haven't > had an application that required it yet, unfortunately... It IS a very cool idea, which is why I patented it 4 years ago: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF &d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1='5,740,430'.W KU.&OS=PN/5,740,430&RS=PN/5,740,430 I would be happy to tell you that I won't be asserting this patent, but the rights to this patent were assigned to Vignette Corp(http://www.vignette.com/). > ---John Holmes... -- JR

« previous php.general (#96687) next »