rabbani Posted May 23, 2011 Share Posted May 23, 2011 I have configure Xampp my site is fully functional except for the error Deprecated: Function split() is deprecated in C:\Images_Database\imagesdb\htdocs\jpserver\system\frameworks\read_site_info.php on line 15 Line 15 code shown Below $sub_folders = split("/", $_SERVER["SCRIPT_NAME"]); how to split in a proper way can any one help me God Blessings Quote Link to comment https://forums.phpfreaks.com/topic/237181-deprecated-function-split-is-deprecated-in-pathhtdocs/ Share on other sites More sharing options...
devWhiz Posted May 23, 2011 Share Posted May 23, 2011 http://php.net/manual/en/function.explode.php Quote Link to comment https://forums.phpfreaks.com/topic/237181-deprecated-function-split-is-deprecated-in-pathhtdocs/#findComment-1218935 Share on other sites More sharing options...
rabbani Posted May 23, 2011 Author Share Posted May 23, 2011 Dear I am New to PHP. what changes shall i do with this line $sub_folders = split("/", $_SERVER["SCRIPT_NAME"]); Quote Link to comment https://forums.phpfreaks.com/topic/237181-deprecated-function-split-is-deprecated-in-pathhtdocs/#findComment-1218939 Share on other sites More sharing options...
rabbani Posted May 23, 2011 Author Share Posted May 23, 2011 Dear All When browsing my website images and content is perfect then i thought what is benefit of using Split function inside the code so i have uncommented the line 15 amd 18 the error has been eliminated Thanks for all regards Quote Link to comment https://forums.phpfreaks.com/topic/237181-deprecated-function-split-is-deprecated-in-pathhtdocs/#findComment-1218940 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.