PDA

View Full Version : Don't Understand



John Fletcher
08-10-2007, 10:13 AM
Hello,

I don't understand.... Is this subject not to be asked here.... I would like a resolution to this issue... I have noticed that there are NO replies to this subject.... Is this because I have asked the wrong question the wrong way :huh or am I in the wrong section.... Please advise....

ORIGINAL POST:

I was given this below link by Adam from Indigorose to look over - it works really nice - yet I would like some assistance if available from all you Pro's...

The link for the AMS file recommended is:

http://www.indigorose.com/forums/showthread.php?t=12940

Question:

Once a student takes the test and completes it - the results are visible in a section called " paraSummary " I want to somehow capture this data from this field or section and submit it via email to a pre-defined recipient when the user selects the Exit Button..... Is this Possible? Is there a solution?


Thanks in advance.....


Best Regards,

John:

Adam
08-10-2007, 02:36 PM
The only way that I can see is to use HTTP.Submit() (http://www.indigorose.com/webhelp/ams60/Program_Reference/Actions/HTTP.Submit.htm) to send this info to a server side script. You can set up a very simple PHP page that simply emails the info that it receives. There is no other way that I know of to directly send an email from AMS.

Adam Kapilik

FoxLeader
08-10-2007, 02:56 PM
Well, you could always include some portable PHP server to execute directly, perhaps it would add at least 10 to 20 MB of data...

Just google "free portable php server" and look at those results ;)

This solution would avoid the trouble of setting up and operating an online server.

That's my 2 cents ;)

John Fletcher
08-10-2007, 03:02 PM
Adam,

Thanks for your reply - are there any examples of this code I can see - your assistance was terrific by sharing the AMS file - and it functions without a flaw...

There has to be a way to tell AMS to capture the "paraSyummary" information produced by the Quiz AMS program so as to be emailed using the steps you indicate... but there has to be correct steps taken from within AMS as well as outside the program in order for this to function correctly...

I am a new user to AMS and have looked completely throughout the codes and scripts to see what would work and am at a loss....and unaware as to go about doing those functions.. I can assure you - one working template and I can duplicate the effort... Thanks Again... You are Great!

Best Regards,

John