[PHP] Imagecreatefromjpeg()

2003-01-16 Thread Sara Keesler
Hi,

  I've seen this bounced around on the archives a bit,
but none of the advice on there is working for me.
I'm trying to do something very simple:

?
Header(Content-type: image/jpeg);
$im = ImageCreateFromJpeg('1234_1.jpg');
ImageJpeg($im);?

  The file is in the folder, it has execute and write
permissions set, and the error given is The image
cannot be displayed, because it contains errors.,
which is not very useful.  Anyone have any suggestions?

Thanks,
Sara Keesler


Re: [PHP] mail() problem...

2002-11-22 Thread Sara Keesler
Hi,

 The helpdesk sends emails as [EMAIL PROTECTED], but some servers
 don't accept nobody as the sender!
 do you know how i can change that?
 i don't mean the From: header, but the real sender header of the
email...

  I don't know if this is a good way to do things or not, but I have scripts
that send mail as several different addresses, and I do it this way:

mail('user@wherever', 'Test', 'Test', 'From: [EMAIL PROTECTED]',
'[EMAIL PROTECTED]');

(Outlook may screw that line up a bit, and if it does, I apologize).

Sara Keesler


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Auto_Prepend_File for non-PHP files?

2002-11-14 Thread Sara Keesler
Hi,

I couldn't find this in the documentation, or in the archives of the mailing list, so 
I apologize if it's been answered many times before :)

I'm trying to use auto_prepend_file to prepend a php file to every file in a folder, 
not just .php files.  

I have:
Files ~ .*
  php_value auto_prepend_file /path/to/php_file.php
/Files
in my Apache httpd.conf.

What am I doing wrong?

Sara Keesler