-
Posts
34 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Mahdi
-
-
In the name of GODHello guys: I have worked with php/mysql and then I decided switch to java . I dont have any information about java ? What is j2ee , jsp ? which one is used for web ? Which one is best for web programming ? Please if you have any information about Java explain for me for example :
- Java types?
- Java servers?
- web application ?
- windows application ?
and any kind of information about Java? I like web programming language Thanks for your helping.
-
(to creating a session for limit links)which part of following code is wrongthis page is for comparing users data ------------------------------------------------------------check.php<body > <?php $host = ""; $user = ""; $pass = ""; $database=""; $con=mysql_connect($host,$user,$pass); if(!$con) { die ( "error" . mysql_error()); } mysql_select_db($database,$con); $name="$_POST[username]"; $result=mysql_query("SELECT * FROM Persons"); $row = mysql_fetch_array($result); if ($row['LastName'] == $_POST['password'] && $row['FirstName'] == $_POST['username']) { session_start(); $_SESSION['logged_in']=true; header ( 'Location : dow.php'); } else { echo "false" ; } ?></body> </html>
-
thanke you Moderator , show me any example?please make an example
-
$_SESSION should be used for first of all pages or just for result page ?
-
thanke you birbal but i have never used $_session() in my web site .do not be a problem?do not put code in my result page?-----------------------------------------------my result page<?php$host = "";$user = "";$pass = "";$database="";$con=mysql_connect($host,$user,$pass);if(!$con){die ( "error" . mysql_error());}mysql_select_db($database,$con);$name="$_POST[username]";$result=mysql_query("SELECT * FROM Persons");while($row = mysql_fetch_array($result)){if ($row['LastName'] == $_POST['password'] && $row['FirstName'] == $_POST['username']){header ("Location: Official.php");}}?>
-
Hi birbal Thank you for your suguestion but I have adjusted all the setting besed on mysql please say me if you have solutionI like Hindi
-
In the name of GODHello guys:I want to limite some links to non-members , I use php and mysql .what should i do ?I have searched a lot about it but there is no answer!Please help me guys.Thank you.
-
In the name of GODHello guys:I want to limite some links to non-members , I use php and mysql .what should i do ?I have searched a lot about it but there is no answer!Please help me guys.Thank you.------------------------------------my result page <?php $host = ""; $user = ""; $pass = ""; $database=""; $con=mysql_connect($host,$user,$pass); if(!$con) { die ( "error" . mysql_error()); } mysql_select_db($database,$con); $name="$_POST[username]"; $result=mysql_query("SELECT * FROM Persons"); while($row = mysql_fetch_array($result)) { if ($row['LastName'] == $_POST['password'] && $row['FirstName'] == $_POST['username']) { header ("Location: Official.php");} } ?>
Any idea ?
in Java/JSP/J2EE
Posted
If you have any idea please givr me