- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 21
- Posts with Upvotes
- 21
- Upvoting Members
- 15
- Downvotes Received
- 8
- Posts with Downvotes
- 8
- Downvoting Members
- 7
Re:
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 … |
|
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 … |
|
Re:
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. |
|
Re:
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 … |
|
|
Re:
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(); ?> … |
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. |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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") . … |
|
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. … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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']; … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
hi memmbers can anyone suggest me how to run mail() function of PHP on localhost??? I want to check my inquiry page?? |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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"] > … |
|
Re:
$('#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 |
|
Re:
<?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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 { … |
|
Re:
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 … |
|
Re:
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.. |