title: Change Php page Dynamically when Specific string get
body: <p>I am building a website in PHP language.<br>
  I have created three pages: page1, page2 and page3.</p>
  
  <p>I have a text file which contains three strings:</p>
  
  <p>The first string starts with # and ends with %</p>
  
  <pre>
  #cuurent~pass~defect,etc%
  </pre>
  
  <p>The second string starts with @ and ends with $</p>
  
  <pre>
  @message$
  </pre>
  
  <p>The third string starts with &amp;</p>
  
  <pre>
  &somthing
  </pre>
  
  <p>I want to fetch the value of string from text file in my PHP script and when I get the first string, display page1, when I get the second string, display page2, etc.</p>
  
  <p>Please advise.</p>