Click here to Skip to main content
15,893,508 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Numeric value only Pin
Marc Firth2-Sep-09 23:17
Marc Firth2-Sep-09 23:17 
QuestionKubuntu updates [SOLVED] Pin
rastaVnuce2-Sep-09 4:35
rastaVnuce2-Sep-09 4:35 
Questionappache xampp server Pin
choudhari akash30-Aug-09 23:41
choudhari akash30-Aug-09 23:41 
AnswerRe: appache xampp server Pin
Marc Firth4-Sep-09 3:09
Marc Firth4-Sep-09 3:09 
AnswerRe: appache xampp server Pin
Jayapal Chandran26-Jul-10 8:04
Jayapal Chandran26-Jul-10 8:04 
QuestionErr: This is a marker file generated by the precompilation tool, and should not be deleted! Pin
lakshmichawala26-Aug-09 21:03
lakshmichawala26-Aug-09 21:03 
Questioni need to create a form with different userd id and names and then link it to the my sql database and lot more ------------------ need urgent help Pin
sean_198226-Aug-09 1:05
sean_198226-Aug-09 1:05 
AnswerRe: i need to create a form with different userd id and names and then link it to the my sql database and lot more ------------------ need urgent help Pin
kabirbdboy28-Aug-09 6:09
kabirbdboy28-Aug-09 6:09 
Two month ago i was made a project by php where i made joint in ,login and logout page.

I think u need these .I send u the php source code.

1.Joint in page-..........................

< ? php
require_once ('phplib/populator.php');
initdb();
session_start();
if( isset($_POST[email]) ){
$Q="INSERT INTO `studentdetails` ( `name` , `reg` , `email` , `add` , `phone` , `pass` ) VALUES ('{$_POST[name]}', '{$_POST[reg]}', '{$_POST[email]}', '{$_POST[add]}', '{$_POST[phone]}', '{$_POST[pass]}')";
$R=mysql_query($Q) or die("Can't execute That entry. ".mysql_error());
//$_SESSION['login']=true; /this off becauce of auto login kabir
}
$sid=$_POST[reg];
?>
< ?php
//echo "<p>If you are a member already click <a href='home.php?sid=$sid'>here</a> to access the lab management software.</p>";
if(isset($_POST[email])) die("Your account has created");
?>

2.Log in -.........................

< ? php
require_once ('phplib/populator.php');
initdb();
session_start();
?>

3.Log out-...........................

< ? php
session_start();
$_SESSION['login']=false;
session_destroy();
?>

...............populator.php ......................
< ? php
function teststr(){
return "hello this is a line";
}

function initdb(){
$link = mysql_connect("localhost", "root", "") or die("Could not connect : ".mysql_error());
mysql_select_db("lab") or die("Database Missing");
}


?>
GeneralRe: i need to create a form with different userd id and names and then link it to the my sql database and lot more ------------------ need urgent help Pin
fly90431-Aug-09 12:49
fly90431-Aug-09 12:49 
QuestionRefresh iframe Pin
udch24-Aug-09 7:27
udch24-Aug-09 7:27 
AnswerRe: Refresh iframe Pin
fly90424-Aug-09 9:01
fly90424-Aug-09 9:01 
GeneralRe: Refresh iframe Pin
udch25-Aug-09 2:57
udch25-Aug-09 2:57 
GeneralRe: Refresh iframe Pin
fly90425-Aug-09 3:47
fly90425-Aug-09 3:47 
GeneralRe: Refresh iframe Pin
udch25-Aug-09 2:58
udch25-Aug-09 2:58 
GeneralRe: Refresh iframe Pin
fly90425-Aug-09 3:48
fly90425-Aug-09 3:48 
GeneralRe: Refresh iframe Pin
udch2-Sep-09 22:04
udch2-Sep-09 22:04 
Question[Message Deleted] Pin
pallavi shrivastava23-Aug-09 22:01
pallavi shrivastava23-Aug-09 22:01 
AnswerRe: how call a php function Pin
fly90423-Aug-09 22:54
fly90423-Aug-09 22:54 
QuestionI want to referesh php Pin
udch23-Aug-09 18:09
udch23-Aug-09 18:09 
AnswerRe: I want to referesh php Pin
Marc Firth23-Aug-09 21:47
Marc Firth23-Aug-09 21:47 
GeneralRe: I want to referesh php Pin
udch24-Aug-09 0:18
udch24-Aug-09 0:18 
AnswerRe: I want to referesh php Pin
Marc Firth24-Aug-09 1:04
Marc Firth24-Aug-09 1:04 
GeneralRe: I want to referesh php Pin
udch24-Aug-09 2:30
udch24-Aug-09 2:30 
GeneralRe: I want to referesh php Pin
Marc Firth24-Aug-09 2:31
Marc Firth24-Aug-09 2:31 
GeneralRe: I want to referesh php Pin
Marc Firth24-Aug-09 2:39
Marc Firth24-Aug-09 2:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.