| | #1 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
We are almost ready to launch. We have Ioncube and have everything working except the php script to run i the members area so that members enter their email and it sends them a iicense. Is there anybody that can help Thanks Brad Dixon |
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #2 |
| Active Warrior Join Date: 2011 Location: Winnipeg, Manitoba
Posts: 36
Thanks: 1
Thanked 6 Times in 6 Posts
|
Help with what? Do you have existing code that is faulty? Do you wish to receive some code to do this task? Do you have a budget for this task and would be willing to pay for code? Much more information is needed before you can receive adequate help. If "IonCube" has some sort of PHP wrapper or class, it could be as simple as this (obviously you would need to sanitize the data prior, etc). $license = ion->getLicense(); mail($_GET['email'], 'License Info', 'Hello, here is your license: ' . $license); |
| |
| The Following User Says Thank You to Speedyapoc For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
we have the cerberus ioncube Foundry and ion Bundler. Eeverything is fine. They don't provide the script to integrate the make license script with our members area where our members can input their domain and it sends them their license and we need to know where that license goes. Do you know Ioncube very well if not Im not interested . If you do lets talk. admin at ccstudio.com
|
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #4 | |
| Active Warrior Join Date: 2011 Location: Winnipeg, Manitoba
Posts: 36
Thanks: 1
Thanked 6 Times in 6 Posts
|
I'm not familiar with IonCube, however, I am extremely well rounded in PHP, which I presume you are looking for based on your thread title. Could you enlighten me on this line?
| |
| |
| The Following User Says Thank You to Speedyapoc For This Useful Post: |
| | #5 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
Sorry I have a very good php programmer We need somebody that knows ioncube specifically. Thanks for the offer. Brad Dixon |
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #6 | |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Raleigh, NC
Posts: 238
Thanks: 19
Thanked 32 Times in 29 Posts
|
ionCube :: View topic - using make_license About 7 seconds of searching brought me to ioncube's support forum, and this thread indicates they ship with a 'make_license' script. Another thread indicates that you can run the make_license script on your webserver to do what you're trying to do. In that same forum, there's a link to a detailed step by step on how to do this: Generating Ioncube Licenses » KBeezie Answering "I've got a good developer" when someone tries to get more information from you *to help you*, and you reply the way you did, can come across as insulting. A "good php developer" should be able to figure this out with ioncube directly. You've paid for that product, they owe you the support. EDIT: Wow - wait a second. I just reread the thread above. ionCube provides a 'make_license' script, and you are aware of it, and you have a developer that doesn't understand how to connect the two together. That php developer may be many things, but 'good' isn't an adjective I'd use. "eager", "junior", "capable", "learning", etc. But "good" should be reserved for people who can make something this basic happen. Yeah, I may be reading a bit too much in to an off-handed comment, but realize that many people who can help may read the comment and react the way I did, but without commenting - basically, to write this off, rather than helping. | |
|
Michael Kimsal http://heywords.com/ - for article writers Last edited on 1st Nov 2011 at 08:09 PM. Reason: reread thread | ||
| |
| The Following 3 Users Say Thank You to mgkimsal For This Useful Post: |
| | #7 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
I havent had sleep for 36 hours sorry you are right. this is driving me crazy i will take all the help I can get thanks |
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #8 | |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Raleigh, NC
Posts: 238
Thanks: 19
Thanked 32 Times in 29 Posts
|
![]() We shouldn't be driving on the information superhighway without sleep ![]() The links above should help, and you'll *probably* need to be using the php exec() command, and I'd also look at PHP: escapeshellarg - Manual as well. | |
|
Michael Kimsal http://heywords.com/ - for article writers | ||
| |
| The Following User Says Thank You to mgkimsal For This Useful Post: |
| | #9 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
OK here is the official questions Question 1. this script (stripped down of the useless code), does not work. <?php $domain = "www.domain.com";//this is a test, i will get this data from the members, through a form $domain = str_ireplace("www.", "", $domain); $command = "make_license --passphrase {password_here} --allowed-server ".str_replace("'", "", escapeshellarg($domain)).",". str_replace("'", "",escapeshellarg("www.".$domain)); passthru($command,$output); ?> Question 2. Where do you store it once you have it? Can anyone help. yes anyone. |
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #10 | |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Raleigh, NC
Posts: 238
Thanks: 19
Thanked 32 Times in 29 Posts
|
1. what doesn't work about it? 2. I'm assuming the license would be in the $output (possibly as an array you'd need to join()), but you'd want to write that to a file. I can't tell you where to write it because I don't know the architecture of your system and how that relates to the need. 3. I'd think the make_license might have an option to write out the license file to a specified location, which would simplify your question 2. | |
|
Michael Kimsal http://heywords.com/ - for article writers | ||
| |
| | #11 | ||
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
I just downloaded a trial of ioncube and the script you've posted works like a charm after I've put it in the same directory as the make_license executable and after I've put ./ in front of the command to call it. After that, calling the script from a browser or the command line outputs the license in plain text like this: ------ LICENSE FILE DATA ------- 38SWS037/dWDBSiNoiI18nQ6BJMpdYcb 7Zzvwmku14iZoaG+k8wflwu18CLaMoLJ dy2m2ZKxCi5FZTp+6H/YxtrRquRlpvpQ JE76s6S/hxnBOmGIo/4as6bEY/TGzlyH uAzlXOnClEdOcMD0fzSZAzWOUFHMp9Wu MHpPRnTW2+B5qUyNsfyrx1oJUXn8nvmU 7cYCLfg1sU44QWDsHvJptWm/bti8Qlf2 sMFbCPMICJPEEjfeP59grgZHJqxXFbeK Y6YCH8Kka6CIP/w2pmg+28KcXB7c9lFw H8MPD/bHObaP+ly5R2grAJcEagEg2RcM dUeYV7EUF8woz9C2MaA46E4Z+/7xSF0M 6avJMVrM7z4sEko3uH9lraVKVSOUKEbt XxgQQiUPLzLUgkcasOFtL+EWoPiu1MeR OHAKeWp6k0oszPzgGPqRkaA4 --------------------------------
And sure enough it does. Running make_license -h reveals that all that is needed to write the license to a specific location is to run make_license with the -o <path> option to let it know where to write the license. | ||
| |
| The Following User Says Thank You to mojojuju For This Useful Post: |
| | #12 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
Hi, Can you create a phpinfo.php file on your server, with <?php phpinfo(); ?> and send me the link to see it ? This has become defenetly a server problem, if you say that the script posted by Brad is working ok on yours. Thanks, Vali. |
| |
| | #13 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
Ok it may be a server issue can you create a php file called phpinfo.php and the code <?php phpinfo(); ?> and send us the link, so we can compare his server with ours. It's a long shot, but we should try. Thanks man |
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #14 |
| HyperActive Warrior War Room Member Join Date: 2006 Location: Denver, CO, USA.
Posts: 266
Thanks: 74
Thanked 49 Times in 44 Posts
Blog Entries: 7 |
email it to admin at ccstudio.com
|
|
Check Out My Latest WSO [OFFLINE] Independence Day Training Series JV Sign UP http://www.viralvideoventures.com/wso2 Thanks, Brad Dixon | |
| |
| | #15 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
Hi Mojojuju, You say you put the script copy/paste from the version Brad posted ? Or you used the make_license.exe file ? If you did, please give me more details. Thanks, Vali. |
| |
| | #16 | ||
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
Ok guys, here's the phpinfo as requested... phpinfo() This is a stock Virtualmin install on a Debian VPS with nothing else added to the default PHP configuration.
Here's the full text of what I used that works: [PHP] Ioncube wrapper - Pastebin.com
![]() Are you able to successfully call make_license from the command line? Also, are you guys on shared hosting? If so, passthru could be disabled. | ||
| |
| | #17 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
Hi, We are on shared hosting. we are on a linux server, but i asked because you said "execuable file", which suggested .exe Also, i tried running license.php file, which is next to make_license - the linux file. This is my test site, so if you have the time, or you want to, i could show you exactly what i did, maybe you'll see better if i'm doing something wrong. We called hostgator, but they didn't find any special setting, or problem that might block execution of this script. Thank you for your feedback, Vali. |
| |
| | #18 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
Not sure if it helps, but could you attach the file make_license ? I know it is a long shot, but what if we tried with your file, if ours doesn't output anything ? It should work on reallifesolutions mobi/license.php Also, where did you get the trial ? I looked but couldn't find a trial to include make_license file with it. Thanks, Vali. Thanks, Vali. |
| |
| | #19 | ||
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
Also, you haven't confirmed whether you can run make_license from the command line. I suspect there could be a permissions problem. Sure. Contact me if needed. | ||
| |
| | #20 | |
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
I downloaded the trial right here: http://downloads.ioncube.com/eval_do...luation.tar.gz | |
| |
| | #21 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
I am sorry to admit, but i don't know how to run make_license from the command line. (license.php is the file which has the exact code you said it worked for you, and yes, next to - i meant it is in the same directory as make_license.) Maybe you can tell me how to do that - run the make_license file from the command line ? make_license file has 755 permissions by the way. |
| |
| | #22 |
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
Ok, don't worry about running it from the command line; 755 will allow it to run. Now, could you put the following script in the same directory as make_license? [PHP] Ioncube wrapper - Pastebin.com Then, just call the script from a browser and report back with your results. |
| |
| | #23 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
The result is a white screen. look in reallifesolutions dot mobi, user mojojuju at reallifesolutions dot mobi and pass vali. i will remove this ftp account shortly after you take a look. i think everything is ok, and should work, but for some strange reason, it doesn't. I compared the make_license files, mine and your trial one, and they are identical. Thank you, Vali. |
| |
| | #24 |
| VIP Warrior Join Date: 2005 Location: Potemkin Village
Posts: 1,724
Thanks: 745
Thanked 742 Times in 498 Posts
|
Those FTP credentials don't work. If you want me to take a look at it, send some valid FTP credentials to throwaway123@inbox.com |
| |
| | #25 |
| Warrior Member Join Date: 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
|
Did you have any luck finding the problem ? I tried the script on several sites (which are on different servers), and none worked. We might create the licenses on your server, if we don't find a solution ![]() Just kidding, Vali. |
| |
| | #26 |
| Senior Web Developer War Room Member Join Date: 2011 Location: Quebec, Canada
Posts: 113
Thanks: 32
Thanked 19 Times in 17 Posts
|
Hi there, I can help you, PVT me if you need something ![]() Good luck |
| |
|
| Bookmarks |
| Tags |
| automate, ioncube, license, make, php |
| |