I have got a little ereg problem.
I have a text file wich on a sertain line holds just a picture name.
I let the file() funtion get the the data from the text file (multiple lines).
The problem is when i want to use the line with the picture name in a complete URL there is some kind of whitespace behind the picture name. Because of this the url is not correct.
I tried to clear the whitespace with the ereg() function. But it doesn't come off.
Can someone help me please?
Thanks