Xamp / Php.ini Question - How to use php files from non-htdocs folder

free web hosting
Open Discussion > CONTRIBUTE > Computers > Software

Xamp / Php.ini Question - How to use php files from non-htdocs folder

jlhaslip
I recently installed the XAMP software as per snilildude's Tutorial and I have a question about the php.ini file or something like that.
The Application is default installed. I haven't altered anything yet, so this should be a textbook case.
Presently, the only folders recognized to run php scripts from is the htdoc folder (root). Is there a way to alter the configuration (or path or whaever) so if I double click a 'php' file that resides elsewhere, the file gets parsed and served as php in the browser. Would the Browser have to be open already when this is done, because that is part of the equation.
Ideally, it would be best if : when I double-click a file anywhere on the system, it figures out that the Browser needs to be open, opens it if required, starts the server if required as well, and presents the page in the Browser. Am I asking for too much here?
I don't know if that is possible or not, but I would at least like the php files to be loaded through the parser from elsewhere besides the htdocs folder. Whether I need to have the Server up and running can be my decision.

XAMP on Windows 98se, php 5, haven't touched php configuration or .htaccess yet.

 

 

 


Reply

Saint_Michael
hey haslip i solve your problem right away delete xampp and get WampServer its alot more organized this then xampp believe me im using it right now thanks to mayank.

Reply

Tyssen
Jim, I've just done the same thing as you in the last couple of days. There's a thread over at CSSCreator that discusses just what you're asking.

Reply

jlhaslip
Thanks guys.
If I have any problems with xampp, I'll try the other one.

Reply

Tyssen
The only problem I had was configuring Apache to accept different local sites. Once I'd figured that out it was no problem. And really the reason you'd be using Apache is to understand more about how to configure it (otherwise you'd just install PHP and run it under IIS), so I wouldn't ditch XAMPP in favour of another install for that reason.

Reply

jlhaslip
Tyssen,

I'm running win98se and I don't have IIS, so that's why the Apache.
Plus, it mimics the server at the trap, so if it works on this local machine, it'll be good at the Trap, too. ( I hope )

Reply

aboodx
i use the easyphp
its easy and good
you can download it from here

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. ddos xamp - 126.38 hr back. (1)
Similar Topics

Keywords : xamp, php, ini, php, files, htdocs, folder

  1. How To Transfer Files Directly From My Computer To The Trap17 Account
    (6)
  2. Deny Or Grant Users Access To Files Of Choice (vista)
    Uses Bat Files To Deny Or Grant People Access To Files (3)
    Deny Or Grant Permission Requires Notepad Vista This Technique Can be Used On Earlier
    Versions Of Windows But Uses Different Syntax: To Deny Access Open Notepad and Type @echo off
    cls Icacls PATH OF FILE GOES HERE WITHOUT PARENTHESES /deny USERNAME OF PERSON YOU WANT TO DENY:(F)
    And To Grant Is The Same Process @echo off cls Icacls PATH OF FILE GOES HERE WITHOUT
    PARENTHESES /grant USERNAME OF PERSON YOU WANT TO DENY:(F) And There It Is. Simple Huh!....
  3. Fileop Failure On A Folder
    On cPanel (6)
    CODE FileOp Failure on: /home/skyed211/public_html/forums/style_images/ip.boardpr:
    Operation not permitted I seen to get this error when CHModding the above folder. My boards
    images will not work, I've tried help from IPS, and one of the IPS Resources staff, and no help.
    They don't know what's wrong. This happens (the error) on Trap17's side and on cPanel,
    plus on FTP programs. What is wrong with this? It's obviously Traps side that's causing it.
    I have a correct IPB 2.3.5.rar, all files are correct nothing wrong with them. I'....
  4. X Files: I Want To Believe!
    (2)
    I am a big fan of X Files (the D drives on both my desktop and my laptop are called X Files in
    it's honor /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> ) so there was no way I'd miss it. I know it is a bit late, but the movie had it's
    opening a week ago in my country and I didn't want to simply download it. So here we go... X
    Files: I Want To Believe is a bit odd for the usual X Files topic - UFO, aliens... Not odd, but
    different! I knew that before viewing the movie and I was still disappointed at the end. ....
  5. Locking A Folder With No Software At All!
    works on XP AND VISTA!!! (4)
    I know that there may be some tutorials like this in the web, but I made this one a very long time
    ago /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />. Simple
    Copy-Paste-Rename-Store-and LOCK. can work anywhere on any computer. NO Software Required.
    Simple Lock your Folder, with these Few Steps. Ive tried it, and works great. Ive only tried it on
    Windows Xp, SP2. IM not sure, if it works on other OS as well. but its harmless, so try it out.
    Steps: 1- make a new folder ( name it as you like ) 2- inside this folder make a ( T....
  6. How To Create Pdf Files Using Free Tool
    Introduction to use a free tool to create PDF file (0)
    Now, that you don't need to have expensive software like Acrobat to create PDF. All you need is
    Microsoft Office and a software name doPDF. You can download the freeware from
    http://www.dopdf.com/download.php After downloading dopdf.exe, follow the instruction below 1.
    Double click to install it, as display at image 1.jpg, choose a language and click OK 2. You will
    see 2.jpg click next 3. Click I accept the agreement see 3.jpg, click next 4. Now you will see
    4.jpg, select the folder to install it and click next 5. When seeing 5.jpg, This is the folder group
    in Star....
  7. Clearing Your Ie Tif
    Clear your Temporary Internet Files on IE (0)
    -Welcome to: Clearing your Internet Explorer Temporary Internet Files Tutorial-!
    Attention!: As some of the members on here may know, it is possible to clear your Internet
    Explorer Temporary Files. I have searched this entire Tutorials subforum to find a topic already
    made, and I have found nothing. This tutorial I did NOT find this on Google, or any other search
    engine. I always find this out for myself. Lets start: Ok, first we open up Internet Explorer,
    then we click "Tools"...then we click on "Internet Options...". On the Main page "Gener....
  8. How To Download Any Flv Files From Any Sites
    (6)
    Now you can download any flv files from any websites!! People often know how to download
    youtubes clip, but not from other sites. In this tutorial you will need a tool name Moyea FLV
    Downloader, it is free and you can download it at http://www.flvsoft.com/download_flv/ This is
    the best tool i have meet up with to download flv files in any site. Since it can detect flv files,
    and list it, you can download it as you want, so no more favourite clips goes away from your sight
    and now you have it on your own hard drive! 1. Run moyea flv downloader see 1.jpg 2.....
  9. Panasonic Lumix - Problems With Movie Files
    troubles managing (renaming, moving, deleting) movie files from the ca (0)
    I've recently bought a Panasonic Lumix TZ3, the one with a wideangle to telephoto lens (10x zoom
    from 28mm to 280mm equivalent) and I am very satisfied with the overall performance. Obviously I
    didn't buy the camera because of the movie features but occasionally I do take some short clip
    or use the "picture with audio" to comment on a photo, these functions are pretty easy to use and
    the quality of the video is reasonable. The movie files (or the audio attached to a picture) get
    saved in Jpeg Motion Picture format, generating a .MOV file which appears on the me....
  10. Folder View In Kde 4.1
    (4)
    Even though there was a lot of negative criticism over the new KDE, but over the last time there are
    mostly positive critics and they encouraged me to try this DE (some of them even told me that KDE4
    is better than MS Vista's and even OSX's one!). For those which don't know what is
    KDE and what should they expect from it, here is the official link from the devs. :
    http://www.kde.org/announcements/4.1/ With the comming of KDE 4 lots of things changed and lots
    of new things were added in it, but I'll keep on one productive thing in here, and its cal....
  11. Firefox Temporary Media Files
    Where are they stored? (0)
    Sometimes when I view video tutorials online and I want get pleased with the flash or mp4 I will be
    viewing online. When I try to seach for the temporary file stored by Firefox so that I can save it
    in another drive I fail to find it. Does anyone know where these files are stored and which format
    they will be in? One day I opened the folder: CODE C:\Documents and
    Settings\Rare\Local Settings\Application
    Data\Mozilla\Firefox\Profiles6qbhaqp.default\Cache and found a lot of files
    without extentions. Could these be the ....
  12. Lan Surfer In Linux
    GUI software to view other's shared files (2)
    I have been using LAN surfer and Network scanner in Windows , These software's are used
    to scan the LAN over a given range of IP addresses and then display the folders shared by each
    computer available on LAN in the specified range... now i have switched to Linux... Can you tell me
    any GUI software which would do this task in Linux ubuntu 7.04. I tried nmap but i did not
    find it that useful...i think it does only port scanning and stuff but does not display the files
    shared... but i am not sure..tell me if it can be used and how... I also installed s....
  13. Browse System Files In The Browser...
    (2)
    Hi all Trap 17 people... I am not sure if you are already aware of this fine piece of information,
    But definitely a must know feature... Browsing your system files in your browser. For more visit the
    below link http://varalu.blogspot.com/2008/07/browsin...in-firefox.html You can use this feature
    to do so many stuffs... pretty much useful for addon developers. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  14. Auto-upload Files With Filezilla And Autohotkey
    (0)
    If your web host only allows FTP access and not shell access then you have to edit files locally and
    then upload them. If you are debugging your website that means making a lot of changes to a file or
    files and lots of manual uploads after each change to a file. FileZilla works great to upload and
    download files to a remote FTP site and it even allows you to set a default editor so you can right
    click on a remote file and click view/edit. It then downloads the file to a temporary directory and
    monitors any changes made to the file. When it detects that you have saved the....
  15. How Can You Get Audio Files From Itunes Videos?
    (1)
    I need some help. How can you get audio files from iTunes videos? iTunes videos don't import
    into Windows Movie Maker so I don't know how. Is there a way to convert iTunes video files to
    kinds that are supported by Windows Movie Maker? Thanks in advance for help. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  16. Naming Web Page Files
    Which way you like- MyPage.html or my-page.html or my_page.html (9)
    Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
    etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
    talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
    am going to express my views and want to know what you think is correct. I have seen pages named in
    various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
    think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
  17. Audio Files?
    (5)
    I need some help. Is it possible to get audio files off of sites? Like IMEEM and YouTube. I know the
    whole http://www.file2hd.com thing. It doesn't always work though. Are there other ways? Is
    there a way people hack audio files off of sites? NOTE: I DO NOT WANT DO THIS! I merely want to
    know so that I can protect my sites from it. Thanks.....
  18. Jar Executable Files
    (3)
    I have been supplied with a digital log book for use this semester and it comes in the form of a
    .jar file and a .mdb file. I tried running it on my mac but it crashes every time but it seems to
    run perfectly on windows xp. Does anyone have any ideas why? I thought .jar files would be
    computable on any platform. ....
  19. 1350 Great Free Logos (jpg + Psd)
    With both jpg and original psd files to edit (8)
    1350 Great Free Logos (With both jpg and psd files)
    http://rapidshare.com/files/126291346/1346...Great.Logos.zip This is a great collection of
    logos, they are already made logos which you can use like that or just use to create other logos, do
    what you want, they are free, they came from free websites that give this logos for free and lot
    more, but i just took the good ones mainly. There is also a small collection of 100 logos inside
    the compressed file, which you can use to insert those graphics in your logo/design/web design
    projects, do what you want with them ....
  20. How Do I Acces My Www Folder And More?
    (10)
    Guys i want to change my WWW but im not sure how to do this i would be happy if anyone helps me also
    i have a mySQL created by navicat and i want to upload that so like ppl from my site can make
    account on my mySQL PLZ help me i would be really happy....
  21. Best Way To Lock A Folder Without Using An Application
    (15)
    Steps: 1- make a new folder ( name it as you like ) 2- inside this folder make a (.TXT ) file &
    copy the following inside it: CODE Quote: cls @ECHO OFF title Folder Private if EXIST
    "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Private goto
    MDLOCKER :CONFIRM echo Are you sure you want to lock the folder(Y/N) set/p
    "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N
    goto END echo Invalid choice. goto CONFIRM :LOCK ren Private "Control Panel.{21EC2020-3AEA....
  22. Sharing Files And Printer Between Windows Vista And Xp
    Networking Problem (9)
    I have set up a wireless network between my two computers one vista and one XP I can access the
    shared files from the vista machine on the XP PC but I cannot access the shared files or printer
    which are on the XP PC via the vista one I don' think it is a firewall issue. Can anyone help
    please it is driving me mad?? /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" />....
  23. How To Disable "show Hidden Files And Folders" In Folder Option
    (12)
    How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
    or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
    properties and then select Hide file) But if you open Folder Option and check "Show hidden files
    and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
    below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
    address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
  24. Eclipse Exporting .jar Files
    Could not find main class. Program will exit. (5)
    I need help! I've been using eclipse for a while making little applets, and now I've
    decided to look at some tutorials on how to make simple applications. I've found a pretty good
    tutorial that tells you how to make a helloWorld app with swt and jFace, and also has an example
    file explorer that you can make. They both work perfectly from inside eclipse, but when I try and
    export either one into a .jar file, they don't work anymore. It comes up with a message saying
    "Could not find main class. Program will exit." In the little wizard it has for....
  25. Make A Folder Named Con
    you can never do that (7)
    an interesting thing that you never exprienced it@ try to create a file or folder named con in
    windows! you will never be succed to that! and also you are not able to make these names
    too!!!!:D con nul lpt1 lpt2 lpt3 com1 com2 and com3 !!!: /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />:D you have prize if you
    make a folder named them!:D but you can use this option to lock your cd(s) !!:
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />:D you ca....
  26. How To Lock A Folder And Keep It Private
    title explains it (21)
    okay people i had a member ask earlyer how to lock folder and or a file and i had the answer, and i
    though to my self after i had written it maybe everyone may need to do thsi so ill post it into a
    tutorial, okay so i wrote this for someoneelse earlyer and am posting it here for all to see: you
    dont need software to lock a folder or add a password to a folder right okay this is my little
    tutorial on how to lock a folder, here we go first things first you need a random folder or the
    folder you wish to lcok then put what ever you want to lock into the folder, then right c....
  27. Try To Make Con Folder In Microsoft Os
    Reason why u cant make some folder names in win os (9)
    Guys try to make con folder in win os can u??? yes ??? no??? Answer is No, bcoz their few names
    /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> CON, PRN, AUX,
    CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4,
    LPT5, LPT6, LPT7, LPT8, LPT9 can be more too. are all Windows reserved device names from the early
    days of DOS. i tried this in CMD "mkdir \\.\c:\CON" This will create CON folder
    in e: drive. u will Reply from OS The directory name is invalid. Try if u get succe....
  28. The New And Very Good Free Host Server
    For upload/share files.www.rapidshare.se (13)
    Here it is: http://www.rapidshare.se/index.php Go check it out! I've heard good
    things about this free upload server.....
  29. Does Anyone Know How To Make Exe Files
    (19)
    Does anyone know any software for making exe files, I want to make simple programs not propper
    one's. Thanks.....
  30. Converting Video Files From One Format To Another
    help plz :) (6)
    hey i have learnt this nice way to open mov files in imageready and insert them in sigs,graphics and
    other stuff its really cool,this only works with .mov files and i really need to know if sumone here
    can do that,i need to change a wmv file into a .mov file so i cant add the movie to a sig,i have
    tried many video format conversion programs but they dont accept the mov format,the mov format is a
    quicktime video format,so anyone here know how to change a video file into a quicktime mov video
    format? thnx in advance....

    1. Looking for xamp, php, ini, php, files, htdocs, folder

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for xamp, php, ini, php, files, htdocs, folder

*MORE FROM TRAP17.COM*
Similar
How To Transfer Files Directly From My Computer To The Trap17 Account
Deny Or Grant Users Access To Files Of Choice (vista) - Uses Bat Files To Deny Or Grant People Access To Files
Fileop Failure On A Folder - On cPanel
X Files: I Want To Believe!
Locking A Folder With No Software At All! - works on XP AND VISTA!!!
How To Create Pdf Files Using Free Tool - Introduction to use a free tool to create PDF file
Clearing Your Ie Tif - Clear your Temporary Internet Files on IE
How To Download Any Flv Files From Any Sites
Panasonic Lumix - Problems With Movie Files - troubles managing (renaming, moving, deleting) movie files from the ca
Folder View In Kde 4.1
Firefox Temporary Media Files - Where are they stored?
Lan Surfer In Linux - GUI software to view other's shared files
Browse System Files In The Browser...
Auto-upload Files With Filezilla And Autohotkey
How Can You Get Audio Files From Itunes Videos?
Naming Web Page Files - Which way you like- MyPage.html or my-page.html or my_page.html
Audio Files?
Jar Executable Files
1350 Great Free Logos (jpg + Psd) - With both jpg and original psd files to edit
How Do I Acces My Www Folder And More?
Best Way To Lock A Folder Without Using An Application
Sharing Files And Printer Between Windows Vista And Xp - Networking Problem
How To Disable "show Hidden Files And Folders" In Folder Option
Eclipse Exporting .jar Files - Could not find main class. Program will exit.
Make A Folder Named Con - you can never do that
How To Lock A Folder And Keep It Private - title explains it
Try To Make Con Folder In Microsoft Os - Reason why u cant make some folder names in win os
The New And Very Good Free Host Server - For upload/share files.www.rapidshare.se
Does Anyone Know How To Make Exe Files
Converting Video Files From One Format To Another - help plz :)
advertisement



Xamp / Php.ini Question - How to use php files from non-htdocs folder



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE