How do I get a link to work in an "include" file?

I have link to a picture in a php web page. <a href="../images/testpic.jpg">
index.php
--include/maincontent.inc.php
--images/testpic.jpg
I call this file "maincontent.inc.php" from another file "index.php" in the root directory using a php include statement.  <?php include("include/maincontent.inc.php"); ?>
I have tried absolute links also but nothing seems to work.
I have had this problem before and just put the include file in the root directory. That works.
Have had this same problem with a sample from a php book. Figured if the author can do it why can't I :-(.

Have you tried opening the links in a different browser to verify it's an issue withing FF locally, and not the website/page itself rather than browser specific?

Similar Messages

  • How do I get a link to work?

    When I go to my work site and I bring up clients I normally can click on the client that I need to open their pages. But for some reason it wont let me click on it and open the new file. How do I get it to let me click on links on certain pages?

    Have you tried opening the links in a different browser to verify it's an issue withing FF locally, and not the website/page itself rather than browser specific?

  • How do I get "mailto:" links to work with my web based email?

    I use the web based email from godaddy.com called workspace. I can't get the mailto: links to work with firefox. I did find a code that makes the correct compose window to open up but it doesn't input the email address.
    Also, a related problem with my email is that you can't copy an email address and then paste the email address into the email. Pasting is not allowed with firefox but works ok with Internet Explorer

    Welcome to the Apple Community.
    Try adjusting the dolby digital setting.

  • How do I get this link to work???

    I would really like to view the following movie on my PC with Quicktime 7 and Windows XP Pro. I have even uninstalled and reinstalled Quicktime, but all I get is the faint Q with a question mark in it. Any help would be greatly appreciated.
    http://www.jacksonholevlog.com/the-otterbody-experience-streamed-quicktime-7-req /
      Windows XP Pro  

    Copy the link below (do not click) and open QT Player app.
    Choose Open URL from the QT Player menu and paste the URL.
    rtsp://streaming.jacksonholevlog.com/streaming.jacksonholevlog.com/otterbodystre am.mov
    I never got any audio (pitiful dial-up connection) and the file didn't work for me.
    It may be a bandwidth issue in the file or the server's inability to keep the streaming file being served.

  • How do I get my links to work in the footer?

    It works fine in the footer in the preview function- until you click to another page and then it doesn't work. When I export it into html files, it does not work either, when I publish it to catalyst- still does not work. See my link below, what am i doing wrong?
    http://rayamajhi01.businesscatalyst.com/index.html

    It seems to work in IE 9.0 but not in Firefox and Chrome.
    Try selecting all the information in the footer and "Move To: Master Foreground" and see if that works.
    I think your Accordian widget might be interfering with the footer text.

  • TS4424 How do i get the links to work?

    Hi, I have the same problem as above but 2 questions. 1. how do i reinstall Mac OS X Update v10.6.8 Combo v1.1? Its over 1Gb and when i follow the links above nothing happens. 2. The same happens when i try to reinstall the security update. Help!

    Do you have a lot of trash in the bin? Do a secure empty the trash. Try downloading fron the Apple site, as opposed to software up date.  Maybe this might help

  • I am using Firefox 4.01 & "Send Link" in the File menu opens a blank page. Firefox & Windows 7 say "Windows Live mail" is the default program. How do I get "Send Link" to work properly?

    I tried suggestions given on the URL below but it still doesn't work.
    http://support.mozilla.com/en-US/kb/Changing%20the%20e-mail%20program%20used%20by%20Firefox?s=email+page&as=s#w_setting-firefoxs-mail-client

    Not every web mail service is compatible with the '''mailto''' settings in Firefox.
    https://support.mozilla.com/en-US/kb/Changing%20the%20e-mail%20program%20used%20by%20Firefox#w_using-webmail-services
    '''If the webmail service you want to use is not available in the Applications panel of the Options window, you can use an extension to add support to your webmail services:
    * This Addons.Mozilla.org search for mailto lists several extensions that may be suitable for different webmail services. '''

  • I had to reset my Apple password and now my iTunes and iCloud passwords no longer work. How do I get them linked again and under the same password. I've tried my new password on each login screen and it isn't accepted.

    I had to reset my Apple password and now my iTunes and iCloud passwords no longer work. How do I get them linked again and under the same password. I've tried my new password on each login screen and it isn't accepted.

    Hi skippy2012trev,
    Welcome to the Apple Support Communities!
    I understand that you updated your Apple Id and password but now you are being prompted for the old information in iCloud. You are on the right track by changing the Apple ID back to the previous email address temporarily so that you can sign out. You should not need to verify the email address. After you edit the Apple ID back to the old email address and then sign out of iCloud on your iPhone, edit the Apple ID back to the address you would currently like to use. There is no need to change the password again, only the email address, unless you prefer to update the password again.
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Tap Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Sign Out, then tap Sign Out to confirm. If you're using iOS 7 or earlier, tap Delete Account, then tap Delete to confirm.
    Tap Keep on My [Device] or Delete from My [Device]. In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    Cheers,
    Joe

  • How do I get my audio to work again on my iPad?

    How do I get my audio to work again when I play video links on my iPad 2?  Think the problem might have started when I did the update to IOS 7.1.  I click on a video link when I'm in an app like Facebook.  The video plays, but no audio.  I used to be able to open the link in Safari and the be able to hear the audio.  But now that doesn't work either.  Apple support helped with a similar problem in10/3013.  They made me back up my iPad to ITunes through my laptop and think they wiped my iPad and re-loaded the software.  Is there any other fix?

    I just saw an answer that "Demo" posted 9/30/2012.  Said to re-boot the iPad system by holding Down to the sleep and home buttons at the same time until the apple logo screen popped up.  It worked.  I I've got audio again on my video links!

  • How can I get my ipod to work with itunes?

    When I connect my ipod classic into my new computer it seems that itunes does not recognize it. How can I get my ipod to work with itunes? I'm afraid to disconnect my ipod because the display is saying Do Not Disconnect.

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

  • How do I get a link address to show highlighted in an email text so people can just click on it?

    how do I get a link address to show highlighted in an email text so people can just click it?

    madiandmo wrote:
    This is the deal.  I'm new to having a Mac & using Hotmail via Safari.  When I had a pc I the web browser I used with explorer.  Could it have anything to do with that? 
    no, the link was created for me via Acteva. 
    And, it is not longer than 69 characters. 
    Have you clicked on the link to ensure that it works?

  • How can I get Activity Monitor to work?

    I've searched the discussions to no avail, so I have this question: how can I get Activity Monitor to work? It launches and its window opens but then the spinning beachball appears. I've checked the Console and it shows that the Activity Monitor is attempting to fully launch but then it "exits" and then it tries to fully start up again, goes into an infinite loop or something. Issued a "force quit" succesfully. I've deleted the Activity Monitor's .plist, no joy. What to do? Thanks!
    I'm running 10.6.8 on a MacBook Pro (late 2011)

    I wish I could be more positive but I have no experience of MacBook Pros and whether their demands on the system differ from my simple iMac.   If you have the time to scour through 'More like this' ( to the right of your initial post) and the links within it, you may find leads.
    I also found this thread via Google which in parts seems to echo your troubles.  I hope it helps; thank you for the star.
    Activity Monitor Not Responding - MacRumors Forums
    71
    Message was edited by: seventy one

  • How can I get Java plugin to work

    How can I get Java plugin to work ?

    Greetings Dun1203,
    Welcome to the Apple Support Communities!
    I understand that you would like to install or update Java on your Mac. For information on this process, please use the information provided in the attached link. 
    Java updates available for OS X on August 28, 2013 - Apple Support
    Cheers,
    Joe

  • How do I get a link within a PDF to open a new tab in a web browser?

    How do I get a link within a PDF to open a new tab in a web browser? Previous forums (for earlier versions of InDesign and Acrobat) mention something about JavaScript, but I'm using InDesign CC and Adobe Acrobat Pro CC
    Thanks.

    When you're looking at the PDF that's on your site, is it opened in the browser or directly i Acrobat/Reader? If in the borwser, do you know if it's being viewed in the browser's default PDF viewer or Acrobat/Reader? It probably won't work in non-Adobe PDF viewers.
    Are you saying that when you click the link that two new browser tabs are opened with the same URL, instead of just one as you'd expect, or something else?

  • How do you get gif's to work on a mac

    how do you get gif's to work on a mac

    Here yah go.
    Install the software at the link below
    This will allow you to view animated gifs in preview
    click on the gif to select it and then press the spacebar
    http://sourceforge.net/projects/animgifqlgen/

Maybe you are looking for