[PHP] Images can execute php script?

2012-09-23 Thread admin
Today I seen a hack into php that has rocked me to my foundation. I seen a picture uploaded onto a server using php and when php displayed the image, phpinfo() was executed and displayed. Does this problem exist in PHP 5.2.17 +? How do you stop it? Sorry, I have never known of this before today.

Re: [PHP] Images can execute php script?

2012-09-23 Thread Bastien
Bastien Koert On 2012-09-23, at 11:57 AM, admin ad...@buskirkgraphics.com wrote: Today I seen a hack into php that has rocked me to my foundation. I seen a picture uploaded onto a server using php and when php displayed the image, phpinfo() was executed and displayed. Does this problem

Re: [PHP] Images can execute php script?

2012-09-23 Thread shiplu
On Sun, Sep 23, 2012 at 9:57 PM, admin ad...@buskirkgraphics.com wrote: Today I seen a hack into php that has rocked me to my foundation. I seen a picture uploaded onto a server using php and when php displayed the image, phpinfo() was executed and displayed. Does this problem exist in PHP

RE: [PHP] Images can execute php script?

2012-09-23 Thread admin
Jpgs can hold other data rather than image data One thing to try is to run strip_tags($image) to remove any php code http://stackoverflow.com/questions/3499173/my-php-site-was-hacked-by-codes-u ploaded-as-image http://josephkeeler.com/2009/04/php-upload-security-the-1x1-jpeg-hack/ Bastien

Re: [PHP] Images can execute php script?

2012-09-23 Thread Maciek Sokolewicz
On 23-09-2012 21:30, admin wrote: Jpgs can hold other data rather than image data One thing to try is to run strip_tags($image) to remove any php code http://stackoverflow.com/questions/3499173/my-php-site-was-hacked-by-codes-u ploaded-as-image

[PHP] Re: PHP images server

2010-08-05 Thread Colin Guthrie
, I've built a small PHP images server that resizes to a predefined set of dimensions the images if necessary. To save on CPU usage, the resized version is stored on Amazon AWS. When requesting an image of a specific size, if the resized image exists on AWS, that image is used. The images

[PHP] PHP images server

2010-08-04 Thread Jean-Michel Philippon-Nadeau
Hi List, My website uses a lot of external images coming from many different websites. Those images are sometimes small, sometimes big, and to reduce the loading time of my pages and for better uniformity, I've built a small PHP images server that resizes to a predefined set of dimensions

Re: [PHP] Images again

2007-04-16 Thread Richard Lynch
On Fri, April 13, 2007 8:02 pm, Børge Holen wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! Feh. Read the archives. See I was just wondering, and that at times leads to late nights I used to read the images from

Re: [PHP] Images again

2007-04-16 Thread Børge Holen
On Tuesday 17 April 2007 01:58, Richard Lynch wrote: On Fri, April 13, 2007 8:02 pm, Børge Holen wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! Feh. Read the archives. See I was just wondering, and that

Re: [PHP] Images again

2007-04-14 Thread Tijnema !
On 4/14/07, Børge Holen [EMAIL PROTECTED] wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used to read the images from two different files; one

Re: [PHP] Images again

2007-04-14 Thread Børge Holen
On Saturday 14 April 2007 09:45, you wrote: On 4/14/07, Børge Holen [EMAIL PROTECTED] wrote: Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used

[PHP] Images again

2007-04-13 Thread Børge Holen
Before mr lynch starts beating up those already dead and probably long since burried horses... Images in a database! See I was just wondering, and that at times leads to late nights I used to read the images from two different files; one watermarked the image and one let it throught without

[PHP] Images outside webroot + session = safe?

2005-10-29 Thread Joseph Tura
Hi there, I am storing images outside the webroot to keep them from being accessible for unauthorized users to see. Then I use a script to show the images, like this: img src=show.php Now, as there is no information on the images stored in a database yet (they have just been uploaded via ftp),

Re: [PHP] Images - Converting TIFF Format?

2005-04-20 Thread The Disguised Jedi
I searched through my server's system (I'm not running it, it's my ISP) and finally found that TIFF isn't compiled into GD. I can get them to do it, but I need to know what functions to use! Are they under a different file type? I'm pretty sure I searched through thoroughly for the function.

Re[2]: [PHP] Images - Converting TIFF Format?

2005-04-20 Thread Tom Rogers
Hi, Thursday, April 21, 2005, 3:15:31 AM, you wrote: TDJ I searched through my server's system (I'm not running it, it's my ISP) and TDJ finally found that TIFF isn't compiled into GD. I can get them to do it, but TDJ I need to know what functions to use! Are they under a different file type?

[PHP] Images - Converting TIFF Format?

2005-04-19 Thread The Disguised Jedi
Is there a quick way to convert a TIFF format picture to a GIF quickly? I can only find support for GIFs in PHP, but maybe I'm missing something. I have a client running a photography business, and I have designed an image watermark and resizing engine, and a server to check the request, serve

Re: [PHP] Images - Converting TIFF Format?

2005-04-19 Thread Richard Lynch
On Tue, April 19, 2005 7:39 am, The Disguised Jedi said: Is there a quick way to convert a TIFF format picture to a GIF quickly? I I'm reasonably certain you can get GD to read TIFF files, if you install TIFF on your server, and then the GD extension again... Start reading at http://php.net/gd

Re: [PHP] Images - Converting TIFF Format?

2005-04-19 Thread Tom Rogers
Hi, Wednesday, April 20, 2005, 12:39:54 AM, you wrote: TDJ Is there a quick way to convert a TIFF format picture to a GIF quickly? I TDJ can only find support for GIFs in PHP, but maybe I'm missing something. I TDJ have a client running a photography business, and I have designed an image TDJ

Re: [PHP] images process

2004-11-21 Thread edwardspl
Yes, I need a sample ( display images with php directly from database ) for reference... So, can you help me ? Many thank for your help ! Raditha Dissanayake wrote: [EMAIL PROTECTED] wrote: So, how can we fix this kind of problem ? is it a problem? Raditha Dissanayake wrote:

Re: [PHP] images process

2004-11-21 Thread Paul Furman
You need to set up an apache server get that running on your windows machine in order to run php. Then you go thru IE to view the php script run it that way. [EMAIL PROTECTED] wrote: Yes, I need a sample ( display images with php directly from database ) for reference... So, can you help

Re: [PHP] images process

2004-11-21 Thread James Cartledge
On Sun, 21 Nov 2004 22:22:52 +0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yes, I need a sample ( display images with php directly from database ) for reference... So, can you help me ? Many thank for your help ! Does this help?

Re: [PHP] images process

2004-11-21 Thread edwardspl
Sorry, I need a sample of php program... Thanks! Paul Furman wrote: You need to set up an apache server get that running on your windows machine in order to run php. Then you go thru IE to view the php script run it that way. [EMAIL PROTECTED] wrote: Yes, I need a sample ( display

Re: [PHP] images process

2004-11-21 Thread James Cartledge
On Mon, 22 Nov 2004 09:13:14 +0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry, I need a sample of php program... Thanks! Does this help? http://www.onlamp.com/pub/a/onlamp/2002/05/09/webdb2.html google: php image database J. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] images process

2004-11-21 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: Sorry, I need a sample of php program... They are dime a dozen on google. please trim your posts. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] images process

2004-11-20 Thread edwardspl
Dear You, How to load images ( eg: gif, jpg) with base64 function from Database on IE directly ? Is there any samples to me for reference ? Many thank for your help ! Ed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] images process

2004-11-20 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: Dear You, How to load images ( eg: gif, jpg) with base64 function from Database on IE directly ? as far as I know you cannot do this with IE directly. Is there any samples to me for reference ? Many thank for your help ! Ed. -- PHP General Mailing List

Re: [PHP] images process

2004-11-20 Thread edwardspl
So, how can we fix this kind of problem ? Raditha Dissanayake wrote: [EMAIL PROTECTED] wrote: Dear You, How to load images ( eg: gif, jpg) with base64 function from Database on IE directly ? as far as I know you cannot do this with IE directly. Is there any samples to me for

Re: [PHP] images process

2004-11-20 Thread Raditha Dissanayake
[EMAIL PROTECTED] wrote: So, how can we fix this kind of problem ? is it a problem? Raditha Dissanayake wrote: [EMAIL PROTECTED] wrote: Dear You, How to load images ( eg: gif, jpg) with base64 function from Database on IE directly ? as far as I know you cannot do

[PHP] Images problem

2004-11-17 Thread Phpu
If i have 2 images: $im1 = imagecreate (100, 100); $white = ImageColorAllocate ($im1, 255, 255, 255); $im2 = imagecreate (50, 50); $black = ImageColorAllocate ($im2, 0, 0, 0); How can i put $im2 over $im1 and result one single image? Is there a function to do this? Thank You

Re: [PHP] Images problem

2004-11-17 Thread Randy Rinehart
Subject: [PHP] Images problem If i have 2 images: $im1 = imagecreate (100, 100); $white = ImageColorAllocate ($im1, 255, 255, 255); $im2 = imagecreate (50, 50); $black = ImageColorAllocate ($im2, 0, 0, 0); How can i put $im2 over $im1 and result one single image? Is there a function to do

Re: [PHP] Images problem

2004-11-17 Thread Eakin, W
Phpu wrote: If i have 2 images: $im1 = imagecreate (100, 100); $white = ImageColorAllocate ($im1, 255, 255, 255); $im2 = imagecreate (50, 50); $black = ImageColorAllocate ($im2, 0, 0, 0); How can i put $im2 over $im1 and result one single image? Is there a function to do this? Thank You

RE: [PHP] Images problem

2004-11-17 Thread Mike
-Original Message- From: Phpu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Images problem If i have 2 images: $im1 = imagecreate (100, 100); $white = ImageColorAllocate ($im1, 255, 255, 255); $im2 = imagecreate (50, 50

Re: [PHP] Images problem

2004-11-17 Thread Phpu
It's working Thanks a lot - Original Message - From: Randy Rinehart [EMAIL PROTECTED] To: Phpu [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 6:29 PM Subject: Re: [PHP] Images problem I believe you can use imagecopymerged to do this. http://us2

RE: [PHP] images doesn't seem to cache

2004-11-09 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 06 November 2004 20:09, anders thoresson wrote: This code seems to work. Have I got it right? No. I have not. Sometimes the images are viewed from the cache, just to

Re: [PHP] images doesn't seem to cache

2004-11-08 Thread Marek Kilimajer
anders thoresson wrote: This code seems to work. Have I got it right? No. I have not. Sometimes the images are viewed from the cache, just to get downloaded from the server again next time, just a minute later, when I try again. My local development server is running IIS, my production

Re: [PHP] images doesn't seem to cache

2004-11-07 Thread anders thoresson
it won't be a php-parameter. Seen as the script isn't executed when the server decides it is the same as the cached version. So only if it deems not to be, then it runs the script, and when it does that, the script doesn't need to know anything about modified-since, because that checks has

Re: [PHP] images doesn't seem to cache

2004-11-06 Thread anders thoresson
Your eyes are fine. You need to check for If-Modified-Since header, if the time is older than file modification time (filemtime()) send Last-Modified header and the image, else send 304 Not Modified response. This code seems to work. Have I got it right? // Get the time the cache file was last

Re: [PHP] images doesn't seem to cache

2004-11-06 Thread anders thoresson
This code seems to work. Have I got it right? No. I have not. Sometimes the images are viewed from the cache, just to get downloaded from the server again next time, just a minute later, when I try again. My local development server is running IIS, my production server is running Apache.

Re: [PHP] images doesn't seem to cache

2004-11-06 Thread M. Sokolewicz
Anders Thoresson wrote: This code seems to work. Have I got it right? No. I have not. Sometimes the images are viewed from the cache, just to get downloaded from the server again next time, just a minute later, when I try again. My local development server is running IIS, my production

[PHP] images doesn't seem to cache

2004-11-05 Thread anders thoresson
Hi, I put all my images outside the web root, the prevent direct access, and then access them with a img-tag like this: img src=fnc_get_image.php?path=?=$path;? / where fnc_get_image.php is: // Check if user is logged in require_once 'global_includes.php'; $user = new User(); // Get path to

Re: [PHP] images doesn't seem to cache

2004-11-05 Thread Marek Kilimajer
anders thoresson wrote: Hi, I put all my images outside the web root, the prevent direct access, and then access them with a img-tag like this: img src=fnc_get_image.php?path=?=$path;? / where fnc_get_image.php is: // Check if user is logged in require_once 'global_includes.php'; $user = new

RE: [PHP] Images in PHP and MySQL

2004-10-06 Thread Ed Lazor
On Friday 01 October 2004 05:52, Ed Lazor wrote: Images take up more space when stored in the db, because you're storing raw binary data. Gif and jpeg are compression methods that convert binary data into something smaller that can be stored in a file. ?? If you store a jpeg file

Re: [PHP] Images in PHP and MySQL

2004-10-06 Thread Gary Hotko
No problem Ed thanks... Actually I was supprised to see this conversation (thread) come back into my GMAIL inbox On Wed, 6 Oct 2004 15:57:12 -0700, Ed Lazor [EMAIL PROTECTED] wrote: On Friday 01 October 2004 05:52, Ed Lazor wrote: Images take up more space when stored in the db,

Re: [PHP] Images in PHP and MySQL

2004-09-30 Thread Jasper Howard
If you're uploading a file then you can make a script that reads the temp file into the database (otherwise you need to muck around with image functions and I'm not the one to ask about that), something like: $image = mysql_escape_string(fread(fopen($_FILES['file']['tmp_name'], r),

Re: [PHP] Images in PHP and MySQL

2004-09-30 Thread GH
HEre is a question that I have been wondering about: - Does the image file use more space in the db or as a file itself (Do Not count the extra data that one would store in the db along with the image... ie. ID number) Thanks On Thu, 30 Sep 2004 09:55:30 -0700, Jasper Howard [EMAIL

RE: [PHP] Images in PHP and MySQL

2004-09-30 Thread Jay Blanchard
[snip] HEre is a question that I have been wondering about: - Does the image file use more space in the db or as a file itself (Do Not count the extra data that one would store in the db along with the image... ie. ID number) [/snip] While better asked on a SQL list, I'll give you an answer

Re: [PHP] Images in PHP and MySQL

2004-09-30 Thread Jasper Howard
I'm not any kind of expert on this, but you just read the file byte for byte, dont you? So it should be the same amount of data. On Thu, 30 Sep 2004 15:51:28 -0400, GH [EMAIL PROTECTED] wrote: HEre is a question that I have been wondering about: - Does the image file use more space in the

RE: [PHP] Images in PHP and MySQL

2004-09-30 Thread Ed Lazor
Images take up more space when stored in the db, because you're storing raw binary data. Gif and jpeg are compression methods that convert binary data into something smaller that can be stored in a file. The recent tests I did took 270megs of images and stored them into 180megs of jpg files.

Re: [PHP] Images in PHP and MySQL

2004-09-30 Thread Jason Wong
On Friday 01 October 2004 05:52, Ed Lazor wrote: Images take up more space when stored in the db, because you're storing raw binary data. Gif and jpeg are compression methods that convert binary data into something smaller that can be stored in a file. ?? If you store a jpeg file into a

[PHP] Images in PHP and MySQL

2004-09-27 Thread GH
I was wondering how to get images into and out of a Mysql database with in php... I do not have anything in my book... but was told it was possible. I have PHP 4.3.4 and mysql 4.0.18 Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread Daniel Watrous
for performance reasons. - Original Message - From: GH [EMAIL PROTECTED] To: Daniel Watrous [EMAIL PROTECTED] Cc: GH [EMAIL PROTECTED] Sent: Monday, September 27, 2004 4:31 PM Subject: Re: [PHP] Images in PHP and MySQL Do you know of a good tutorial on this topic. On Mon, 27 Sep 2004 16

RE: [PHP] Images in PHP and MySQL

2004-09-27 Thread Graham Cossey
HTH Graham -Original Message- From: GH [mailto:[EMAIL PROTECTED] Sent: 27 September 2004 23:19 To: php-general Subject: [PHP] Images in PHP and MySQL I was wondering how to get images into and out of a Mysql database with in php... I do not have anything in my book... but was told

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread GH
Graham -Original Message- From: GH [mailto:[EMAIL PROTECTED] Sent: 27 September 2004 23:19 To: php-general Subject: [PHP] Images in PHP and MySQL I was wondering how to get images into and out of a Mysql database with in php... I do not have anything in my book... but was told

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread Jim Grill
1) there is no need to fiddle with directory permissions to write images. 2) if the content is sensitive you have the added security of the database password (and the fact that the database is ususally not directly accessible). 3) a mysqldump gives a backup of all images along with other

[PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I want to keep an entire library OUTSIDE of the document root. The library includes some imgages. How can I have the browser include the imageges? I've hard of BASE64'ing the images into the header and decoding them using javascript. Is this the best way? Where is code to do that? -- PHP

Re: [PHP] images outside of document root

2004-07-06 Thread Curt Zirzow
* Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE of the document root. The library includes some imgages. How can I have the browser include the imageges? I've hard of BASE64'ing the images into the header and decoding them using javascript. Is this the best way? Where

Re: [PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I may do that, but the 'showimage.php' file then has to be in the document root, and can be attacked a LOT. I have found ways to do inline images, without javascript, I believe. Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE of the

Re: [PHP] images outside of document root

2004-07-06 Thread Keith Greene
I use a system like that described below, however I added some checks to thwart attack. first, the image serving script checks to make sure the user has a session id. This prevents people just loading the script to get the images, and also deters hot linking. second, I have a script that runs

[PHP] Images PHP

2004-04-19 Thread Tim Thorburn
Hi, I've created a small program that allows users to upload an image, and then resize that image one or more times depending on the desired outcome (once for web documents, twice for photo galleries, etc). Anyways, it seems that a large number of my clients are using older digital cameras to

Re: [PHP] Images PHP

2004-04-19 Thread Andy B
dont know that much about images at the minute but phpclasses.org has tons of image classes that might help... - Original Message - From: Tim Thorburn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 19, 2004 7:12 PM Subject: [PHP] Images PHP Hi, I've created a small

[PHP] images

2004-03-16 Thread Maxi Yedid
hello I'm using the following function from the php manual (user's posts) and get the following error. What I do is upload a file from the user and save it in the server; that's working fine; what I want is to save a copy of the file in thumbnail size.

Re: [PHP] Images in MySQL vs directory/file?

2003-12-11 Thread Derrick Fogle
Thanks for the feedback. Just to clear up a couple questions regarding my particular needs... 1. server has *plenty* of capacity 2. traffic is *very* low; max load would be 20 visitors looking at 4 images apiece over a 4-hour period 3. images will only be retrieved once or twice by one or two

[PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Derrick Fogle
Slightly OT, but I'm hoping for a few opinions about handling JPG/MOV files with PHP/MySQL. I've read that, given the choice, you should never store images in a database because it makes the database dog slow. But I've got some parameters and issues that might make a difference: 1. The only

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Richard Davey
Hello Derrick, Wednesday, December 10, 2003, 3:56:32 PM, you wrote: DF 1. The only way I can store the files in a directory on the server is DF to make that directory wide open as in chmod 777. I don't have quite DF enough control of the server to make that a better situation. Why is this? More

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Adam i Agnieszka Gasiorowski FNORD
Derrick Fogle wrote: I've read that, given the choice, you should never store images in a database because it makes the database dog slow. But I've got some parameters and issues that might make a difference: We (at hyperreal.info) are storing all the images attached to articles in

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
I tend to disagree. Images in the database, providing they actually associate with other bits of info, are great. I usually keep images in a separate table than the data, but it's really easy to keep track of everything. No file permissions, backup is as easy as standard SQL backups, etc. I my

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Justin Patrin
Galen wrote: I tend to disagree. Images in the database, providing they actually associate with other bits of info, are great. I usually keep images in a separate table than the data, but it's really easy to keep track of everything. No file permissions, backup is as easy as standard SQL

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Gerard Samuel
On Wednesday 10 December 2003 02:43 pm, Galen wrote: If you store images that are played with a lot on the disk, it'll likely be slower than MySQL due to MySQL having better caching. I disagree. Depending on your setup, when a file based image is downloaded to a user's computer, its cached

RE: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Brian . Goralczyk
:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Images in MySQL vs directory/file? On Wednesday 10 December 2003 02:43 pm, Galen wrote: If you store images that are played with a lot on the disk, it'll likely be slower than MySQL due to MySQL having better caching. I disagree. Depending on your

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
On Dec 10, 2003, at 12:47 PM, [EMAIL PROTECTED] wrote: Well, it seems to me that the confusion comes from the fact that we are comparing apples and oranges. I agree. Images in a database mean totally different things to different usage profiles. But I would also like to question the extra

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Justin Patrin
Gerard Samuel wrote: On Wednesday 10 December 2003 02:43 pm, Galen wrote: If you store images that are played with a lot on the disk, it'll likely be slower than MySQL due to MySQL having better caching. I disagree. Depending on your setup, when a file based image is downloaded to a user's

[PHP] Images On-Fly

2003-12-03 Thread Dejan Dujak
Hallo People, I have one problem with creating images on-fly. Therefore I created 2 files: 1. resize_image.php with the following ?php if (!$max_width) $max_width = 150; if (!$max_height) $max_height = 100; $size = GetImageSize($image); $width = $size[0]; $height = $size[1]; $x_ratio

Re: [PHP] Images On-Fly

2003-12-03 Thread Jason Wong
On Wednesday 03 December 2003 17:41, Dejan Dujak wrote: [snip] This doesn't WORK. Please HELP. HOW DOESN'T it work? -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

[PHP] images and charset

2003-11-19 Thread Egil Berntsen
I put some text from my mysql-db into images(jpeg and png) that I build on the fly. When I do this I have som problem with norwegian spesial charakter, they dont show properly in the images. If I put the same text directly to the browser window this will show correctly. What do I need to do to get

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Pablo Gosse
Hi Tom. make sure you have ENCTYPE=multipart/form-data in the form tag Thanks for the tip, but that's not the problem. My code is below, and as you can see there is nothing in the code that would be causing this. It has to be something in the server, and while there have been a few posts to

Re: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Raditha Dissanayake
Hi Pablo, Could you explain what exactly you mean by transferred in ASCII mode? do you find that cr/lf combinations are translated (there by corrupting your image) or some other corruption takes place? Have you opened the files with a hex editor to see the contents? I am sorry if you have

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Pablo Gosse
: Thursday, October 23, 2003 10:19 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Images being uploaded in ASCII format Hi Pablo, Could you explain what exactly you mean by transferred in ASCII mode? do you find that cr/lf combinations are translated (there by corrupting your image) or some other

Re: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Raditha Dissanayake
Hi Pablo Pablo Gosse wrote: Hi Raditha. Thanks very much for your reply. I've not been having much luck with this one. welcome This is how the images should appear: http://web.unbc.ca/~gossep/sample_images/1.gif http://web.unbc.ca/~gossep/sample_images/nav-02.jpg And here is how they appear

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Ricardo C. Fernandez de C.
. Greatly appreciated. Cheers, Pablo -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 10:19 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Images being uploaded in ASCII format Hi Pablo, Could you explain what exactly you

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Pablo Gosse
-Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 10:48 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Images being uploaded in ASCII format Hi Pablo Pablo Gosse wrote: Hi Raditha. Thanks very much for your reply. I've not been having

Re[2]: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Tom Rogers
Hi, Friday, October 24, 2003, 2:11:43 AM, you wrote: PG Hi Tom. make sure you have ENCTYPE=multipart/form-data in the form tag PG Thanks for the tip, but that's not the problem. My code is below, and PG as you can see there is nothing in the code that would be causing this. PG It has to be

Re[2]: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Tom Rogers
Hi, Friday, October 24, 2003, 2:11:43 AM, you wrote: PG Hi Tom. make sure you have ENCTYPE=multipart/form-data in the form tag PG Thanks for the tip, but that's not the problem. My code is below, and PG as you can see there is nothing in the code that would be causing this. PG It has to be

Re: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Michael Mauch
Pablo Gosse wrote: Hi Raditha. Thanks very much for your reply. I've not been having much luck with this one. This is how the images should appear: http://web.unbc.ca/~gossep/sample_images/1.gif http://web.unbc.ca/~gossep/sample_images/nav-02.jpg And here is how they appear after being

[PHP] Images being uploaded in ASCII format

2003-10-22 Thread Pablo Gosse
Hi all. I'd like to take a brief sentence to introduce myself first. My name is Pablo Gosse, and I've just recently joined the php-general list. I've been using PHP since early 2000, and work as webmaster at the University of Northern British Columbia. I'm running into a problem with file

Re: [PHP] Images being uploaded in ASCII format

2003-10-22 Thread Tom Rogers
Hi, Thursday, October 23, 2003, 4:05:13 AM, you wrote: PG Hi all. I'd like to take a brief sentence to introduce myself first. PG My name is Pablo Gosse, and I've just recently joined the php-general PG list. I've been using PHP since early 2000, and work as webmaster PG at the University of

[PHP] images with gd for printing?

2003-08-15 Thread Merlin
Hi there, I want to create images with GD and freetype ttf which are good enough for printing .. about 150 dpi. Does anybody know how to output the jpg with a higher resolution and a determined output size? Thanx in advance, merlin -- PHP General Mailing List (http://www.php.net/) To

[PHP] Graduated fills using PHP Images

2003-08-15 Thread Adrian
Hi all! Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? Any help or suggestions would be really helpful. Thanks Adrian [EMAIL PROTECTED]

RE: [PHP] Graduated fills using PHP Images

2003-08-15 Thread Jay Blanchard
[snip] Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? [/snip] http://us3.php.net/image You could set the color index and the loop through (while incrementing) each new

Re: [PHP] Graduated fills using PHP Images

2003-08-15 Thread Jaap van Ganswijk
At 2003-08-15 08:14 -0400, Adrian wrote: Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? It's possible. I have just been experimenting with it using

RE: [PHP] images in databases Flash via PHP

2003-07-23 Thread Luis Lebron
Baker [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 12:01 PM To: '[EMAIL PROTECTED]' Subject: [PHP] images in databases Flash via PHP I was wondering - are there any good tutorials/examples of serving updating images from a mySQL database via PHP? I assume this is possible

[PHP] images in databases Flash via PHP

2003-07-22 Thread Tim Baker
I was wondering - are there any good tutorials/examples of serving updating images from a mySQL database via PHP? I assume this is possible, but I'm almost a newbie having not used PHP/mySQL for ages with some knowledge but would like to know more... Also now Flash MX can

RE: [PHP] images in databases Flash via PHP

2003-07-22 Thread Boaz Yahav
] Sent: Tuesday, July 22, 2003 7:01 PM To: '[EMAIL PROTECTED]' Subject: [PHP] images in databases Flash via PHP I was wondering - are there any good tutorials/examples of serving updating images from a mySQL database via PHP? I assume this is possible, but I'm almost a newbie having

[PHP] images..

2003-06-24 Thread Edward Peloke
I asked this question last week and thought I had it fixed but it still doesn't seem to work. I use the code below to allow the user to upload their images, once uploaded the images don't look nearly as good as they did before uploading. Another interesting thing is that if you right click on

Re: [PHP] images..

2003-06-24 Thread Jason Wong
On Tuesday 24 June 2003 23:35, Edward Peloke wrote: I asked this question last week and thought I had it fixed but it still doesn't seem to work. I use the code below to allow the user to upload their images, once uploaded the images don't look nearly as good as they did before uploading.

RE: [PHP] Images out side the wwwroot

2003-03-10 Thread Don Read
On 10-Mar-2003 Philip J. Newman wrote: If i was to use PHP to call all my images from out side the wwwroot, dose anyone have a method that they use? show.php - ?php $rcsid='$Id: show.php,v 1.1 2002/02/14 21:20:26 dread Exp dread $'; // $Log: show.php,v 2002/02/14 21:20:26 dread $

[PHP] Images out side the wwwroot

2003-03-09 Thread Philip J. Newman
If i was to use PHP to call all my images from out side the wwwroot, dose anyone have a method that they use? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- Friends are like stars You can't allways see them, but they are always there. --

Re: [PHP] Images out side the wwwroot

2003-03-09 Thread - Edwin
Philip J. Newman [EMAIL PROTECTED] wrote: If i was to use PHP to call all my images from out side the wwwroot, dose anyone have a method that they use? By using an absolute path? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo!

[PHP] Images

2003-02-14 Thread Lucas Lain
I am thinking in making some statistics graphics in php ... is there any library that i can use? thanks L.L. -- Lucas Lain [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images

2003-02-14 Thread Jason Wong
On Saturday 15 February 2003 02:35, Lucas Lain wrote: I am thinking in making some statistics graphics in php ... is there any library that i can use? thanks jpgraph -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting *

Re: [PHP] Images

2003-02-14 Thread Lucas Lain
jpgraph professional license??? other FREE idea??? Jason Wong wrote: On Saturday 15 February 2003 02:35, Lucas Lain wrote: I am thinking in making some statistics graphics in php ... is there any library that i can use? thanks jpgraph -- Lucas Lain [EMAIL PROTECTED] -- PHP General

  1   2   >