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] Re: PHP images server

2010-08-05 Thread Colin Guthrie
'Twas brillig, and Jean-Michel Philippon-Nadeau at 04/08/10 16:48 did gyre and gimble: > 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 uniform

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

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

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

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
If you're looking for a way to merge images, look at imagecopyresized() If you're going to be doing a lot with images in PHP, it's good to spend a lot of time reading the images section of the manual - there's a lot in there and all with somewhat similar names - it can get confusing at first. -M

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
I believe you can use imagecopymerged to do this. http://us2.php.net/manual/en/function.imagecopymerge.php please let me know if that helps. Thanks -randy rinehart - Original Message - From: "Phpu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 10:05 AM

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 =

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
I hope that there are others out there that could weigh in on this topic please The more information and perspective I have the better as it would help me build the most informed decision as posible. On Mon, 27 Sep 2004 23:49:33 +0100, Graham Cossey <[EMAIL PROTECTED]> wrote: > I'm no certi

RE: [PHP] Images in PHP and MySQL

2004-09-27 Thread Graham Cossey
I'm no certified expert, but preference would be storing a URL to an image in the database rather than the image itself. If however you do want to store them in the db try using a blob column type. This article is PHP3 but shows the basics: http://www.phpbuilder.com/columns/florian19991014.php3

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

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

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

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?

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

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

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

2003-07-23 Thread Luis Lebron
There a few different ways to do this. One method that we use here is to do something like this in the embed/object tags flash.swf?image= The php $image variable, of course, could be set by any method (post/get, db query, etc...) Luis -Original Message- From: Tim Baker [mailto:[EMAIL P

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

2003-07-22 Thread Boaz Yahav
Saving Images in MySQL http://www.weberdev.com/ViewArticle.php3?ArticleID=3 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com -Original Message- From: Tim Baker [mailto:[EMAIL PROTECTED]

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

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

Re: [PHP] Images : Store in dB or disk?

2003-01-16 Thread Marek Kilimajer
Bobby Patel wrote: Hello, I have the Images table setup with columns (width, height, size, type, etc...) the question is should I have the image data stored in this table or disk? I know, alot of people have said it is faster in disk, which is 1 page I/O. But I need these images for displaying

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread Jason Wong
On Thursday 16 January 2003 13:23, Bobby Patel wrote: > I AGREE that storing images strored on disk is a valid approach PROVIDED > that you only need 1 image per page, but if you need to grab a bunch at a > time, I do beleieve that storing the actual file on the dB is faster. > > I would like to h

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread Bobby Patel
It looks nice. It does take a couple of seconds, (but I guess that is to be expected with dealing with images). I guess seeing your example, it seems that I can go with the filesystem. But do you use the getimagezise function? do you set the width and height for the IMG tag dynamically, or you don'

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread rw
Have a look at: http://vrscenes.com/2003/gallery.php?mls=230944 and tell me what you think - all images are stored in the filesystem Don't worry about what it looks like - I extracted this from the frameset it goes in Cheers! RW Quoting Bobby Patel <[EMAIL PROTECTED]>: ### Hello, ### I have

Re: [PHP] Images not stored in Databases

2002-12-24 Thread Gilles Haverbeke
est way to make sure you don't have conflicts with filenames. Is that what you mean? Greetz, Gilles - Original Message - From: "Steve Vernon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 24, 2002 3:27 PM Subject: Re: [PHP] Images not st

Re: [PHP] Images not stored in Databases

2002-12-24 Thread Steve Vernon
Hiya. Yeh sorry I should of mentioned, using an upload script. And then I shrink them (or grow) using GD. I understand I could give everyone a directory, but everyone would only have one picture, so a waste of time. What would make more sense, and to ignore the limit on number of ite

RE: [PHP] Images not stored in Databases

2002-12-24 Thread Edward Peloke
How will the picture make it into the db? Will they be uploaded by users? I had to create an upload script for a sight that puts the picture in the users directory on the webserver and then stored the path to the picture in the db so when the web page is displayed, the tag is something like this "

Re: [PHP] Images retrieved from MYSQL database using PHP becomingcorrupted.

2002-11-04 Thread Marek Kilimajer
Works for me, tr putting some echo mysql_error on your page Darren McPhee wrote: I have spent the last 3 days trying to figure this out. And will probably give up very soon. I have written 2 programs (which are very common PHP programs) that A) Allows me to upload image files into a MYSQL data

Re: [PHP] Images retrieved from MYSQL database using PHP becoming corrupted.

2002-11-04 Thread Hatem Ben
hello, Check the PHP-DB archives you'll find a code for the upload, and this one for viewing image : Hope this will help Hatem "Darren McPhee" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > I have spent the last 3 days trying to figure this out. And will probably > g

Re: [PHP] Images of GD Library

2002-07-22 Thread Jason Wong
On Monday 22 July 2002 15:35, Lord Loh. wrote: > 1. How can I store an image in a database.. ? > 2. How can this be now used to create an image ? Search archives for various combinations of: upload, image, mysql > 3. Is there any way I can read an image from a remote site and save it's > mina

Re: [PHP] Images with GD

2002-05-17 Thread Rasmus Lerdorf
Use imagettfbbox(). This function calculates the bounding box given the font, size and actual text within which that text would fit. -Rasmus On Fri, 17 May 2002, Anzak Wolf wrote: > I'm working on getting some image creation scripts done and I have one > requirement that I'm not sure how to ha

RE: [PHP] Images don't save

2002-04-19 Thread Ray Paseur 703.346.0600
ED]] Sent: Thursday, April 18, 2002 2:21 PM To: 'Gunther E. Biernat'; [EMAIL PROTECTED]; 'Php-General (E-mail) Subject: RE: [PHP] Images don't save Actually you can do this if all you are trying to do is disable right clicking. If you are thinking this will stop people from getting

Re: [PHP] Images don't save

2002-04-18 Thread Jason Wong
On Friday 19 April 2002 02:25, Fifield, Mike wrote: > This is not PHP so does not really belong here but since you asked. Here is > a java script that will disable right clicking and display a copyright. > > >