Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 20th, 2002, 04:43 AM
softbreeze softbreeze is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hoschton, GA USA
Posts: 2 softbreeze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old August 20th, 2002, 04:53 AM
siteworkspro.com siteworkspro.com is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 92 siteworkspro.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via ICQ to siteworkspro.com Send a message via AIM to siteworkspro.com
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

Reply With Quote
  #3  
Old August 21st, 2002, 07:45 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
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

Reply With Quote
  #4  
Old August 22nd, 2002, 03:02 AM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via ICQ to Gipz
RE: HTML question(s)


Quote:
2) How do I expire a page so that pressing the back button on the browser displays a 'Page Expired' message?.


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:
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.


Add this line after you have stored the formdata in the db:
header('Location: index.php');

Reply With Quote
  #5  
Old August 22nd, 2002, 03:04 AM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via ICQ to Gipz
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > HTML question(s)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek