[PHP-DB] Application-based locking with PHP?

2001-09-17 Thread Barry L. Jeung
Just wondering if anyone has tried doing quasi application based locking with PHP? My scenario is this. I'm constructing a database for my company to help keep track of trouble tickets, etc with a web-based frontend. I'm using PHP (obviously =]) for inputing/retrieving data and have a slight

RE: [PHP-DB] Application-based locking with PHP?

2001-09-17 Thread Barry L. Jeung
Message- From: Justin Buist [mailto:[EMAIL PROTECTED]] Sent: Monday, September 17, 2001 12:40 PM To: Barry L. Jeung Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Application-based locking with PHP? So long as you keep any referencial integrity from being broken by two nearly simultaneous

RE: [PHP-DB] Another Image prob

2001-09-14 Thread Barry L. Jeung
Don't think that was the answer he was looking for =]. Here's how I retrieve images stored as blobs. $query = select File, Type from Pictures_Data where id=$id; $result = mysql_query($query); $data = mysql_result($result, 0, File); $type = mysql_result($result, 0, Type);

[PHP-DB] Seperate PHP.ini or configurations per Apache vhost?

2001-08-15 Thread Barry L. Jeung
Is is possible to specify different php.ini files or configuration values per vhost? Particularly I'm interested in the variable 'session.cookie_domain' . I have this set to the domain for the site I first used PHP with, but now I am using PHP sessions on other vhosts with different domains. How

[PHP-DB] Seperate PHP.ini or configurations per Apache vhost? Part 2

2001-08-15 Thread Barry L. Jeung
First off, I wanted to apologize for sending this to the wrong list. However the damage has been done, and I just wanted to post the resolution to this simple question I posted, found after a little searching at the following URL. http://www.php.net/manual/en/configuration.php With PHP 4.0,