im working on having all my .php pages being updatable by use of inclusion of another file (so say, test.php includes test.txt)
i'd like to have a form that looked like this:
File Name
(box) [Button: Upload]
Title of File
{box}
Comments:
{box}
so file name = fname or something, title of file = tfile or something and comments = comments
but also i want the uploaded file to
1) be uploaded to a specified dir, and i'd like the address for the file (on the server, say www.domain.com/files/file.doc
2) in the included file it writes out something similiar to:
<a href="$url_path">$tfile</a><br>
Comments:<br>
$comments
or something like that - sorry if that was confusing or my attempt at 2) ended up being parsed as html 🙂