[PHP] php+gif problems take 2

2002-12-23 Thread cj
Hi would any one know what the following error's are for/mean I am using gd 2.0.7 with gif support and php4.2.3. I am using the exact same gd version and php version as I used on another machine and it compiled with only minor problems, but these errors are different to the errors I got on the othe

[PHP] php+gd 2.0.7 problems take 2

2002-12-26 Thread cj
Hi would any one know what the following error's are for/mean I am using gd 2.0.7 with gif support built in and php4.2.3 I am using the exact same gd version and php version as I used on another machine and it compiled with only minor problems, but these errors are different to the errors I got on

[PHP] Advice

2003-01-08 Thread cj
what would be the best method of doing this? Would it be best to imbed the whole thing in a form, or is there another way that php can get the file information from the check box. The code I am working on is below, I am not very effient and a newbie at php so please excuse the mess Thanks Hea

[PHP] forms

2003-01-13 Thread cj
G'day All Just a quick question This is really a html more than a php question. Is it possible to have two buttons and have different actions for each button in the same form? Thanks CJ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] forms

2003-01-13 Thread cj
tual CIO * http://www.calevans.com * -Original Message- From: cj [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:32 PM To: [EMAIL PROTECTED] Subject: [PHP] forms G'day All Just a quick question This is really a html more than a php question. Is it possible to have two button

RE: [PHP] forms

2003-01-13 Thread cj
PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] forms --- cj <[EMAIL PROTECTED]> wrote: > Is it possible to have two buttons and have different > actions for each button in the same form? No, because the action belongs to the form, not the submit buttons (which is why action is an

[PHP] forms

2003-01-13 Thread cj
Thanks everyone for your help. I got it to work yay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] numbers

2003-01-21 Thread cj
G'day all I have a calculation which gives me a number ie 6976587.4169922 This number is works outed by dividing a variable with 1024 Is there any way to strip anything after the . so I just want the number 6976587 and not anything after the . Thanks CJ -- PHP General Mailing List

RE: [PHP] numbers

2003-01-21 Thread cj
I just found the answer -Original Message- From: cj [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 11:07 AM To: Php-List (E-mail) Subject: [PHP] numbers G'day all I have a calculation which gives me a number ie 6976587.4169922 This number is works outed by divid

RE: [PHP] numbers

2003-01-21 Thread cj
gs. Brian > -Original Message----- > From: cj [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 5:18 PM > To: Php-List (E-mail) > Subject: RE: [PHP] numbers > > > I just found the answer > > -Original Message- > From: cj [mailto:[EMAIL PROTECTED

[PHP] Re: $html_code .= include ("filetoinclude.txt");

2002-10-13 Thread CJ
$html_code = $html_code.include("filetoinclude.txt"); Research And Development wrote: > Should this work? > > $html_code .= include ("filetoinclude.txt"); > > I am populating a variable with html to be printred later as usual: > $html_code .= "html". > > But I have some static html file

[PHP] Re: Variable over url

2002-10-30 Thread CJ
Read the docs first plz, or search for it thank you... Manuel jenne wrote: Hi, I've just installed php 4.2.3 and wonder why I can't submit an variable over url. Example: My Script: Test.php My URL: www.some.domain/test.php?tmp=5 My result: NOTHING !!! Where is the error? P.S. ph

[PHP] passing multiple variables in a url

2002-11-14 Thread CJ
I have a "contact us" php script on my site that allows users to email direct from the webiste. I want to be able to pass the to address and subject line to the script so I can call teh web page from elsewhere on the site and have it automatically choose the correct email address and subject line.

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread CJ
that works fine thanks. Now for what to do with the variables (new post "scanning for non alpha characters") "Bigdog" <[EMAIL PROTECTED]> wrote in message news:1037262239.10847.17.camel@;pclnxrhunter.digitalglobe.com... > Does this not work... > > > >

[PHP] scanning for non alpha characters

2002-11-14 Thread CJ
I want to scan the variables passed from teh url of my script for non alpha characters. The variables should only consist of a-z A-Z 0-9 and spaces, full stops and commas (Basically I don't want scripts to be passed via the variable to the server) I've used perl a long time ago and its regular ex

[PHP] Swear word substitution

2002-11-14 Thread CJ
or even new l i n e s or wordsruntogetherintoonelongword. I also want a list of permitted words that contain swearwords such as "Scunthorpe" which won't get changed. Has anybody done this? I have a feeling that there is a 1 line regular expression out there that will do this nicely. Any help app

[PHP] Re: scanning for non alpha characters

2002-11-14 Thread CJ
Did check them, it suggested that it was an optional library! I'll look into ereg_replace. Thanks CJ "Coert Metz" <[EMAIL PROTECTED]> wrote in message news:3DD3C27A.9070504@;metzonline.nl... > PHP also supports regular expressions > Check the manual at p

[PHP] Swear word substitution

2002-11-14 Thread CJ
I'm posting this again as i got a mail saying Trend SMEX Content Filter has detected sensitive content. Place = [EMAIL PROTECTED]; ; Sender = CJ Subject = [PHP] Swear word substitution Delivery Time = November 14, 2002 (Thursday) 23:40:23 Policy = Dirty Words Action on this mail = Delete me

[PHP] treu type fonts

2003-12-09 Thread cj
k and what to look for. As I am getting no errors messages, I guess that means that free type fonts support is installed correctly? or please correct me if im wrong. Thanks CJ The Glennies Group P.O. Box 5136 Studfield Post Office WANTIRNA SOUTH VIC 3152 Ph: 61 3 9800 3906 E-mail: [EMAIL PROT

RE: [PHP] treu type fonts

2003-12-10 Thread cj
, 10 December 2003 1:10 PM To: cj Cc: [EMAIL PROTECTED] Subject: Re: [PHP] treu type fonts Hi, Wednesday, December 10, 2003, 11:53:27 AM, you wrote: c> G'day all c> I was wandering I have php installed with GD with freetype fonts compiled in c> I ran this php script c>hea

RE: [PHP] treu type fonts

2003-12-14 Thread cj
, cj wrote: > I tried the png like you suggested and the same thing happens. > I get nothing on the screen but if I do a right click and properties on the > spot where the image should be the image type is a png image. 1) Enable FULL error reporting. 2) For debugging purposes, instead o

[PHP] true type fonts again

2003-12-14 Thread cj
G'day all I have been able to the the image to display, which is a gif image of a rectange. But the text doesn't get displayed on the image. There are no error messages on the screen The other messages entitled true type fonts is a thread I started as well, but the image was not being displayed on

RE: [PHP] true type fonts again

2003-12-15 Thread cj
no text, I will be looking through the web pages for a way to output the image to harddrive directly. would running php script.php > filename.gif be suitable, or is there another method. I do appreciate your help Thanks CJ -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sen

[PHP] configuring sever to send mail (Win2k)

2002-01-04 Thread CJ
i have a problem using the mail function on my server. win2000 Pro IIS 5.0 PHP Version 4.0.6 i'm not sure if it's a configuration problem with IIS or i'm missing something in the php.ini file. thanks CJ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] configuring sever to send mail (Win2k)

2002-01-04 Thread CJ
"Internal Error: Your input was unprocessed.Contact $from\n"; } } ?> "Dl Neil" <[EMAIL PROTECTED]> wrote in message 06f601c1962f$e3841cc0$7b16100a@jrbrown">news:06f601c1962f$e3841cc0$7b16100a@jrbrown... > CJ, > > > i have a

[PHP] configuring sever to send mail (Win2k)

2002-01-04 Thread CJ
"Internal Error: Your input was unprocessed.Contact $from\n"; } } ?> "Dl Neil" <[EMAIL PROTECTED]> wrote in message 06f601c1962f$e3841cc0$7b16100a@jrbrown">news:06f601c1962f$e3841cc0$7b16100a@jrbrown... > CJ, > > > i have a