LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 07-24-2005, 01:22 PM   #1
charnel
Member
 
Registered: Mar 2005
Distribution: mandrake 10.0
Posts: 58

Rep: Reputation: 15
xampp and php


Hi ;
I got a problem with running php scripts with xampp.
I tried both linux and windows xampp......
I dont know what is the real problem if there is a place that I should copy the script can you please tell me...
**************************
<html>
<?php
echo ("hello world!!!");
?>
</html>
***************************
this is the script that I am trying to run
both in linux and windows the explorer and the firefox gives the same reaction (a blank page)
please help
thank you....
 
Old 07-25-2005, 10:01 AM   #2
jabfinger
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Gentoo, Fedora Core 3, Mepis, Vector
Posts: 83

Rep: Reputation: 15
Are you saving your file as .php?
 
Old 07-25-2005, 10:19 AM   #3
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
Usually you have to save the file with ".php" extension in the directory "htdocs".

Boby
 
Old 07-26-2005, 03:20 PM   #4
charnel
Member
 
Registered: Mar 2005
Distribution: mandrake 10.0
Posts: 58

Original Poster
Rep: Reputation: 15
thank you fro your reply the problem is solved... The name I was looking for was htdocs...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xampp charnel Programming 0 07-15-2005 08:14 AM
Xampp problems eantoranz Linux - Software 0 08-23-2004 09:18 PM
xampp problems Hidden_Hunter Linux - Software 1 04-11-2004 10:06 PM
XAMPP install on RH 9 triki Linux - Newbie 2 04-10-2004 06:45 PM
XAMPP, your opinions? Hal Linux - Newbie 1 11-27-2003 11:18 AM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration