PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey everyone I need to reload a picture (not a page) ever lets say 60 seconds. Don't tell me how to do it cause I really want to try this myself but are there already some php functions like picturereload() or something, so I dont have to do it manually.
So I need two functions:
1 For a picture to reload
2 to do something over and over ever ome time (like interval in js)
Load a picture and save it to your server? Or refresh the picture on a page. To do the latter you will need to use javascript, the former a cron job running every 60 seconds. Generally you can read in the binary string for a file with the fopen family of functions
sleepwalker0 wrote:Hey everyone I need to reload a picture (not a page) ever lets say 60 seconds. Don't tell me how to do it cause I really want to try this myself but are there already some php functions like picturereload() or something, so I dont have to do it manually.
So I need two functions:
1 For a picture to reload
2 to do something over and over ever ome time (like interval in js)
Thx
This is client side, not server side. Would have to use JavaScript (client side).