MacFly
Nov 10 2004, 08:59 PM
| | I've got a script that generates a graph by creating it as a .png file (I can't output the image directly to the browser because of the way I need to generate the data).
This all works ok however, in order to keep the data managable I've set a limit so that it only displays 12 months data at a time. The problem I have is that when I click on the next button to display the next set of data, the graph remains the same until you refresh the browser.
I've tried using unlink() to delete the image file forcing the script to re-generate it when the script is reloaded but it doesn't seem to delete the file.
The code is fairly lengthy so haven't displayed it here.
Any suggestions? |
Reply
LuciferStar
Nov 16 2004, 11:01 AM
please check your data,and also your code.
Reply
Similar Topics
Keywords :
refreshing images- How To Display Images Of A Directory
- (4)
- Can You Add Images Into A Mysql Database?
- Using Php? (20)
I'm learning php in class right now, but I'm still not that good at it, what I'm
wondering is when I write the php so that it can connect with a database, can I at the same time
have it that it is able to display back images that I choose. Like, I want a search feature, where
you can search for a keyword, and it will bring back a list of all the possible entries with that
keyword, but each of these entries will have a photo associated with it. Now, do I put these image
files directly into the database, or do I write the code to link them from my files to th...
My Code Doesnt Resize Large Images, Please Help.
- (2)
Can someone please have a look at the following code, this uploads an image, and make it in 2 sizes,
one size is max. 600 x 800, uploads to images folder and second 120 x 120 and uploads to thumbs
folder. this script works fine, with normal size images, but if i try to upload large pics( for
example, an image with dimension 2432 x 3300, it shows blank page, and uploads the original image
without sizing to "image" folder, and doesnt make any small thumbnail... I hope u understand..
Please someone help me, i shall be so thankful. session_start(); header("Cache-contro...
Refresh Problem
- On Refreshing a Submitted Form (3)
Hi, I have great problems about refreshing a page having a Form. When anyone refreshes a submitted
form it gets INSERTED Twice in the DB. Is there any strong way to stop this. I know two ways to do
it using SESSIONS or redirecting. But its not that Firm. In firefox it does send it again. Also my
use is that , that the user may want to use the form again. Please help me. Thanks and have a good
day....
How To Create Images?
- (3)
How can i create images (using php) of 128x128 by giving some types of background... and users can
write text on the background... /blink.gif' border='0' style='vertical-align:middle'
alt='blink.gif' /> QUOTE you can take example from the followinbg site:
http://zedge.no/?side=navnelogo ...
Securing Images
- (2)
Just wondering if anyone's worked with securing images to avoid direct linking than just by
obscuring the URL or using a .htaccess file. I briefly looked through the documentation and source
for gallery and it looks like the images are stored under the web root, so anyone with a direct link
can browse the images regardless of user privileges. I was thinking one way of doing this would be
too store the images above the webroot directory so that visitor's can't navigate to them
and having a php script that can read the image dir output the images by sending th...
Including Php-made Images In A Page?
- (5)
Say you have this script that makes an image, and you want to include it in another page. Would you
just use ? I'd test it right now, but all my PHP image stuff is on my school's server,
which is currently down....
Vote Script Help
- images as a result? (1)
I made a vote poll script, and it work fine with results in numers or %, but i want to show images
as a result. Is that possible? For example like voting poll in this forum. I tried something but
that couldnt work. Someone?...
Looking for refreshing, images