SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Steve Benjamins tnrstudios's Avatar
    Join Date
    Jun 2003
    Location
    canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re-Direction Problems

    I am making a re-direction script which goes like this:

    echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"2; URL=html=$dl_url\">";
    and this script is on this page:
    http://www.tnrstudios.com/customdsg/explore/dl/file_dl.php
    but it redirects to
    http://www.tnrstudios.com/customdsg/explore/dl/html=/home/tnrstudi/www/www/downloads/up/uploade.emg.txt

    any ideas?

  2. #2
    La la la la la bronze trophy lieut_data's Avatar
    Join Date
    Jun 2003
    Location
    Waterloo, ON
    Posts
    1,517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you echo $dl_url you will see it contains /home/tnrstudi/www/www/downloads/up/uploade.emg.txt

    Whatever code you are using to grab the page to redirect to is grabbing the entire directory path -- try using relative paths only.

    (And remove the html = in the meta tag)
    My name is Steve, and I'm a super-villian.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •