afternoon peeps,...
I am currently working on a site that has lots of reports.
When a visitor clicks on the report, instead of viewing the report
they get a banner advert and a message asking them to continue to the
report.
I have duplicated all of the reports and changed the names so all the
reports now have the number1 prefixed before the file name. i.e
report.html is now contained in 1report.html, reportlong.html is now
found in 1reportlong.html and so on.
I need a script that will view the filename, (report.html) and add
the number 1 to the start then either create the link or put the
filename in the link.
I dont really want to create hundreds of links and have to change all
of the filenames manually, I'd like to be able to copy and paste the
same script in the source code and have it link to the new page.
any suggestion?
thanks
Ljw