I'd like to disable certain functions for a particular virtual host, and
leave them as is for all the rest.
The usual way to do this would be to include something like:
php_admin_value disable_functions system,exec
in the virtual host's configuration block. However, this doesn't work, and
s
> Can anyone advise or direct me to the documentation that references how to
> send a user to a URL if an 'if' statement is satisfied?
Assuming you hadn't sent any output before:
if ($condition){
header("Location: http://wherever.com";);
exit;
}
--
PHP General Mailing List (ht
It;'s entirely possible. Most database-related functions can take an
optional link identifier parameter. You didn't use it, and in that case,
database operations default to the last opened database connection. You
can however do something like:
$dblink1=mysql_connect($server1,$user1,$password1
> I can't seem to find any references to HTTP_X_FORWARDED_FOR in the PDF PHP
> documentation from January 2001, so you should probably best stick with
> either $HTTP_SERVER_VARS['REMOTE_ADDR'] or simply $REMOTE_ADDR (if you use
> $REMOTE_ADDR in functions make sure you do a global on it first) - I
4 matches
Mail list logo