[PHP] HTTP Headers

2001-11-21 Thread Paul - Zenith Tech Inc
Using phpinfo() I can see that the header "Last-Modified" exists. How do I go about accessing the header?? Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administr

[PHP] Problem with "<"

2001-11-14 Thread Paul - Zenith Tech Inc
Hi, I have a text file, which is acting as a template for apache config. I open the file, and read it in using this bit of code: $filename = DIR_TEMPLATES."/apache/subdom.txt"; $fd = fopen ($filename, "r"); $template = fread ($fd, filesize ($filename)); fclose ($fd); However, the fi

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
Thanks Andrew... I basically tried that, but without the ampersand symbols. I'll give that a try Many thanks, Paul "Andrew Kirilenko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello! > > Try to declare CheckBannedUser as "function CheckBannedUser ($foo, &$db)" > and call i

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
I did have a look in the manual, but I got lost half way through! I always think it's a good idea to describe the problem well :) Thanks, Paul "Andreas Landmark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Sun, Nov 11, 2001 at 06:09:40PM -, PaulC wrote: > > I'm hopin

Re: [PHP] Classes Question

2001-11-12 Thread Paul - Zenith Tech Inc
y("SELECT user FROM banned_users"); > } > } // end class > > hope it help, > py > > > - Original Message - > From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 09, 2001 11:26 AM > Subje

[PHP] Classes Question

2001-11-09 Thread Paul - Zenith Tech Inc
I'm hoping somebody has the answer to this! I have 3 pages, one a normal PHP page, and 2 which are classes. One class, is a MySQL class I have written to connect/update users, etc And the other is the manage users on the system. Is there a way I can get the "users" class to talk to the "mysql"