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:
Dell PowerEdge Servers
  #1  
Old August 20th, 2002, 03: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, 03: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: 2
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, 06: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: 5
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, 02: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: 2
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, 02: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: 2
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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway