Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
38
Posts with Downvotes
20
Downvoting Members
13
5 Commented Posts
~58.5K People Reached
Favorite Forums
Favorite Tags
php x 141
gui x 13
seo x 13

33 Posted Topics

Member Avatar for vindyauwu

<?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if (@$_POST['submit']) { //check fields $oldpassword =md5 ($_POST['oldpassword']); $newpassword = md5($_POST['newpassword']); $repeatnewpassword = md5 ($_POST['repeatnewpassword']); //check password against db //connect to db $connect = mysql_connect ("localhost","root","") or die(); mysql_select_db("phplogin")or die(); $queryget = mysql_query ("SELECT password FROM users …

Member Avatar for VINITHAPRIYA R
0
36K
Member Avatar for andyy121

the password in database doesnt changet when i press change button in the page i show me the pass is change but when i log in with the new pass it show incorrect pass help please <?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if …

Member Avatar for diafol
0
14K
Member Avatar for rajalakshmi2810

<?php $submit = @$_POST['submit']; //form data $fullname = strip_tags (@$_POST['fullname']); $username = strip_tags (@$_POST['username']); $password= strip_tags(@$_POST['password']); $repeatpassword = strip_tags(@$_POST['repeatpassword']); $date =("Y-m-d"); if ($submit); { // check for existance if($fullname&&$username&&$password&&$repeatpassword) { //encrypt password $password = md5 ($password); $repeatpassword =md5 ($repeatpassword); if ($password==$repeatpassword) { // check char length of username and fullname …

Member Avatar for diafol
0
509
Member Avatar for andyy121

im traying to create a contact form (email). im using xampp. so i need something like HmailServer or something like this to send email to myself. can everybody told me how i can configure HmailServer.

Member Avatar for LastMitch
0
154
Member Avatar for andyy121

hi all i cant see my erron in the code i have followed the tutorial but i cant see it i wont some help. here is my code. $to = 'andi_138el@hotmail.com'; $subject = 'Contact from submitted'; $body = $contact_name."\n".$contact_text; $headers = 'From: '.$contact_email; if (mail($to,$subject, $body, $headers)){ echo 'Thanks for …

Member Avatar for Squidge
0
349
Member Avatar for andyy121

i wont to know why we have to equal this variabel what is theri meaning $contact_name = $_POST['contact_name']; $contact_email = $_POST['contact_email']; $contact_text = $_POST['contact_text'];

Member Avatar for EvolutionFallen
0
226
Member Avatar for andyy121

i have wrote some html and php my form doesnt work so fine i cant find my error if somebody doesnt mind here is the code.

Member Avatar for ehpratah
0
180
Member Avatar for andyy121

<form action="index.php" method="post" enctype="multipart/form-data"> File: <input type="file" name="image"><input type="submit" value="Upload"> </form> <?php //connect to db mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db ("databaseimage")or die (mysql_error()); @$file =$_FILES['image']['tmp_name'];//kjo eshte e lidhur me <input type="file" name="image"> if (!isset($file)) echo ("Please select an image"); else { $image= addslashes(file_get_contents ($_FILES['image'] ['tmp_name'])); $image_name = addslashes($_FILES['image']['name']); $image_size = getimagesize ($_FILES['image'] …

Member Avatar for andyy121
0
198
Member Avatar for andyy121

<form action="index.php" method="post" enctype="multipart/form-data"> File: <input type="file" name="image"><input type="submit" value="Upload"> </form> <?php //connect to db mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db ("databaseimage")or die (mysql_error()); @$file =$_FILES['image']['tmp_name'];//kjo eshte e lidhur me <input type="file" name="image"> if (!isset($file)) echo ("Please select an image"); else { $image= addslashes(file_get_contents ($_FILES['image'] ['tmp_name'])); $image_name = addslashes($_FILES['image']['name']); $image_size = getimagesize ($_FILES['image'] …

Member Avatar for andyy121
0
215
Member Avatar for andyy121

$construct .="keywords LIKE '%$search_each%'"; $run = mysql_query($construct); $foundnum = mysql_num_rows($run); i wont to know what display $construct?? i wont to know what is the function of mysql_query and what mean this ($construct); i wont to know what is the function of mysql_num_rows what can it do

Member Avatar for cigoL..:)
0
117
Member Avatar for andyy121

<?php if (isset($_POST['generate'])) { $charset = 'absdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ0123456789%$#-()*&.,'; $generated_password = substr (str_shufle($charset),0, 12); } ?> <form action ="password generator" method="post"> <input type="submit" name="generator" value="Generate"><input type="text" value="<?php if (isset($generated_password)) {echo $generated_password; } ?>"/> </form> when i click in generate button it show me this: Object not found! The requested URL was not …

Member Avatar for yoyo12345
-1
165
Member Avatar for andyy121

foreach($search_exploded as $search_each) { @$x++; if($x==1) @$construct .="keywords LIKE '%$search_each%'"; else $construct .="AND keywords LIKE '%$search_each%'"; } i just wont to understand this foreach ($search_exploded as $search_each) what is the meaning

Member Avatar for Bachu
-1
101
Member Avatar for andyy121

$name = $_FILES['myfile'] ['name']; $tmp_name = $_FILES ['myfile'] ['tmp_name']; i wont to know why the variable $name, is begin with name can somebody explain me this variables and parameters.

Member Avatar for andyy121
0
151
Member Avatar for andyy121

when i search something in the database it doesn't show me what is in the databese how to connect into it or it doesnt show what is in it????

Member Avatar for rayidi
-2
321
Member Avatar for andyy121

i have create a html page with log in,log out,register ect... i wont to create a admin page for this,for example if i wont to change images colors border color add image or something else can somebody suggest me what i have to do,give me some ideas.

Member Avatar for andyy121
0
128
Member Avatar for andyy121

<?php require_once("start.php"); require_once("myconfig.php"); require_once("db.php"); require_once("kontrollo.php"); require_once("mylib.php"); require_once("datavalidation.php"); if (!isset($_REQUEST["id"])) { exit("which category??"); } $category=$_REQUEST["id"]; ?> <html> <head> <title>GarantSig Artikull i ri</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="../css/travel.css" rel="stylesheet" type="text/css"> <link href="../css/style.css" rel="stylesheet" type="text/css"> <script language="JavaScript"> function validate() { if(document.myform.title.value==""){alert('Verini nje titull');return false;} if(document.myform.subtitle.value==""){alert('Verini nje Nentitull');return false;} if(document.myform.rendi.value==""){ alert('Verini nje rendesi');return …

Member Avatar for andyy121
0
330
Member Avatar for andyy121

i m traying this simples code but nothing is displayed what type of problem showld be. <?php function yourname($name) { echo "Your name is" .$name; } yourname("andi"); ?> another code <?php $age= 18; if ($age>=21) { echo 'alan'; }else{ echo 'bob'; } ?>

Member Avatar for Bachu
0
130
Member Avatar for andyy121

hi everybody i just need to know what is the function of preg_split and that which is inside of brackets: $keywords = preg_split ('/[\s]+/',$keywords);

Member Avatar for andyy121
0
157
Member Avatar for andyy121

if($username&&$password) { $connect = mysql_connect("localhost","root","") or ("Couldn't connect!"); mysql_select_db("phplogin") or die ("Couldn't find db"); $query = mysql_query("Select * FROM users WHERE username='$username'"); $numrow= mysql_num_rows($query); i just wont to know the IF statement when it stars what is his function in the code.

Member Avatar for diafol
0
134
Member Avatar for pritaeas

<?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if (@$_POST['submit']) { //check fields $oldpassword =md5 ($_POST['oldpassword']); $newpassword = md5($_POST['newpassword']); $repeatnewpassword = md5 ($_POST['repeatnewpassword']); //check password against db //connect to db $connect = mysql_connect ("localhost","root","") or die(); mysql_select_db("phplogin")or die(); $queryget = mysql_query ("SELECT password FROM users …

Member Avatar for pritaeas
0
109
Member Avatar for andyy121

this is the index page <?php if (isset ($_POST['keywords'])){ $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty ($keywords)){ $errors[] = ('Please enter a serch terms'); }else if (strlen($keywords)<3){ $errors[] = ('Your search terms must be three or more characters'); }else if (search_results ($keywords) == false){ $errors []= ('Your …

Member Avatar for LastMitch
0
269
Member Avatar for andyy121

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php include 'func.inc.php'; ?> <title>SEARCH</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>SEARCH</h2> <form action="" method="post"> <p> <input type="text" name="keywords"/> <input type="submit" value="Search"/> </p> </form> <?php if (isset ($_POST['keywords'])){ $suffix =""; $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty …

Member Avatar for LastMitch
-1
392
Member Avatar for andyy121
Member Avatar for andyy121
0
265
Member Avatar for andyy121

hi i wont to change the activatet value of user log in in database example:when i log in in the page the value must change from 0 to 1 any idea

Member Avatar for andyy121
0
236
Member Avatar for andyy121

Warning: include(funck.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\search\index.php on line 2 Warning: include(): Failed opening 'funck.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\search\index.php on line 2 help plz what i have to change

Member Avatar for andyy121
0
311
Member Avatar for andyy121

it show me this when i click the previw button to show the page how i can fix this? Warning: include(funck.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\search\index.php on line 1 Warning: include(): Failed opening 'funck.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\search\index.php on line 1

Member Avatar for andyy121
0
582
Member Avatar for andyy121

in database i have added the random and activated with boolean type and the defaul was set to As defined with 0 value.when i click log in it must desplay this: your accoun si not activate.Please check your email. but i show you are in click here to click here …

Member Avatar for andyy121
0
193
Member Avatar for andyy121

i have added the $random in line 53 and '$random' ,'0' in 57 line inside the (),in the database i have added random and activated with boolean value which is 0 or 1,and when i click the previu/debug in browser button it show me this: Warning: mysql_num_rows() expects parameter 1 …

Member Avatar for Atli
0
444
Member Avatar for subhadeep.majumdar.733

hi i wont to link two pages in php can you help me give me some idea or sending me the code would be very helpful.

Member Avatar for subhadeep.majumdar.733
0
191
Member Avatar for andyy121

<form action="login.php" method="post"> Username: <input type='text' name ='username'><br> Password: <input type="password" name='password'><br> <input type="submit" value="Log in"> </form> </body> </html>

Member Avatar for James Donovan
0
152
Member Avatar for devianleong

<?php echo "<h1>Register</h1>"; $submit = @$_POST['submit']; $fullname = strip_tags (@$_POST['fullname']); $username = strip_tags (@$_POST["username"]); $password = strip_tags (@$_POST['password']); $repeatpassword = strip_tags (@$_POST['repeatpassword']); $date = ("Y-m-d"); if ($submit) { //check for existence if ($fullname&&$username&&$password&&$repeatpassword) { if ($password==$repeatpassword) { //check char length of username and fullname if (strlen($username)>25||strlen ($fullname)>25) { echo ("Length …

Member Avatar for pritaeas
0
253
Member Avatar for kbat115

<?php $submit = @$_POST['submit']; //form data $fullname = strip_tags (@$_POST['fullname']); $username = strip_tags (@$_POST['username']); $password= strip_tags(@$_POST['password']); $repeatpassword = strip_tags(@$_POST['repeatpassword']); $date =("Y-m-d"); if ($submit); { // check for existance if($fullname&&$username&&$password&&$repeatpassword) { //encrypt password $password = md5 ($password); $repeatpassword =md5 ($repeatpassword); if ($password==$repeatpassword) { // check char length of username and fullname …

Member Avatar for andyy121
0
531
Member Avatar for laetitia--

The End.