39,323 Topics

Member Avatar for
Member Avatar for punithapary

Hi, I created some web pages using php.I copied those pages from my system and paste it into FTP afterthat if i run my website it wont show any design which is in my page.If i copied my html pages and paste that into ftp that time it was working.I …

Member Avatar for chrishea
0
115
Member Avatar for Imratzio

Hi all, I have finished my php for dummis book and have few errors that I could not fix. I show u my first example. [CODE]<?php /* Program: showpets.php Description: Displays all the pets in a category. Category is passed in a variable from a form. The Information for each …

Member Avatar for Imratzio
0
137
Member Avatar for mrcniceguy

i have table users in my database))the host of my website is in US and i am currently leaving in Russia. so when i display date/time in web page it shows time as if i am in US also my clients in different countries they are experiencing the same problem.\ …

Member Avatar for mrcniceguy
0
79
Member Avatar for muralibobby2015

hello.. i have to write htaccess for mysite. actually we have two domains. '.com and .in' . for example i opened '.com' site it will actomatically access files from '.in' domain. there is no files in .com site. how to write .htaccess for this. thanks.

Member Avatar for muralibobby2015
0
139
Member Avatar for Moderns

Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application …

Member Avatar for pritaeas
0
1K
Member Avatar for chirag321
Member Avatar for eyenoorul

i am using these codes to generate linear graph from mysql... <?php ini_set('display_errors', 1); error_reporting(E_ALL); session_start(); //if(isset($_SESSION['user'])) { //function generateGraph(){ include('connectsml.php'); //include('jpgraph/src/jpgraph.php'); //include('jpgraph/src/jpgraph_bar.php'); include ('jpgraph/src/jpgraph_line.php'); include ('jpgraph/src/jpgraph_log.php'); //dapatkan nama ladang; $ldgcode=$_POST['ldgcode']; $year=$_POST['year']; $sqllsblock="select * from ladang where ldgcode='$ldgcode' order by block"; $reslsblock=mysql_query($sqllsblock); if ($rowlsblock=mysql_fetch_array($reslsblock)){ do{ $data[] = $result['yield']; $y2data[] = …

Member Avatar for eyenoorul
0
237
Member Avatar for azegurb

I hava script with both $this keyword and without it. Each one does the same thing. I cant understand what does $this do. this with [B]$this[/B] [CODE]class Time { var $sTime; function GenerateCurrentTime(){ $this->sTime = gmdate("d-m-Y H:i:s"); return $this->sTime; } function ShowFutureDate($iAddDays=0){ $this->sTime = gmdate("d-m-Y H:i:s", strtotime("+" . $iAddDays . …

Member Avatar for azegurb
0
106
Member Avatar for anita_86

Hi!I am a newbie in PHP & have got a task of making event manager in PHP that too with different user levels. The problem is I cant find the exact code I am looking for. Can anyone please guide me how to display the events from database according to …

Member Avatar for anita_86
0
120
Member Avatar for reco21

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a …

Member Avatar for reco21
0
176
Member Avatar for kkjay

Hi Guys, Aplologies for the length but I wanted to be clear. I'm trying to make a website where people can update their status's (like facebook). Just learning PHP. I have added a functionality whereby one can update their status(text only) or can update their status(text and upload a photo …

Member Avatar for codewall
0
120
Member Avatar for terrymold

Hi everyone I have over 1500 mp3 files that are available for download on a web site I look after. The files are various sizes and split between 20 folders. One folder has about 600 files. What the owner would like for his visitors is to be able to select …

Member Avatar for cooperspc
0
813
Member Avatar for Hakarune

So I got help from here earlier with one problem and a few more have arisen, the biggest is for some reason my checkbox and dropdown array won't store the data and when it's supposed to check to verify there is at least 1 selected of each nothing happens... To …

0
96
Member Avatar for oree

hey there, whenever i send an email i get "me" as sender and when opening the mail me@127.0.0.1 to me shows up in gmail. here is my code: [CODE] $head = 'From: $buyeremail' . "\r\n" . 'Replay-To: $buyeremail'. "\r\n" . 'X-Mailer:'. 'PHP/' . phpversion(); $name = $_POST['buyername']; $to = $_POST['email']; …

Member Avatar for TySkby
0
132
Member Avatar for dodgeitorelse

Hi all, I am using huvt version 1.0 server tracker to track all of our servers. With this program I am able to get players scores (refreshed at 60 second intervals). What I would like to do is take the players scores and add to my database so that I …

Member Avatar for ddymacek
0
89
Member Avatar for billmudry

Lately I have been learning how to use 'sessions' (with some degree of success) for transferring parameters between pages. I have come across a new error report that is so weird that I would not be able to envision how I could do a Google search to find what is …

Member Avatar for billmudry
0
151
Member Avatar for Imratzio

Hi all :), im towards the end of the php for dummies book and it telling me how to build a e-commece style pet Catalog. I show the code [CODE]<?php /* Program: addpet.php Description: adds new pet to the databse. A confirmation page is sent to the user. */ if(@$_POST['newbutton'] …

Member Avatar for Imratzio
0
152
Member Avatar for chandaboy

Hi, everyone, if any buddy have any tutorial of how to send the values from a textbox thorugh iphone and send this value into php file through post, if you have any tutorial then plz send it to me..

0
65
Member Avatar for chandaboy

I m making an app where i need to get facebook friend status, i can get the statuses when doing this coding.. Code: [code]NSMutableDictionary * params = [[NSMutableDictionary alloc] init]; [params setValue:@"100000********" forKey:@"uid"]; [params setValue:@"1500" forKey:@"limit"]; [params setValue:@"results" forKey:@"callback"];[/code] but when im using a dynamic value like this : Code: …

0
76
Member Avatar for khakwani

I want to convert an XML file into SOAP. And then i have to send that SOAP messgae to server. How can i do this. Thanks in advance

0
83
Member Avatar for riverbay_media

I am very new to the world of PHP and MYSQL programming and have run into a roadblock. I am trying to program an admin area of a site i am working on and am coming up with the following error when the page is loaded [QUOTE]Parse error: syntax error, …

Member Avatar for karteek.vemula
0
67
Member Avatar for cguan_77

hi guys, how to add an email address for this statement: mail('myemail@email.com',"title",$text,$headers); to add another email for this can put like this: mail('myemail@email.com,anotheremail@email.com',"title",$text,$headers); what's the correct statement for this? thanks in advance.:)

Member Avatar for cguan_77
0
86
Member Avatar for sanjaypandit

i have a problem in query i have attached a sql for query and my searching code is following [code]<div> <form name="frm" action=search.php method=post> <select name="facilities[]" id="facilities[]" style="width: 130px;" multiple="mutiple" size="3"> <option value="17">Conference hall</option> <option value="16">Meeting</option> <option value="14">Danceing</option> <option value="15">Swimming</option> <option value="18">A/c room</option> <option value="19">Dining hall</option> <option value="20">Cooking facility</option> <option …

Member Avatar for Shanti C
0
77
Member Avatar for samaniac

Hey guys, I'm getting the above error, could any of you tell me why? Here's the code [CODE]$mysqli=new mysqli("localhost", "***", "***","***") ; if(!$mysqli){ die("Database error"); } function checklogin($username, $password){ global $mysqli; $result = $mysqli->prepare("SELECT * FROM users WHERE username = ?"); $result->bind_param("s", $username); $result->execute(); if($result != false){ $dbArray=$result->fetch_array();[/CODE]

Member Avatar for hielo
0
1K
Member Avatar for lf.gene

Hi all, how do i compare one date with a list of array which consist of date? [ICODE] $date = 1990-12-3 $viewSchedule = "select * from schedule where id_user = '$idHairstlylist'"; $scheduleResult = mysqli_query($dbConn,$viewSchedule) or die(mysqli_error($dbConn)); while ($row1 = mysqli_fetch_array($scheduleResult)){ for($j=1;$j<=4;$j++){ $day[$j] = $row1['od_week'.$j]; if ($day[$j]!= $date){ echo 'hi'; } …

Member Avatar for mschroeder
0
627
Member Avatar for Borzoi

I'm currently building a website for a small charity and they've asked me if it was possible to make an admin area where they could access some of their work when they're out and about so they don't have to fill in forms twice. I can do this as I …

Member Avatar for Borzoi
0
170
Member Avatar for tape enterprise

hello, I am currently working on CMS and I want a way for the user to upload images to go along with their post how would I upload the image with php and then add it into the database for later retrieval when people look at the posts?

Member Avatar for tape enterprise
0
156
Member Avatar for paolonewage

Hello, I am trying to make a simple PHP web page as an assignment with register and login form and I am stuck in asking PHP to verify the password when it is wrong. It basically recognizes the ID & PASSWORD when they are right and send me through to …

Member Avatar for paolonewage
0
100
Member Avatar for pcchella

Hi all, In this program I want to display row one by one in table format. Please help me Regards, chelladurai P.C. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Revaluation : Sona College of Technology</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> …

Member Avatar for TySkby
0
93
Member Avatar for astroboy44

Hi guys,I am trying to force download files from ftp server to my local machine using the following code. [CODE] <?php header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"" . basename($filename) . "\""); header("Content-Transfer-Encoding: binary"); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'ftp://username:password@localhost/'.$path.'/'.$filename); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec ($ch); curl_close($ch); ?>[/CODE] The above code works perfectly …

Member Avatar for astroboy44
0
1K

The End.