I see just a nonsense string

Problems with the Windows version of XAMPP, questions, comments, and anything related.

I see just a nonsense string

Postby odisseo83 » 13. February 2010 20:09

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
odisseo83
 
Posts: 7
Joined: 08. February 2010 19:30

Re: I see just a nonsense string

Postby Wiedmann » 13. February 2010 20:31

I wrote a file on htdocs

How?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I see just a nonsense string

Postby odisseo83 » 16. February 2010 07:14

I opened a new document, wrote my script and saved it in htdocs with extension .php
odisseo83
 
Posts: 7
Joined: 08. February 2010 19:30

Re: I see just a nonsense string

Postby Wiedmann » 16. February 2010 10:54

I opened a new document

Which program did you use?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I see just a nonsense string

Postby odisseo83 » 17. February 2010 12:19

wordpad
odisseo83
 
Posts: 7
Joined: 08. February 2010 19:30

Re: I see just a nonsense string

Postby Wiedmann » 17. February 2010 13:28

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 :-)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I see just a nonsense string

Postby Altrea » 17. February 2010 13:46

Wiedmann wrote:You must not save pdf files as "RTF format".


pdf? or php? :D
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: DrSeussFreak and 61 guests