title: Read each line of txt file to new array element and open links php
body: <p>i have names.txt</p>
  
  <p>for example:</p>
  
  <pre><code>name1 n\
  name2 n\
  name3 n\
  name87 n\
  name4e n\
  </code></pre>
  
  <p>and i just to curl this get method by line array of name.txt</p>
  
  <pre><code>php.com/test.php?name=name1
  php.com/test.php?name=name2
  ...
  php.com/test.php?name=name3e
  </code></pre>
  
  <p>all of array of in the name.txt</p>
  
  <p>my code is</p>
  
  <pre><code>$test = file_get_contents('name.txt'); // i need to use all name array in name.txt
  </code></pre>
  
  <p>and open it in while to php open website by all name in the name.txt</p>
  
  <p>and end after the name complete in name.txt and while to stop</p>
  
  <pre><code>file_get_contents($test');
  </code></pre>
  
  <p>thanks</p>