apache - URL inside php get variable is not redirecting. It gives 404 error -
recently moved hosting godaddy hostgator.
i have download page in website (getintopc.com) called download_direct.php accepts url parameters e.g.
so inside download_direct.php had simple code http meta redirect url in php variable "c"
but code not working on new hosting package. gives 404 error. page exists. can verified typing getintopc.com/download_direct.php
but seems argument passed in variable not being accepted per code logic. code not changed. working on godaddy.com
please me
i think need encode redirect url:
$c = urlencode("http://trial.autodesk.com/swdldnet3/2014/amech_pp/dlm/autocad_mechanical_2014_english_win_64bit_dlm.sfx.exe"); $url = "http://getintopc.com/download_direct.php?c={$c}";
if value of c not encoded, whole url becomes invalid. hope helps.
Comments
Post a Comment