English07Cake Posted July 11, 2007 Share Posted July 11, 2007 hello , i have programmed very simple script but there is problem with variable ? for ex :- get.php?getfile=engbio.zip nothing will appear or may able to download ? the code :- echo "<a href='f/$getfile'>"; echo "download"; echo "</a>"; Please help me ? Link to comment https://forums.phpfreaks.com/topic/59457-help-me-with-my-script/ Share on other sites More sharing options...
metrostars Posted July 11, 2007 Share Posted July 11, 2007 Is that the whole script? This will link it directly to the file. <?php echo "<a href='f/" . $_GET['getfile'] . "'>"; echo "download"; echo "</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/59457-help-me-with-my-script/#findComment-295459 Share on other sites More sharing options...
English07Cake Posted July 11, 2007 Author Share Posted July 11, 2007 OH MY GOD ! thank you very much my friend Link to comment https://forums.phpfreaks.com/topic/59457-help-me-with-my-script/#findComment-295478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.