Page 1 of 1

str_ireplace

Posted: Sat Mar 29, 2008 12:30 pm
by spacebiscuit
Hi guys,

I am trying to use the function str_ireplace but I am getting the following error message:

Call to undefined function: str_ireplace()

Also can anyone suggest how I should implement the following. For the str_replace function I have an array or words which I am using to search keywords for. I have written two of my own functions that use this function but I don't want to have to declare the array twice. So how can I access the two arrays, should I use 'require' or 'include' or something simialr.

Thanks in advance,

Rob.

Re: str_ireplace

Posted: Sat Mar 29, 2008 3:40 pm
by Christopher
Check the manual page to see if it is available in your version of PHP.