Try using:
allow_call_time_pass_reference  = On

in your php.ini. This should turn the warning off.

Daniel

> -----Original Message-----
> From: Martin.Andrew [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, April 11, 2002 3:35 PM
> To: Php-Windows
> Cc: Daniel Reichenbach
> Subject: RE: [PHP-WIN] Warnings...
> 
> 
> Anyone know a way of turning WARNINGS off with the ini_set() 
> function? I can't find it in the list of changeable options!
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Daniel Reichenbach [mailto:[EMAIL PROTECTED]]
> Sent: 11 April 2002 14:26
> To: Php-Windows
> Subject: RE: [PHP-WIN] Warnings...
> 
> 
> The only reference i found is here: 
> http://www.php.net/manual/en/function.ini-> set.php
> 
> But no 
> description what it does :-(
> 
> If i 
> understood it right, you called a function like this
> 
> myFunction(&$variable)
> 
> You can do the following, which should work. I use it myself
> to pass references to database handles.
> 
> myFunction($variable);
> 
> and in your function declaration use:
> 
> function      myFuntion( &$variable )
>       {
>               $this->variable =       &$variable;
>       } 
> 
> > I keep getting the following warning message on my production
> > server (ISP
> > hosted), but local version doesn't have this problem! I check 
> > the local INI
> > file and can't find the "allow_call_time_pass_reference" mentioned!
> > 
> > Any ideas?
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to