Thanks Shryku,
Where is the file located? ....
Sorry about not being clear on that point.
The file is itself.
Therefore if I have a file named DSL-2004-01-04.php
Inside that actual file I want to use the name of the file to set the variables for
$speed = 1st 3 characters of the filename
$date = last 10 characters of the filename
This way all I have to do is rename the file to 56K-2004-01-04.php
and the variables change automatically without any code adjustments.
Likewise renaming the file and changing the date.
For those curious as to why such coding, I have an asx file with the exact same filename.asx which streams a windows media video file (WMV) with the exact same filename.WMV.
Thanks.