[PHP] Real Time
Hi, I need some help for displaying realtime clock on my page with PHP script. Any ideas how to do it ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Active page
Hi, I want to make a web page that can retrive data from my tables automatically, periodically. Does PHP have some timer control ? I know we can do with JavaScript (setInterval() or setTimeOut()) but I cann't join java script with PHP. I've tried make simple script with JavaScript to open new window that contain PHP script for show current time every 5 seconds. function showData() { newWindow = Window.open('data.php','screen'); } function loadData() { setInterval('showData()','5000') } data.php : in result, data.php will reload every 5 seconds, but it doesn't change. Can someone help me and give me suggestion ? TIA regards, Budi Kelana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problem with displaying image
hi, im Budi, recently i have some problems here with displaying jpeg image in firefox browser. at first, when i tested my web page using IE it jsut works fine, but when i decided to test it using Firefox 2 the problem occurs. some of my images left undisplayed. but the things that i cant still understand is the other images (which is have the same type -- jpeg) are still displayed well. another unusual thing is : 1. when drag on the image it still indicating that there is an image, but with full white color. 2. say that my image file name is tes.jpg 200x200 px, then, when i copy the image location, it is still showing the right name, say fooofoo.com/tes.jpg, but when open that image (typing the name fooofoo.com/tes.jpg in the browsers address bar) my browsers window title displaying "tes.jpg (GIF Image, 1x1 pixels)" so.. what problem that i really dealt with? // im beginner in everything, including my english, so, i hope you can understand what i just wrote above.. // best, regard
Re: [PHP] Problem with displaying image
do you have an example/page that we can look at? here is one of them : http://10.126.11.246/schematics2007/main_logic.php and the image URL : http://10.126.11.246/schematics2007/image/banner/mainlog.jpg all will be be displayed in an unusual manner in FFox.. thanks
Re: [PHP] php redirection..
basically: cat.php -echo " test content" -echo " more test content" //redirect user echo" location.href='foo.php'; "; Hi , im a new too.. but you can try with this to delay your script running for some seconds : echo " test content" echo " more test content" // you can add : sleep(2); // this will cause your script delayed for 2 seconds //redirect user echo" location.href='foo.php'; "; // hhaha.. // im just trying to help... // -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php