Re: [PHP] Creating an Entire .html page with PHP
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 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 > > > > ... stuff > > > ... stuff > ... stuff with database query results... > ... stuff > > > > Q: Is there a function that might help with saving the whole content as > .html page? > > > > Thanks, > deal...@gmail.com > [db-10] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- http://www.kingzones.org/
Re: [PHP] URL Rewrite not working for me
Hi!! For Internal redirection: RewriteRule profile/username/([^/]+) profile.php?username=$1 [PT] On Fri, Jul 25, 2008 at 3:00 AM, Don Don <[EMAIL PROTECTED]> wrote: > Hi all, > > I've set up a url rewrite code below. > > Options +FollowSymLinks > RewriteEngine on > > RewriteRule profile/username/(.*) profile.php?username=$1 > > It only works when I type in this url > http://www.example.com/profiles/profile/username/baller/ > > If i do not then the normal url > http://www.example.com/profiles/profile.php?username=baller is displayed. > > > > I just want the new url to show when ever I trype in the old url. > > Cheers > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- http://www.kingzones.org/