camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Returns Value

Hello Every body,

i need get a value returned for a script in php, i was viewing the
process of licence validation, with serial validation i know where put the url of script validation... but when try make my own script don't know where... :( i emulate same events in my custom proyecto without check serial validation.. but dont return values
i try with same scrips for examples in my custom proyet just not check 'serial validation' i wanna make a same action but with my own script, no need check a serial need check email and two values more :( ,

i need know how and whre put the url of script validation...

ty
Attachments
ai.jpg
ai.jpg (144.19 KiB) Viewed 3532 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Returns Value

Hello,

This script must be placed on your server in an URL which will be accessed by the installation package. For example, if the PHP script is named "validate.php" then the URL can be something like this:

Code: Select all

http://www.example.com/validate.php
If you are using server side validation you can enter this URL in the Licensing Page -> Package Serial Validation -> Server Side Validation.

All of the above are described in our step by step tutorial from the user guide.

If this is not what you are trying to do, please give us more details so we can guide you in the right direction.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Re: Returns Value

Hello and thank you for your answer,

nope, i know how make a licence validation with predetermined template.. and know where put url for this.

i need know how can make mi own custom validation, look.. i need validate a mail and password in a database in mysql , i know how make the php script and know how returns values.. but the problem is how capture this returned values in installer, same way how do on the licence validation, need know how capture returned values, and know where put the url where goes do validation.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Returns Value

Hi,

The validation script must be able to receive the information sent by the installer, connect to the database, verify the information and issue a response. You can specify the URL for your custom script in the same location I mentioned in my last post and it is the same one mentioned in the tutorial. If you already knew this, then I am not sure what URL you are referring to.

Please also note that Advanced Installer has no predefined functionality to get return values directly from PHP. You can implement this functionality yourself from within your own custom action.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”