gudfry Posted July 17, 2008 Share Posted July 17, 2008 hello there; I 'am looking for someone who could give an idea about function using strpos, substr, strlen, I am just new in PHP and it hard for me how can i start. I want a function to distinguish or to read a multi-comment line of file. example : I have this in my file; comment line as an input / ouput /* $Author : Chad */ [/b] this will return Author : Chad /* Author : chad */ this will return false /* $chad : Author */ this will retun chad : Author. /* $ : Chad * this will return false. /* : Chad /* this will retun false. /* $Author : * this will return false. /* $chad : * this will return false. is there someone who has an idea?? pls help me thank in advance :?: :?: Link to comment https://forums.phpfreaks.com/topic/115207-how-can-i-get-the-content-of-a-file-which-is-the-multi-comment-line/ Share on other sites More sharing options...
AndyB Posted July 17, 2008 Share Posted July 17, 2008 Perhaps if you give us one example of a 'multi-comment line' and tell us just what you want to do with it, we can suggest what functions(s) are needed to produce the actual output you want from that example multi-comment line. Link to comment https://forums.phpfreaks.com/topic/115207-how-can-i-get-the-content-of-a-file-which-is-the-multi-comment-line/#findComment-592394 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.