Jump to content

i need idea


gudfry

Recommended Posts

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/114973-i-need-idea/
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.