• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Access Scripting-Form Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Scripting-Form Data


  • Subject: Re: URL Access Scripting-Form Data
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Thu, 5 Sep 2002 15:02:47 +1000

Hmm, I don't think the original poster was confused about this. I think they were asking how to use URL Access Scripting to upload an image or how to emulate the UPLOAD FILE button that appears in some web forms.



At 11:00 AM +1000 5/9/02, Timothy Bates wrote:
> I can use the osax to submit form data to my cgi correctly, but I'm
not understanding what syntax I need to put into my form data
when I have an input that is an image. For example if my web page
normally would contain an image inside of a form such as:

<input type=image name=categories src=/somePath/find.jpg
border=0>

The input is not submitting the image, the image is simply what is
displayed, and all form items, irrespective of what their screen display
may, be are submitted as key=value pairs.

Clicking on an <image> field submits the form immediately. If that is all it
is doing, then you can ignore it completely - it is just an attractive
submit button.

The <image> field also provides the x and y location of the users click
(with 0,0 being the top-left or the image). These are submitted under new
variables as follows:

http://www.me.com/index.php?categories.x=100&categories.y=200


So there you go.

tim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

phone: 02 9318 0877 fax: 02 9318 0530
http://www.asauthors.org mailto:email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: URL Access Scripting-Form Data
      • From: Timothy Bates <email@hidden>
References: 
 >Re: URL Access Scripting-Form Data (From: Timothy Bates <email@hidden>)

  • Prev by Date: Re: Why is a-b not equal to ((source of a) -b) ?
  • Next by Date: Re: Why is a-b not equal to ((source of a) -b) ?
  • Previous by thread: Re: URL Access Scripting-Form Data
  • Next by thread: Re: URL Access Scripting-Form Data
  • Index(es):
    • Date
    • Thread