Hi Alejandro,
Yes, SetupBuilder can handle regular expressions (see attached screenshot).
Friedrich
Hi Alejandro,
Yes, SetupBuilder can handle regular expressions (see attached screenshot).
Friedrich
Hi Alejandro,
If you are interested, please re-download:
http://www.lindersoft.com/projects/ValidatePassword.zip
I have added a very simple regex to validate an email address.
Friedrich
Friedrich,
I did what you mentioned and it worked, I added a 3step password verification, where uppercase+lowercase+number mix must be met in order to accept it.
Can the application send email on its own? I looked through the SetupBuilder 8.1 Help and found nothing about it. So, an alternative that I found was: Post to HTTP Server where a Mail Server is installed and that server is the one in charge of sending the mail. What do you think?
Alejandro.
Alejandro,
Yes, "Post to HTTP Server..." is the correct way to handle it (it's not an alternative! it's the only valid solution!!). For example, you send the information to your web server (formmail.pl or another cgi or sendmail system) and this sends the email via your mail server.
Friedrich
Friedrich,
Is .php also viable? Because I would like to do a test.com/index.php?mail=%MAIL%&pass=%PW%. The way of doing this is: Destination url: test.com/index.php and text to post: mail=%MAIL%&pass=%PW%. Is that correct? Or do I have to add the ? at the end of the destination URL or does the text to post automatically add it?
Alejandro.
Alejandro,
That is something you have to check with your server administrator. The installer only posts the HTTP stream (in whatever format you need). The server side has to process it. The screenshot you see for "Post to HTTP Server..." has the valid commands for a standard formmail.pl script. But you can use whatever you want (no need to use formmail.pl).
Friedrich
Friedrich,
I wish to know if there's a way to make the installer open a webpage after the installation is complete, because I have been trying to make it "Post to HTTP Server" to connect to my domain in order to execute the email script but it doesn't seem to be doing anything. If I run that URL manually, it works fine, but not from the installer.
Alejandro.
Alejandro,
If it does not work, then you are doing something wrong (perhaps wrong expected format, etc.). Post to HTTP is a standard function.
For example:
http://www.lindersoft.com/forums/sho...6564#post76564
You can even retrieve the HTTP contents back from the server. We are using this in most Consulting projects (e.g. serial number verification, etc.).
BTW, to open a web site, just use the "Run Program" script function and enter the web address and mark the "Open Web Page" checkbox.
Friedrich
Friedrich,
I approached this in another manner:
I downloaded WGET from GnuWin32 and all its dependancies, I then made a wget command sending post values to my website and that worked.
Alejandro.
Alejandro,
Glad it's working fine!
BTW, if you can do it with wget then you can do the same with "Post to HTTP...".
Friedrich
There are currently 1 users browsing this thread. (0 members and 1 guests)