sina40
August 14th, 2017, 19:52
یک مشکل در php دارماگر ممکنه راهنمایی کنید
بنده در فایل error_log کلا این پیام رو دریافت میکنم
PHP Deprecated:mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cp20878/myweb.ir/Connections/saha.php (http://myweb.ir/Connections/saha.php) on line 9
saha.php فایل دیتابیس من هست
<?php# FileName="Connection_php_mysql.htm"# Type="MYSQL"# HTTP="true"$hostname_saha = "localhost";$database_saha = "cp20878_ooppn";$username_saha = "cp20878_ooppn";$password_saha = "ZUWt1(cNgLDC"; $saha = mysql_pconnect($hostname_saha, $username_saha, $password_saha) or trigger_error(mysql_error(),E_USER_ERROR); mysql_set_charset('utf8', $saha);?>
بنده در فایل error_log کلا این پیام رو دریافت میکنم
PHP Deprecated:mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cp20878/myweb.ir/Connections/saha.php (http://myweb.ir/Connections/saha.php) on line 9
saha.php فایل دیتابیس من هست
<?php# FileName="Connection_php_mysql.htm"# Type="MYSQL"# HTTP="true"$hostname_saha = "localhost";$database_saha = "cp20878_ooppn";$username_saha = "cp20878_ooppn";$password_saha = "ZUWt1(cNgLDC"; $saha = mysql_pconnect($hostname_saha, $username_saha, $password_saha) or trigger_error(mysql_error(),E_USER_ERROR); mysql_set_charset('utf8', $saha);?>