PDA

View Full Version : Giving back...



pjhiggins
04-24-2004, 04:52 PM
Like many of us, the projects that I develop using AMS are not able to be distributed due to restrictions placed upon us by our employers/folks who paid for the app.
In my case, it's not a situation where I am not able to show my work in general but rather I am not able to release restricted corporate information that is contained inside my apps.

With this in mind, I've decided to release bits and pieces of some of my projects. Just the AMS goodies, not the corporate meat. ;)

Here's a goofy active button piece I tossed together for one of my projects. I still haven't decided if I will incorporate it into the release version yet.

Forgive the corporate branding; it's kinda integral to the piece...

1.7MB JackMenu.apz (http://www.littlecity.net/ams_stuff/JackMenu.apz)

Comments & suggestions welcome!

eric_darling
04-24-2004, 05:43 PM
Very cool, PJ. I like the way it exits, too. Very slick little use of corporate identity to leave with your audience. Nice work!

Bruce
04-24-2004, 05:52 PM
Thanks PJ! Nice work.

pjhiggins
04-24-2004, 06:19 PM
Thanks for your positive replies. Always nice to get feedback! :cool

Here's another sample.

In this case I wanted to collect some system info and email it.

I had problems using the blat.dll method because my app was often run inside corporate LANs where Internet bound port 25 traffic was blocked.

The fix was to setup a PHP script out in the world that would take my info and mail it for me.

Here is the AMS portion: 166K SendEmail-PHP.apz (http://www.littlecity.net/ams_stuff/SendEmail-PHP.apz)

I can't have folks sending email from my server so the script dosnt exist there, you'll have to setup the PHP on your own server before you can use this.



<?php

$mail_to = $_REQUEST['mail_to'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$mail_from = $_REQUEST['mail_from'];
$reply_to = $_REQUEST['reply_to'];

$headers = "From: $mail_from\r\n";
$headers .= "Reply-To: $reply_to\r\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";

mail(
$mail_to,
$subject,
$message,
$headers
);

?>


I hope this is helpful to someone.

travisperkins
02-10-2006, 12:26 PM
This could be really helpful to me but I can not work out where to enter in the address of the php script on my server.

RizlaUK
05-30-2006, 02:01 PM
This could be really helpful to me but I can not work out where to enter in the address of the php script on my server.


on page 2,(send page) look in the page show tab, you will see it


Send = HTTP.Submit("http://www.yourserver.com/ams_sendmail.php", SubmitValues, SUBMITWEB_POST, 20, 80, nil, nil);

Dialog.Message("Result message from web server. Blank usually means your message was sent.", ""..Send, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

BlueMe
04-07-2008, 04:40 AM
Thanks for your generosity. This is the only example that really works.

Good luck to you!

rexzooly
04-07-2008, 06:45 AM
I like :) i never thought of using that kinda on and off option to move images
thanks thats give me a idea to integrat in to a new project if i ever come up
with a new idea that is for a project :)


Rex

:yes