您好,我正在使用Dojo请求。
访问根目录中的php文件没有任何问题。
request.post('process.php', ....});
但是,如果process.php文件位于根目录外的脚本文件夹中,
request.post ('../scripts/'process.php',....}); It did not work.
和html中的form标记
<form action='process.php' method='post'> it worked
但它并不适用于
<form actio
我正在建立一个聊天,所有工作都很好。
当person A在文本区域中键入消息并单击HTML表单的SEND按钮时,PHP会将其发送到服务器。
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// collect textarea content
// inserted (appended) to mySQL table.
// collect chat content in mySQL table
// display chat content in a <div&g