[FX.php List] Bad HTML being generated from FX (Still)
John Funk
criticalsolution at comcast.net
Wed Oct 1 15:20:24 MDT 2008
Dale, Yes I see that. But as a test I wrote the login form below that STILL
creates mal formed html even BEFORE the body of the next php generated page.
Does¹nt make sense.....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head>
<title>Login</title> </head> <body> <p><img
src="images/BI_Logo_w_tagline.jpg" width="167" height="66"> Login</p> <hr>
<form action="showCompany2.php" method="post" enctype="multipart/form-data">
Company ID <input name="CompID" type="text" size="20" /> <br>
Password <input name="Pass" type="text" size="20" /> <br> <input
name="submit" type="submit" value="Submit Query" /> </form>
</body> </html>
John
On 10/1/08 2:23 PM, "Dale Bengston" <dbengston at tds.net> wrote:
> Something is writing out mal-formed hidden inputs between your <body> opening
> tag and the top of your <form>. By the looks of them, the source of the data
> is $_POST. (It even has Google Analytics values.) So, what code between <body>
> and <form> would be echoing out the contents of $_POST as hidden form fields?
>
> Dale
>
> On Oct 1, 2008, at 1:33 PM, John Funk wrote:
>
>> Both the includes do not write out anything. Includes.php is for some
>> testing functions I have, the production environment do not use them.
>> Server.php is the standard ip, filemaker name, id and pss for the solution.
>>
>>
>> On 10/1/08 12:34 PM, "Dale Bengston" <dbengston at tds.net> wrote:
>>
>>
>>> Hi John,
>>>
>>> What is contained in these included files?
>>> require_once ('server.php');
>>> require_once ('includes.php'); // some dev utilities not used in production
>>>
>>> Are either server.php or includes.php writing out the invalid hidden form
>>> elements?
>>>
>>> Dale
>>>
>>> On Oct 1, 2008, at 10:11 AM, John Funk wrote:
>>>
>>>
>>>> This is the same unresolved problem I had before. My FX query is generating
>>>> some bad HTML that Internet Explorer cannot parse. All other browsers will.
>>>> Below is the resulting html source. In RED is the HTML that if I delete
>>>> from a test.html page, the form will process OK
>>>> The page before is editing some company info, so I am guesing this is the
>>>> result of that.
>>>> In Blue below is the PHP that generated this html.
>>>> How do I get rid if this HTML?
>>>> John
>>>>
>>>> <head>
>>>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
>>>> <title>Edit Company</title>
>>>> </head>
>>>> <body>
>>>> <input type ='hidden' value='123' name='CompanyID'
>>>> <input type ='hidden' value='3691' name='CompRecID'
>>>> <input type ='hidden' value='CS' name='Company'
>>>> <input type ='hidden' value='John Funk' name='Name'
>>>> <input type ='hidden' value='b' name='Company3'
>>>> <input type ='hidden' value='' name='Address'
>>>> <input type ='hidden' value='' name='PHArea'
>>>> <input type ='hidden' value='' name='PHPrefix'
>>>> <input type ='hidden' value='' name='PHNumber'
>>>> <input type ='hidden' value='' name='City'
>>>> <input type ='hidden' value='' name='FXArea'
>>>> <input type ='hidden' value='' name='FXPrefix'
>>>> <input type ='hidden' value='' name='FXNumber'
>>>> <input type ='hidden' value='' name='State'
>>>> <input type ='hidden' value='' name='StateOther'
>>>> <input type ='hidden' value='' name='Email'
>>>> <input type ='hidden' value='' name='Zip'
>>>> <input type ='hidden' value='' name='WebSite'
>>>> <input type ='hidden' value='' name='Country'
>>>> <input type ='hidden' value='' name='CompType'
>>>> <input type ='hidden' value='testtestststststst' name='Description'
>>>> <input type ='hidden' value='' name='CompType2'
>>>> <input type ='hidden' value='N' name='LearnMoreBold'
>>>> <input type ='hidden' value='N' name='LearnMoreLogo'
>>>> <input type ='hidden' value='123' name='CompID'
>>>> <input type ='hidden' value='b' name='Pass'
>>>> <input type ='hidden' value='2190909' name='RecID'
>>>> <input type ='hidden' value='Marina Product' name='PickSection'
>>>> <input type ='hidden' value='Submit Query' name='Submit'
>>>> <input type ='hidden'
>>>> value='193408062.626235810904953700.1219159482.1219159482.1219179690.2'
>>>> name='__utma'
>>>> <input type ='hidden'
>>>> value='193408062.1219159482.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organ
>>>> ic|utmctr=boating industry buyers guide' name='__utmz'
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20081001/4cd4810b/attachment.html
More information about the FX.php_List
mailing list