On Fri, 29 Jan 2010 14:48:47 +, Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use Apache mod rewrite to create html pages having all programing
saved in .php pages. I have never tried generating .html pages with this but
have successfully generated
On Sat, 2010-01-30 at 19:20 +0100, Nisse Engström wrote:
On Fri, 29 Jan 2010 14:48:47 +, Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use Apache mod rewrite to create html pages having all programing
saved in .php pages. I have never tried
Ashley Sheridan wrote:
On Sat, 2010-01-30 at 19:20 +0100, Nisse Engström wrote:
On Fri, 29 Jan 2010 14:48:47 +, Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use Apache mod rewrite to create html pages having all programing
saved in .php pages. I have
On Sat, 2010-01-30 at 13:40 -0500, Robert Cummings wrote:
Ashley Sheridan wrote:
On Sat, 2010-01-30 at 19:20 +0100, Nisse Engström wrote:
On Fri, 29 Jan 2010 14:48:47 +, Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use Apache mod rewrite to
Ashley Sheridan wrote:
On Sat, 2010-01-30 at 13:40 -0500, Robert Cummings wrote:
Ashley Sheridan wrote:
On Sat, 2010-01-30 at 19:20 +0100, Nisse Engström wrote:
On Fri, 29 Jan 2010 14:48:47 +, Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use
you can use Apache mod rewrite to create html pages having all programing
saved in .php pages. I have never tried generating .html pages with this but
have successfully generated .htm pages..
Hope this works..
On Tue, Jan 26, 2010 at 6:30 AM, deal...@gmail.com deal...@gmail.comwrote:
Hi Folks,
Ashley Sheridan wrote:
On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
you can use Apache mod rewrite to create html pages having all programing
saved in .php pages. I have never tried generating .html pages with this but
have successfully generated .htm pages..
Hope this works..
On Tue,
On Thu, 28 Jan 2010 13:39:31 -0800, mpet...@mac.com (Michael A. Peters) wrote:
clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800,
On Sat, 2010-01-30 at 12:34 +1100, clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 13:39:31 -0800, mpet...@mac.com (Michael A. Peters)
wrote:
clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman)
wrote:
On Thu, Jan 28, 2010 at 12:31
On Thu, 28 Jan 2010 16:23:05 -0500, pa...@quillandmouse.com (Paul M Foster)
wrote:
On Fri, Jan 29, 2010 at 08:17:34AM +1100, clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
Opening tables, etc, wrongly generally messes the page up completely, but
forgetting to close them again often has no affect no visible effect at all
-- until
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
Opening tables, etc, wrongly generally messes the page up completely, but
On Fri, Jan 29, 2010 at 08:17:34AM +1100, clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
Opening
On Thu, 2010-01-28 at 16:23 -0500, Paul M Foster wrote:
On Fri, Jan 29, 2010 at 08:17:34AM +1100, clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan
clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
Opening tables, etc, wrongly generally messes the
On Thu, Jan 28, 2010 at 10:17 PM, clanc...@cybec.com.au wrote:
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
On Thu, Jan 28, 2010 at 12:31 AM, clanc...@cybec.com.au wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
Opening tables,
On 1/26/2010 6:08 PM, clanc...@cybec.com.au wrote:
In principle this is extremely simple. Take your existing procedure to generate
the page
then:
1. $page = '';
2. Replace every echo 'whatever'; statement with $page .= 'whatever';, and
everyhtml
with $page .= 'html';
3.
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
On 1/26/2010 6:08 PM, clanc...@cybec.com.au wrote:
In principle this is extremely simple. Take your existing procedure to
generate the page
then:
1. $page = '';
2. Replace every echo 'whatever'; statement with $page
Isn't there a framework doing that?
On Mon, Jan 25, 2010 at 8:00 PM, deal...@gmail.com deal...@gmail.comwrote:
Hi Folks,
I would like to create an entire .html page gathered from database content
mixed with html etc. and be able to save the page...
like:
--- save all this pre made
On Tue, 2010-01-26 at 09:55 -0500, Ryan Sun wrote:
Isn't there a framework doing that?
On Mon, Jan 25, 2010 at 8:00 PM, deal...@gmail.com deal...@gmail.comwrote:
Hi Folks,
I would like to create an entire .html page gathered from database content
mixed with html etc. and be able to
Ashley Sheridan wrote:
I think generally though, it's usual to have the pages created and
output on the fly, rather than output the .html page.
Yes, though often using a cache if it is dynamic content that doesn't
change often. No reason to hit the db continuously if the content is the
On Mon, 25 Jan 2010 18:31:54 -0800, deal...@gmail.com (deal...@gmail.com)
wrote:
On Jan 25, 2010, at 6:23 PM, Shawn McKenzie wrote:
file_put_contents() is s much easier.
Thanks Shawn I'll check that out ...
- I see it says : This function is identical to calling fopen(),
fwrite() and
-Original Message-
From: clanc...@cybec.com.au [mailto:clanc...@cybec.com.au]
Sent: Tuesday, January 26, 2010 6:09 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Creating an Entire .html page with PHP
On Mon, 25 Jan 2010 18:31:54 -0800, deal...@gmail.com
(deal
On Tue, 26 Jan 2010 18:52:06 -0800, dae...@daevid.com (Daevid Vincent) wrote:
First of all writing pages in this old fashioned .cgi sort of way is so
1990's. Concatenating your whole page to a giant string is silly and
defeats the benefits (and purpose) of using PHP.
I'm actually in
On Mon, 2010-01-25 at 17:00 -0800, deal...@gmail.com wrote:
Hi Folks,
I would like to create an entire .html page gathered from database
content mixed with html etc. and be able to save the page...
like:
--- save all this pre made content as .html page
html
head
... stuff
- Original Message -
From: deal...@gmail.com
To: PHP-General php-general@lists.php.net
Sent: Tuesday, January 26, 2010 11:00 AM
Subject: [PHP] Creating an Entire .html page with PHP
Hi Folks,
I would like to create an entire .html page gathered from database
content mixed with html
On Jan 25, 2010, at 4:59 PM, Ashley Sheridan wrote:
$fh = fopen(page.html,w);
fwrite($fh, $htmlcode);
Thanks so much Ashley and ALL, this looks like it will work fine.
BTW: Sorry if I didn't make myself clear - I just wanted to grab some
data like a person from a contacts file and be
deal...@gmail.com wrote:
On Jan 25, 2010, at 4:59 PM, Ashley Sheridan wrote:
$fh = fopen(page.html,w);
fwrite($fh, $htmlcode);
Thanks so much Ashley and ALL, this looks like it will work fine.
BTW: Sorry if I didn't make myself clear - I just wanted to grab some
data like a
On Jan 25, 2010, at 6:23 PM, Shawn McKenzie wrote:
file_put_contents() is s much easier.
Thanks Shawn I'll check that out ...
- I see it says : This function is identical to calling fopen(),
fwrite() and fclose() successively to write data to a file.
my newbie brain likes that!
29 matches
Mail list logo