![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Apr 2005
Location: Kansas
Posts: 22
Rep Power: 0
![]() |
thanks, makes sense
|
|
|
|
|
|
#12 | |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Quote:
GET data is stored in the Location part of the packet's header. POST data is stored in the packet's body. So both easily accessible. GET has two major problems, however: - Limit on the amount of data that can be sent (2k bytes on IE, for example) - Non-ascii issues. Use both at the right times. The right times being when the HTML spec recommends they should be used - GET for things that make no lasting change to the state of the world (e.g a search), POST for things that do (e.g something that modifies a database or modifies a file on the server). |
|
|
|
|
|
|
#13 |
|
Expert Programmer
|
How can i automaticly link one page to another? An example would be the page that comes up after u log in.
|
|
|
|
|
|
#14 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Forward a webpage? If you're using server side you can send a Location header to point to the new webpage before anything text gets written to the webpage (so in one of the first lines)
PHP example: header("Location: new_webpage.htm")print "Location: new_webpage.htm" Here's the JavaScript example: <script type="text/javascript" language="javascript"> window.location = "new_webpage.htm"; </script> |
|
|
|
|
|
#15 |
|
Expert Programmer
|
If i am using Microsoft FrontPage what would the code be? and also where would i place it after the <head> or before it?
|
|
|
|
|
|
#16 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Well, my dislike for HTML generators is almost preventing me from answering :p, but the one you want to use is the JavaScript example.
Just place it straight after your head tag, yes. |
|
|
|
|
|
#17 |
|
Expert Programmer
|
I keep getting a "Cannot find server error" should i put all of the pages in the same folder?
|
|
|
|
|
|
#18 |
|
Expert Programmer
|
This is my code
<html> <head> <script type="text/javascript" language="JavaScript"> window.location = "H:\Web Page Design\My Favorite Games\HomePage.htm" </script> <title>To My Favorite Games</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859- 1"> </head> </body> </html> |
|
|
|
|
|
#19 |
|
Programming Guru
![]() |
<html> <head> <script type="text/javascript" language="JavaScript"> window.location = "H:\\Web Page Design\\My Favorite Games\\HomePage.htm" </script> <title>To My Favorite Games</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859- 1"> </head> </body> </html> I'd strongly suggest that if you want other to see it that you put it on a server and not on your computer. Nobody is going to be able to see that but you...
__________________
|
|
|
|
|
|
#20 |
|
Expert Programmer
|
This web page is for a class in school and i have to view it on my computer. Do I need to have all of the pages in one folder because i am combining 2 projects and they are in seperate folders.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|