There is a file with a specified number of rows and php-script that processes the data. The problem is that I should define manually string in this script to process like this: $ url = 'http://text.ru'; instead http://text.ru How we can add to it looping all the rows from the file automatically? Thanks.
You can use the file handling API available in php to read from a file. Just read one line at a time from the file and process it. Look at the following link.