No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Here is my code. It is perfectly working on Local but not server. Need any library to work on server. [CODE] <?php //include "../dbconnect/cnn_mysql.php"; //mysql_query("insert into admin (loginid, pass) values ('superuser', '".md5('mypassword123')."')"); if($_POST) { include "../dbconnect/cnn_mysql.php"; //$userid=mysql_real_escape_string($_POST["userid"]); //$pass=mysql_real_escape_string($_POST["pass"]); $userid=secure_form_data($_POST["userid"]); $pass=md5(secure_form_data($_POST["pass"])); $result=mysql_query("select * from admin where loginid='$userid'"); if($result && mysql_num_rows($result)>0) { … ![]() | |
I have a page it is working fine but header function is not redirecting onto another page, it stuck. When I enter the url then its works.. Here is my code.. I changed my server recently [CODE] <?php include "../dbconnect/cnn_mysql.php"; if($_POST) { $doneurl=''; if(array_key_exists('doneurl',$_POST)) $doneurl=$_POST["doneurl"]; else $doneurl=$_SERVER['HTTP_REFERER']; if(true)//$doneurl=="") $doneurl="mykpojobs.php"; // … | |
Not able to upload files on server. It is working fine in local. I want to upload some files. In my previous server it was uploading without any error.. not in new server. I set folder permission to 777, still it is not uploading. I delete existing and create new … | |
Re: [QUOTE=nikki05;1688157]Hi, I want to insert and select the data from the same table.I am using following query to insert and select the data from the same table. However, I am not able to insert the data. Is there any method to do this? $sql=mysql_query("INSERT INTO users (name,ref_no) VALUES( '$name', (SELECT … | |
How I can solve below problem.. ? [CODE]SoftException in Application.cpp:357: UID of script “/home/username/public_html/file.php” is smaller than min_uid[/CODE] | |
I recently switched to a new server... But I am facing problem. On opening every .php page I am getting [B]following error[/B]. Html pages are working fine but .php files not. I uploaded a simple php page that have a single echo statement... still I am getting below error.. [CODE] … |
The End.