darryls
05-24-2001, 07:13 PM
Hello people. I've been following these threads for a while now and am just about ready to get an account. I have a question though. I have a Linux box here at my house and I have pretty much designed my web site and am ready to put it up. I designed it using PHP to generate the pages, using PHP to generate the "header code" and "footer code" so each page has the same basic layout. When you go to a page, it loads the header and then grabs the appropriate text and then loads the footer.
My question is should I save the pages as straight HTML or upload the PHP and have the pages generated dynamically? 95% of the pages on the site are static, and I basically used PHP for ease of adding pages so I wouldn't have to look at the HTML while writing content. It's no problem saving the pages as HTML since I have a Perl script that can grab pages from my Linux box and save them, so I was wondering if there was any advantage in doing this. I really don't care which way I upload since I work on the pages here at home. Thanks.
Darryl
My question is should I save the pages as straight HTML or upload the PHP and have the pages generated dynamically? 95% of the pages on the site are static, and I basically used PHP for ease of adding pages so I wouldn't have to look at the HTML while writing content. It's no problem saving the pages as HTML since I have a Perl script that can grab pages from my Linux box and save them, so I was wondering if there was any advantage in doing this. I really don't care which way I upload since I work on the pages here at home. Thanks.
Darryl