bhanja_trinanjan Posted June 1, 2011 Share Posted June 1, 2011 Hello, I am trying to change the string 'IRM Reporting Portal' to 'BIS Reporting Portal' as illustrated in the attachment 'Requirements.jpg'. On inspecting 'IRM Reporting Portal', I noticed the function DoResizeMS (). I found this function call in only one file across the entire code. That file is 'header.dsp' (attached) This leads me to believe that the string 'IRM Reporting Portal' is being dynamically generated in 'header.dsp' (Between ob_get_contents() and ob_start()) How do I change that string to 'BIS Reporting Portal'? Please help. I am a PHP newbie. Thanks, Trinanjan. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/238094-need-help-with-php-code-ob_get_contents-and-ob_start/ Share on other sites More sharing options...
kenrbnsn Posted June 1, 2011 Share Posted June 1, 2011 Why do you think that function, which is a Javascript function, has anything to do with the string you're trying to change. I looked at the code you posted and I didn't see anything in there that would generate that string. Is there another PHP script? Ken Quote Link to comment https://forums.phpfreaks.com/topic/238094-need-help-with-php-code-ob_get_contents-and-ob_start/#findComment-1223484 Share on other sites More sharing options...
bhanja_trinanjan Posted June 1, 2011 Author Share Posted June 1, 2011 Why do you think that function, which is a Javascript function, has anything to do with the string you're trying to change. I looked at the code you posted and I didn't see anything in there that would generate that string. Is there another PHP script? Ken Thanks for your post. I do not think that there is another PHP script. I did a global search for 'IRM Reporting Portal' using Edit Plus. I did not find anything interesting. The similarities of the structures of the Inspected content (Google Chrome screenshot) and 'Header.dsp' seem to indicate that the string 'IRM Reporting Portal' is being generated dynamically. How do I proceed and debug further? Quote Link to comment https://forums.phpfreaks.com/topic/238094-need-help-with-php-code-ob_get_contents-and-ob_start/#findComment-1223490 Share on other sites More sharing options...
bhanja_trinanjan Posted June 2, 2011 Author Share Posted June 2, 2011 Any suggestions as to how I can debug this and identify how to change IRM to BIS? Quote Link to comment https://forums.phpfreaks.com/topic/238094-need-help-with-php-code-ob_get_contents-and-ob_start/#findComment-1224021 Share on other sites More sharing options...
Adam Posted June 2, 2011 Share Posted June 2, 2011 Try searching across the application's files for the text. If you still can't find anything, it's very possible that it's stored within the database. Quote Link to comment https://forums.phpfreaks.com/topic/238094-need-help-with-php-code-ob_get_contents-and-ob_start/#findComment-1224031 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.