On 8/15/06, chris smith [EMAIL PROTECTED] wrote:
On 8/15/06, Tom Chubb [EMAIL PROTECTED] wrote:
I know this will be really simple, but I'm struggling to get my head round
the use of imagedestroy()
I have some code which uploads an image, resizes to create a smaller image
and thumbnail then
On Tue, August 15, 2006 5:45 am, Tom Chubb wrote:
I know this will be really simple, but I'm struggling to get my head
round
the use of imagedestroy()
I have some code which uploads an image, resizes to create a smaller
image
and thumbnail then deletes the source image.
My question is which
On Tue, August 15, 2006 6:31 am, chris smith wrote:
imagedestroy($target_id);
imagedestroy($source_id);
just before
imagejpeg ($target_id,$targetfile,$jpegqual);
return true;
}
If you destroy it before you write it to disk, you gonna get garbage
for your disk JPEG.
destroy $target_id
Richard Lynch wrote:
On Tue, August 15, 2006 6:31 am, chris smith wrote:
imagedestroy($target_id);
imagedestroy($source_id);
just before
imagejpeg ($target_id,$targetfile,$jpegqual);
return true;
}
If you destroy it before you write it to disk, you gonna get garbage
for your disk JPEG.
On Sun, August 13, 2006 8:03 am, tedd wrote:
This leads
to the opposite problem of IE caching DYNAMIC images when it should
not, which is a whole different rant. :-)
In that case, I just added a random string to end of the image url
like so:
images/myimage.jpg?a=adj12k4mfdi
If I remember
On Sat, August 12, 2006 3:18 pm, BBC wrote:
I build a small site in which some images are loaded in all pages. I
concern if the client have slow connection to internet.
Does any one can tell me how to send such images to client's computer?
I want to increase the speed connection by taking such
]
To: 'Andy' [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Thursday, August 03, 2006 9:32 PM
Subject: RE: [PHP] Image list performance ISSUE
Why don't you name the images with the GUID of the user?
I want to see someone try to guess another user's GUID...
-Original Message-
From: Andy
Andy wrote:
Sorry for the late answer,
I have different applications and the users are kept in DB so I cannot
make for every user a directory.
I made a solution with .htaccess from apache and redirection to a php
script that outputs the image if the user has rights to the images.
I will
-general@lists.php.net
Sent: Monday, August 07, 2006 10:58 AM
Subject: Re: [PHP] Image list performance ISSUE
Andy wrote:
Sorry for the late answer,
I have different applications and the users are kept in DB so I cannot
make for every user a directory.
I made a solution with .htaccess from
Andy wrote:
...
I want to know... is this a big performance issue or not(the image is handled
by php and not by apache directly)
OR...
Is there any other way to handle this situation???
Thanx,
Andy.
I'd recomend doing a bit of benchmarking to figure out if the
performance hit is
On Mon, August 7, 2006 2:44 am, Andy wrote:
The performance Issue that I asked was:
Is there a difference if apache sends the image or If I output it with
php
with readfile.
Yes.
How much of a difference it makes depends on YOUR hardware.
Test it and see is the only sensible answer we can
At 12:15 PM +0300 8/2/06, Andy wrote:
Hi,
I have tons of images, which belongs to different users. In the
software we show to the users only the images that they have, but If
they take the image links manually they can also see the other
images if they modify the image name in the link.
Skip Evans mailto:[EMAIL PROTECTED]
on Friday, July 14, 2006 4:33 PM said:
My apologies to all. I assumed that JS questions
would be entertained as the application is within
a PHP app.
No need to apologize. My off-list email wasn't meant to berate but
merely let you know what the purpose
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Mon, 2006-07-17 at 13:27, Chris W. Parker wrote:
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
So
Chris W. Parker wrote:
Thank you, you're beautiful. I'll be here all week folks.
You forgot, Enjoy the buffet.
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Chris W. Parker wrote:
Chris W. Parker
on Monday, July 17, 2006 10:23 AM said:
motherboards. Or how about this one? My can't keeps walking on my
keyboard while I'm trying to write a PHP page. What should I do?
Okay that should be CAT, not can't.
I thought the can't walking all over
[snip]
I thought the can't walking all over the keyboard was rather
Kafka-esque ;-)
[/snip]
In a rather existential sort of way.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Skip Evans wrote:
Brand new to the list, so here's my question. I am implementing a bunch
of Dreamweaver templates a designer has built into a PHP app, and one
thing she did is create a submit button (image) that uses mouse over JS:
a
My apologies to all. I assumed that JS questions
would be entertained as the application is within
a PHP app.
Sorry,
Skip
Chris W. Parker wrote:
Skip Evans mailto:[EMAIL PROTECTED]
on Friday, July 14, 2006 4:13 PM said:
Hi all,
Hey.
Brand new to the list, so here's my question.
Hi,
Saturday, July 15, 2006, 9:13:04 AM, you wrote:
SE Hi all,
SE Brand new to the list, so here's my question. I am
SE implementing a bunch of Dreamweaver templates a
SE designer has built into a PHP app, and one thing
SE she did is create a submit button (image) that
SE uses mouse over
[snip]
The Code is running properly.But I dont Know Where The uploaded image
is Stored in the server.I checked /tmp directory,but image is not
there,is there any function where i can specify the location of the
server where my image is to be stored i also tired move_uploaded_image()
function
suresh kumar wrote:
Hi,
hi ([EMAIL PROTECTED]([EMAIL PROTECTED]([EMAIL PROTECTED](*%([EMAIL
PROTECTED]([EMAIL PROTECTED]@#
I am waiting reply from any one
do we have someone here called 'any one'? how about you reply to one
of the people who answer your questions.
PS - the tmp file is
on http://nl2.php.net/manual/en/function.imagecopyresampled.php is an
example how to use it when you are resizing images, I think you are putting
some numbers on the wrong place
On 3/31/06, John Nichel [EMAIL PROTECTED] wrote:
I'm pulling my hair out with this gd resizing of an image, and can't
John Nichel wrote:
I'm pulling my hair out with this gd resizing of an image, and can't
figure out where it's screwing up. I've been trying to batch process
about 500 images to resize them to a standard size, and for some reason,
instead of resizing the image, it's just taking a corner of the
tedd wrote:
Hi:
I know how to upload an image from a file into a BLOB in mySQL, but how
do you place an image that's in memory into mySQL?
For example, if I create an image via resampling another image or create
a new image, how do I get that image into mySQL? I know I can save it
as a
I am attempting to call a script that actually renders the image and
then check for a session variable. However, the session variable does
not seem to be there...
?php
$fn = $_GET['id']; // filename
$p = $_GET['p']; // path
$img = /srv/pix/ . $p . / . $fn ; // where the photos are + path +
hbeaumont hbeaumont wrote:
Hi,
I have a site with images that I want people to download but not have
the direct path to. ie. I do not want them to be able to just view the
source, find the dir and then download everything or direct link to
them.
However I can see no way to do this other than
Do you really want people uploading 2.5MB a shot to your server?
No. Not really. It's just modern digicams... Most people don't know how to
edit pics or doesn't have right tools for that. And they don't realize the
difference between 2.5Mb or 0.5Mb just as long there are atleast 5Megapixels
in
William Stokes wrote:
Do you really want people uploading 2.5MB a shot to your server?
No. Not really. It's just modern digicams... Most people don't know how to
edit pics or doesn't have right tools for that. And they don't realize the
difference between 2.5Mb or 0.5Mb just as long there are
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, January 31, 2006 4:43 pm, tedd wrote:
Storing the image in the DB is probably not a Good Idea for a variety
of reasons.
And they are?
... in the archives.
http://marc.theaimsgroup.com/?l=php-general
Rubbish.
Hi gang:
I don't mean to offend anyone, but I'm going to side with Keith
Waterson about storing images in a dB rather than in a file system.
My reasons are pretty simple.
First, an image is nothing more than a large of string text -- sure
it's voluminous, but there's no difference how it is
Richard Lynch wrote:
On Tue, January 31, 2006 4:43 pm, tedd wrote:
Storing the image in the DB is probably not a Good Idea for a variety
of reasons.
And they are?
... in the archives.
http://marc.theaimsgroup.com/?l=php-general
Richard, are you feeling okay? I don't think I've ever
/be/berber.gif
We handle more than 20M images and files with no problem this way.
berber
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 4:23 PM
To: php-general@lists.php.net
Cc: Kevin Waterson
Subject: Re: [PHP] image uploads
Hi gang:
I don't
Check this out :
http://www.weberdev.com/get_example-3938.html
Image Upload And Resize Script
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP MySQL Forums : http://www.weberforums.com
Learn PHP MySQL Playing Trivia :
On Tue, January 31, 2006 10:58 am, William Stokes wrote:
Is there something special about php and images that nobody told me...
No. :-)
I'm writing a image gallery but I have run to serious trouble with
it. I
have one page with form in it. Form's action is $PHP_SELF. In the form
there
is
Richard said:
Storing the image in the DB is probably not a Good Idea for a variety
of reasons.
And they are?
tedd
--
http://sperling.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
: [PHP] image uploads
Richard said:
Storing the image in the DB is probably not a Good Idea for a variety
of reasons.
And they are?
tedd
--
http://sperling.com/
--
PHP General Mailing List (http://www.php.net
On Tue, January 31, 2006 4:43 pm, tedd wrote:
Storing the image in the DB is probably not a Good Idea for a variety
of reasons.
And they are?
... in the archives.
http://marc.theaimsgroup.com/?l=php-general
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List
OK. I was a bit vague at the first posting...
To DB a put the filepath to the two images i create. And some additional
info like upload date, width, height etc. I like storing my files in
filesystem...
You mean isset($image), right?...
Right !
ENCTYPE=multipart/form-data
It's there.
I
William Stokes wrote:
I somehow got it back working with Opera. Don't know how :) One question
still remains. How to make 100% sure that the image isn't re-loaded to
server if user hits refresh? And he will cause it can take long time to
upload 2.5Mb pics over a slow link.
When you hit
Hello,
I need to build an image 'library'. The library will consist mostly of
images taken with digital cameras. Since unedited digicam pics will most
likely be too big for web usage they need to be edited automatically so that
they can be put to a web page.
I'am trying to deside between two
On 1/18/06, William Stokes [EMAIL PROTECTED] wrote:
I'am trying to deside between two options. To resize (=scale down) the
images once they are uploaded to server and store the smaller file or upload
and store the original BIG file and scale it to thumbnail once it's viewed.
Any opinnions
At 04:10 AM 1/18/2006, William Stokes wrote:
Hello,
I need to build an image 'library'. The library will consist mostly of
images taken with digital cameras. Since unedited digicam pics will most
likely be too big for web usage they need to be edited automatically so that
they can be put to a
William Stokes wrote:
Hello,
I need to build an image 'library'. The library will consist mostly of
images taken with digital cameras. Since unedited digicam pics will most
likely be too big for web usage they need to be edited automatically so that
they can be put to a web page.
I'am
On Wed, January 18, 2006 2:10 am, William Stokes wrote:
I need to build an image 'library'. The library will consist mostly of
images taken with digital cameras. Since unedited digicam pics will
most
likely be too big for web usage they need to be edited automatically
so that
they can be put
I would say this is what you need
http://uk2.php.net/manual/en/function.getimagesize.php
Dan
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: 11 January 2006 12:22
To: php-general@lists.php.net
Subject: [PHP] Image size?
Hello,
Can I get pixel sizes from a
Will,
William Stokes wrote:
Can I get pixel sizes from a uploaded web applicable image with PHP? I mean
width and height as pixels. If so How?
http://www.php.net/getimagesize
David
--
David Grant
http://www.grant.org.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
William Stokes wrote:
Can I get pixel sizes from a uploaded web applicable image with PHP? I
mean width and height as pixels. If so How?
http://www.php.net/manual/en/function.getimagesize.php
HTH
Albert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version:
Cheers!
:)
Albert [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
William Stokes wrote:
Can I get pixel sizes from a uploaded web applicable image with PHP? I
mean width and height as pixels. If so How?
http://www.php.net/manual/en/function.getimagesize.php
HTH
Albert
--
Check out these code examples to start with :
http://www.weberdev.com/search.php3?IsSub=1searchtype=categorycategory=GD+
image+librarysecondary=PHPPHPFunctions=on
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples :
This one time, at band camp, William Stokes [EMAIL PROTECTED] wrote:
Hello,
I might have to start doing some automated image editing or rezising with
PHP. I've never done anything like this before so I would need some
guidelines to get started. Basically what sections of the manual to
Sonia wrote:
Hi All
I've been working on finishing a project SGML2IMAGE and I am sort of having
trouble with resizing of images. I am trying to just use the GD library so
when I distro the package it will not need any other things installed to be
used. Now I am using...
imagecreatetruecolor
Sonia wrote:
Hi All
I've been working on finishing a project SGML2IMAGE and I am sort of having
trouble with resizing of images. I am trying to just use the GD library so
when I distro the package it will not need any other things installed to be
used. Now I am using...
imagecreatetruecolor
Well, you can't output HTML *and* an image in the same request. What you
can do is generate HTML in one script, put image tags in the HTML that
references a another script, which actually outputs the image.
So something like:
img src=/myimage.php?id=4 width=10 height=30 /
Then in
Dan Trainor wrote:
I've seen a few times, albeit I don't know how, people generate images
on a page in different ways, such as maybe using base64 to output the
raw image data into a page? Is this correct?
If so, what does it look like? How would one go about doing this?
If not, what are my
Okay, I started seeing some of my mistakes.
I am still having a great deal of trouble:
newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
image_file returns: images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
images/jpg/test is set to 777 but I still get (Could not move file to
Richard Davey wrote:
Hello Jack,
Wednesday, June 15, 2005, 5:38:11 PM, you wrote:
JJ newfile returns: 0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
JJ image_file returns:
JJ images/jpg/test/0fdae2e9e6aa43f067a9dd780a5a36a6.jpg
JJ images/jpg/test is set to 777 but I still get (Could not move file to
On Thursday 16 June 2005 00:38, Jack Jackson wrote:
//try to get image size; this returns false if this is not an actual
image file.
$image_test = getimagesize($local_file);
if ($image_test !== false) {
$mime_type = $_FILES['userfile']['type'];
Yes, Jason,
Those did it!
Thanks so much for the help!
Jason Wong wrote:
On Thursday 16 June 2005 00:38, Jack Jackson wrote:
//try to get image size; this returns false if this is not an actual
image file.
$image_test = getimagesize($local_file);
if ($image_test !== false) {
On Mon, May 23, 2005 8:46 am, Rahul S. Johari said:
If I had misunderstood your method and you think your method is better
then
what I'm using now, I'd still really appreciate if you can clarify and
explain.
Your method is fine.
In fact, it penalizes IE for some stupidity in its caching,
Ave,
On 5/21/05 9:11 AM, Ryan A [EMAIL PROTECTED] wrote:
eg:
first have a function to generate a modest random string (I use 8 chars)
then in the image calling part call it something like this:
img src='?php echo $your_image_gets_called_here; ???php echo
$the_rand_string; ?'
as
Hey,
used to have the same problem, solved it by having a random string in the
img calling part.
eg:
first have a function to generate a modest random string (I use 8 chars)
then in the image calling part call it something like this:
img src='?php echo $your_image_gets_called_here; ???php
Richard Lynch wrote:
On Thu, May 19, 2005 6:05 am, Rahul S. Johari said:
I did actually remove the Header which declared it as a Image/PNG and
everything seemed to work in both the browsers.
Great. Now it works in 2 browsers, and breaks in 237.
You MUST separate the two.
Actualy he
Ave,
On 5/19/05 6:08 PM, Rory Browne [EMAIL PROTECTED] wrote:
if you have an image generated by
http://www.example.com/createimage.php , you could always refer to it
as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png
It's sounding logical, but could you explain a
Ave,
On 5/19/05 5:41 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
If more then one user is accesing the page, you might overwrite the
first one's verify.png image. Simple and sufficient solution is to
append a random string to the filename:
$image_filename= 'verify_' . md5(rand()) .
On Thu, May 19, 2005 6:05 am, Rahul S. Johari said:
I did actually remove the Header which declared it as a Image/PNG and
everything seemed to work in both the browsers.
Great. Now it works in 2 browsers, and breaks in 237.
You MUST separate the two.
Period.
Here's my situation though... I
On 5/18/05 7:19 PM, Richard Lynch [EMAIL PROTECTED] wrote:
Your image is *NOT* a DOCTYPE HTML PUBLIC blah blah!!!
It's a *IMAGE*
Get rid of all the HMTL stuff.
You actually need to separate this into two different files.
One has all the HTML in it, with a
On 5/18/05 6:23 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
BTW, you might not be concerned about it much, but you have a race
condition in your script.
Ave,
What do you mean by race condition ?
Rahul S. Johari
Coordinator, Internet Administration
Informed Marketing Services Inc.
251
But here's the problem that came afterwards in IE !
IE is storing the image in it's cache.. And it's displaying the same image
on the verification page whether you use the BACK button, FORWARD button,
or
actually go through the website and land back on the verification page. So
in IE, right
On 5/19/05 10:59 AM, Murray @ PlanetThoughtful
[EMAIL PROTECTED] wrote:
Try forcing the browser to bypass the cache by adding the lines at the
following link to your page:
http://www.faqts.com/knowledge_base/view.phtml/aid/21068/fid/51
I thought this would definitely work because it looks
Rahul S. Johari wrote:
On 5/18/05 6:23 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
BTW, you might not be concerned about it much, but you have a race
condition in your script.
Ave,
What do you mean by race condition ?
If more then one user is accesing the page, you might overwrite the
first
if you have an image generated by
http://www.example.com/createimage.php , you could always refer to it
as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png
On 5/19/05, Rahul S. Johari [EMAIL PROTECTED] wrote:
On 5/19/05 10:59 AM, Murray @ PlanetThoughtful
[EMAIL
On Thursday 19 May 2005 03:51, Rahul S. Johari wrote:
A simple Image Verification script is working perfect in IE on
Windows... But isnt working in Safari on Mac OS X! It displays a blank
page instead of the image with the form. Here s the Script:
That's because IE is severely broken? In
Rahul S. Johari wrote:
Ave,
A simple Image Verification script is working perfect in IE on Windows...
But isn¹t working in Safari on Mac OS X! It displays a blank page instead of
the image with the form. Here¹ s the Script:
?
header(Content-Type: image/png);
Because only Safari gets it right. With
Your image is *NOT* a DOCTYPE HTML PUBLIC blah blah!!!
It's a *IMAGE*
Get rid of all the HMTL stuff.
You actually need to separate this into two different files.
One has all the HTML in it, with a SRC=/URL/to/image.php/image.png
The other is JUST the image stuff.
If IE actually displays it
Hello Richard,
Monday, May 2, 2005, 4:47:42 PM, you wrote:
RC But I need to center the text in the image that is generated. As I
RC am using the same font and it is fixed at 10px I was thinking of
RC doing something like:
RC (Get Length of Text in Chars * Width of Average Char) DIV 2.
RC
John Coppens wrote:
On Fri, 22 Apr 2005 19:11:23 +0530
[EMAIL PROTECTED] (Dasmeet Singh) wrote:
Actually I am not able to make image maps because of uneven state
boundaries..
Can you please suggest some tools... I haven't used any yet...
Did you check GIMP? It has an option to make HTML image
Hi!
I need to create an image map on a country map, where people
can click on any state and get some info related to it.. In
such case the regular polygon/circle/rectengle image map wont
do bcoz of shapes of state..
I guess this must be possible someway in PHP.. please tell me
if you
.
Mark
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 14:16
To: php-general@lists.php.net
Subject: RE: [PHP] image maps in PHP
Hi!
I need to create an image map on a country map, where people
can click on any state and get some info related
On Fri, 2005-04-22 at 09:14, Dasmeet Singh wrote:
Hi!
I need to create an image map on a country map, where people can click
on any state and get some info related to it.. In such case the regular
polygon/circle/rectengle image map wont do bcoz of shapes of state..
Poly will define any
if it
doesn't fit.
Mark
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 14:16
To: php-general@lists.php.net
Subject: RE: [PHP] image maps in PHP
Hi!
I need to create an image map on a country map, where people
can click on any state and get some info related
:34
To: Mark Rees
Subject: Re: [PHP] image maps in PHP
Mark Rees wrote:
Yes, I once did this for all the states in Brazil. It took me a few
hours to trace the states, but it looked beautiful when it was
finished. This will already have been done for the states many times -
you could probably
Actually I am not able to make image maps because of uneven state
boundaries..
Can you please suggest some tools... I haven't used any yet...
Thanks
-
Free Website Promotion - A Complete Guide
http://hostwindow.info/web-hosting/9/free-website-promotion/1/
Mike wrote:
Hi!
I need to create an
Actually I am not able to make image maps because of uneven state
boundaries..
Can you please suggest some tools... I haven't used any yet...
Thanks
-
I just googled and came up with a bunch of results:
http://www.google.com/search?hl=enlr=q=free+imagemap+html+generatorbtnG=S
earch
I
On Fri, April 22, 2005 6:41 am, Dasmeet Singh said:
Actually I am not able to make image maps because of uneven state
boundaries..
Can you please suggest some tools... I haven't used any yet...
I was writing an on-line mapping tool that used PHP and let you outline
the regions for a given
On Fri, 22 Apr 2005 19:11:23 +0530
[EMAIL PROTECTED] (Dasmeet Singh) wrote:
Actually I am not able to make image maps because of uneven state
boundaries..
Can you please suggest some tools... I haven't used any yet...
Did you check GIMP? It has an option to make HTML image maps.
Check
On 4/16/05, Dasmeet Singh [EMAIL PROTECTED] wrote:
I have a form on my website that allows users to upload photographs..
1. How to find out the file type they are uploading..like jpeg or png or
gif?
2. Also is there any way to find out size and resolution of the image?
On Thursday 14 April 2005 10:06, Mario de Frutos Dieguez wrote:
I have a page where i place an image but i want when i show the image
delete it. How can i do this?
You want to delete it from the clients machine or what?
--
Mario de Frutos Dieguez
División de Ingeniería del Software
y
Petar Nedyalkov escribió:
On Thursday 14 April 2005 10:06, Mario de Frutos Dieguez wrote:
I have a page where i place an image but i want when i show the image
delete it. How can i do this?
You want to delete it from the clients machine or what?
--
Mario de Frutos Dieguez
División de
Mario de Frutos Dieguez wrote:
Petar Nedyalkov escribió:
On Thursday 14 April 2005 10:06, Mario de Frutos Dieguez wrote:
I have a page where i place an image but i want when i show the image
delete it. How can i do this?
You want to delete it from the clients machine or what?
--
Mario de
PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Image and PHP
Petar Nedyalkov escribi:
On Thursday 14 April 2005 10:06, Mario de Frutos Dieguez wrote:
I have a page where i place an image but i want when i show the image
delete it. How can i do this?
You want to delete
To: 'Mario de Frutos Dieguez'; [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: RE: [PHP] Image and PHP
Hi Mario
you can use something like
img src=blabla.jpg ONLOAD=delete_pic.php?fn=blabla.jpg
And in delete_pic.php write something like:
unlink ($_GET['fn']);
-Original Message
I have a page where i place an image but i want when i show
the image delete it. How can i do this?
What I would probably do is create a cleanup function/class in the script
that gets a list of all the images in the directory in question and deletes
anything that more then, say, an hour
--- Mario de Frutos Dieguez [EMAIL PROTECTED] wrote:
I have a page where i place an image but i want when
i show the image delete it. How can i do this?
Some good suggestions so far but to be a little more
explicit this is how you would do it. Essentially you
want to have your image tag point
On Wednesday 13 April 2005 09:11, Cima wrote:
hi,
what is the best way to display an image, that is stored in a database in
postgres, in a table form along with other fields that are in the same
table?
postgresql 8.0
e.g my_table(name varchar(15),sex character (1), picture_id oid)
in a
see below...
Basically I am trying to make a thumb where the width is 87px...I dont
care what the height is, heres the code:
function prop_thumb_height()
{
// The file
$filename = 'cat.jpg';
// Content type
header('Content-type: image/jpeg');
// Get new dimensions
list($width_orig, $height_orig)
Thanks mate, it works perfectly.
-Ryan
On 4/13/2005 11:35:23 PM, Philip Hallstrom ([EMAIL PROTECTED]) wrote:
see below...
Basically I am trying to make a thumb where the width is 87px...I dont
care what the height is, heres the code:
function prop_thumb_height()
{
// The
Hi,
Friday, March 25, 2005, 3:27:41 AM, you wrote:
WS Hello,
WS I really can't figure this out. Can someone help please. I've wasted hours
WS already with this one.
WS I'm trying to print image to a web page using fpassthru. Here's the code:
WS $name = path/to/the/image/folder/img1.jpeg;
WS
Marquez Design mailto:[EMAIL PROTECTED]
on Friday, March 04, 2005 11:05 AM said:
Greetings,
voice style=type:alien;Greetings earthling!/voice
Select page, then with the delete button, delete the file,
Select page, then with the edit button, edit the page.
Does anyone know how I could
101 - 200 of 497 matches
Mail list logo