Re: [PHP-DB] Manipulate an image automatically

2006-04-14 Thread Anthony Lee
What is the quickest way to manipulate an image? With ImageMagick from PHP: ?php exec('convert my_image.jpg -gravity southeast -annotate 0 'My Text' result.jpg'); ? Lot's of good examples here: http://www.cit.gu.edu.au/~anthony/graphics/imagick/annotating/#watermarking -- PHP Database Mailing

[PHP-DB] Question regarding the scope of pg_prepare

2006-04-14 Thread Will Chapman
I have a few different pg_prepare statements in my PHP script. I was wondering what scope they lie in. Im assuming they are not saved in the PSQL database, so it is just for the script? They are inside of functions... does it only last until the function exists? I just dont want to keep on

Re: [PHP-DB] Question regarding the scope of pg_prepare

2006-04-14 Thread chris smith
On 4/14/06, Will Chapman [EMAIL PROTECTED] wrote: I have a few different pg_prepare statements in my PHP script. I was wondering what scope they lie in. Im assuming they are not saved in the PSQL database, so it is just for the script? They are inside of functions... does it only last until

[PHP-DB] Web forms

2006-04-14 Thread Ron Piggott (PHP)
I am creating some web based functions for the staff and volunteers to use. Access to these functions is designated by those who need it. I have two tables. One table describes the component --- It has a component reference number column. The second table indicates who has access to what

RE: [PHP-DB] Web forms

2006-04-14 Thread Giff Hammar
Ron, One option is to build a list of privs and iterate over that for the form and processing To do that, you would iterate over the list and use variables to name the fields. When you process the form, you would iterate over the same list and extract the values. Form building: $foo = array

[PHP-DB] Insert select Blob field from MySQL

2006-04-14 Thread Robert
Does anyone have an example of how to insert and select a blob field in a MySQL 4.1 database ? -- Thanks, Robert L. Campbell 510 Rook Rd.,West Point, TX 78963 Office: 979-242-3083 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php