Re: .acgi & form to send vars to an APP
Re: .acgi & form to send vars to an APP
- Subject: Re: .acgi & form to send vars to an APP
- From: Simon Forster <email@hidden>
- Date: Fri, 18 Mar 2005 12:22:39 +0000
Have you looked at the Standard Additions scripting dictionary.
Specifically Internet Suite: Commands: handle CGI request?
I have an _old_ AppleScript acgi (OS 8.x) I wrote to email a web page -
which I got 80% working (no inclusion of inline images in email), which
I'd be happy to send you if you think it'll help. FWIW, it relies in
some unique features of SIMS so you'll not get it working but it may
give you some syntax pointers. If you want it, email me off list.
HTH
Simon Forster
_____________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)870 1999 780 Fax: +44 (0)70 9230 5247
_____________________________________________________
On 18 Mar 2005, at 11:25, cedrik wrote:
Hi folks,
im desperate.........and this mailing list id my last hope !
Ive been spending the last 2 days searching for information on how to
process formdata through an .acgi (running acgi dispatcher) on to
applications. I just cant get my script to recognize any formdata !!!
I just need to do the following:
have a simple form that sends a few variables to the .acgi and then
pasees them to e.g. photoshop to create a new image based on inserted
parameters.
I have NO problem with controlling photoshop via AS - all that i need
is information on how to properly recognize the vars send by the form
in my script.
Ive tried both:
on «event WWWWsdoc» path_args ¬
and
on handle CGI request pathArgs searching for searchArgs ¬
all i try - it will just return "error getting the data" to the
browser when i call the script through the form.
If anyone of you could give ma a hint or a link to a well written
resource that will help understand what my fault could be, it´ll be
fantastic.
thank you so much !
tdmf
PS: i HAVE to use "POST" -> NOT "GET" in the form.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden