欢迎来到天天文库
浏览记录
ID:22648228
大小:64.50 KB
页数:18页
时间:2018-10-30
《[计算机]php教程训练》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、第1章PHP概述国程序5-1
2、d>
3、pe=textsize=30>
4、an=2align=right>
广告文件已经存在
";exit;};//复制上传广告图到指定目录中copy($banner,"/home1/b
5、iglobe3/ad/".$banner_name);//配置系统环境变量putenv("ORACLE_SID=WWW");putenv("NLS_LANG=american_taiwan.zht16big5");putenv("ORACLE_HOME=/home/oracle/product/7.3.2");putenv("LD_LIBRARY_PATH=/home/oracle/product/7.3.2/lib");putenv("ORA_NLS=/home/oracle/product/7.3.2/ocommon/nls/admin/da
6、ta");putenv("ORA_NLS32=/home/oracle/product/7.3.2/ocommon/nls/admin/data");//对数据库进行操作$handle=ora_logon("用户名","密码")ordie;$cursor=ora_open($handle);ora_commitoff($handle);$query="insertintoad(url,banner,alt,descript,priority)values('$url','$banner_name','$alt','$descript',$prio
7、rity)";ora_parse($cursor,$query)ordie;ora_exec($cursor);ora_close($cursor);ora_logoff($handle);echo"
";echo"";–17–第1章PHP概述国echo"广
8、告网址:".$url;echo"
此文档下载收益归作者所有