39,326 Topics
| |
Hi I need to represent data from my mysql table into a graphical format. I summed all the columns I needed then I need to represent the addition of each individual column onto a graph, but I want to print the correct data onto my screen first then represent the … | |
hi i use below code for video convert in flv. code work perfectly but when the out put comes file become 0kb. $srcFile = "upload_v/veer.avi"; $destFile = "upload_v/veer.flv"; $ffmpegPath = "/usr/bin/ffmpeg"; $flvtool2Path = "/usr/bin/flvtool2"; $ffmpegObj = new ffmpeg_movie($srcFile); $srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth()); $srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight()); $srcFPS = $ffmpegObj->getFrameRate(); $srcAB = intval($ffmpegObj->getAudioBitRate()/1000); … | |
I have a problem w/ the Below code, that when I view the table, it repeats the Headers for each row. : For instance: [CODE] comed_zone chicagogen_hub chicago_hub nillinois_hub 10 30.8 30.4 30.8 30.6 comed_zone chicagogen_hub chicago_hub nillinois_hub 11 29.0 28.2 29.2 28.8 comed_zone chicagogen_hub chicago_hub nillinois_hub 12 28.2 27.5 … | |
I am having a looped form in my site, but i have a problem on saving it. I don't know where is my mistake. Please someone help me. i have 5 records. in my code it saves only one record. and its not giving the correct value. it shows "Array" … | |
Hello all, I'm a PHP newbie and have my apache Server and PHP in place. I have been able to run simple programs that work well. However, since then when I do "http ://localhost/filename.php" I either get 2 messages. 1. An error message if there's an error in my code … | |
Hello friends is there any keylogger scripts thats I putt into my home page when user visit it it make a log file of users key storks and send it in the mail or upload in the script form | |
Hello everybody and thank you in advance for any suggestions and help I hope to receive. I have Mysql experience but now I am working on my first M$sql database project, and I am getting frustrated. I am using php and would like to export a query. It is quite … | |
Hi, I have a problem with the way my program run. The situation is that I have a form where it ask for the date then when the button submit is clicked the records which has the same date will display. After that there is a button extract where if … | |
I'm still very new to this but is there a way to control content (text and/or image) using PHP and a specific date? For example I need to add "New Store Hours" to a listing of locations for a client website, however I don't want to have to go back … | |
i have a page which list all the products and there are checkbox to do muiltiple deletion. but there is an error on line 62 for the $delete [CODE]<html> <head> <title>delete</title> </head> <body> <? $objConnect = mysql_connect("localhost","root","booo33384") or die(mysql_error()); $objDB = mysql_select_db("db-test"); //$strSQL = "SELECT * FROM products3"; $strSQL = … | |
I have a variable [ICODE]$topic = $POST_['topic'][/ICODE] that is entered by the user, it can possibly have spaces. I want to create a table based on this variable. Right now the code creates the table but only uses the first word. [CODE] $create="Create TABLE $topic (I know this part works)"; … | |
<?php $res = mysql_query("SELECT * FROM users WHERE username = '$user' LIMIT 1"); if(mysql_num_rows($res)>0){ $d = mysql_fetch_array($res)){ if($pass == $d['password']){ session_regenerate_id(); //security for changing permissions $_SESSION['user_id'] = $d['user_id']; $_SESSION['usertype_id'] = $d['usertype_id']; switch($d['usertype_id']){ case 1: $loc = "nurse.php"; break; case 2: $loc = "paramedic.php"; break; case 3: $loc = "doctor.php"; break; … | |
i'm newbie in php. need more help to finish my project..i have 3 page: 1st page : status button(i'm using image button for each status and have 5 status button) code for image button: [CODE] <a href="negeri-semak.php" ><INPUT TYPE="image" value="" src="pictures/icon/image005.gif" width="230" height="37" border="0" id="RAKAN MUDA" onclick="javascript:this.form.submit()" name="BTN" alt="RAKAN MUDA"></a> … | |
Error messages should be displayed within the html if certain fields on my member register form are left empty, if they are invalid types or if the username entered already exists. I've tried adding a record with an already existing username and it does direct to the member registration failed … | |
Hi, How to know the cron is working or not. i am getting mail from cron but how to know whether the functionality is working or not. i am getting mail like this [B]Cron Daemon [email]root@ip-xyz.ap-southeast-1.compute.intern[/email]al to me show details 4:59 AM (11 hours ago) --2012-01-10 04:59:01-- [url]http://www.xyz.com/reports/status.php?provider=6[/url] Resolving [url]www.xyz.com[/url]... … | |
i am trying to create google adword sandbox account and display the information returned by sandbox for it i hv installed google adword library and installed it.and made a code index.php which is[CODE]<?php require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; $username = "rmvd for security"; $password = "rmvd for security"; $currencyCode = "USD"; $developerToken = … | |
hi, how can i select only unique string out of a series of iterating strings? for example, i have this folder which contains number of files with quite long names. i have used readdir() to find all the files. assume that the name of the file has an format. eg: … | |
Hi All, Need your help. I'm trying to create a small movie DB for my personal use. I have a input form from where I'm collecting all the data as an array and processing through PHP to MYSQL. I have three tables where I have tried to create many-to-many relation … | |
I need some help with radio button data and how to code it in PHP to insert the data into MySQL. Here is my [B]Form Code[/B]: [CODE]<form method="post" action="update.php"> First Name: <br /> <input type="text" name="fname" size="35" /><br /> Last Name: <br /> <input type="text" name="lname" size="35" /><br /> Phone … | |
Hey guys New to PHP and programming in general. I am writing my first PHP form to spit out some "instant" answers based on user input. Basically, i want the form choices to change automatically(without page reload) depending on the choices made before it . I do not know AJAX … | |
This is partially in reference to these threads: [url]http://forums.cpanel.net/f5/fastcgi-fcgid-php-ini-per-user-100133.html[/url] [url]http://forums.cpanel.net/f5/individual-php-ini-files-php-fcgi-php-cgi-160398.html[/url] I more or less followed the instructions there and I came up with the following settings: [b]/home/username/public_html/cgi-bin/php.fcgi[/b] [code] #!/bin/sh export PHP_FCGI_CHILDREN=1 export PHP_FCGI_MAX_REQUESTS=10 exec /usr/local/cpanel/cgi-sys/php5 [/code] [b]/usr/local/apache/conf/userdata/std/2/username/custom.conf[/b] [code] AddHandler php5-fastcgi .php Action php5-fastcgi /cgi-bin/php.fcgi [/code] [b]/usr/local/apache/conf/includes/pre_virtualhost_2.conf[/b] [code] Action php5-fastcgi /cgi-bin/php.fcgi … | |
Hi every one, i am making a database table which count how much times page reloaded. i have create a variable in session and assign it a value "0"; now i want when page reloaded this value of session variable will increase with 1. how can i do this. please … | |
Hi, I got this function on index.php: [CODE]//user 'logado' ou nao function is_logged() { if(isset($_SESSION['username'])) { return true; }else{ return false; } }[/CODE] And i want to use it on top.php (on top is the banner and the menu). [CODE]<div> <ul class="menu"> <li class="top"><a href="index.php" class="top_link"><span>Página Principal</span></a></li> <li class="top"><a href="inscricao.php" … | |
hey can i transfer pictures through sockets through php? how can i do it if its posible.i want to send n receive pictures | |
i have 3 different table in 1 database.. and i want to let my user see their own profile by using search.. but, my user will divide by those 3 program and their details may be only in one table.. how can i let my user choose their program using … | |
hi m making aregisteration form for employees. n validate its some very basic field. but the problem is that if i enter wrong it shows me the error and says click here to refill as told by me but when i enter the correct data even then it shows click … | |
I have a loop that writes out data for franchises. It works the first time through, but not the 2nd. Here is the page where the data is written out: [URL="http://184.172.137.97/~royl21st/1.php"]http://184.172.137.97/~royl21st/1.php[/URL] Here is the code that spits out the wrong data after the first successful loop. Any ideas? [code] $areaCodeData … | |
Hi, How to change the csv file's header. In my csv file i am having header as name and email. I want to change it with first_name and emailid without any data lose. Please give me solutions.......... | |
Dear All, I am using fpdf to generate a report but one of the field I need to be multicell as the contents can be few lines long. Below is the codes what happens now is that the multicell will be few lines long but the rest of it will … | |
Hello, i am a newbie on php programming and try working on my last project in my school. My program is to compare 2 different xml file, it working well at first. but when i tried to add more xml file to compare, the page keeps telling "Fatal error: Call … |
The End.