If the URL is all you're sending, then the password is going to have to be in the URL...
Instead, if you can, have the Delphi program put together a complete http POST request, and send that to PHP. With those, the submitted data is in the body, not in the URL
Something looking a bit like
POST http://www.example.com/login.php HTTP/1.0
User-Agent: Flash 5
Host: www.example.com
Content-type: Mozilla/5.0 (Windows; U; Win95; en-GB; rv:1.1) Gecko/20020826
application/x-www-form-urlencoded
Content-length: 37
user=name&password=secret&GotoURL=xyz
Note that those line breaks should be Internet- (and Windows-) convention linebreaks: \r\n. The blank line signals the end of the header and the start of the body.