Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7428749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:51:17+00:00 2026-05-29T08:51:17+00:00

I am having a php project in which I am basically dynamically creating hyperlinks

  • 0

I am having a php project in which I am basically dynamically creating hyperlinks to files existing on the local drive for eg c:/vikram/htc.doc . I created a basic html file and added the usual hyperlinks with the code as

hello

But whenever I launch this page in firefox, there is no response. It doesnt show an error message neither does it launch the file. When I checked the error console on firefox it reads.

Security Error: Content at http://localhost/PhpProject1/newhtml1.html may not load or link to file:///C:/vikram/htc.doc.

Even after implementing all their suggestions still firefox isnt allowing the file to be launched.

If anyone can please suggest me a way to work around this security feature or suggest another browser which allows this(I have tried IE too and it doesnt work there as well).
Since the php project is being launch via my xampp control of apache its redirected under localhost is there any way to work with this functionality.
PLease Help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:51:18+00:00Added an answer on May 29, 2026 at 8:51 am

    You can get around this issue by serving the files from the server itself. You can set up an alias to c:/vikram and then link to http://localhost/vikram/htc.doc from your webpage. More about setting up an alias in Apache: Working With Apache’s Alias Directive

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble with debugging a PHP project through NetBeans using XDebug, and was
I am using HTML Purifier in my PHP project and am having trouble getting
I am having a php file which executes some code to generate a html
I'm trying to determine the best way of having a PHP script determine which
Our PHP scripts create dynamic folders and files and we are having a permission
I am currently working on a PHP project which includes extensive database usage. The
I am working on a php project and I am having problems with including
I'm having to interact with the Facebook API for this project, which I find
Having recently begun working on a project which might need (good) scaling possibilities, I've
I have to make php project having features of image manipulation. I have searched

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.