Hello all,
I have a small problem with HTTP posting. I need to
create, with a PHP script, a directory. The script is
working fine and is as simple as possible:
<?php
$currentdir=getcwd();
$dir = $currentdir . "/" . $_POST['new_dir'];
mkdir($dir, 0755);
?>
All I have to do is to send to the script the
directory name that has to be created.
I have tried the function HttpPostURL (from
httpsend.pas) with something like this:
HttpPostURL('http://www.MyWebsite.com/script.php',
URLData, aStream);
but I don't know what to put on the "URLData"
parameter. Should I use another function?
Thank you,
Andreas
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public