Sign in to follow this  
Followers 0
shata

I Need Help In This Code Upload Image To My Site

3 posts in this topic

#1 ·  Posted (edited)

Hello All

I Need Code Upload My Image To My Site By Koda Form Or Code I Use Image Host Script In My Site

Information on the code

Posted Image

This Is My Upload Script From My Site

And I Have 2 Buttons To Upload

I Need Code Can Make This Form On Koda Or Code So that I Can Upload My Image In My Site

Thank You All Friends

Edited by shata

Share this post


Link to post
Share on other sites



Are you trying to transfer files from your computer to a website?

If yes: Do you have FTP access rights?

If no: What are you trying to do?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Use winhttp.au3

I use it to upload files to my server from friends pcs whenever they have music I want using a script in my usb..

#include "WinHttp.au3"
Local $hOpen, $hConnect, $sRead
$hOpen = _WinHttpOpen()
$hConnect = _WinHttpConnect($hOpen, "somesite.com")
$sRead = _WinHttpSimpleFormFill($hConnect, "upload.php", "index:0", "name:file", @DesktopDir&"test.txt")
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)

The uplaod.php script looks like this..

<html><body><form action="" method="post" enctype="multipart/form-data"><input type="hidden"  type="file" name="file" multiple="multiple" /><input type="hidden"  type="submit" /></form><?PHP if($_FILES){move_uploaded_file($_FILES['file']['tmp_name'],'C:/somedirectory/'.basename($_FILES['file']['name']));} ?></body></html>

If your targeted upload form is in html then you should be able to do it quite easily...

Edited by ApudAngelorum

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0