Re: Newbee in php ...........Please help!!!
| From: | Datahntr | Date: | Fri, 30 Jun 2000 20:02:26 +0000 |
| Subject: | Re: Newbee in php ...........Please help!!! | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-777@lists.php.net to get a copy of this message | ||
""Vinod"" <vinod@indokorea.net> wrote in message
news:004501bfe24f$05ad4b00$0900a8c0@ik.com...
> 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.