755Chapter 40PHP and XML// Display form with old (Cedant web hosting)

755Chapter 40PHP and XML// Display form with old values$php_self = $_SERVER[ PHP_SELF ]; $form = <<< EOFORM

Start Date:
End date:
Poll question:
$resp_str
EOFORM; echo $form; unset($resp_str); unset($response_array); } ?> Gotchas and TroubleshootingThe DOM and SAX parsers will only parse a well-formed XML document. If the parser rejectsyour XML, make sure it is well formed. If it looks good to your eye, run it through a differentvalidating parser or an online XML checker, such as the one at http://www.xml.com/ xml/pub/tools/ruwf/check.html. If you cannot read and write XML documents to disk, check that the Web server process haspermission to do so. If the DOM API returns a fatal function not found error, the DOM XML module may not beinstalled. Use the phpinfo()function to check for a domxmlentry. If it isn t there, you willhave to recompile PHP with the DOM XML module (on Unix) or uncomment the php_ domxml.dllline in php.ini(on Windows). The DOM API underwent a major revision in PHP5 (and was altogether new in PHP4), so all the kinks may not be worked out yet. Keep this in mind and check the bugs database(http://bugs.php.net/) if you encounter problems. Remember that you re supposed to make a strenuous effort to search the mailing-list archivesbefore you search the bugs database. Please make sure that your problem is really a bug andhas not been resolved before filing it as a bug. If any doubt is in your mind, read the How toReport a Bug document attached to the bugs database.
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.

Leave a Reply