اريد اسكريبت يمكن من خلالة بيع منتج ما ويتم الدفع بحيث عندم يتم الدفع يتم ارسال رابط تحميل المنتج الى ميل العميل وهذا الرابط لايمكن اسخدامة سوى مرة واحدة فقط
مثال
http://www.internetprofitstorm.com/
http://www.netprofitsecrets.com/
اريد اسكريبت يمكن من خلالة بيع منتج ما ويتم الدفع بحيث عندم يتم الدفع يتم ارسال رابط تحميل المنتج الى ميل العميل وهذا الرابط لايمكن اسخدامة سوى مرة واحدة فقط
مثال
http://www.internetprofitstorm.com/
http://www.netprofitsecrets.com/
السلام عليكم ورحمة الله وبركاته
أخي الكريم بخصوص سكربت بيع المنتج ممكن يكون عبارة عن اي سكربت عادي او ممكن تكون صفحة عادية او CMS ويمكن عمل ذلك من خلال الوردبريس او جوملا او اي مجلة ثانية .
اما بخصوص رابط التحميل او ما يسمى ب key downloads فهذا عبارة عن سكربت ثاني يعمل على قاعدة البيانات
على العموم انا ليست لدي الخبرة الكافية لكن على ما اظن لو تسوي بحث بقوقل الطريقة تكون سهلة, بعد بحثي لقيت هذا الرابط لكن للأمانة لم اجرب شي
هذي مميزات السكربت
.Protecting multiple downloads using unique URLs
A little over a year ago, I wrote a post about a PHP script I had created for protecting a download using a unique URL. The post turned out to be pretty popular, and many of the comments included requests to extend the script in useful ways. So, I’ve finally gotten around to updating the script to generate multiple URLs (up to 20) at a time, to allow different files to be associated with different keys, and to allow brief notes to be attached to the download key.
I’ve also added a simple page that prints out all of the keys, the date and time that each key was generated, the number of times it was used, the filename of the download on the server that the key accesses, and any attached note. This should make it easier to generate gobs of keys, drop them into an Excel spreadsheet, and help the file’s owner to keep track of who’s getting which file, and how often.
The scripts themselves are a little more involved this time around, but the general idea is the same. A unique key is generated and combined with a URL that allows direct access to a file on the server. Sharing the URL/key allows the recipient to download the file, but not to know the location of the file. The key will be valid for a certain length of time and number of downloads, and will stop working once the first limiting condition is met. This should prevent unauthorized downloading due to people sharing the keys.
How it works
There are seven main components to this system:
1.the MySQL database that holds each key, the key creation date and time, the number of times the key has been used, the file associated with the key, and the note attached to the key, if any
اولاً : قاعدة البيانات تحتوي على المفاتيح, التاريخ والوقت , عدد مرات التحميل لكل مفتاح ((يمكن تحديد هذا من لوحة التحكم)) , الملف , ومعلومات الملف.
2.the downloadkey.php page that generates the unique keys and outputs the corresponding URLs
صفحة تقوم بعمل المفتاح وسرد رابط التحميل بعد الدفع.
3.the download.php page that accepts the key, checks its validity, and either initiates the download or rejects the key as invalid
ملف يقوم بفحص صلاحية المفتاح والتأكد منه وبعدها يقوم بسرد رابط التحميل او يقوم بإظهار رسالة خطأ.
4.the downloadreport.php page that returns all of the data in the database
ملف يقوم بإرجاع الملفات الي قاعدة البيانات.
5.a dbconnect.php file that contains the link to the database
ملف بحتوي على رابط يقوم من خلاله الأتصال بقاعدة البيانات.
6.a config.php file that contains variables such as number of downloads allowed and the filename of the default download
ملف كونفغ تقوم من خلاله تحديد عدد التحميلات لكل مفتاح.
7.the download .zip file(s) to be protected
الملفات تكون مضغوطة ومحمية بكلمات مرور.
لتحميل الملفات:
http://www.ardamis.com/downloads/multiple-downloads.zip
لمزيد من المعلومات حول طريقة عمل السكربت قم بزيارة هذي الصفحة للمبرمج الأصلي
Protecting multiple downloads using unique URLs | Ardamis
تحياتي لك
__________________
iPhone Modified