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:
>>>
y
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
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 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
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 genera
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, wrote:
>> >> On
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 2
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, wrote:
On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.c
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, Ja
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, Jan 26, 2010 a
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 wrote:
> Hi Folks,
>
> I would like
On Thu, Jan 28, 2010 at 10:17 PM, 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, wrote:
>>> On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
>>>Opening tables, etc, wrongly generally messes the pa
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, 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 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, wrote:
> > >> On Wed, 27 Jan 2010 10:21
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, wrote:
> >> On Wed, 27 Jan 2010 10:21:00 -0800, deal...@gmail.com (dealtek) wrote:
> >>Opening tables, etc
On Thu, 28 Jan 2010 21:10:42 +0100, rene7...@gmail.com (Rene Veerman) wrote:
>On Thu, Jan 28, 2010 at 12:31 AM, 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
On Thu, Jan 28, 2010 at 12:31 AM, 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 you
> make some in
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'; stateme
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
every
with $page .= '';
3. file_put_contents($page,$fil
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 actual
> -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..
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(),
>fw
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
s
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 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 t
Isn't there a framework doing that?
On Mon, Jan 25, 2010 at 8:00 PM, 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 .ht
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!
Th
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 gra
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
- Original Message -
From:
To: "PHP-General"
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 etc. and be able to save the page...
l
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
>
>
>
> ... s
30 matches
Mail list logo