|
-
Jun 12th, 2006, 07:30 PM
#1
Thread Starter
Member
[Ask] Refreshing Page Automatically and Print Question ??
Hi..
I have some question :
1. How to make the Page refresh automatically... ?? 
(If I'm using IE as browser ,sometimes i got messages :
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) ??? 
Thank you for your help...
-
Jun 12th, 2006, 07:55 PM
#2
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.
-
Jun 18th, 2006, 08:20 PM
#3
Thread Starter
Member
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.
How To Use Meta Tag ????
It's hard to find something that doesn't exist in reality.....
Sorry If My English is very Bad.... 
-
Jun 18th, 2006, 10:34 PM
#4
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">
-
Jun 19th, 2006, 01:53 AM
#5
Thread Starter
Member
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 ???
It's hard to find something that doesn't exist in reality.....
Sorry If My English is very Bad.... 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|