vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   An idea on how to make a trial script (https://vborg.vbsupport.ru/showthread.php?t=109156)

harmor19 02-28-2006 09:35 PM

An idea on how to make a trial script
 
Lets say you made the expire date 3/5/06

Would it be possible to have a script run until that date and when it is met automatically delete the tables?

Aesma Deva 03-01-2006 11:51 AM

Make a conditional that would run a query to drop the tables if the date was the one you want?

Marco van Herwaarden 03-01-2006 12:14 PM

Dropping data is not considered a "nice" way of limiting a Trial. It could even be against the law in some places of the world.

Better just to make your script stop functioning. Anyhow without encrypting your files, it would be easy to work around a limit.

harmor19 03-01-2006 02:55 PM

Quote:

Originally Posted by MarcoH64
Dropping data is not considered a "nice" way of limiting a Trial. It could even be against the law in some places of the world.

Better just to make your script stop functioning. Anyhow without encrypting your files, it would be easy to work around a limit.

Now I need to write a test script that will do this.

The most difficult thing is making hard to edit the trial code

UK Jimbo 03-02-2006 10:36 PM

As it's a scripting language PHP is difficult to "encode" or hide the source of. Two solutions that spring to mind are:

- Compiling the code and distrubiting it as byte code of sorts
- Obfuscating it (I'm sure there are products out there, do a search for "php obfuscator" or "php obfuscate")

The first option might be difficult as I suspect you'll need "not-free" software to create the files and it'll rely on the end user having certain modules installed (it's also unlikely to work with the vBulletin plugin system which evals the code).

Just pointers but I hope it's of some use to you :)


All times are GMT. The time now is 11:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00965 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete