PHP Web基础教程

WBOY
Release: 2016-06-23 14:32:44
Original
1076 people have browsed it

简介:这是PHP Web基础教程的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=336638' scrolling='no'>

1. PHP下接收客户端传递参数的方法

$_GET['userName']

$_POST['userName']

如果将Php.ini文件中的register_globals = Off 改成 register_globals = on

可以直接使用客户端传递的变量 $userName

2. 提交到当前页面

action="当前页面"

判断是否是提交过来的方法:if($_POST['submit']){//进行一些数据库相关操作}

“PHP Web基础教程”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/336638.html pageNo:10
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!