| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| First Time Poster! Join Date: Feb 2007
Posts: 1
![]() | Parse error Please allow me to use this medium to ask..if am inthe right place ..i uploaded a file to my webserver and when i try calling the file from my website it gives me an error like this below what could be the possible problem . Parse error: parse error, unexpected T_STRING in D:\Domains\beaverbox.net\wwwroot\windowsdoc.php on line 1 |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | Okay can you paste the top few lines of code from windowsdoc.php so we can help better please
__________________ -Beaver6813.com - Web Developer Extraordinaire! |
| |
| | #3 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | es as beaver6813 states post your code that is in windowsdoc.php and we will be able to help, without seeing code it is somewhat difficult to know what you have done. It is strange however that the error is on line 1. |
| |
| | #4 (permalink) | ||||
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #5 (permalink) | ||||||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
For example the scenario you propose is as follows (although not using a variable):- PHP Code:
| ||||||||
| |
| | #6 (permalink) | ||||
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
PHP Code: | ||||
| |
| | #7 (permalink) |
| Senior Member Join Date: Dec 2006 Location: England
Posts: 1,568
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Edit: Another reason for me to refresh, beaten to it heh. It's not uncommon for people to just do this: PHP Code: ????: NamePros.com http://www.namepros.com/showthread.php?t=296823 Perhaps we should just wait for the code
Last edited by Matthew.; 02-21-2007 at 10:29 AM.
|
| |
| | #8 (permalink) | ||||||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
was just wondering why an error occured on line 1 and now i know | ||||||||
| |