PHP+MYSQL编程问题
来源:百度文库 编辑:超级军网 时间:2024/04/29 21:59:57
PHP+MYSQL编程问题
目前我采用的空间是PHP+MYSQL类型的,大家有关于PHP方面的编程问题,欢迎一起讨论
空间支持的功能如下,我写了一段PHP邮件例程也在下面,供参考:
★PHP4.3.4(带2.1.10a 加速器) /Apache2.0.48/GD2.1x/Zend 加速及加密
可设置虚拟目录;
★数据库可在线管理,空间不限,支持Mysql或者Sql sever数据库;
★新增空间流量统计功能,可实时查看访问量、访问IP数、流量大小和CPU执行
时间等网站状态
★送免费的留言板和计数器
--------------------------------------------------------------------------------
例程如下:
<?
if($send){
$hearer="From:$from\nReply-T$from\nX-Mailer: PHP/".phpversion()."\nContent-Type:text/html";
$result=mail($to,$subject,$body,$hearer);
if($result)
echo "邮件已成功发送";
}
?>
<html>
<body>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#6699FF">
<form method="post">
<tr bgcolor="#E7E7CB">
<td width="20%" height="26">发件人:</td>
<td width="80%"><input name="from" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="25">收件人:</td>
<td><input name="to" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="24">邮件标题:</td>
<td><input name="subject" type="text" size="50"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="27">邮件内容:</td>
<td><textarea name="body" cols="60" rows="10"></textarea></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="28"> </td>
<td>
<input type="hidden" value="1" name="send">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table>
</body>
</html>
--------------------------------------------------------------------------------
PHP虚拟主机的服务提供商中,目前首推的是CNNIC的其中一家域名注册机构---时代互联
(www.now.net.cn),他们早在2000年就已经推出PHP的虚拟主机了,经笔者的使用测试,他
提供的PHP空间性能非常的稳定,版本也会定期的更新,目前的PHP空间支持的功能有:
目前我选用的是时代互联的虚拟专用型B, 配置是:PHP4.3.4+MYSQL4.0.17数据库的
时代互联的php空间购买方法: http://www.now.net.cn/host 可在线申请
超值优惠套餐: http://now.net.cn/special/
喜欢PHP和建网站的朋友可以上这个网址来看看,相信会在PHP的使用上有更深的认识。
我的QQ:199332496 時代互联的业务咨询QQ:108786612,
Tel:0756-3813158、3813159
网站推广方法:登录搜狐、新浪、网易、百度搜索引擎,
详细请看时代互联网站。
MSN: linda@now.net.cn 朋友们可以随时与我联系^_^
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
基本B型主机 + 国际顶级域名 免费送100Mb邮局 350 元/年
基本B型主机+.CN 免费送100Mb邮局 450 元/年 520
商务型B+.CN域名 送800M 空间邮箱 1300 元/年
虚拟专用型B+.CN域名+国际顶级域名 送2000M VIP 企业邮局 3800 元/年
免费网络电话支持(市场二部): http://www.now.net.cn/customer/moreline.net
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
服务器租用:E EAGLE SERVER 经济商务系列 6000 1360元/月
配置请见:www.todayidc.comPHP+MYSQL编程问题
目前我采用的空间是PHP+MYSQL类型的,大家有关于PHP方面的编程问题,欢迎一起讨论
空间支持的功能如下,我写了一段PHP邮件例程也在下面,供参考:
★PHP4.3.4(带2.1.10a 加速器) /Apache2.0.48/GD2.1x/Zend 加速及加密
可设置虚拟目录;
★数据库可在线管理,空间不限,支持Mysql或者Sql sever数据库;
★新增空间流量统计功能,可实时查看访问量、访问IP数、流量大小和CPU执行
时间等网站状态
★送免费的留言板和计数器
--------------------------------------------------------------------------------
例程如下:
<?
if($send){
$hearer="From:$from\nReply-T$from\nX-Mailer: PHP/".phpversion()."\nContent-Type:text/html";
$result=mail($to,$subject,$body,$hearer);
if($result)
echo "邮件已成功发送";
}
?>
<html>
<body>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#6699FF">
<form method="post">
<tr bgcolor="#E7E7CB">
<td width="20%" height="26">发件人:</td>
<td width="80%"><input name="from" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="25">收件人:</td>
<td><input name="to" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="24">邮件标题:</td>
<td><input name="subject" type="text" size="50"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="27">邮件内容:</td>
<td><textarea name="body" cols="60" rows="10"></textarea></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="28"> </td>
<td>
<input type="hidden" value="1" name="send">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table>
</body>
</html>
--------------------------------------------------------------------------------
PHP虚拟主机的服务提供商中,目前首推的是CNNIC的其中一家域名注册机构---时代互联
(www.now.net.cn),他们早在2000年就已经推出PHP的虚拟主机了,经笔者的使用测试,他
提供的PHP空间性能非常的稳定,版本也会定期的更新,目前的PHP空间支持的功能有:
目前我选用的是时代互联的虚拟专用型B, 配置是:PHP4.3.4+MYSQL4.0.17数据库的
时代互联的php空间购买方法: http://www.now.net.cn/host 可在线申请
超值优惠套餐: http://now.net.cn/special/
喜欢PHP和建网站的朋友可以上这个网址来看看,相信会在PHP的使用上有更深的认识。
我的QQ:199332496 時代互联的业务咨询QQ:108786612,
Tel:0756-3813158、3813159
网站推广方法:登录搜狐、新浪、网易、百度搜索引擎,
详细请看时代互联网站。
MSN: linda@now.net.cn 朋友们可以随时与我联系^_^
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
基本B型主机 + 国际顶级域名 免费送100Mb邮局 350 元/年
基本B型主机+.CN 免费送100Mb邮局 450 元/年 520
商务型B+.CN域名 送800M 空间邮箱 1300 元/年
虚拟专用型B+.CN域名+国际顶级域名 送2000M VIP 企业邮局 3800 元/年
免费网络电话支持(市场二部): http://www.now.net.cn/customer/moreline.net
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
服务器租用:E EAGLE SERVER 经济商务系列 6000 1360元/月
配置请见:www.todayidc.com
目前我采用的空间是PHP+MYSQL类型的,大家有关于PHP方面的编程问题,欢迎一起讨论
空间支持的功能如下,我写了一段PHP邮件例程也在下面,供参考:
★PHP4.3.4(带2.1.10a 加速器) /Apache2.0.48/GD2.1x/Zend 加速及加密
可设置虚拟目录;
★数据库可在线管理,空间不限,支持Mysql或者Sql sever数据库;
★新增空间流量统计功能,可实时查看访问量、访问IP数、流量大小和CPU执行
时间等网站状态
★送免费的留言板和计数器
--------------------------------------------------------------------------------
例程如下:
<?
if($send){
$hearer="From:$from\nReply-T$from\nX-Mailer: PHP/".phpversion()."\nContent-Type:text/html";
$result=mail($to,$subject,$body,$hearer);
if($result)
echo "邮件已成功发送";
}
?>
<html>
<body>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#6699FF">
<form method="post">
<tr bgcolor="#E7E7CB">
<td width="20%" height="26">发件人:</td>
<td width="80%"><input name="from" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="25">收件人:</td>
<td><input name="to" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="24">邮件标题:</td>
<td><input name="subject" type="text" size="50"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="27">邮件内容:</td>
<td><textarea name="body" cols="60" rows="10"></textarea></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="28"> </td>
<td>
<input type="hidden" value="1" name="send">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table>
</body>
</html>
--------------------------------------------------------------------------------
PHP虚拟主机的服务提供商中,目前首推的是CNNIC的其中一家域名注册机构---时代互联
(www.now.net.cn),他们早在2000年就已经推出PHP的虚拟主机了,经笔者的使用测试,他
提供的PHP空间性能非常的稳定,版本也会定期的更新,目前的PHP空间支持的功能有:
目前我选用的是时代互联的虚拟专用型B, 配置是:PHP4.3.4+MYSQL4.0.17数据库的
时代互联的php空间购买方法: http://www.now.net.cn/host 可在线申请
超值优惠套餐: http://now.net.cn/special/
喜欢PHP和建网站的朋友可以上这个网址来看看,相信会在PHP的使用上有更深的认识。
我的QQ:199332496 時代互联的业务咨询QQ:108786612,
Tel:0756-3813158、3813159
网站推广方法:登录搜狐、新浪、网易、百度搜索引擎,
详细请看时代互联网站。
MSN: linda@now.net.cn 朋友们可以随时与我联系^_^
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
基本B型主机 + 国际顶级域名 免费送100Mb邮局 350 元/年
基本B型主机+.CN 免费送100Mb邮局 450 元/年 520
商务型B+.CN域名 送800M 空间邮箱 1300 元/年
虚拟专用型B+.CN域名+国际顶级域名 送2000M VIP 企业邮局 3800 元/年
免费网络电话支持(市场二部): http://www.now.net.cn/customer/moreline.net
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
服务器租用:E EAGLE SERVER 经济商务系列 6000 1360元/月
配置请见:www.todayidc.comPHP+MYSQL编程问题
目前我采用的空间是PHP+MYSQL类型的,大家有关于PHP方面的编程问题,欢迎一起讨论
空间支持的功能如下,我写了一段PHP邮件例程也在下面,供参考:
★PHP4.3.4(带2.1.10a 加速器) /Apache2.0.48/GD2.1x/Zend 加速及加密
可设置虚拟目录;
★数据库可在线管理,空间不限,支持Mysql或者Sql sever数据库;
★新增空间流量统计功能,可实时查看访问量、访问IP数、流量大小和CPU执行
时间等网站状态
★送免费的留言板和计数器
--------------------------------------------------------------------------------
例程如下:
<?
if($send){
$hearer="From:$from\nReply-T$from\nX-Mailer: PHP/".phpversion()."\nContent-Type:text/html";
$result=mail($to,$subject,$body,$hearer);
if($result)
echo "邮件已成功发送";
}
?>
<html>
<body>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#6699FF">
<form method="post">
<tr bgcolor="#E7E7CB">
<td width="20%" height="26">发件人:</td>
<td width="80%"><input name="from" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="25">收件人:</td>
<td><input name="to" type="text"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="24">邮件标题:</td>
<td><input name="subject" type="text" size="50"></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="27">邮件内容:</td>
<td><textarea name="body" cols="60" rows="10"></textarea></td>
</tr>
<tr bgcolor="#E7E7CB">
<td height="28"> </td>
<td>
<input type="hidden" value="1" name="send">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table>
</body>
</html>
--------------------------------------------------------------------------------
PHP虚拟主机的服务提供商中,目前首推的是CNNIC的其中一家域名注册机构---时代互联
(www.now.net.cn),他们早在2000年就已经推出PHP的虚拟主机了,经笔者的使用测试,他
提供的PHP空间性能非常的稳定,版本也会定期的更新,目前的PHP空间支持的功能有:
目前我选用的是时代互联的虚拟专用型B, 配置是:PHP4.3.4+MYSQL4.0.17数据库的
时代互联的php空间购买方法: http://www.now.net.cn/host 可在线申请
超值优惠套餐: http://now.net.cn/special/
喜欢PHP和建网站的朋友可以上这个网址来看看,相信会在PHP的使用上有更深的认识。
我的QQ:199332496 時代互联的业务咨询QQ:108786612,
Tel:0756-3813158、3813159
网站推广方法:登录搜狐、新浪、网易、百度搜索引擎,
详细请看时代互联网站。
MSN: linda@now.net.cn 朋友们可以随时与我联系^_^
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
基本B型主机 + 国际顶级域名 免费送100Mb邮局 350 元/年
基本B型主机+.CN 免费送100Mb邮局 450 元/年 520
商务型B+.CN域名 送800M 空间邮箱 1300 元/年
虚拟专用型B+.CN域名+国际顶级域名 送2000M VIP 企业邮局 3800 元/年
免费网络电话支持(市场二部): http://www.now.net.cn/customer/moreline.net
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
服务器租用:E EAGLE SERVER 经济商务系列 6000 1360元/月
配置请见:www.todayidc.com