|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
HTML question(s)
I'm new to PHP/HTML and have three very basic questions.
1) How do I get a windows domain login box to appear using www-authenticate? 2) How do I expire a page so that pressing the back button on the browser displays a 'Page Expired' message? 3) After submitting a form how can I jump to another page automaticly? For example after pressing the submit button and writing the data to a database I want to end up on the index.php page without any further user input. I know these are basic questions. Please be kind. Thanks Ken |
|
#2
|
|||
|
|||
|
RE: HTML question(s)
1. You need to use .htaccess and .htpasswd files, read this article
http://www.devarticles.com/art/1/15 2. You get a page expired when that page recived data from the post command thingy, you would need to post some data to that page, to force it to bring up that error! 3. once you have uploaded the data to the data base, add this line, header("Location: http://www.yoursite.com"); make sure you havent outputted and data via the headers or you will get a error |
|
#3
|
|||
|
|||
|
RE: HTML question(s)
with php u can actually send some headers to envoke the authentication box, not sure if it uses the .htaccess files by default but it works without having to mess with them
|
|
#4
|
||||
|
||||
|
RE: HTML question(s)
Quote:
Try adding <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> in the html-page head to force an reload. This could also be done in php with the header() function. What do you want to accomplish by doing this? Quote:
Add this line after you have stored the formdata in the db: header('Location: index.php'); |
|
#5
|
|||
|
|||
|
RE: HTML question(s)
If you want to do thing like these in html only I found a pretty good page that helps you to generate meta tags:
http://www.zoran.net/olwt/htm_meta_mach.asp |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > HTML question(s) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|