【发布时间】:2016-06-19 02:22:32
【问题描述】:
我想获取文件名和路径,然后写在 textboy 这是我已经尝试过的
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<input placeholder="path" type="text" name="path" tabindex="2" required>
<input type="file" name="browse" value="browse">
<input type="submit" name="convert" value="convert">
<?php if(isset($_POST['browse'])){
$path=$_POST['abc'];
}
?>
</body>
【问题讨论】:
-
我的愿望是在我点击浏览按钮然后文本框“名称”之后文本更改为 /home/directory1/directory2/okay.txt(/path 然后 /file name)
-
您的问题格式不正确,我们无法正确理解您想要什么。花点时间编辑它。
标签: php netbeans browser textbox xampp