}
}
+/* {{{ proto string crypt(string str [, string salt])
+ Encrypt a string */
PHP_FUNCTION(crypt)
{
char salt[PHP_MAX_SALT_LEN+1];
return_value->type = IS_STRING;
pval_copy_constructor(return_value);
}
-
+/* }}} */
#endif
/* Implementation of the language Header() function */
+/* {{{ proto void header(string header)
+ Send a raw HTTP header */
PHP_FUNCTION(Header)
{
pval **arg1;
convert_to_string_ex(arg1);
sapi_add_header(Z_STRVAL_PP(arg1), Z_STRLEN_PP(arg1), 1);
}
-
+/* }}} */
PHPAPI int php_header()
{
}
/* php_set_cookie(name,value,expires,path,domain,secure) */
+/* {{{ proto void setcookie(string name [, string value [, int expires [, string path [, string domain [, string secure]]]]])
+ Send a cookie */
PHP_FUNCTION(setcookie)
{
char *cookie, *encoded_value = NULL;
}
#endif
}
-
+/* }}} */
int php_headers_unsent(void)
{
}
}
+/* {{{ proto int headers_sent(void)
+ Return true if headers have already been sent, false otherwise */
PHP_FUNCTION(headers_sent)
{
SLS_FETCH();
RETURN_FALSE;
}
}
+/* }}} */
/*
* Local variables:
}
/* main function */
+/* {{{ proto array getimagesize(string imagefile[, array info])
+ Get the size of an image as 4-element array */
PHP_FUNCTION(getimagesize)
{
pval **arg1,**info = 0;
efree(result);
}
}
+/* }}} */