|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: ftp_systype (PHP 3 >= 3.0.13, PHP 4, PHP 5) ftp_systype -- Returns the system type identifier of the remote FTP serverDescriptionstring ftp_systype ( resource ftp_stream )Returns the system type identifier of the remove FTP server. Parameters
ftp_stream The link identifier of the FTP connection. Return ValuesReturns the remote system type, or FALSE on error. Examples
Example 1. ftp_systype() example
<?php
// ftp connection
$ftp = ftp_connect('ftp.example.com');
ftp_login($ftp, 'user', 'password');
// get the system type
if ($type = ftp_systype($ftp)) {
echo "Example.com is powered by $type\n";
} else {
echo "Couldn't get the systype";
}
?>
The above example will output something similar to: Example.com is powered by UNIXXLI. Function Handling Functions IntroductionThese functions all handle various operations involved in working with functions. RequirementsNo external libraries are needed to build this extension. InstallationThere is no installation needed to use these functions; they are part of the PHP core. Runtime ConfigurationThis extension has no configuration directives defined in php.ini . Predefined ConstantsThis extension has no constants defined. Table of Contents call_user_func_array -- Call a user function given with an array of parameters call_user_func -- Call a user function given by the first parameter create_function -- Create an anonymous (lambda-style) function func_get_arg -- Return an item from the argument list func_get_args -- Returns an array comprising a function's argument list func_num_args -- Returns the number of arguments passed to the function function_exists -- Return TRUE if the given function has been defined get_defined_functions -- Returns an array of all defined functions register_shutdown_function -- Register a function for execution on shutdown register_tick_function -- Register a function for execution on each tick unregister_tick_function -- De-register a function for execution on each tickRelated Function(s) |