[PHP-DB] Page cannot be displayed problems
My bosses computer gets a Page cannot be displayed message when she uses some of my pages. I have tried to find a pattern as to why this happens on only her computer. I think the problem only occurs when she links to a page that links to a page. Say I have 3 pages: page1.php, page2.php, and page3.php On page1.php form action=page2.php method=PUT input type=submit value=GO /form And on page2.php meta http-equiv=refresh content=0;URL=page3.php If I click go on page1.php I SOMETIMES get the cannot be displayed message. SOMETIMES it works even on her computer! Anyone know why? - Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Page cannot be displayed problems
form action=page2.php method=PUT ??? is that a new standard? - Original Message - From: matthew perry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 8:11 AM Subject: [PHP-DB] Page cannot be displayed problems My bosses computer gets a Page cannot be displayed message when she uses some of my pages. I have tried to find a pattern as to why this happens on only her computer. I think the problem only occurs when she links to a page that links to a page. Say I have 3 pages: page1.php, page2.php, and page3.php On page1.php form action=page2.php method=PUT input type=submit value=GO /form And on page2.php meta http-equiv=refresh content=0;URL=page3.php If I click go on page1.php I SOMETIMES get the cannot be displayed message. SOMETIMES it works even on her computer! Anyone know why? - Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Page cannot be displayed problems
Nope. An obsolete standard. Try use GET or POST instead of PUT. Cheers - Original Message - From: Uzi To: matthew perry ; [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 10:13 Subject: Re: [PHP-DB] Page cannot be displayed problems form action=page2.php method=PUT ??? is that a new standard? - Original Message - From: matthew perry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 8:11 AM Subject: [PHP-DB] Page cannot be displayed problems My bosses computer gets a Page cannot be displayed message when she uses some of my pages. I have tried to find a pattern as to why this happens on only her computer. I think the problem only occurs when she links to a page that links to a page. Say I have 3 pages: page1.php, page2.php, and page3.php On page1.php form action=page2.php method=PUT input type=submit value=GO /form And on page2.php meta http-equiv=refresh content=0;URL=page3.php If I click go on page1.php I SOMETIMES get the cannot be displayed message. SOMETIMES it works even on her computer! Anyone know why? - Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Page cannot be displayed problems
As Uzi and Viorel already pointed out, use GET or POST instead of PUT. Also, to be certain of the redirect, use: ?php header(Location: page3.php); exit; ? instead of the meta redirect. First of all, I'm sure there are browsers that don't support META redirects, secondly, using the PHP header function, you will get no waiting time what so ever when moving to page 3. The META redirect tells the browser to move, while the header command tells the browser directly to go to page3. instead of loading page2 first. Does the composition of above sentences give you a hint that I'm extremely tired right now? ;) Mike On Apr 29, 2004, at 07:11, matthew perry wrote: My bosses computer gets a Page cannot be displayed message when she uses some of my pages. I have tried to find a pattern as to why this happens on only her computer. I think the problem only occurs when she links to a page that links to a page. Say I have 3 pages: page1.php, page2.php, and page3.php On page1.php form action=page2.php method=PUT input type=submit value=GO /form And on page2.php meta http-equiv=refresh content=0;URL=page3.php If I click go on page1.php I SOMETIMES get the cannot be displayed message. SOMETIMES it works even on her computer! Anyone know why? - Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Page cannot be displayed problems
PUT is still used with great success by systems such as WebDav. I'd stick to GET or POST though in a web environment, as the server needs to be specially configured to accept PUT requests and there are certain security implications from allowing people to upload files using PUT. Cheers - Neil. At 10:43 29/04/2004 +, you wrote: Message-ID: [EMAIL PROTECTED] From: Uzi [EMAIL PROTECTED] To: matthew perry [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Thu, 29 Apr 2004 09:13:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DB] Page cannot be displayed problems form action=page2.php method=PUT ??? is that a new standard? CaptionKit http://www.captionkit.com : Production tools for accessible subtitled internet media, transcripts and searchable video. Supports Real Player, Quicktime and Windows Media Player. VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php