39,326 Topics
| |
Hi All, How to Play Sound where record of mysql table is added?. thank you. | |
I have a following problem in my project. The administrator add the buyerid,styleno,buyername,buyeraddress and phone no to the system.(Buyerid is Auto increment.It is not adding by the admin.) When that added it goes to the table addnewbuyer in database.After adding this information buyerid is given to the buyer. From this … | |
Hello all, I am working on an upload script. This one is taken straight from php.net. I tried to get it to work but can't seem to. Could you help out? This is the code: <?php $uploads_dir = 'file:///PETBookPro09/Users/petuser1/Desktop/'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK) … | |
Hello all, I am working on an upload function and am having problems. This is the message that it says: Warning: move_uploaded_file(../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/Applications/XAMPP/xamppfiles/temp/phpMtgNWy' to '../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg' in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 … | |
am developing a web.. payroll system that it should perform calculations.... up there is well the problem with is to send the result to the database... to me the calculated values does not appear in the database while other informations have appeared....please i beg ya contribution... | |
i have php application already build with CI.i want to move to app to php fog cloud. what i have to do can any one guide me? | |
plz some should help me on how to connect my sim card to my website so that the site can send sms onbehalf of the sim with the sim id to my network provider and my clients thanks in advance | |
Good day, please help, when i transfer my phpcode in ubuntu I am getting this error * Warning: include(includes/sidebar.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/tg/index.php on line 47* but when I'm using Windows vista my pages are okey... please help thank You.. | |
if(isset($_POST['add_user'])){ $passw = trim(htmlentities($_POST['password'])); $encrypted = enc_salt($passw); $con = "true"; $sql = "SELECT * FROM users WHERE username='".$_POST['user_name']."'"; $result = $database->query($sql); $row = $database->fetch_array($result); if($row!=""){ $con="false"; } if($con!="false"){ $sql = "INSERT INTO photo_gallery.users (username, password, first_name, last_name)"; $sql .= " VALUES ('".trim(htmlentities($_POST['user_name']))."','".$encrypted."', '".trim(htmlentities($_POST['first_name']))."', '".trim(htmlentities($_POST['last_name']))."')"; $result_set = $database->query($sql); echo '<script type="text/javascript">alert("Account … | |
can anybody send me a project ONLINE DISCUSSION FORUM developed in php...... | |
Hi, I am looking for a procedural PHP script that would allow me/my users to upload video content in a number of popular formats. I would also like all the information to be linked into a MySql database as well. I already have a upload script for uploading documents but … | |
| Hi, I have a page that gets adverts and an image from mysql database. Getting the results is no problem. How do I make use of css to align each advert next to each other as opposed to every advert under one another. I also have a problem of the … |
Hi All, Help me please...! How to get harddisk serial number and motherboard serial number using php?. Thank. | |
I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays … | |
Hello, I know a little about php and I want to develop a website about advertisment. something about register a website and search about available adverstiment. I don't know what is better to use, functions or classes? help me for this other question, how to develop a script and make … | |
Hi all, help me please. how to protect php script that can only be installed only for the one PC?. Thank you. | |
Hi all, My requirement is to add student marks into the system. In my form i have entered admission number of the student, term and year and click on "Add" button to enter marks. Thereafter the page should be redirected to the following page where it should be displayed marks. … | |
Hi... After long time I came back. Actually I am trying to display State and City list in 2 drop down box using PHP and Ajax. State and city list is coming from Mysql. I am able to get the list of state but after changing the state city drop … | |
Everyone loves PHP these days it seems, and that includes the bad guys. So it should come as no surprise to learn that yet another remote access Trojan written using PHP has appeared. However, the fact that this particular bit of PHP backdoor code comes complete with a second, hidden, … | |
I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays … | |
| OK so I'm quickly making my way through codeigniter... It seems pretty pleasant and the MVC model seems Okay. But I have come accross a problem in passing an array to a view and displaying it. Following the MVC pattern, the database queries are separated into the Mo**d**el file. [Good.] … |
hi all, I am new to php and have started some coding.I want to insert values in one table1 and update values of table2. It worked for me last day..but today it doesnt work.I have hardly changed any code.i guess except fr deleting some comments in code..u plz tell me … | |
| hello today i was trying to add search functioality to my site. my site actually display analysis reports for websites like google.com but what if user enter simply google so i thought why not to add search function that display results on keyword google. well i added search.php to my … |
When the PHP file got a data that has '> <' or 'http://' **with GET Methode**, it's going to Forbidden Page. example: * mysite.com/folder/chat.php?text='> <' or * mysite.com/folder/chat.php?text='http://www.site.com' This is the result : [ **Forbidden** You don't have permission to access /folder/chat.php on this server. Additionally, a 404 Not Found … | |
i am having a problem, i downloaded the project from dev to my local, though it is running fine on dev but on local, it says me the following error Fatal error: Class 'DB' not found in F:\xampp\htdocs\timesheet\index.php on line 9 my index.php is <?php session_start(); error_reporting(1); include_once('classes/db.php'); include_once('classes/functions.php'); //========================================== … | |
Hi Guys I have this page http://beuniquegroup.com/ the slideshow working, now i copied the code to other page http://beuniquegroup.com/our-values but unfortunitly it gives me no image, so I think this slideshow is not connected to my post yet! Please help! Thanks | |
I want to validate phone number its not workning.Please help!! This is php code. <?php error_reporting(E_ERROR|E_WARNING); session_start(); $dblink = mysql_connect("localhost", "root", "") or die('Not able to connect to server : ' . mysql_error()); mysql_select_db("apperal",$dblink) or die('Not able to select Database : ' . mysql_error()); //hama ekakatama poduwe hadapu connection eka … | |
Hi, I'm having some trouble. I am fetching a list of "training tickets" from a table and each has its own transaction id for ease of coding. Everything appears as it should (though I'm in the very basics of tweaking that) but when I hit 'reject' it is deleting the … | |
I am new in php and I have created a php login page where it will retrive data from a table and check a print "login successful" or "login failed". Now after execution of the codeI am giving correct data but all the time it is replying "login failed" plese … | |
Hi all, Help me please. i have two table: outbox and contact. condition outbox table befor query/ insert. CREATE TABLE `outbox` ( `id` int(11) NOT NULL, `phone_number` varchar(30) NOT NULL, `message` varchar(200) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; Contact table: CREATE TABLE `contact` ( `id` int(11) NOT … |
The End.