Jump to content

How to change where i save my Scripts


Shadowing

Recommended Posts

you could just visit http://localhost/newfolder/

 

it should read any index.html or index.php file you place within that folder

 

the "but how do I tell my database to use files from a folder in htdocs" is a bit vague

 

htdocs is your local filename which is the same location as http://localhost aka:the root of your site

 

you could also include a script

http://php.net/manual/en/function.include.php

Link to comment
Share on other sites

Thanks for the reply

 

Thats wierd I tried doing that last week but that was when I was a even larger noob then I was now so there probably was another problem going on that I didnt realize back then lol.

 

I just made the changes and it works fine in the folder i created.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.