[PHP] GD lib not working

2004-12-05 Thread Dade Register
It seems that my install of php does not like the GD library. I've tried everything, and read past forum messages. Here's what I'm running: FreeBSD 5.2.1 Apache 2.0.52 Php 5.0.2 GD 2.0.32 Php compiles fine, and even the tests pass for the GD lib, but any GD function fails including gdinfo()

Re: [PHP] GD lib not working

2004-12-05 Thread Dade Register
I compiling it wrong? I verified that all my libs are located @ /usr/local/lib. -Dade Jason Wong [EMAIL PROTECTED] wrote: On Sunday 05 December 2004 17:37, Dade Register wrote: It seems that my install of php does not like the GD library. I've tried everything, and read past forum messages

[PHP] stripslashes()

2003-03-01 Thread Dade Register
I know this is probably an easy question, but I am using stripslashes() on a textarea var, and I don't think it's working. It doesn't error, but in the testarea it doesn't seem to work. Ex: $var = Thank's; $var = stripslashes($var); echo $var; Output = Thank\'s Any ideas? Thanx. -Dade

Re: [PHP] stripslashes()

2003-03-01 Thread Dade Register
Well, only diff is it's a POST from a textarea. With magicquotes on, you're right, it makes Thank's become Thank\'s. how can I get rid of that? I'm posting it to a text file. -Dade --- Ernest E Vogelsinger [EMAIL PROTECTED] wrote: At 01:48 02.03.2003, Dade Register said

Re: [PHP] stripslashes()

2003-03-01 Thread Dade Register
Vogelsinger [EMAIL PROTECTED] wrote: At 02:05 02.03.2003, Dade Register said: [snip] Well, only diff is it's a POST from a textarea. With magicquotes on, you're right, it makes Thank's become Thank\'s. how can I get rid of that? I'm posting it to a text file

Re: [PHP] stripslashes()

2003-03-01 Thread Dade Register
Thanx a lot for your help. It adds to the .dat file. it's not fgets(). Dade [EMAIL PROTECTED]'s That's from the dat file. any other ideas? -Dade --- Ernest E Vogelsinger [EMAIL PROTECTED] wrote: At 03:37 02.03.2003, Dade Register said: [snip] I know I

[PHP] A JS problem

2003-03-01 Thread Dade Register
I know this is a php forum. Please don't be upset with me, but I have a JS problem which nobody I know can seem to figure out. Here goes: script LANGUAGE=JavaScript var w1 = 1000; var h1 = 672; if (w1 = screen.width){ if (h1 = screen.height){ document.write(a

[PHP] Screen Size detect??

2003-01-31 Thread Dade Register
I'm trying to detect the screen size of any client browser, or at least IE. Is there a php function that can do this? If not, does anyone have any ideas on a JS that would work too? Plz help. Thanx. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.

[PHP] directory list function?

2002-12-27 Thread Dade Register
A question for you all. Is there a php function that could count the number of files in a dir? Using FreeBSD and php4.2.2 and Apache. Thanx. -Dade __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --

[PHP] exif functions

2002-12-24 Thread Dade Register
Happy Holidays! I am having a problem using the exif_thumbnail() function. All I want to do is to view the embedded thumbnails in some jpg files taken by digital cameras. I have tried the examples in the docs, but they don't seem to work. Can someone give me some tips on using this function?

[PHP] Question about Trim

2002-12-07 Thread Dade Register
Hey... I have a question about trim. I don't know if trim() is the right funtion to use, but here is my problem. I am recieving a textarea input from a form and writing it to a data file. I need to change any line breaks or (enter) if you will into a br or something else. When it's in my text