下载链接隐藏 [英] download link hidden
问题描述
我正在开设一个商店系统,我有以下链接 http://cmstutorials.org / shop / downloads / 2793156879 (原始链接是cmstutorials.org / shop / downloads.php?download = 2793156879)
I'm working on a shop system and I have the following link http://cmstutorials.org/shop/downloads/2793156879 (original link is cmstutorials. org/shop/downloads.php?download=2793156879)
我正在尝试做什么让用户下载与id 2793156879匹配的项目,而不显示文件的实际链接。就像他们在themeforest.net上一样
what I'm trying to do is let the user download the item that matches with the id 2793156879 withouth showing the actual link to the file. Like they have on themeforest.net
我该怎么做?
推荐答案
wooohoooo
wooohoooo
非常感谢大家,这个网站规则我总能得到正确答案:D
thanks a lot guys, this site rules I always get the right answer :D
我将其粘贴在header.php上面,包括 ob_start();
I pasted this above the header.php include ob_start( );
并且在标题函数 ob_ get_clean()之前;
可能对人们有用(注意:对于第二个函数我在get之前添加了一个空格,所以它会正确显示,不要忘记当你使用它时删除它)
might be usefull to people (note: for the second function I've added a space before the get so it would display correctly, don't forget to remove it when u use it)
这篇关于下载链接隐藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!