home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

CreateURL

$

inet


->CreateURL
(

scheme

, 

hostname

, 

port

, 

username

, 

password

, 

path

, 

extrainfo

, [

flags

])
$

inet


->CreateURL
($

hashref

, [

flags


])
 

Creates a URL from its component parts. Returns undef on error and the created URL if successful. If you pass a hash reference, the following values are taken from the array:

%hash=(
  "scheme"    => "scheme",
  "hostname"  => "hostname",
  "port"      => port,
  "username"  => "username",
  "password"  => "password",
  "path"      => "path",
  "extrainfo" => "extrainfo",
);
If you don't specify a flags parameter, ICU_ESCAPE will be used by default; for the other possible values of flags, refer to the Microsoft Win32 Internet Functions documentation.











??????????????@Mail.ru