Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
78% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #1K
~15.3K People Reached

30 Posted Topics

Member Avatar for Tko_1

Hi, I think that your script works but you should do tests in different machines to know if every time the ip adress has been blocked or not.

Member Avatar for Tko_1
0
2K
Member Avatar for davy_yg

Hi, I think that you forgot to verify fields and the captcha in **kontak_action.php** because even if I leave all fields blank and I click the submit button it shows me this message: step XWe've received your contact information.

Member Avatar for davy_yg
0
138
Member Avatar for ak47carbon

Hi, I think that th rewrite module is not active or not istalled in your server, to verify this do : <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^use-([0-9]+)\.html$ use.php?id=$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 http://www.daniweb.com </IfModule> Here, the 1st if will check if the rewrite module exist and active and …

Member Avatar for ak47carbon
0
200
Member Avatar for da(code)da

Hi, if I understand your question, I think that's more easy to do like this : $result = mysql_query("SELECT * FROM users WHERE CallSign = '".$_POST['signin']."' and Password1 = '".$_POST['password']."'"); if(mysql_num_rows($result) > 0){ echo "<br>CallSign matches password"; setcookie("user", $_POST['signin']); }else{ echo "<br>Incorrect Password/Callsign"; }

Member Avatar for da(code)da
0
267
Member Avatar for djuran89

Hi, Try this : <?php $words = array('bold', 'old', 'board', 'gold', 'google', 'new', 'odlg'); $letter1 = $_POST['letter1']; $letter2 = $_POST['letter2']; $letter3 = $_POST['letter3']; $letter4 = $_POST['letter4']; for($i=0; $i<count($words); $i++){ $exist = 0; $word = $words[$i]; echo 'word : '.$word; if(strstr($word, $letter1)) $exist++; if(strstr($word, $letter2)) $exist++; if(strstr($word, $letter3)) $exist++; if(strstr($word, $letter4)) …

Member Avatar for svfox2000
0
245
Member Avatar for viktor.jiracek.5

Hi, Try this ( here we use the same page for the form and data processing : changepassword.php ) : <html> <head> <title>Change Password</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <?php if(isset($_POST['username']){ // we sent data $connection=mysql_connect('localhost','root','') or die (mysql_error()); $db=mysql_select_db('loginTut',$connection) or die (mysql_error()); $username = $_POST['username']; $password = …

Member Avatar for viktor.jiracek.5
0
798
Member Avatar for Pidgetastic

Hi, I think that you should add $filename = $_FILES['filename']['name']; after $query = <<<eof

Member Avatar for akmozo
0
609
Member Avatar for webflybullet

Hi, Try their installation guide : http://www.tomatocart.com/support/installation-and-upgrades/3-installation-and-upgrade/8-web-base-installation-procedure.html

Member Avatar for webflybullet
0
171
Member Avatar for lemur

Hi, Try this : In your page that contain the form : <select name='color'> <option value="Type">Type</option> <option value="Red">Red</option> <option value="Green">Green</option> <option value="Gray">Gray</option> </select> In your php : // if your form method is post, use $_POST, if it's get, use $_GET if(isset($_POST['color'])) $searchBoxfruit = $_POST['color'];

Member Avatar for akmozo
0
7K
Member Avatar for flynismo

Hi, Try this : index.php : <?php include_once 'member.php'; // we include the member class $v = new member('bill'); // we create an instance of the member class // here we indicate the user name : bill // we can use $_REQUEST, $_POST, $_GET, $_SESSION, ... to get user name …

Member Avatar for mschroeder
0
382
Member Avatar for Sravani saka

Hi, This is the correct manner ( without **column** after **drop**): alter table <table_name> drop <col_name1>, <col_name2>

Member Avatar for Sravani saka
0
278
Member Avatar for Sravani saka

Hi, No, you can not use double quotes while creating a table. Create a table : create table your_table ( id int(11) NOT NULL, name varchar(50) NOT NULL, PRIMARY KEY(id) ); Insert data into the table : insert into your_table(id, name) values(1, 'Bill'); insert into your_table(id, name) values(2, "Bill");

Member Avatar for pritaeas
0
201
Member Avatar for veledrom

Hi, You can add a new field in your table that concatenate FirstName, LastName, DOB and Nationality and then you can do your request like this : SELECT COUNT(*) FROM users WHERE verif_field = data_to_verify

Member Avatar for pritaeas
0
95
Member Avatar for BadManSam

Hi, Try this (simplified manner) : <form action="process.php" method="POST"> Username:<input type="text" name="user" maxlength="30" value="" />Password:<input type="password" name="pass" maxlength="30" value=""/>Register | Forgot password </form>

Member Avatar for akmozo
0
122
Member Avatar for jacob21

Hi, 1- You can try PHPExcel here https://github.com/PHPOffice/PHPExcel or here http://phpexcel.codeplex.com/releases/view/88098. 2 - Or, you can convert your file to csv, xml or txt file and manipulate it more easily with PHP.

Member Avatar for akmozo
0
63
Member Avatar for BadManSam

Hi, 1 - If you are speaking about css and images of the email content that's of course normal if you dont use **absolute URLs**, images must be like : **http://www.site.com/img/banner.jpg** and not like the site pages where you can use **relative URLs** like **/img/banner.jpg**. 2 - The link that …

Member Avatar for BadManSam
0
125
Member Avatar for naresh.giri.146

Hi, I think that you dont need the while loop because an if is more than enough :) Try this : $query = mysql_query("SELECT bill_no, tag_no FROM tbl_cargo_details WHERE bill_no='$bill' or tag_no ='$bill'") or die(mysql_error()); $num_rows = mysql_num_rows($query); if($num_rows > 0){ // we are sure here that $bill == $row['bill_no'] …

Member Avatar for Biiim
0
352
Member Avatar for Siberian

Hi, You can try these 2 freeware : 1 - Filezilla : http://filezilla.net/ 2 - WinSCP : http://winscp.net/eng/index.php

Member Avatar for Siberian
0
82
Member Avatar for Crakken
Member Avatar for Crakken
0
298
Member Avatar for Djmann1013

Hi, You should use the $_SESSION like this : session_start(); // initialisation, we must always use it with sessions $_SESSION['data'] = value; // put data to session $var = $_SESSION['data']; // get data from session In your case : <?php // attention here, we use 2 '=' ( == ) …

Member Avatar for Djmann1013
0
166
Member Avatar for javacle

Hi, Why you dont use an absolute adress ? like : URL : [http://your.site/ ]() Windows path : c:/work/sites/site01/ Linux path : /work/sites/site01/

Member Avatar for diafol
0
629
Member Avatar for ronhymes

Hi, In your html: <a href='send_email.php?email=contact@site.com'>Contact us</a> In your php (send_email.php) : <?php $email = $_GET['email']; // get the email address send_data_to_db(); // save data in db echo 'your text here !'; // echo text echo '<a href="mailto:'.$email.'"> Your text here to open the mailto link</a>'; // show a link …

Member Avatar for ronhymes
0
196
Member Avatar for drumichael87

Hi, You can do like this : $query = "select name, phone from clients where id = 1"; $result = mysql_fetch_array(mysql_query($query)); function show_name(){ global $result; echo " client name : " . $result['name']; } function show_phone(){ global $result; echo " client phone : " . $result['phone']; } show_name(); show_phone();

Member Avatar for drumichael87
0
180
Member Avatar for SummerNight

Hi, I'v tested wamp with W8 Release Preview and when I tried open http://localhost/my_site I got 403 error but when I tried http://127.0.0.1/my_site, my site worked very nice.

Member Avatar for cuonic
0
152
Member Avatar for tpowell0201

Hi, It's missing a **}** in the **line 78** after echo '<ul>' to close the **while** in line **29**.

Member Avatar for akmozo
0
156
Member Avatar for Subless

Hi, For better result use : $thispage = basename($_SERVER['PHP_SELF']);

Member Avatar for diafol
0
185
Member Avatar for rileyganimator

Hi, If the OS of your web server is a linux-based so it's normally that your 2nd url show a 404 error because urls are **Case Sensitive** in this type of os.

Member Avatar for rileyganimator
0
162
Member Avatar for CaptCuffs

Hi, I don't know if I understood your question but you can try this : <p style='width: 200px; padding: 0; line-height: 20px;'> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nibh metus, sodales sed auctor et, euismod et mi. Maecenas elit eros, bibendum vel aliquet nec, aliquam et dui. …

Member Avatar for Crakken
0
137
Member Avatar for bo0ga

Hi, html code : <Form method="post" action="your_php.php"> Select a month : <Select name="month"> <Option value="1">Jan</option> <Option value="2">Feb</option> ... </Select> Select a day : <Select name="day"> <Option value="1">Mon</option> <Option value="2">Tue</option> ... </Select> </Form> PHP code (your_php.php) : $month = $_POST['month']; $day = $_POST['day'];

Member Avatar for akmozo
0
136
Member Avatar for noobphp

Hi, 1 - In your html code you have used an input text named **find** and in your **search.php** page you work with **p**, so you should change the input text name to **p** if you want that **search.php** find your student. <form name="search" method="post" action="search.php"> Search for: <input type="text" …

Member Avatar for akmozo
0
146

The End.