PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Hiscore Uploading

Hi,

I'm trying to write a highscore upload function on the ppc, and a server side perl script to accept the data.

The data will be sent as multipart/form-data.

I can create the form using html, and this works fine from a browser, but how do I do this from ppc using the wininet api?

<body>
<FORM action="http:\\www.xxxx.com/cgi-bin/upload.cgi" method="POST" enctype="multipart/form-data">
<p>Please chose a file to upload:</p>
<input type="FILE" name="file">
<input type="SUBMIT">
</FORM>
</body>

I already know the filename, but wrote this just to test the perl script.

Any help most appreciated.

Glen.
Googled:
<a href="http://www.developerfusion.com/show/3272/3/">this</a>