[PHP] Image Functions

2003-12-10 Thread David O'Brien
Is there an equivalent way of doing a ImageMagick "composite file1.png file2.png file3.png" using the builtin GD functions? -Dave David G. O'Brien Web Services Coordinator / Systems Administrator NACCRRA The Nation's Network of Child Care Resource & Referral 1319 F Street NW, Suite 500 Washin

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread David O'Brien
I just did something similar to what you are asking to do I created a mask.png in photoshop with white text at 50% opacity saying what I wanted Then I used the ImageMagick composite command line program thru a system call "composite mask.png image.png image.png" to make the new watermarked images.

Re: [PHP] Current Month Only ?

2004-01-05 Thread David O'Brien
$current = getdate(); if ($current["mday"] < 10) { $current["mday"] = "0" . $current["mday"]; } if ($current["mon"] < 10) { $current["mon"] = "0" . $current["mday"]; } $sql = "SELECT * FROM yourtable WHERE datefield BETWEEN " . $current["year"] . $current"month"] . $current["mday"] - ($curre

Re: [PHP] Spell checker in PHP

2004-01-09 Thread David O'Brien
I used system call to a dos spell checker program from here http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html#ftp-sites using the places2k.txt file from the US census as the dictionary http://www.census.gov/geo/www/gazetteer/places2k.html -Dave At 02:57 PM 1/9/2004, Robin Kopetzky wrote

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread David O'Brien
At 11:01 AM 4/21/2004, you wrote: Here's another version of the SQL statement and I get a different error now. When I copy and paste this exact same SQL statement into an update query in Access it works fine. When I try to use it in my PHP code, I get the following error: SQL Statement: UPDATE t

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread David O'Brien
After googling the error message for you, I found about a zillion pages which all basically say the same thing. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q175168 -Dave At 11:01 AM 4/21/2004, Gabe wrote: Here's another version of the SQL statement and I get a different error now. W

Re: [PHP] SMTP and GroupWise

2004-04-22 Thread David O'Brien
That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before sending the email. Most mail servers cache this info for a certain amount of time so you may not have to do it every time you send. I know that http://phpmailer.so

Re: [PHP] handling .zip and .sit files

2004-01-27 Thread David O'Brien
At 12:39 PM 1/27/2004, John Nichel wrote: Joey Manley wrote: I'm working on an application which allows cartoonists to upload and schedule comic strips at webcomicsnation.com. this for me? Zip files are a breeze if php is compiled with "--with-zip". However, I don't know of any way to handle .si

Re: [PHP] Why doesn't PHP see my MySQL upgrade?

2004-02-17 Thread David O'Brien
You are using built-in mysql support. It uses that version of the API you would have to compile with your own version of mysql to change that number -Dave At 11:26 AM 2/17/2004, Donpro wrote: Hi, Just installed a new RedHat 7.3 system. 1. I upgraded to PHP 4.3.4 2. I upgraded to MySQL 4.0.17 3. R

Re: [PHP] confused about logic

2004-03-19 Thread David O'Brien
At 10:45 AM 3/19/2004, you wrote: Hi All, I have input for where users can enter order numbers in which to search the database to find results matching their entry. To enter multiple order numbers they can comma separate like: 1,34,21,34,54 Let's say you place these in the following variable $o