Re: [PHP] Template Question

2004-08-17 Thread Jonathan Hadddad
Rather than kill myself trying to do this, I'm simply cutting the file at the content point and saving each half of the file, and using INCLUDE(Start.php) and INCLUDE(finish.php). Template variables are included in the $template array. As far as the actual template is concerned, I'll keep

[PHP] auto include?

2004-08-13 Thread Jonathan Hadddad
is there a way to always have a certain script evaluate at the start of every page? Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto include?

2004-08-13 Thread Jonathan Hadddad
that might prevent values from being set? Jon On Aug 13, 2004, at 4:34 PM, Justin Patrin wrote: On Fri, 13 Aug 2004 16:23:26 -0400, Jonathan Hadddad [EMAIL PROTECTED] wrote: is there a way to always have a certain script evaluate at the start of every page? Look in the php.ini settings for auto prepend

Re: [PHP] auto include?

2004-08-13 Thread Jonathan Hadddad
is there anything that would show up in phpinfo() that would tell me if that feature is disabled? Jon On Aug 13, 2004, at 7:10 PM, Ed Lazor wrote: Yea, it depends on whether your server allows you to put settings in .htaccess. Try putting an invalid command in there like NotAValidDirective and

[PHP] Template Question

2004-08-12 Thread Jonathan Hadddad
Here is my situation: I have created a template system. A template is a single file that simply has the word {content} in it where the content belongs. The logo and the nav are in the template. The first half of the file is read (up to {content} ). Then the content from the actual file is

[PHP] Accepting Credit Cards

2004-07-30 Thread Jonathan Hadddad
I'm going to be setting up a site that needs to accept credit card transactions. I was wondering what people thought of different services such as paypal, 2checkout, or whatever you've used before. I have used 2checkout, and it was OK. I'm looking for something that's quick to set up and