How to refresh a page?

To do a refresh, you can use HTML meta tag such as :

That'll refresh to example.php in four (4) seconds. It's also worth mentioning that various predefined variables exist that reflect the current page, run phpinfo() to see which exist on your system. A commonly used one is called as $PHP_SELF. For example, let's say we wanted to refresh a page every 4 seconds forever (not suggested) then :

  • 18 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

I get an error 'Server.CreateObject Failed' when I try to use CDONTs. What can I do?

CDONTs is no longer supported on Windows 2003 server.  Microsoft introduced CDO back several...

Do you allow custom COM components?

Yes, we do allow Custom Components and we have to charge setup fee for your COM Components...

ASP to MSSQL connection

Before you can access your MS-SQL Server database from your ASP code , you need to connect to it...

How do I send email from ASP using SMTP Authentication?

Please note that our mail server is configured with Authentication. Below is the code snippet...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting that sets your website Error Pages, but you can...