I've enabled it in my ini so I don't get that message, but it's rather easy to
fix. In any function that needs a pass by reference, an "&" needs placed in
front
of the variables in the function that need it.
e.g.:
function AddOne(&$x)
{
$x++;
}
$a = 1;
AddOne($a);
//$a now = 2
Adv. Systems Design (asd_2000@xxxxxxxxx) wrote*:
>
>"Warning: Call-time pass-by-reference has been
>deprecated..."
>
>I am sure this is a common problem...anybody has any
>ideas how to fix...its on a hosted site so I can't
>exactly go messing with php.ini...
>
>Thanks
>
>Luis
>
>=====
>----------------------------------------------------
>Make it idiot-proof and someone will make a better idiot.
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Greetings - send holiday greetings for Easter, Passover
>http://greetings.yahoo.com/
>
>_______________________________________________
>Phpgroupware-users mailing list
>Phpgroupware-users@xxxxxxx
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|