How can I say that Dreamweaver folder is the PHP include path?

My include path on my server is/php/includes.  He is not outside the web root or something like that, it's just convenient to have this folder to store all my common php extracts of I include or require a lot.

So if I have an include or require the line as 'require 'db.php';' the server knows where to find db.php, Dreamweaver knows that it is a media file, so it adds it at the top of the code for easy access.

However, in DW CC (2015) it will not wear this file because it is not because he is looking for the file in the directory root, and not in/php/includes.

So my question is how can I tell Dreamweaver/php/includes is the include path so it will open these related files when I click on them and not forcing me to open the files individually, if I need to watch them or change them?  It's a HUGE pain in the butt when you have a dozen different includes that are all associated with the page you are editing and you must open each individually if you want to watch or change something.  Also, if I move this file in a different directory, Dreamweaver wants to change the relative path where to move, and I want to keep it exactly how it is.

BTW, of course, I could just include the full path in the code of the page, but why should I?  The server will look in those include paths anyway, why I can not Dreamweaver to look the same on the local side?

I found a solution, a bit clumsy but better that open them separately.

By activating dynamically files automatically, when I open a page with includes I get two sets of files included in the related files bar.  The second game is the local version with the right path, the first is the link to the file using the root path (which does not exist of course).  So if I click on the second version of the related file, I can switch to that file and manipulated like any other related file.

Thanks for the comments, I appreciate the insight.

Tags: Dreamweaver

Similar Questions

  • I know how to uninstall programs; However, how can you say that programs are essential to the functioning of my laptop

    I think I know how to uninstall programs; However, how can you say that programs are essential to the functioning of my laptop and who are just garbage programs or programs that I rarely use. Some are obvious (such as games and other), but there is so much and I'm not computer savvy. Help, please.     Give me a list for computer idiots or something. Thanx.

    I think I know how to uninstall programs; However, how can you say that programs are essential to the operation of my laptop and who are just garbage programs or programs that I rarely use. Some are obvious (such as games and other), but there is so much and I'm not computer savvy. Help, please.     Give me a list of idiots to computer or something. Thanx.

    Hello

    There is no list of what you don't need.

    We don't know what programs you have, or what you use.

    It is your personal choice.

    @@@@@@@@@@@@@@@@@@@@@

    See if this helps you improve performance.

    Search for malicious software with the FREE version of this program.

    And does not accept the option "Pay for the version" trial installation

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-8

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Make sure you have the latest updated drivers:

    Access the site on your computer or equipment manufacturing > Driver and Software Support Section > search your computer or hardware model number > then your operating system > locate the correct drivers > download and install.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    "How to optimize the performance of Windows 8 and 8.1" . "

    http://www.eightforums.com/tutorials/37511-optimize-performance-Windows-8-a.html

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Worth the read as:

    "How to optimize Windows 8.1 for a desktop PC.

    http://www.howtogeek.com/167013/how-to-optimize-Windows-8.1-for-a-desktop-PC/

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    " " Performance & maintenance"

    http://Windows.Microsoft.com/en-us/Windows/performance-maintenance-help#performance-maintenance-help=Windows-8&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    And I would check to see if it has damaged system files.

    Each method/step below progresses to another if the first does not all corrupted files which are, etc..

    «Use the System File Checker tool to repair missing or corrupted system files»

    https://support.Microsoft.com/en-us/KB/929833

    _________________________________________________

    And these eightforums.com tutorials are very detailed for the problems resulting from Scan SFC:

    "How to run the command" SFC/scannow"at the start or in Windows 8 and 8.1" . "

    http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-Windows-8-a.html

    Read it in conjunction with the rest of the information they give link above.

    Note

    If SFC could not fix something, then run the new command to see if it can be able to next time. Sometimes, it can take by running the sfc/scannow command 3 times restart the PC after each time completely fix everything what he is capable of.

    If this isn't the case, then run Dism/online/Cleanup-Image /RestoreHealth to repair any corruption component store, restart the PC later and try the sfc/scannow command.

    If still no, then try using ONE OPTION above to run the command sfc/scannow at the start

    If still no, then you could do a Refresh of Windows 8, or run a System Restore using a restore point dated before the wrong file occurred to fix. You may need to repeat doing a restore of the system until you find a restore point that is older that may work.

    If not yet, then you can use the steps in the TIP box in the section THREE OPTION to manually replace the files SFC could not fix.

    __________________________________________________

    "How to update windows 8 and 8.1" . "

    http://www.eightforums.com/tutorials/2293-refresh-Windows-8-a.html

    Refresh your PC goes like this:

    • The PC starts in Windows RE (Recovery Eenvironment).
    • Windows RE scans the hard drive for your data, settings, and applications and puts them aside (on the same drive).
    • Windows RE installs a new copy of Windows.
    • Windows RE restores the data, settings, and applications, which it set aside in the newly installed copy of Windows.
    • The PC reboots into the newly installed copy of Windows.

    _________________________________________________

    "How to reset Windows 8 and Windows 8.1" . "

    http://www.eightforums.com/tutorials/2302-reset-Windows-8-a.html

    "When you reboot your PC, the drive will be completely reset and all your applications and your files will be removed it." Windows 8 will be reinstalled, and you need to change any settings, and then reinstall all the apps you want to come back after the reset. If you know if all the files you don't want to lose, then you must back up these files before you start resetting.

    See you soon.

  • My screen suddenly upside down. How can I get that back right to the top?

    My screen suddenly upside down.  How can I get that back right to the top?

    High graphics most of range, the cards are equipped with display rotation built in and adjustable via display properties or via the display properties of the display icon in the Notification area (to the left of the system clock).  It is a nice feature if you want to read things more like a book on your laptop, etc.

    Some examples would be ATI, NVIDIA, Intel, Matrox, S3, XGI...  These adapters can be integrated into your system, and not always his own card.

    This phenomenon of rotation screen sometimes inadvertently some keystrokes (the cat walked on my keyboard).

    Pressing on the keys Ctrl-Alt top/arrow down arrow rotates screen 90 degrees at a time for some graphics (like NVIDIA) cards

    If this does not work, we will need to know your system brand and model and see if we can look at the rotating screen for you shortcut keys.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • How can I verify that this subwoofer on the Satellite X 200?

    Hello

    How can I verify that this subwoofer?

    In certain circumstances I encounter or have the impression that his 'escapes' to the screen which, in my view, is not appropriate behavior.
    However, this phenomenon is not continuous and never appears while the laptop is not on the table (i.e. subwoofer is not horizontal)

    BR
    / Arek

    Hello

    I put t know what sound behavior do you mean exactly, but it turns out that the Satellite X 200 laptop is equipped with the Realtek sound nursery.
    You can find the settings in the control panel.

    This Realtek audio Manager control and sound effects, Dolby Home Theater sound configurations and configuration of additional speakers.

    These options affect the sound quality and the acoustic perception.

    Must play a bit with these options!

    Good bye

  • How can I avoid that Dreamweaver to rewrite my code?

    How you can stabilize your code so Dreamweaver it leaves as you wrote? I understand well, then dreamweaver rewrites it's bad. I have set, then dreamweaver 'fixed' it and it is wrong again. I did time and again and cannot get the code I wrote to stick.

    You are welcome.

    > I need each other
    > cells do align as I want. you say that I have to use div tags
    > instead of getting rid of the table?

    No, you can use the table, but if you start the form)

    ) inside a cell
    You must close it. Another option could be to put the table inside
    tags form rather than vice versa. Sorry to say but what is stumping you is
    you have not taken the time to really understand HTML works. DW is
    done nothing wrong just try to protect yourself. If it allows you to
    write the mangled code that you'll regret some time when your site stops.

    --

    Walt

    "moabyte" wrote in message
    News:gamn16$J2O$1@forums. Macromedia.com...
    > Walt, Murray and John.
    >
    > Thanks a lot for your replies, but it's not fixing it. I tried to move
    > the
    >

    tag according to the value = "Sign up!" > but that does not work, try to get
    > It
    > closer to the end of work are part of the code, but Dreamweaver
    > moved
    > it back. The tag after the redirect tag work (where it is in the)
    (> "before" version); It is on another part of my site, I'm just
    > redesign
    >, used to use the cover Page which has not changed my code, but I
    > just
    > spent in DW. Also, did you notice he puts 6 new "/" who are
    > not in
    > the original:
    >
    >... value = "[email protected]" / >
    > ... Adventure Island page"/ >
    >... height = "16" / >
    >... height = "16" / >
    >... value = "sign up!" / >
    "" >... value = ' http://www.slickrock.com/thankyouspecial.htm ' / >
    >
    > None of those who are in the original, DW is put in.
    >
    >
    > If you go to this page: http://www.slickrock.com/adv.htm you can see the
    > even
    > forms, working with the tag where I'm trying to put it.
    >
    > Walt, you talked to in the same table cell, but I need of the
    > other
    > cells do align as I want. you say that I have to use div tags
    > instead of getting rid of the table?
    >
    > Also, John, the tags improperly nested and not closed "Fix" is already
    > uncontrolled.
    >
    > I've spent hours on this and can't figure it out and REALLY REALLY
    > appreciate all your help.
    >
    > Lucy Wallingford
    >
    >
    >
    >

  • How can JAWS says that media player inspects my files, I stop this?

    JAWS screen reader

    When playing audio files in Media Player, then closing, JAWS mentions "inspection of files" then left at talk. Like a screen reader user blind, I'm worried, I relayed on this program.  Is it a requirement to have my files inspected?  And if you could work with Freedom Scientific to stop this problem?

    I use exp with a scientific Jaws screen reader from freedom. Problem is every time I play a song especially not throughout, using media player 11, my computer hangs temporarily it is impossible to change the volume, stop the song etc.  In addition, when trying to close out Player multimedia 'alt f. 4' my jaws informs me that my audio files are to be inspected by saying something like, "cancellation" inspection files. then it counts down while I sit for 3 minutes.  JAWS stops talking, and as a blind person, I have no idea of what is happening, not able to operate the computer.  How can I stop these inspections?  I like to go through my music, having to play the file a few times for 10 seconds, becomes frustrating to go through all this, makes me want to unplug the internet connection.  Fortunately, it only happens the first 3 times I try to play, it's the case whenever I turn the computer the rest of the time I stayed alone to cross, to sort and or play my songs.

    Hello

    see this link:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/MS-Publisher-and-JAWS-screen-reader/dae7f92c-a75d-49ea-8e80-b3e9ed5fa0e4

    Let us know.

  • How can you say that Win 7 license is tied to a specific computer?

    I have 3 different licenses for 3 computers.  I want to remove a license and charge for it - and software - on another computer.  How can I find what license and activation key is related to this computer?

    Compare key - license in use

    Click Start, type: cmd

    Right-click on CMD

    Click on run as administrator

    At the command prompt, type the following command:

    slmgr - dli

    Press enter on your keyboard

    This will reveal the key to partial product that give a clue. Compare it with the keys that you have and it will confirm which copy is in use.

  • How can Minecraft says that it cannot find an opengl driver accelerated, I solve this?

    Minecraft 1.8 gives an error after I connect. It says that it cannot find an accelerated opengl driver. I tried to update my video card driver, but this is the best update. Please help ASAP!

    If you have visited the website of the manufacturer for any device video you have physically installed on your computer (what is it?)  Make and model)? and you couldn't find a better driver * or * you used the very limited built-in to Windows?

  • How can I put my documents folder in the bar of icons at the bottom of the desktop computer

    I have a Macbook Air.  I was wondering how I can transfer my documents folder on my desktop at the bottom of the screen where the other icons are placed?  Thank you!

    Open Finder and go to users > [your user name], and then drag the Documents folder to the right end of the Pier (to the right of the light vertical line).

  • How can I return my downloads folder in the dock?

    LLA downloads folder disappeared from my dock? How can I move it back?

    Choose home in the Finder Go menu and get her back.

    (142095)

  • I have a disc of photos that are turned to the side and I want that they portrait. How can I do that for all of the disk?

    I'm a model and the photographer gave me the pictures of the shooting on a disc with the release form. The problem is when I went to open the pictures they are all turned sideways and he wrote a 'read only' and unable to change! Is there a way that I can see without turning my head to the side?

    Thank you!

    Files on a CD or a DVD should be read only... you tried to copy
    the pictures in a folder on your hard drive?

    Place the disc in your optical drive and go... Start / computer...

    Right-click on the drive letter for the drive that the disk is located, and choose... Open or explore...

    Open the folders on the drive and find pictures.

    Reach... Edition / select all... Edition / copy.

    Create a new folder in your pictures folder.

    Right-click on the new folder and choose Paste.

    Open the new folder, and then go to... Edition / select all.

    Right-click on the selected (highlighted) group and in the menu... Choose...
    Properties / General tab... Uncheck (clear) the read-only box / apply / OK.

    Right-click on the selected (highlighted) group and from the menu choose...
    Turn clockwise or counterclockwise.

  • How can you say that in your team is the purchase of photos?

    I have a team of 3 people with two accounts who have 10/m. subscriptions the idea was that everyone would have access to the purchase of 10 images per month. Someone claims that they bought only 2 images and they are up to 5. My guess is that the credits are actually shared within the Group and the other person actually used funds that were not under their account. So the question is how do I know who is buying what images?

    Hello

    With CC for the teams, the subscription of Stock is shared by all members of the team.  Please click here for more details:

    NEW features of Adobe Stock for creative cloud for teams. Creative blog Cloud by Adobe

    You can see the images that your team has obtained a licence, but not the individual who under license.

    Kind regards

    Bev

  • How can I say that I have a virus? I think I do because an announcement keeps popping up whenever I'm on safari and it says "Advanced Mac Cleaner Download Instructions for Safari Browser" DO I DO? I tried to clean history and delete the account.

    You do not have a virus, there aren't any

    Download this (etrecheck) run a report and he port here.

  • How can you say that you have the 24GB flash hard drive Cache acceleration

    I bought the laptop with 24 GB flash Drive acceleration hard cover, but I don't see an SSD when I go on my computer.

    Yes, it is not recognized as a lettered drive. It is combined with the main drive in a RAID array. Look in the list of programs and find Intel Rapid Storage Technology and open it. If you have the cache drive 24 concert he will look something like this:

    See the two drives listed in the upper right corner?

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • How can I restore my download folder to the dock in El Capitan?

    I've deleted the folder downloads of my dock and want to restore it. Can you help me? My MacBook Pro retina early 2015 is running El Capitan OS X 10.11

    I tried move the icon to my homepage but done dock is unwilling to accept it, even wen put in the small space below separating other apps to form the trash icons.

    Just, you should be able to slide down to the right side of the bulkhead in the Dock. Don't know what you mean on the home page. The place to go is your home folder/Downloads page. Do you mean when you do that it won't stay?

Maybe you are looking for

  • How can I reactivate my iphone after activating the locking of activation

    How can I reactivate my iphone after activating the locking of activation?

  • HP pavilion f4u55eau #abu

    This pc came with Windows 8 on it but my grandson do not like the operating system and asks me to install windows 7 - can you please advise if this is possible and if I could get all the necessary drivers so that it can be converted to the windows7?

  • Game controller hardware problems

    I have a Logitech Dual Action Gamepad controller and it worked for a few days. Then, suddenly, my laptop stopped recognizing when I would plug it into my computer (Note: I have not received the message "USB not recognized", it does not simply his or

  • Is there a place where I can download the file .iso for reinstalling vista?

    I have a laptop under Windows Vista Home Premium X 86 with an OEM key. However, the hard drive in the laptop is dead, and I bought a new hard drive to install vista inside. But since its a Vista OEM, I was not provided with a vista CD, only a recover

  • Turn the Inspiron 1721-black screen and nothing

    My Inspiron 1721 laptop stopped working. I turn it on - the fans start for a few seconds and it goes silent, then screen remains black. I left it on all night and turned it off and on again this morning and it came until I logged on windows, then wen