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 http://josephkeeler.com/2009/04/php-upload-securi

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/ > > Bast

Re: [PHP] Images can execute php script?

2012-09-23 Thread shiplu
On Sun, Sep 23, 2012 at 9:57 PM, admin 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 5.2.17 +? > How do y

Re: [PHP] Images can execute php script?

2012-09-23 Thread Bastien
Bastien Koert On 2012-09-23, at 11:57 AM, "admin" 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 5.2.17

[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.

[PHP] Re: PHP images server

2010-08-05 Thread Colin Guthrie
pages and for better uniformity, 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

[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 dimension

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 won

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

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 nig

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 waterm

[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 any

[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: Now, as there is no information on the images stored in a database yet (they have just been uploaded via ftp), I need to find a

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?

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. Did

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 - 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

[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 t

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

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? google: php image database J. -- PHP General Mailing List (http://www.p

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 ( d

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 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 he

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-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 ? >>> >>> >>>

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 sam

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

[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 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

RE: [PHP] Images problem

2004-11-17 Thread Mike
fusing at first. -M -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 =

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 thi

Re: [PHP] Images problem

2004-11-17 Thread Randy Rinehart
ovember 17, 2004 10:05 AM 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

[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 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 >

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 serve

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 long

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 serve

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. Whe

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 m

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 -tag like this: where fnc_get_image.php is: // Check if user is logged in require_once 'global_includes.php'; $user =& new User(); // Get path to image for display $path =

[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 -tag like this: where fnc_get_image.php is: // Check if user is logged in require_once 'global_includes.php'; $user =& new User(); // Get path to image for display $path = $_GET['path']; // Prepe

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-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

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 da

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. -Ed

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

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 fr

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 PROTECTE

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"), filesize($_FI

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

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread GH
com/columns/florian19991014.php3 > > 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 o

RE: [PHP] Images in PHP and MySQL

2004-09-27 Thread Graham Cossey
.php3 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 to

Re: [PHP] Images in PHP and MySQL

2004-09-27 Thread Daniel Watrous
arily 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

[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 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 on

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 docu

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? Wh

[PHP] images outside of document root

2004-07-05 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 General

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 & PH

[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

[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 di

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 com

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 layer.

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

2003-12-10 Thread Brian . Goralczyk
10, 2003 3: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.

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 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 backu

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 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 i

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?

[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 wa

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 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 AND 2. filex.php .In that file i read from database where the image is stored en then i show small images(thumbnails). thet part of the code is : "; ?

[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 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 afte

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 t

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 t

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Pablo Gosse
with. Cheers, Pablo -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

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Ricardo C. Fernandez de C.
ausing the problem. > > My system is as follows: > > Dell Precision 340 Workstation > RedHat 9.0 > Apache 2.0 > PHP 4.2.2 > > Thanks with your help, Raditha. Greatly appreciated. > > Cheers, > Pablo > > -Original Message- > From: Raditha Dis

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 af

RE: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Pablo Gosse
ROTECTED] 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 mean by transferred in ASCII mode? do you find that cr/lf combinations are translated (there by corrupting your image

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 ment

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-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 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 upload

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 ImageCreateTrueColo

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 i

[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]

[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 unsubs

RE: [PHP] images in databases & Flash via PHP

2003-07-23 Thread Luis Lebron
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

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

[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 dynam

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.

[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 the

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 - 'image/jpeg', 'jpg' => 'image/jpeg', 'gif' => 'image/gif', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpe

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! htt

[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. -- W

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 Ma

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 * I

[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

  1   2   >