how can i integrate live video playing in my personal website?i mean live video streaming integration in the website. I need the help[ urgently.
nav33n commented: This is a forum. You cant 'order' for immediate response. -1
how can i integrate live video playing in my personal website?i mean live video streaming integration in the website. I need the help[ urgently.
How can i make a chat server with all the facility using php?:(
Why this error is showing? Please solve it!!!!!!!:'( :@
Allowed memory size of 33554432 bytes exhausted (tried to allocate 1464 bytes)
I need a response immidiately!!!!!!
Why the javascript code is not running in this example?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script language="javascript" type="text/javascript">
function check()
{
if(f1.form_name.value="")
{
alert("Please Insert the name!!!");
}
else if(f1.form_user_id.value="")
{
alert("Please Insert the USER ID!!!!(MUST)");
}
else if(f1.form_password.value="")
{
alert("Please Insert the PASSWORD(MUST)");
}
else if(f1.form_password1.value="")
{
alert("Please Insert the PASSWORD again(MUST)");
}
else if(f1.form_password.value!=f1.form_password1.value)
{
alert("please Check your password");
}
else if(f1.form_email__id.value="")
{
alert("please insert the Email");
}
else if(f1.form_email_id.value<5)||(f1.form_email_id.value.indexOf('@')==-1)||(f1.form_email_id.value.indexOf('.')==-1))
{
alert("please insert the valid Email address");
}
}
</script>
</head>
<body bgcolor="#FFCCCC">
<form action="register2.php" method="post" name="f1" >
<table width="100%" border="0">
<tr>
<td height="45" colspan="20"><div align="center">Enter your description </div></td>
</tr>
<tr>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="1%"> </td>
<td width="8%">Name</td>
<td width="17%"><input type="text" name="form_name" /></td>
<td width="1%"> </td>
<td width="1%"> </td>
<td width="1%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="9%"> </td>
<td width="1%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="5%"> </td>
<td width="6%"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>UserId</td>
<td><input type="text" name="form_user_id" /></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>Password</td>
<td><input type="password" name="form_password" /></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>Confirm Password </td>
<td><input type="password" name="form_password1" /></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>Address Line1 </td>
<td><input type="text" name="form_address_line1" size="45"/></td>
<td> </td>
<td> </td>
<td> </td> …
I need a simple login and logout page in php. how can i retrieve data from database in a session?
Can anyone send me a simple, understandable javascript code for form validation, including e-mail validation,name validation , password validation etc. pls! send me in hurry!!!:'(
Why the warning is showing and the header is not sendingwith this script?
<?php
function authenticateUser($user,$password)
{
$con=mysql_connect("localhost","root","");
mysql_select_db("niladri",$con);
$sql="select * from user_profile where user_id='$user'and password='$password'";
$res=mysql_query("$sql",$con);
if( ($row = mysql_fetch_array($res)) && ($user_id==$row["user"])&&($password == $row["password"] ) && ($password !="") )
return 1;
else
return 0;
}
?>
<?php
$form_user_id=$_POST;
$form_password=$_POST;
if(authenticateUser($form_user_id,$form_password))
{
echo"Your userID and password are correct";
setcookie("cookie_passwd",$form_password,time()+3600);
setcookie("cookie_user",$form_user_id,time()+3600);
header("Location:search.html");
exit();
}
else
{
echo"the page cannot be displayed/the password and or userID is not correct";
}
?>
The warnings are:
Your userID and password are correct
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php:19) in C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php on line 20
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php:19) in C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php:19) in C:\Program Files\xampp\htdocs\Niladri's PHP Programs\PROJECT SHOP\index\login1.php on line 22
please send me a quick reply!! :-O
what is the problem with this code?
<body bgcolor="#FFFF00">
<div align="center">
<table width="284" border="4" cellspacing="2" cellpadding="2">
<tr>
<td width="92">cat_id</td>
<td width="79">cat_name</td>
<td width="79">choose product </td>
</tr>
<?php
$id=$_GET['id'];
$con=mysql_connect("localhost","root","");
mysql_select_db("niladri",$con);
$sql="SELECT * FROM `subcategory`whare `cat_id`=`$id`";
$res=mysql_query("$sql",$con);
while($row=mysql_fetch_array($res))
{
?>
<tr>
<td><?php echo $row[subcat_id];?></td>
<td><?php echo $row[subcat_name];?></td>
<td><a href="fetch3.php"?id=<?php echo $row[subcat_id]?>>click</a></td>
</tr>
<?php
}
?>
</table>
</div>
</body>
it is showing an warning--->
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\htdocs\Niladri's PHP Programs\PROJECT\fetch2.php on line 16
the previous page fetch1.php code is.....
<?php
ob_start();
session_start();
$sidf=session_id();
session_register('sidf');
?>
<body bgcolor="#FFFF00">
<div align="center">
<table width="284" border="4" cellspacing="2" cellpadding="2">
<tr>
<td width="92">cat_id</td>
<td width="79">cat_name</td>
<td width="79">choose subcategory </td>
</tr>
<?php
$con=mysql_connect("localhost","root","");
mysql_select_db("niladri",$con);
$sql="SELECT * FROM `category`";
$res=mysql_query("$sql",$con);
while($row=mysql_fetch_array($res))
{
?>
<tr>
<td><?php echo $row['cat_id'];?></td>
<td><?php echo $row['cat_name'];?></td>
<td><a href="fetch2.php"?id=<?php print $row['cat_id'];?>">click</a></td>
</tr>
<?php
}
?>
</table>
</div>
</body>
please send me a quick reply:(
Can anyone tell me the name of the websites from where i can get the free website design templates!! including flash files!! and many more!! pls. send all the possible links!!! i am not getting the satisfactory design templates!!!!!!:(
Thanx nav33. I am really greateful to you!!!!!!!!!!:)
pls help me!! why this code is not executing?also send me the exact code to fetch a table from a database in a table format in a web page!!!!!
<?php
$con=mysql_connect("localhost","root","");
mysql_select_db("niladri",$con);
$sql="SELECT *
FROM `category` ";
$res==mysql_query($sql);
while($row==mysql_fetch_array($res));
{
echo $row['cat_id'];
echo $row['cat_name'];
}
?>
:'( :?: :icon_cry:
Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities?
<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{
die("could not connect:".mysql_error($con));
}
mysql_select_db("form",$con);
$result=mysql_query("select * from submit");
while($row=mysql_fetch_array($result))
{
echo $row." ".$row;
echo "<br/>";
}
mysql_close($con);
?>
Thanks for replying!!!!!!!!!!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
echo"Your posted name is\t".$_POST;
echo"Your posted roll is\t".$_POST;
?>
<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{
die("could not connect:".mysql_error($con));
}
mysql_select_db("form",$con);
mysql_query("insert into submit values('$_POST','$_POST')");
echo"1 record added";
mysql_close($con);
?>
</body>
</html>
error is showing on that line..........