Posts
 
Reputation
Joined
Last Seen
Ranked #191
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
95% Quality Score
Upvotes Received
161
Posts with Upvotes
122
Upvoting Members
78
Downvotes Received
10
Posts with Downvotes
10
Downvoting Members
4
45 Commented Posts
11 Endorsements
Ranked #170
Ranked #195
~289.53K People Reached
Interests
Games, Movies, Music.
PC Specs
Ubuntu 13.04/Win8, i5-2500k, 16Gb 1600Mhz, GForce 560Ti.
Favorite Tags
Member Avatar for hemgoyal_1990

I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 …

Member Avatar for Manabendra
1
18K
Member Avatar for test.mag

Hello there, > colud you please tell me that how can i generate html into csv, actually it display all tr and td into csv file, here i have share my code <?php /*include("wp-config.php"); include("wp-app.php"); include("wp-active.php"); include("wp-settings.php");*/ //include("index.php"); include("wp-load.php"); include("wp-includes/template-loader.php"); header ("Expires: Mon, 12 Aug 1988 23:30:00 GMT"); header ("Last-Modified: …

Member Avatar for Yuriy_2
0
1K
Member Avatar for Oliver_5

I am now working on a project that allows high school students in Ghana study maths among themselves. I would like to embedded editor on the page but dont know how to go by it. Any help.

Member Avatar for diafol
0
150
Member Avatar for Joe_10

currently I have a survey with 10 questions on a html/ php form. I use post data and then have a long insert statment. My code looks something like this. <php? $surveyid = $_POST['surveyid']; $q1 = $_POST['q1']; $q1comments = $_POST['q1comments']; $q2 = $_POST['q2']; $q2comments = $_POST['q2comments']; $q3 = $_POST['q3']; $q3comments …

Member Avatar for ryantroop
0
519
Member Avatar for gyno

Hi everyone, i'm having problem on what PHP code that is appropriate for me to search for a specific data from mysql database, help me with how to go about please

Member Avatar for Atli
0
184
Member Avatar for Brett_2

I was trying to tweak some html headers due to change in content type and facing a weird issue When I execute the below code it doesn't gets email delivered at all $htmlheader = "From: $emailad\r\nContent-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n"; But when I add extra slash ( \ ) and double quotes …

Member Avatar for Atli
0
200
Member Avatar for garyjohnson

I am trying to allow my users to upload videos to my site and i have the php file upload but it will not work, it worked with images but once i changed it to video it stopped working this is the code <?php $allowedExts = array("mp4", "mov", "avi", "flv","mpg", …

Member Avatar for diafol
0
3K
Member Avatar for happygeek

"Our investigation currently indicates that the attackers accessed Adobe customer IDs and encrypted passwords on our systems. We also believe the attackers removed from our systems certain information relating to 2.9 million Adobe customers, including customer names, encrypted credit or debit card numbers, expiration dates, and other information relating to …

Member Avatar for diafol
3
481
Member Avatar for wallet123

Hello There! Im trying to study php on my own. But i have a problem installing "xampp". So please help me. this keeps on showing: 10:27:35 AM [mysql] Expected Path: d:\xampp3\mysql\bin\mysqld.exe --defaults-file=d:\xampp3\mysql\bin\my.ini mysql 10:27:35 AM [mysql] Problem detected! 10:27:35 AM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" …

Member Avatar for Atli
0
6K
Member Avatar for rohan19

I want to Learn about this "android and php web services". please give me some good resources for learn about this subject.(Video tutorials links)

Member Avatar for superirale
0
315
Member Avatar for AdventDeo

Okay I hope my title is not confusing. I have two checkboxes names Delete[] and Update[] followed by a textbox named Name[]. When I tick checkbox Delete[] and click Submit, I ran a query to delete the data based on that Checkbox's value (which I have set to be the …

Member Avatar for laljaseh
-1
2K
Member Avatar for sktthemes
Member Avatar for amit.chaudhari.71

hi friend , m facing problem to generate pdf file. i m using following code:- if(isset($_POST['pro'])) { include "common.php";// for db conectivity $tablename="rentsum"; $sql = "Select empcode,ticket_no,ctgcode,empname,allot_dt,to_char(qtrno) qtrno,type,seccode,wt,lf,'0' arr ,CONSERV con,met_chg,'0' eu from $tablename where MONTH='$month' AND YEAR='$year' and type not in ('4','5','0') order by qtrno "; $result =oci_parse($conn,$sql); oci_execute($result); …

Member Avatar for yamaha.jeba
0
5K
Member Avatar for sandipan.rcciit

hi friends, I already have a code that upload image with re size it. [CODE]<form action="<?php echo $_server['php-self']; ?>" method="post" enctype="multipart/form-data" id="something" class="uniForm"> <input name="new_image" id="new_image" size="30" type="file" class="fileUpload" /> <input type="submit" name="submit" value="Submit"><p> </form> <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target = "images/".$imagename; move_uploaded_file($source, …

Member Avatar for diafol
0
868
Member Avatar for jothimathi
Member Avatar for Lsmjudoka
-1
114
Member Avatar for Indians

this is my sendmsg coding page. Am i right? its not working. First i got fatal error: call undefined function curl_init(). i cleared that error. now it takes time to load 10 to 15 seconds and show error in that page. coding is below... $name = $_POST['name']; $connum = $_POST['connum']; …

Member Avatar for iLikePHP
0
415
Member Avatar for Master Mascus

I would like to know if its possible to extract data from a database and then displayed the data in a pdf file ?

Member Avatar for Atli
0
308
Member Avatar for everton.retweets

Hi Everyone. I have the following preg_match to check user passwords contain elseif (!preg_match( "((?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,15})",$bpwd ) ) { 1 Upper Case Letter 1 lower case letter 1 number It works as described, but what I am looking to do is to create a stronger password requirement. I would like to …

Member Avatar for everton.retweets
0
256
Member Avatar for Red_Rain

**SUMMARY** Hello all, I am currently working on a project that requires me to mine data from websites so i can work with it later. I have been using cURL to accomplish pretty much all the needs i have had thus far. I ran into a complication that cURL is …

Member Avatar for chrishea
0
157
Member Avatar for blueguy777

I've cust_name and install_no columns in table, each customer's name repeated 12 times as rows how to insert numbers 1 to 12 in install_no column for all rows. table sample: ----------------------------- cust_name | install_no ---------------------------- ROGER | 1 ---------------------------- ROGER | 2 ---------------------------- ROGER | 3 ---------------------------- ROGER | 4 …

Member Avatar for diafol
0
202
Member Avatar for ncis_sg1

I need help with an assignment. I have been working of this the better part of a week and still do not really understand what I am meant to do. This is my first week using PHP and I am really confused. Here are the instructions: Write a PHP script …

Member Avatar for ncis_sg1
0
1K
Member Avatar for jayreis

I am hoping someone can help me fix the issue I am having with a php script that sends a email with a attachement. The script does generate a email that goes out. However when I recieve it the email has a attachment correctly named but when I open it, …

Member Avatar for LastMitch
0
219
Member Avatar for lewashby

$userEmail = $db->query("SELECT email FROM users WHERE email='$email'"); $userPsswd = $db->query("SELECT password FROM users WHERE email='$email'"); Can someone tell me what I've done wrong in teh two lines above? I'm getting the following errors. PHP Warning: SQLite3::query(): Unable to prepare statement: 1, near &quot;@hotmail&quot;: syntax error in /var/www/ET/password/accounts.php on line …

Member Avatar for Atli
0
2K
Member Avatar for mmcdonald

Hi all, the following PHP MysSQLi query works in XAMPP but not in WAMP: <?php include('../../inc/config.php'); $mysqli = mysqli_connect($config['host'], $config['user'], $config['pass'], $config['db']); $responseQuery = "SELECT tr.id as trid,tr.topicid,tr.usersid,DATE_FORMAT(tr.date_added,'%b %d, %Y %H:%i') AS format_date_added,tr.date_added,tr.response,tr.status, t.id, t.usersid as creatorid, u.id, u.authuser, u.memtype, u.fn,u.ln,u.avatar FROM topic_response tr LEFT OUTER JOIN topic t ON …

Member Avatar for Atli
0
886
Member Avatar for venkyb47

The following code used in productlist.php // some code manipulation to generate new values $filetodownload = 'DoubleClick to run.txt'; $filehandler=fopen($filetodownload,"w"); fwrite($filehandler,$generatedValue); fclose($filehandler); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.$filetodownload); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($filetodownload)); ob_clean(); flush(); readfile($filetodownload); header('Location:druglist.php'); After file downloaded page …

Member Avatar for venkyb47
0
3K
Member Avatar for madmax9922

i have a problem to redirect user to the requested page after login. 1-this are my files:login.php,register.php,protected.php,plan1.php,member.php et plan2.php,home.php 2-plan1,plan2, and member have a check before people have access. 3-when a user click on plan1 for exemple and get redirect on login.php 4-My problen is after logged in he goes …

Member Avatar for madmax9922
0
42K
Member Avatar for mmcdonald

Should be simple right? Well I've been at the PC for 16 hours so far and the answer is probably screaming at me in the face, but I can't hear it... # This code... # $differenceInSeconds = 448005; if($differenceInSeconds >= "86400"){ $calcDays = floor($differenceInSeconds / 86400); if($calcDays = "1"){ $daysPlural …

Member Avatar for mmcdonald
0
264
Member Avatar for GlenRogers

I have 2 tables for a simple massage board, one for questions and one for answers. The table forum_questions has a field called 'reply' with holds an int value for the number of answers the question has. My problem is this: I have a form to delete answers, you pick …

Member Avatar for GlenRogers
0
288
Member Avatar for tibor.marias

Evening Sirs, I got some problems in PHP when using while loop in tables. My problem is that I can't make the rows be the same width. This is my preview: ![11ce93daec6265124e189def81dc9696](/attachments/large/4/11ce93daec6265124e189def81dc9696.png "11ce93daec6265124e189def81dc9696") I want the blue part of the table, to be equal width with every relative white part. …

Member Avatar for tibor.marias
0
579
Member Avatar for jacob21
Member Avatar for Atli
0
195