|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-05-21 15:39 UTC] kniprath dot l at wver dot de
I installed the PHP4 software (actual Windows binary 4.04pl1) with the actual Apache-Server on a NT 4.0 server. The FTP-Server I try to contact runs localy on my NT4.0 PC.
The following script
<?php
$ftp_user = "username";
$ftp_pass = "password";
$ftp_server = "127.0.0.1";
$conn_id = ftp_connect("$ftp_server");
echo $conn_id;
$login_result = ftp_login($conn_id, "$ftp_user", "$ftp_pass");
?>
causes "Warning: Unable to find ftpbuf 0 in ....".
$conn_id is null, it seems, that there is no connection.
I found some similar error-messages in the php-FAQ's, but no answer.
bye...
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 19:00:01 2025 UTC |
What was the result? Does fopen("http://...") or fopen("ftp://...") work for you? --Jani