php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5785 problem with xml files
Submitted: 2000-07-25 21:44 UTC Modified: 2000-07-25 21:49 UTC
From: jblack at ieee dot org Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1 OS: Solaris 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jblack at ieee dot org
New email:
PHP Version: OS:

 

 [2000-07-25 21:44 UTC] jblack at ieee dot org
  I am using Apache/1.3.12 and when I tried to view this file I got an error on line 1.  The file is overview.xml.  I made a modification so that all xml files would be parsed by the php engine, and that is when I got the error.
  I am trying to incorporate php in xml files that will be used on the web, as a replacement for html/xhtml, and ran into a problem.
  Thanx for any help.

<?xml version="1.0" ?>
<?xml-stylesheet type="text/css" href="http://alina.acomp.usf.edu/web/web.css"?>
<opinion xmlns:html="http://www.w3.org/TR/REC-html40" >
Some text goes here, and below is a little test php program.
<?php
  printf ("<P>For any comments just direct them to <A HREF=http://alina.acomp.usf.edu/work/do_feedback.php>jblack@ieee.org</A></P>\n");
?>
</opinion>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 21:49 UTC] rasmus@php.net
Turn off short_tags in your php.ini file.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 04:01:29 2025 UTC