[PHP] problem with IE and php
Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use Internet Explorer, the submit button does not work. the button is the following: trtd input type=submit name=submit value=Commit /td/tr Could the html be treated differently when there is php around it or maybe when we use .php could the html be treated differently? Oh yeah, I created a duplicate of the pages with no php and had the two pages marked as .html and the button worked fine. Any help would be great. CHeers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
PHP doesn't really have anything to do with IE or Firefox working or failing to work, it's all about the HTML that PHP generates. What does your form tag look like? That's probably more the issue than your button or anything having to do with PHP. If you have no form tag, then the browsers might be trying to figure out what you really meant to do. This could be trying to submit the form data to the current page (yourscript.php) or could be trying to submit to the default document in that folder (possibly index.htm or index.html or default.htm or something like that). If you don't have a form tag, try something like this: form action=yourscript.php method=POST input type=submit name=submit value=Commit /form Changing yourscript.php to your script name of course, and you can use either POST or GET for the method depending on what you want to do. If that didn't help, please post more of your code. -TG = = = Original message = = = Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use Internet Explorer, the submit button does not work. the button is the following: trtd input type=submit name=submit value=Commit /td/tr Could the html be treated differently when there is php around it or maybe when we use .php could the html be treated differently? Oh yeah, I created a duplicate of the pages with no php and had the two pages marked as .html and the button worked fine. Any help would be great. CHeers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem between IE and PHP
Hi all, I'm having a little problem with the interaction between php and IE. I have two .php pages. The first contains a form with the standard submit button. However when I come to push the button, I get a ding sound (standard error sound) and it seems like the button is deactivated. However when I try with my firefox browser, everything works fine. I then created a duplicate of the page, with no php and saved it as a .html file. With internet explorer and firefox, everything worked fine. I do not understand how this can be. Is Internet Explorer treated the php differently? Any help would be greatly appreciated. Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
Hey, yeah I do have form tags. They are the following: form name=NAME method=GET action=Secondpage.php input... /form -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
Philippe Reynolds wrote: Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use Internet Explorer, the submit button does not work. the button is the following: trtd input type=submit name=submit value=Commit /td/tr Could the html be treated differently when there is php around it or maybe when we use .php could the html be treated differently? No. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
Do you have a doctype as the first line of your web page? Standards and browser behavior have changed over the years and the doctype is how you specify which behavior (and bugs) you want the browser to adhere to. Usually when you see some really wierd behavior, it's because of an incorrect or missing doctype. On Jun 8, 2005, at 10:30 AM, Philippe Reynolds wrote: Hi all, I running two php web page...therefore the page name has the .php on the end. The first page contains a form with a submit button at the botton. That submit button actions the second .php page. When I use my firefox browser everything works fine. When I use Internet Explorer, the submit button does not work. the button is the following: trtd input type=submit name=submit value=Commit /td/tr Could the html be treated differently when there is php around it or maybe when we use .php could the html be treated differently? Oh yeah, I created a duplicate of the pages with no php and had the two pages marked as .html and the button worked fine. Any help would be great. CHeers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Brent Baisley Systems Architect Landover Associates, Inc. Search Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
Acutally, I have just resolved my problem. I was using method=get in my form (which contains at least a hundred values to be passed back). This overloaded the address length and therefore could not and would not action the second page. I switch to method=post in my form (which does not pass everything to the address line, and therefore allowing the second page to be actionned.. That to all you, who had input in this problem. Cheers Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with IE and php
On Wed, June 8, 2005 11:01 am, Philippe Reynolds said: Acutally, I have just resolved my problem. I was using method=get in my form (which contains at least a hundred values to be passed back). This overloaded the address length and therefore could not and would not action the second page. I switch to method=post in my form (which does not pass everything to the address line, and therefore allowing the second page to be actionned.. That to all you, who had input in this problem. The minimum POST limit, which servers *CAN* impose, if they want, is larger than the minimum GET limit, which servers *CAN* impose. So maybe you fixed it, or maybe you'll just have trouble as soon as you add one more INPUT... You may want to break your form up into smaller forms. Or maybe not, if you can find out the limit imposed by YOUR server, and measure your FORM POST data length, and reassure yourself you'll never cross that line. PS Plan on Evil Person who intentionally tries to overload your POST input. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem between IE and PHP
On Wed, June 8, 2005 7:53 am, Philippe Reynolds said: I'm having a little problem with the interaction between php and IE. I have two .php pages. Show us the page. The first contains a form with the standard submit button. However when I come to push the button, I get a ding sound (standard error sound) and it seems like the button is deactivated. However when I try with my firefox browser, everything works fine. I then created a duplicate of the page, with no php and saved it as a .html file. With internet explorer and firefox, everything worked fine. I do not understand how this can be. Is Internet Explorer treated the php differently? IE is really broken, and will do a lot of dumb things based on the URL. But even IE isn't *THAT* broken, last time I checked... -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php