Herkus
2006-10-24 11:03:19 UTC
Hi all, first of all - sorry about my english...
My uploader.php is:
$target_path = "uploads/";
$target_path = $target_path . basename($_FILES['uploadedfile']['name']);
move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path))
Code in my program (VFP):
<...>
lhUrlFile = HttpOpenRequest( lhConnect, 'POST', lcOBj, 0, 0, 0, ;
bitor( INTERNET_FLAG_KEEP_CONNECTION, INTERNET_FLAG_RELOAD ), 0)
<...>
How my HttpSendRequest should looke like? HttpSendRequest(
lhUrlFile, yyy, yyy, xxx, Len(xxx) )
What should i write instead xxx and yyy? I cant understand how can i
POST variable "uploadedfile" to my uploader.php...
THANKS!
My uploader.php is:
$target_path = "uploads/";
$target_path = $target_path . basename($_FILES['uploadedfile']['name']);
move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path))
Code in my program (VFP):
<...>
lhUrlFile = HttpOpenRequest( lhConnect, 'POST', lcOBj, 0, 0, 0, ;
bitor( INTERNET_FLAG_KEEP_CONNECTION, INTERNET_FLAG_RELOAD ), 0)
<...>
How my HttpSendRequest should looke like? HttpSendRequest(
lhUrlFile, yyy, yyy, xxx, Len(xxx) )
What should i write instead xxx and yyy? I cant understand how can i
POST variable "uploadedfile" to my uploader.php...
THANKS!