Actually am working in existing project which is developed in .net, am converting the .net into php code. am facing problem after uploading the .php in server. amgetting the error message like "The page cannot be found" but its working perfectly in local host
2 4276how to make website package setup like desktop software setup ... that front end and backend can include in setup like single package...?
1994m new to xampp i want to configure file server in xampp... is it possible ??? if so help me....
2259I am working in VFP with no knowledge of web programming.I want to learn web database programmin. Can I choose PHP and MYSQL for that?
2 4942hai plz inform me specific books fo0r paper1,paper2 and paper 3 of group2 examination... plz giv me at the earliest......
1 3394i start a new session with : session_start(); then i set some session variable like this : $_SESSION['name']=$_POST['name'];\ and some another variables. at bottom of page i set header to diffrent page : header('location: index.php'); exit(); now in new page (index.php i can't access to my session variables, like $_SESSION['name']) what's wrong ? thanks. here is my files : a.php ======================================== session_start(); require ('config.inc.php'); if(isset($_POST)) foreach($_POST as $v=>$k) { $items[$v]=$k; } $sql="SELECT * FROM members WHERE username='{$items['user']}' AND pass=MD5('{$items['Password']}') "; $res=mysql_query($sql); $row=mysql_fetch_assoc($res); if($row['username']) { $_SESSION['type']=$row['type']; $_SESSION['name']=$row['name']; $_SESSION['family']=$row['family']; $_SESSION['username']=$row['username']; $_SESSION['date']=$row['date']; } header('location: admin.php'); exit(); ====================================== admin.php ===================================== . . . =================================
5 7593
How to create an empty array in php?
Explain what is meant by pear in php?
What is the best way to test the strpos() return value in php?
How to send email using php script?
What is difference between session_unset and session_destroy?
What is a http session?
What is the meaning of ‘escaping to php’?
Where do I run php code?
Which character is used to match exactly one character?
How to read one character from a file?
How to delete file in php?
Is php a framework?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What is the scope of a variable defined outside a function?
Tell me how a constant is defined in a php script?