Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
71% Quality Score
Upvotes Received
21
Posts with Upvotes
21
Upvoting Members
15
Downvotes Received
8
Posts with Downvotes
8
Downvoting Members
7
7 Commented Posts
4 Endorsements
Ranked #396
Ranked #265
~137.46K People Reached
Favorite Tags
Member Avatar for danielbala

hi... this is my index page... include("config.php"); session_start(); if($_SERVER["REQUEST_METHOD"] == "POST") { // username and password sent from form $myusername=addslashes($_POST['username']); $mypassword=addslashes($_POST['password']); $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $sql="SELECT id FROM admin WHERE username='$myusername' and passcode='$mypassword'"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $active=$row['active']; $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be …

Member Avatar for 3.15127E+11
0
10K
Member Avatar for fobos

Hello all, i am stuck on this.. i want to be able to play a video from a mysql database. Currently i can upload the video to mysql (name, type, size, content) and download the file. i have a media player that shows a video, but i have to use …

Member Avatar for diafol
0
2K
Member Avatar for sowmya.murthy

I want to validate an email validation of type 'abc@xyz.com.com' Should show an error message if they enter invalid domain name. Would be very grateful for your help.

Member Avatar for ankti
0
391
Member Avatar for klemme

Hi all, I have this function, which should scroll animated to an anchor. Does anyone know how I can activate this only after a form has been submitted? I want to animate the scroll down to either id="error" or id="succes" - depending on the form was submitted with or withour …

Member Avatar for Caio_1
0
7K
Member Avatar for sundeep.gurroby

hello,i have no idea where i will put the passwod_verify function and what i must code the verify exactly in order to get the plain txt password be compared with the hashed version ? my code is below and part of my database also. <?php require_once('Connections/bankusers.php'); ?> <?php session_start(); ?> …

Member Avatar for sundeep.gurroby
0
609
Member Avatar for fobos

Hello all, i have a small question, i data dumped my torrent file and i forgot how to convert the date string to an actual date. Example. ["creation date"]=> float(1392057306) I havent worked with php in a while and im finally getting back into my project. Thanks for any support.

Member Avatar for Hiroshe
0
190
Member Avatar for SimonIoa

I want to make a search option. this is my statement in php $FILTER AND $ORDER are working perfectly. The statement too. else if (isset($_POST['search_all'])) { $Filter .= " AND M.title LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.idate DESC"; } and this is the html …

Member Avatar for fobos
0
119
Member Avatar for SimonIoa

Can you tell what do i do wrong? this is the statement if (isset($_POST['search_all'])) { if (empty($_REQUEST['src_all'])) { echo "<p>You forgot to enter a search term</p>"; } elseif (!empty($_REQUEST['src_all'])) { $Filter = " M.message LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.created DESC"; } } this …

Member Avatar for fobos
0
341
Member Avatar for MeixiuLin

I have trid the testing script as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </HEAD> <BODY><?php $headers = 'From:info@mydomain.com'. "\r\n" . 'Reply-To: [email]info@mydomain.com[/email]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $ret=mail('user@customer.com', 'subject', 'this is the content',$headers,'-finfo@mydomain.com'); echo "<BR/>mail() returned: " . ($ret? "TRUE" : "FALSE") . …

Member Avatar for fateenalkhred
0
3K
Member Avatar for fobos

Hello all, im having some problem, i have a function call dbconn which i run after my session. i can successfully connect to the database and run the mysql statement outside of the function with no problems. However, when i put it in the function and return it, nothing happens. …

Member Avatar for diafol
0
186
Member Avatar for shrikanthnk

Greetings friends. Please help me to understand this issue. 1 echo"<tr><td>< a href=\"home.php?num=$num\">$num</a></td><tr> 2 echo"<tr><td>$num</td></tr>"; Basically i wanted to have link for variable $num. I couldn't proceed because of following issue. However second command worked fine for me. issue : first echo returns below mentioned output. < a href="home.php?num=23434">23434 second …

Member Avatar for shrikanthnk
0
541
Member Avatar for Gloak

Hi, this question is related to http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/189876/populate-text-field-from-drop-down-list Discussions seems to be closed. First of all, thank yor Mr Airshow for the code. With some changes, I could greatly improve my project! Still a few months old in the computer field, but with lots of energy! This question is to whoever …

Member Avatar for Gloak
0
384
Member Avatar for dinhunzvi

i have the following php files. <?php require_once '../moonlight/includes/mysql_connect.php'; require_once '../moonlight/includes/functions.php'; require_once 'includes/reader.php'; /** * @author FreeUser * @copyright 2013 */ if ( isset( $_POST['submitted'] ) ) { $errors = array(); if ( $_POST['authorityID'] == "" ) { $errors[] = 'Select the paying authority.'; } else { $authorityID = (int)$_POST['authorityID']; …

Member Avatar for dinhunzvi
0
192
Member Avatar for PF2G

Hi, i'm working on a website where i have to edit products. but first i have to select a Simulator and inside that simulator i have a several products. What i want to do is, select a Simulator on a combobox and then in other combobox appears me all products …

Member Avatar for LastMitch
0
287
Member Avatar for shasha821110

Hello all i have one class about website this semester. and the teacher introduce us the XAMPP so i download and install it but not know how to use that. so is there anybody know how to use that and give me some brief about it? Thanks so much and …

Member Avatar for VR4Creativity
0
185
Member Avatar for vivek221

hi memmbers can anyone suggest me how to run mail() function of PHP on localhost??? I want to check my inquiry page??

Member Avatar for AARTI SHRIVAS
0
156
Member Avatar for HasNor

Dear experties, I have a problem to remove semicolon at last value, but not working. This script working if I change the ';' to comma ','.. What is the problem actually? Please help me.. > if(isset($sw11)) $symp39=$sw11.";"; else $symp39=NULL; if(isset($sap_rel)) $symp40=$sap_rel.""; else $symp40=NULL; if(isset($subject)) $symp41=$subject.";"; else $symp41=NULL; if(isset($module)) $symp42=$module.""; else …

Member Avatar for HasNor
0
212
Member Avatar for abhi10kumar

I integrated Login with FB and Twitter; but I'm getting error when I click Login in Facebook link check at http://delhicertificates.in/ Warning: Cannot modify header information - headers already sent by (output started at /home/delhioia/public_html/index.php:7) in /home/delhioia/public_html/facebook/index.php on line 12 /home/delhioia/public_html/facebook/index.php ----------------------------------------------- <?php //Always place this code at the top …

Member Avatar for broj1
0
152
Member Avatar for ganges

Hi, i am getting a blank screen it takes more than 15 minutes to display the desk top i am using windows 7 ultimate 32 bit recently i have installed oracle 11g and internet download manager. help me to solve this problem with out formatting the system. thanks for your …

Member Avatar for Sadun89
1
186
Member Avatar for Setvir

here is code that I am working on. What it is supposed to do is upload a media file (image, audio, video) and then tell me what type of media it is. $media_type='image'; $filename=$_FILES["file"]["name"]; $extension = explode(".", $filename); $extension = end($extension); //echo $extension; if (($_FILES["file"]["size"] < 50000) && (!$_FILES["file"]["error"] > …

Member Avatar for fobos
0
164
Member Avatar for jrosh

$('#div').load('/controller/_partialview); <div id="div">"partial view"</div> does not work (does not load the partial view) in IE9 It works perfrectly on firefox and chrome What is the solution? thanks in advance

Member Avatar for stbuchok
0
262
Member Avatar for bradly.spicer

<?PHP $time = $_POST['Time'];//The things in the [] can be anything you want, but remember these for later $xp = $_POST['X']; if($time <= 0) $time = 0; if($xp <= 0) $xp = 0; $db_handle = mysql_connect($server, $user_name, $pass_word); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL = "SELECT * FROM …

Member Avatar for bradly.spicer
0
163
Member Avatar for venkyb47

If I enter same date for startdate and enddate fields(ex: startdate is 2012/12/29 and enddate is also 2012/12/29) then the following if condition executes and return false in javascript. var strtdate = document.getElementById("x_START_DATE").value; //getting task startdate var enddate = document.getElementById("x_END_DATE").value; //getting task enddate var task_StartDate = new Date(strtdate); var task_EndDate …

Member Avatar for venkyb47
0
228
Member Avatar for garyjohnson

Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks …

Member Avatar for garyjohnson
0
525
Member Avatar for archie.herbias

i have a problem with the specs of my motherboard. it says that is supports ddr3 memory and a maximum of 4GB but there's a reminder in the setup that per DIMM slot supports up to 1GB but it also says that with the reminders: "Do not support three memory …

Member Avatar for webjack
0
208
Member Avatar for itsmeurdude

help please!!! i have installed xampp v3.1.0.3.1.0 it seems that my apache is not really working everytime i click once apache it turns yellow then says 9:39:44 PM [Apache] Status change detected: stopped 9:39:44 PM [Apache] Error: Apache shutdown unexpectedly. 9:39:44 PM [Apache] This may be due to a blocked …

Member Avatar for veedeoo
0
356
Member Avatar for hwoarang69

i have never used ajax before so i want to make sure iam doing this right. this php code work fine. i didnt add it bc it was long code. but all it does it add one or sub one from database. <?php //if user hit like link add one …

Member Avatar for hwoarang69
0
130
Member Avatar for wolfgangcs

Grabbing this "loadcssfile" from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml and added the check device. This is the best I have and I may just be entirly confused! I want to change the CSS file depending on the device before the rest of the page loads. function checkDevice(){ if(window.isiPad){ // do nothing } else { …

Member Avatar for wolfgangcs
0
226
Member Avatar for GraficRegret

ok so I am trying to create a login page for my website, however after following a tutorial on creating all the functions and calls and everything I need to in order to get it up, I upload it to my server and when I try to test it the …

Member Avatar for GraficRegret
0
99
Member Avatar for missy_mi

i have and error : mysql_fetch_array() expects parameter 1 to be resource, boolean what should i do??where is the problem..??please suggest..Thank you in advance..

Member Avatar for broj1
0
178