hi friends i am using xampp on windows

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

hi friends i am using xampp on windows

Postby arslan220 » 19. November 2008 17:06

hi friends i am using xampp on windows and i have made a simple php file with echo statement i am new to php and was learning php so i made a file and placed it in the htdocs folder and then in the xampp folder when i start the local host the php files are working fine of that of xampp such as the demo scripts and etc but when i run my own file from local host it doesnot works and the text doesnot echo please help me the code is

Code: Select all
<?php echo "hello my text";?>
Posts: 1
Joined: 19. November 2008 17:00

Postby LooseCannon » 19. November 2008 17:47

Hello and welcome arslan220.

I've upset some posters before, but I feel I must persist and although I fear I appear like the grammar police. I would just like to help you and to do that, in the limited time I have, I must understand you. I'd do that much better and faster if you used some sentences and punctuation. Please. :)

Now, regarding your problem, what are you doing to try to "run my own file"? Maybe entering an address in a browser? What address?
User avatar
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK

Postby glitzi85 » 19. November 2008 18:35

Guessing you get an 404 Error in your Browser, you must do this:

Open an Explorer Window (NOT Internet Explorer), select from the Menu Tools -> Folder Options, then switch to the Tab "View" and deselect in the List the point "Hide extensions from known file types".

Then look again on your file, maybe it is named filename.php.txt, remove the .txt extension and try again.

User avatar
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests