[PHP] Including function libraries

2004-10-02 Thread Andrew W
Ok, I've got a file called functions.lib which contains the following: function checkLoggedIn() { return (true); } function Test ($x) { return ($x * $x); } and a file called test.php which contains the following: ?php include 'functions.lib'; if (checkLoggedIn()) { print

Re: [PHP] PHP include before or after Apache SSI?

2004-09-15 Thread Andrew W
On 13 Sep 2004, at 19:11, Ed Lazor wrote: Why use SSI? PHP's include directive allows you to bring separate pages together for creating an overall page. You can include .html files. Also, PHP programming isn't *required* in a file with the php extension. I had wondered about that but I must

[PHP] PHP include before or after Apache SSI?

2004-09-13 Thread Andrew W
In which order do the two execute? I'm trying to work out the best way to integrate PHP backend code with an HTML interface in the cleanest way possible - I don't really want to copy paste the PHP into the HTML because it will make maintaining both the PHP the HTML more complicated. What

Re: [PHP] Cannot compile

2004-08-03 Thread Andrew W
I'm using Linux. It doesn't work regardless of whether I include any options or not. On 2 Aug 2004, at 04:14, Support wrote: Sounds like configure did not work ok after all. :-) Did you include any options? What os? Any clues you could offer would help. -- PHP General Mailing List

[PHP] Cannot compile

2004-08-01 Thread Andrew W
I've compiled installed software from source before but PHP 5 is proving a challenge. I've decompressed the tarball and cd into the directory. Run ./configure which seems to work ok but then when I do make I get the following error: No targets specified and no makefile found Sure enough