I'm trying to set magic quotes Off as my reading tells me that it's not good
to have it defaulted to On.
My ISP has this setting (from PHPINFO call):
magic_quotes_gpc on
>From reading the php.net manual I found this line
php_flag magic_quotes_gpc on
which it says to place in the .htac
On 11-10-01 11:57 AM, Jim Giner wrote:
I'm trying to set magic quotes Off as my reading tells me that it's not good
to have it defaulted to On.
http://php.net/manual/en/security.magicquotes.disabling.php
Stephen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
"Stephen" wrote in message
news:4e874606.2030...@rogers.com...
>>
> http://php.net/manual/en/security.magicquotes.disabling.php
>
> Stephen
That tells me nothing new.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2011-10-01 at 12:55 -0400, Stephen wrote:
> On 11-10-01 11:57 AM, Jim Giner wrote:
> > I'm trying to set magic quotes Off as my reading tells me that it's not good
> > to have it defaulted to On.
> >
> >
> http://php.net/manual/en/security.magicquotes.disabling.php
>
> Stephen
>
Stephe
If $correct_answer has a value of 3 what is the correct syntax needed to use
echo to display the value of $trivia_answer_3?
I know this is incorrect, but along the lines of what I am wanting to do:
echo $trivia_answer_$correct_answer;
$trivia_answer_1 = “1,000”;
$trivia_answer_2 = “1,250”;
$tr
On Oct 1, 2011, at 2:04 PM, Ashley Sheridan wrote:
> On Sat, 2011-10-01 at 12:55 -0400, Stephen wrote:
>
>> On 11-10-01 11:57 AM, Jim Giner wrote:
>>> I'm trying to set magic quotes Off as my reading tells me that it's not good
>>> to have it defaulted to On.
>>>
>>>
>> http://php.net/manual/e
On Oct 1, 2011, at 1:59 PM, Ron Piggott wrote:
>
> If $correct_answer has a value of 3 what is the correct syntax needed to use
> echo to display the value of $trivia_answer_3?
>
> I know this is incorrect, but along the lines of what I am wanting to do:
>
> echo $trivia_answer_$correct_answe
"Mike Mackintosh" wrote in message
news:52ea6b9e-ef12-44d3-bd31-72984e5e5...@angrystatic.com...
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, Oct 1, 2011 at 10:59 AM, Ron Piggott wrote:
> If $correct_answer has a value of 3 what is the correct syntax needed to
> use echo to display the value of $trivia_answer_3?
You can use variable variables [1] to access the variable by building its
name in a string:
$name = 'trivia_ans
On 11-10-01 02:03 PM, Mike Mackintosh wrote:
On Oct 1, 2011, at 1:59 PM, Ron Piggott wrote:
If $correct_answer has a value of 3 what is the correct syntax needed to use
echo to display the value of $trivia_answer_3?
I know this is incorrect, but along the lines of what I am wanting to do:
On 01 Oct 2011 at 18:59, Ron Piggott wrote:
> If $correct_answer has a value of 3 what is the correct syntax needed to use
> echo to display the value of $trivia_answer_3?
>
> I know this is incorrect, but along the lines of what I am wanting to do:
>
> echo $trivia_answer_$correct_answer;
>
> $
On Fri, Sep 30, 2011 at 3:03 AM, Richard Quadling wrote:
> On 29 September 2011 23:34, Tommy Pham wrote:
> > On Thu, Sep 29, 2011 at 3:27 PM, Tommy Pham wrote:
> >>
> >> On Thu, Sep 29, 2011 at 9:09 AM, Richard Quadling
> >> wrote:
> >>>
> >>> Hi.
> >>>
> >>> I'm looking to process very large X
Solved.
Had to have my host provider put a copy of php.ini in my public_html and
then I made the magic quotes setting change.
Interesting - running a phpinfo command still shows the setting as On
becuase it returns the server's settigns, NOT my individual folder setting.
--
PHP General Mail
On Sat, 1 Oct 2011, Mike Mackintosh wrote:
Best bet would to toss this into either an object or array for
simplification, otherwise that type of syntax would need the use of
eval.
example: eval('echo $trivia_answer_'.$correct_answer.';');
You could do:
$var = "trivia_answer_.$correct_ans
14 matches
Mail list logo