Like:
File: ini.php <?php ini_set(); ini_set(); ?>
Then:
<?php include 'ini.php'; ?>




Posted 06 April 2012 - 04:49 PM
File: ini.php <?php ini_set(); ini_set(); ?>
<?php include 'ini.php'; ?>
Posted 06 April 2012 - 04:55 PM
Posted 06 April 2012 - 10:21 PM
Posted 06 April 2012 - 10:32 PM
$_REQUEST = array_map('stripslashes', $_REQUEST);
Posted 07 April 2012 - 01:19 AM
Quote
magic_quotes_gpc = Off
Quote
Posted 07 April 2012 - 01:45 AM
hiddenghost, on 07 April 2012 - 05:32 AM, said:
class Request
{
/**
* Finds and returns the value within the given array,
* removing the slashes if magic_quotes_gpc is on.
* @param string $key The key of the array element to find.
* @param array $source The array to be searched.
* @returns mixed The value if it exists, null otherwise.
*/
private static function find($key, array &$source)
{
if (!isset($source[$key])) {
return null;
}
if (get_magic_quotes_gpc()) {
return stripslashes($source[$key]);
}
return $source[$key];
}
/**
* Get a GET value
* @param string $key The key of the GET value
* @returns mixed The value if it exists, null otherwise.
*/
public static function get($key)
{
return self::find($key, $_GET);
}
/**
* Get a POST value
* @param string $key The key of the POST value
* @returns mixed The value if it exists, null otherwise.
*/
public static function post($key)
{
return self::find($key, $_POST);
}
}
$myGetVar = Request::get("getVariable");
$myPostVar = Request::post("postVariable");
Posted 07 April 2012 - 01:57 AM
Atli, on 07 April 2012 - 02:19 AM, said:
Quote
magic_quotes_gpc = Off
This post has been edited by hiddenghost: 07 April 2012 - 02:03 AM
Posted 07 April 2012 - 02:13 AM
display_errors = On error_reporting = E_ALL
Posted 07 April 2012 - 02:50 AM
# Do not Remove! Added by PHP Switcher from cPanel to use an alternate PHP version. Contact Support for details. AddHandler application/x-httpd-php-5.3.8 .php
Posted 07 April 2012 - 03:01 AM
hiddenghost, on 07 April 2012 - 09:50 AM, said:
php_flag magic_quotes_gpc Off
Posted 07 April 2012 - 03:06 AM
Atli, on 07 April 2012 - 04:01 AM, said:
hiddenghost, on 07 April 2012 - 09:50 AM, said:
php_flag magic_quotes_gpc Off
php_flag magic_quotes_gpc Off
Posted 07 April 2012 - 03:09 AM
hiddenghost, on 07 April 2012 - 10:06 AM, said:
Posted 07 April 2012 - 03:13 AM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
