Page 1 of 1

I see just a nonsense string

PostPosted: 13. February 2010 20:09
by odisseo83
Hi everybody, I have installed xampp on Vista and I wrote a file on htdocs.
when I type http://localhost/ i see correctly the xampp page, but when I type http://localhost/namefile.php I see this string:

{\rtf1\ansi\ansicpg1252\deff0\deflang1040{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\f0\fs20\par \par \par \par \par \par \par \par \par \par \par \par \par \par } �

how can I solve the problem? phpmyadmin works..

bye

Re: I see just a nonsense string

PostPosted: 13. February 2010 20:31
by Wiedmann
I wrote a file on htdocs

How?

Re: I see just a nonsense string

PostPosted: 16. February 2010 07:14
by odisseo83
I opened a new document, wrote my script and saved it in htdocs with extension .php

Re: I see just a nonsense string

PostPosted: 16. February 2010 10:54
by Wiedmann
I opened a new document

Which program did you use?

Re: I see just a nonsense string

PostPosted: 17. February 2010 12:19
by odisseo83
wordpad

Re: I see just a nonsense string

PostPosted: 17. February 2010 13:28
by Wiedmann
wordpad

You must not save php files as "RTF format". You must save them as textdocument (msdos format).

Or use notepad instead of wordpad.

@Altrea: Thanks :-)

Re: I see just a nonsense string

PostPosted: 17. February 2010 13:46
by Altrea
Wiedmann wrote:You must not save pdf files as "RTF format".


pdf? or php? :D