PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   IE bug? (http://www.phpdig.net/forum/showthread.php?t=1787)

FaberFedor 01-28-2005 02:04 PM

IE bug?
 
Hi all,

I found PHPDig just today and installed it and everything worked fine. I was pretty impressed. I then added the search box function from section 9.2 of the FAQ. Great!

Then I remembered that my client uses IE to view everything, so I checked it under IE. Of course, there were problems.

I'm surprised that I haven't come across this problem in the fora, since it seems pretty major. If I enter "paul" in the searchbox on the main page (http://www.trimlinemed.com), the search.php page appears with the string "paul query_string=paul" in the search box on search.php.

I can't find anything in the code (mine or PHPDig's) that would cause this. And it only under IE. Firefox on several platforms work fine. :-?

Warmbells 01-28-2005 02:56 PM

Hi,

I've just checked your page in IE 5.5 with no problem showing.

Warmbells

Dave A 01-28-2005 05:10 PM

Hi I just visited the web site and it works fine when viewed with firefox, I then switched over to IE and it was okay as well..

FaberFedor 01-28-2005 08:39 PM

Warmbells, Dave A,

You went to http://www.trimlinemed.com, entered the string "paul" into the search box in the upper right hand corner of the screen and hit "Enter" and the resulting search.php page showed results?!

Warmbells 01-28-2005 11:14 PM

Yes, no problems at all and I also tried firefox.

Warmbells

FaberFedor 01-29-2005 05:54 AM

Curioser and curioser. It doesn't work for me running IE on my Linux box via VMware nor does it work for my client running IE on XP at a completely different physical location. :-?

FaberFedor 01-30-2005 03:39 PM

IE bug- SOLVED!
 
Several people in my LUG saw the problem and one did not. All of the data is not in, but it was consistent amongst people running Win98SE and XP (Home|Pro).

To fix the problem, I added 'enctype="multipart/form-data"' to the form tag and it works now!

May I suggest you change the entry in the FAQ/docs to read as follows so others can cut 'n' paste:

<form action="http://YOURDOMAIN/search.php" enctype="multipart/form-data" method="post">
<input type="text" name="query_string" value="">
<input type="submit" name="search" value="Search">
</form>


All times are GMT -8. The time now is 10:49 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.