DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-22-2007, 04:21 AM   #1
CarlSeiler
Member
 
CarlSeiler's Avatar
 
Join Date: Oct 2005
Location: Denton, TX
Posts: 271
Default unexpected T_STRING in line 1

I have created a new page, which I expect to eventually have to add some dynamic content to. In anticipation of this, I've given the page a *.php extension. Currently there is no php in the file. I uploaded the file to the server, and when I visit the page, I get an error stating "Parse error: parse error, unexpected T_STRING in /home/content/O/p/e/OpeningDoors05/html/fraud-alert-en.php on line 1"

I haven't been able to figure out what this error means exactly, but after reading several posts by others with similar messages, it seems to frequently occur when people have unbalanced quotes. I'm reasonably certain that my quotes are balanced, and the document is valid XHTML.

What I've found is that if I convert it over to HTML 4.01 with Tidy, and get rid of my <?xml line it works--the server shows the page. Does php not like XHTML with the ?xml at the top?
CarlSeiler is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bryce 6 (and the Vue product line) Andrew B. Software 1 11-14-2006 06:48 AM
First line and letter formatting Bo Aakerstrom Web Site Building & Maintenance 8 08-24-2006 07:45 AM
Off line for a (short) week iamback The Corner Pub 3 08-10-2006 11:53 AM
Your Driver's License on Line George The Corner Pub 7 11-04-2005 08:32 PM


All times are GMT -8. The time now is 05:16 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.