[Ask] Refreshing Page Automatically and Print Question ??
Hi..
I have some question :
1. How to make the Page refresh automatically... ?? :D
(If I'm using IE as browser ,sometimes i got messages :
Quote:
Warning: Page has Expired
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
This annoying me...:( )
2. How To Print via code (Javascript or PHP)... and make page or source of web dissapear from the print (If I'm using File ->Print.. the source of page, date, and etc will appear like http://localhost/test.php.... page 1.. I don't want this happened) ??? :D
Thank you for your help... :D :D
Re: [Ask] Refreshing Page Automatically and Print Question ??
1. Nothing you can do about that. If you press the Back button in IE it'll show that. You can use multiple ways to refresh the page but it depends on what you're trying to do or what technique you want to use. You can use a meta tag to do so, you can use javascript, or a simple PHP redirect.
2. How to print via JavaScript. As for hidding the source, that's just how the browser printers so I don't think there is a way to do that. Oh and you can't print via PHP as it's server side and printing happens on the client side.
Re: [Ask] Refreshing Page Automatically and Print Question ??
Quote:
1. Nothing you can do about that. If you press the Back button in IE it'll show that. You can use multiple ways to refresh the page but it depends on what you're trying to do or what technique you want to use. You can use a meta tag to do so, you can use javascript, or a simple PHP redirect.
How To Use Meta Tag ????
Re: [Ask] Refreshing Page Automatically and Print Question ??
PHP Code:
//This refreshes the page every 4 seconds
<meta HTTP-EQUIV="REFRESH" CONTENT="4; URL=yourpage.php">
Re: [Ask] Refreshing Page Automatically and Print Question ??
It looks like my Post Variable also lose... :(
How to Re-Post my Post Variable .... ????
And, when I press Back Button, it's still want me to Refresh the Page ???