Jump to content

Dreamweaver 8: Concealing PHP Libraries


Recommended Posts

  • 1 month later...
sorry for late reply, just noticed this one...
all you need to do is set up a LOCAL public_html in your site folder and omit the 'host directory' when you set up your site. most often, the root of your site when you set up a site without a host directory is one level above your public_html. my local structure tends to be like:

-+local project folder
---+public_html
-----+images
-----+css
-----  index.php
---+scripts
---+uploads

only issue i have when working in this way is that testing scripts outside of your DOCROOT cant be done by calling the scripts directly (ie, preview in browser). I tend to work within the docroot during development, with the intention of moving the files outside at a later stage. Also, preview in browser will add 'public_html' into the URL, but easy enough to workaround by keeping your browser open in the background and refreshing it when you want it checked.
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.