Hi there,
Im fairly new to php scripting, i have learnt the basics and am able to write a script to upload a file, rename it and move it to any given directory. But what i want to do is take a file already on my server, copy and rename it, move it, and redirect to it.
Basically i want to create a webpage that is unique to every visitor, so the page is the same in terms of layout, but the url is unique to the person who clicked on the link. I figured the best way to do this would be to create the generic page and place it on the server, then have a php script activate when a visitor clicks on the link.
So the script would take that file, copy and rename it, move it to a different directory, and then redirect to that page. I can't seem to figure out how to do this with already uploaded files. Any help would be greatly appreciated.
Regards.