Jump to content

cj_follett

Members
  • Posts

    2
  • Joined

  • Last visited

cj_follett's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thanks for the welcome. Your script helped me solve a problem I was having with Firefox. It seems that Firefox doesn't like a simple <A HREF ...> to download an executable. Anyway, both the php file and the file to download are located in the same directory for the time being to run some tests. If / is pointing to root (in my case htdocs, not public_html), then was it just downloading the first file it encountered? Shouldn't it give me an error that the file I was looking for was not found?
  2. Okay, I tried your re-written example and it worked -- sort of. I changed the $filedir path to / since everything was in the same directory. The download worked, but the file was not correct. Then I changed the path to ./ and it worked fine. I seem to recall something from many years ago why you need to use ./, but the explanation escapes me.
×
×
  • Create New...