Jump to content

[SOLVED] stripos alternative in PHP4


foochuck

Recommended Posts

Hello,

 

I developed a website using PHP5 and just found it's being hosted on a server using PHP4.

 

Could someone let me know what the alternative to the function 'stripos' is in PHP4? Here is a sample of my code:

 

if (stripos($_SERVER['SCRIPT_NAME'],'index') !== false) {
$bodyClass = "homeBG";
} 

 

Thanks!

 

foochuck

Link to comment
https://forums.phpfreaks.com/topic/168830-solved-stripos-alternative-in-php4/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.