Re: [PHP-WIN] Newbee in php ...........Please help!!! From: Datahntr (ododa <email protected>)
Date: 06/30/00

""Vinod"" <vinod <email protected>> wrote in message
news:004501bfe24f$05ad4b00$0900a8c0 <email protected>
> Hi everybody,
>
> I HAVE SET UP APACHE AND PHP3 ON WIN 2000 .But i get the following errors:
>
> {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
> \viewkind4\uc1\pard\lang1033\f0\fs20 \par \par \par \tab
> Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
C:/Program
> Files/Apache Group/Apache/htdocs/testphp1.php3 on line 5

Are you creating your PHP file in Word or Wordpad? Use Notepad, or get a
better editor (I use HomeSite from www.allaire.com and love it). All that
{\rtf1 ... stuff is Rich Text Document file format markup ... it has no
place in an HTML or PHP file.

> Its just a simple "HELLO WORLD" PHP FILE.
> I have placed the PHP FILES in htdocs dir. of Apache:?Is this correct?

htdocs can work, but you're supposed to create your own directory (in your
home directory) and use that. At least under *nix, that's how it works.
Don't know how that works on Windows 2000.

--
O.

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>