PHP preview

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
MaxD
Posts: 127
Joined: Mon Dec 18, 2006 10:05 pm
Location: UK
Contact:

PHP preview

Post by MaxD »

Love HTML Pad as its such a useful program, so keep up the good work. Starting to learn PHP, and used www.xampp.org to install all the software required. Problem is I can't view the PHP files :? I've tried;

On the Options menu, click Preferences;
In Preferences window, click Preview folder;
Click Mappings;
Click Add;
Enter your directory containing the files and the corresponding web server address,
for example, c:\apache\htdocs\ and http://localhost/
You do not need to map subdirectories;
Click OK to save settings.

and also tried c:\xampp\htdocs\ and c:\xampp\apache\htdocs with no luck. Any ideas?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Find httpd.conf in the xampp folder. Open the file and find the line that starts with DocumentRoot, e.g. DocumentRoot c:\xampp\web\ , it will show you what is your document root.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
MaxD
Posts: 127
Joined: Mon Dec 18, 2006 10:05 pm
Location: UK
Contact:

Post by MaxD »

Thanks for the feedback. I've done a search now and found some answers I'll try . :wink:
Post Reply