|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
I'm trying to create a protected download link in the widget by placing this code: PHP Code: if (!defined('TESTCHECK')) { echo 'This file can only be called via vB CMS, and not directly'; exit(); } in a non-vB file. I tried to place PHP Code: define("TESTCHECK", true); in the Widget in various places, but every time I get: Quote: This file can only be called via vB CMS, and not directly How to organize this standard 'No direct script access allowed' check (between vB Widget and a PHP file)? Can that be done? Thanks. __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |