![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Populate picklist from directory and return file name
From: sunbum <mbrashars@gmail.com>
Date: Wed Sep 14 2005 - 19:27:58 CEST
Sorry for replying to my own post.
Here is the latest version and I think it's closer.
Can someone help me clean up the syntax?
Thanks!
<?php
$file = "/inetpub/wwwroot/templogs/"+$_POST['file'];
else {
<?php
}
?>
<?php
<form name="cooler" action="<?php $server['PHP_SELF']?>"
echo "<select name='file'>";
<input type="submit" value="Submit">;
}
?>
?>
------- Code end (this is NOT in the script ------------------
Mike
|