PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
phpcoder
Forum Contributor
Posts: 158 Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK
Post
by phpcoder » Mon Jul 02, 2007 9:48 am
Hi,
I have installed wamp I can see the initial page with everything running properly. But when I try to run the simple php file
<?php
echo ("Hi");
?>
I got some strange error.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 \par } �
Plz help me
Thx
Gente
Forum Contributor
Posts: 252 Joined: Wed Jun 13, 2007 9:43 am
Location: Ukraine, Kharkov
Contact:
Post
by Gente » Mon Jul 02, 2007 9:50 am
Where did you put your file?
miro_igov
Forum Contributor
Posts: 485 Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria
Post
by miro_igov » Mon Jul 02, 2007 9:54 am
Try to edit the php file with some plain text editor, like notepad.
Gente
Forum Contributor
Posts: 252 Joined: Wed Jun 13, 2007 9:43 am
Location: Ukraine, Kharkov
Contact:
Post
by Gente » Mon Jul 02, 2007 9:56 am
miro_igov wrote: Try to edit the php file with some plain text editor, like notepad.
Hmm... You're right. Looks like RTF format.
phpcoder
Forum Contributor
Posts: 158 Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK
Post
by phpcoder » Mon Jul 02, 2007 10:02 am
Sorted it was because of RTF
Thanks