what im trying to do is this:
we have an ftp address
ftp://root:password@127.0.0.1:21
i want to make it so that its split up into
$user = root
$password = password
$ip = 127.0.0.1
$port = 21
ok i think i explained all , help please
Moderator: General Moderators
Code: Select all
arrayї"host"] = 127.0.0.1
arrayї"port"] = 21