[PHP] image commands (again)

2006-11-05 Thread Ron Piggott (PHP)
I created a form that I have on my site --- it is at http://www.actsministrieschristianevangelism.org/development_tools/textart/details.html If I run this script it creates a graphic image of the text the user typed in with the appropriate options selected I would now like to have the image creat

[PHP] imageloadfont

2006-11-05 Thread Ron Piggott (PHP)
How do you make .gdf files for use with imageloadfont ? Ron

[PHP] imagejpeg

2006-11-04 Thread Ron Piggott (PHP)
Is there a way to specify a font when using imagejpeg ? Ron

[PHP] Form verification

2006-11-01 Thread Ron Piggott (PHP)
I am wondering if any of you know what it is called when letters come up for the user to key in for form entry verification. Ron

[PHP]

2006-10-25 Thread Ron Piggott (PHP)
I am creating a form right now. I am using the html SELECT tag. The most number of days in a month is 31 I want the output to be ## based on the value of $selected_day_of_month variable. For the days of the month where the number is not selected the output I am desiring is 1 2 etc. to be g

[PHP] strtotime

2006-10-24 Thread Ron Piggott (PHP)
I have used the strtotime command to calculate a week ago (among other things) with syntax like this: $one_week_ago = strtotime("-7 days"); $one_week_ago = date('Y-m-d', $one_week_ago); How would you use this command to figure out the last day of the month in two months from now --- Today is Oct

[PHP] Date calculation

2006-10-15 Thread Ron Piggott (PHP)
I have one more date based question. I have a month field ( $month ) and a day field ( $day ) being submitted by a form. I have a third field to be used as a date reminder for the information which was submitted as part of the form. It is a reminder to complete a task for the date was which was

[PHP] Month in a numeric form

2006-10-15 Thread Ron Piggott (PHP)
Is there a way I am able to use the DATE command to convert January to 1, February to 2, etc.

[PHP] Date verification

2006-10-09 Thread Ron Piggott (PHP)
Is there a PHP function which verifies a valid date has been entered (-MM-DD)? Ron

[PHP] Uploading files / processing with a PHP script

2006-10-08 Thread Ron Piggott (PHP)
When I upload a file into an application I am writing with the HTML form command and then give the PHP command move_uploaded_file( $userfile , $destination_file_name); the owner of the file is 'www'. Is there any way I am able to automatically change the owner of the file to my FTP login iden

[PHP] ECHO $variable

2006-10-07 Thread Ron Piggott (PHP)
In one of my scripts I have where $saved_message_title is 1 Peter 5:7 "Cast all your cares on Him for He cares about you" --- note the " When this is displayed on the screen $saved_message_title reads 1 Peter 5:7 I am assuming the " closes the value= How may I echo this to the screen and

[PHP] Re: [PHP-DB] auto_increment and INSERT INTO

2006-01-21 Thread Ron Piggott (PHP)
That is the function I was looking for. Thanks. Ron On Sat, 2006-01-21 at 23:47 -0500, [EMAIL PROTECTED] wrote: > Try: > >mysql_query("INSERT INTO table VALUES ('$variable_1', '$variable_2');"); > $auto_increment_variable = mysql_insert_id(); > ?> > > > -TG > > > > > = = = Original