waplet Posted July 25, 2008 Report Posted July 25, 2008 piem man ir fails 2.php a es gribu uztaisiit tā ka tikai no , refferojoties no 2.php faila var nokačāt failu , a jā parasti iet piem. mape/1.zip izmet eroru ka nav iespējāms nolādet, bet ja http refferers ir 2.php ?! vai var tā uztaisīt?
p4F Posted July 25, 2008 Report Posted July 25, 2008 es nesaprotu prieksh kam ir vajadziigs .htaccess $_SERVER['HTTP_REFERER'] header('Content-type: application/php'); header('Content-Disposition: attachment; filename="2.php"'); readfile('2.php');
Recommended Posts