39,316 Topics

Member Avatar for
Member Avatar for gacoekchip.pokher

Hi All, Help me please...! How to get harddisk serial number and motherboard serial number using php?. Thank.

Member Avatar for gacoekchip.pokher
0
4K
Member Avatar for moblyft

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 …

Member Avatar for rotten69
0
320
Member Avatar for empror9

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 …

Member Avatar for empror9
0
117
Member Avatar for gacoekchip.pokher

Hi all, help me please. how to protect php script that can only be installed only for the one PC?. Thank you.

Member Avatar for jbennet
0
112
Member Avatar for heshanm

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. …

Member Avatar for heshanm
0
154
Member Avatar for vishalonne

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 …

Member Avatar for fobos
0
180
Member Avatar for happygeek

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, …

Member Avatar for Heinz Stapff
4
932
Member Avatar for moblyft

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 …

Member Avatar for Taywin
0
231
Member Avatar for iamthwee

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.] …

Member Avatar for Dani
0
113
Member Avatar for stupid guy

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 …

Member Avatar for gacoekchip.pokher
0
152
Member Avatar for nova37

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 …

Member Avatar for nova37
0
352
Member Avatar for neartoyou

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 …

Member Avatar for almostbob
0
234
Member Avatar for baig772

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'); //========================================== …

Member Avatar for baig772
0
7K
Member Avatar for ibakir

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

Member Avatar for ibakir
0
159
Member Avatar for vindyauwu

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 …

Member Avatar for vindyauwu
0
239
Member Avatar for violaceous

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 …

Member Avatar for violaceous
0
129
Member Avatar for subhadeep.majumdar.733

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 …

Member Avatar for subhadeep.majumdar.733
0
189
Member Avatar for gacoekchip.pokher

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 …

Member Avatar for gacoekchip.pokher
0
136
Member Avatar for scorpionz

Hello to all first of all. This is Scorpionz. I am working on PHP OOPS these days, I am having a little problem in my Connection class, with Database. Lets have a a look. [code] interface db { public function connect(); public function close(); public function error(); } class mysqldb …

Member Avatar for rsiljat
0
379
Member Avatar for andyy121

<form action="login.php" method="post"> Username: <input type='text' name ='username'><br> Password: <input type="password" name='password'><br> <input type="submit" value="Log in"> </form> </body> </html>

Member Avatar for James Donovan
0
151
Member Avatar for extjac
Member Avatar for James Donovan
0
162
Member Avatar for jwales

Hi, I have a problem with my code. When I fill the PHP form and submit on the page, I encounter with 2 problems; 1- It writes all 6 input coming from 6 textareas to next line in csv file as I want. But it writes all of them into …

Member Avatar for jwales
0
148
Member Avatar for jcl1290

I want to let the users of my page (they dont have to be registrated) to register a food plate that they ate at my restaurant. It should have a picture and a review, now that should go to a database and appear randomly but daily at homepage. can anybody …

Member Avatar for jcl1290
0
179
Member Avatar for trishtren

Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian …

Member Avatar for keith.pastorek
0
1K
Member Avatar for iamthwee

can someone explain these. And the difference between abstract and interfaces? These confuse me. Ta Also if you're asked to write a bit of code what tasks can i expect and can i assume i'll be given any resources or just pen and paper?

Member Avatar for Morta
0
140
Member Avatar for LastMitch

Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are …

Member Avatar for LastMitch
0
265
Member Avatar for wasim kazi

I have one div which contain UL and LI. In this I want to generate dynamic Id of that LI. right now I given static id of this . Now In this I want to generate my li's ID like given below. Now I'm bit confused how will I get …

Member Avatar for wasim kazi
0
1K
Member Avatar for passioncoder

Hi Coders, I am really in need of your help...... *Table of contents* are available with *action buttons*, When i click on a particular action button say for examble *edit*,the *id* of that *particular row* should be passed to the *edit space*,so that i can pull all other values from …

Member Avatar for passioncoder
0
1K
Member Avatar for Linna

I want to show names of the employee in drop down list fetched from database depending on type of team checked by the user (Teams like Hr,PD,PI) are in the form of checkboxes .how can i do this? the code m using is:- `<li><input type="checkbox" name="box[]" value="Ac&Admin" onClick="dropdown(0)" />Ac&Admin</li> <li><input …

Member Avatar for pritaeas
0
120
Member Avatar for RobotFX

Well, I'm still a noob when it comes to PHP (or anything), so I'll just give an example. If you go here: http://www.gmodules.com/ig/ifr?synd=googlemodules&w=500&h=350&mid=0&url=http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml you'll see the XML gadget displaying nicely in the browser window. Of course, if you load only the gadget in the browser (http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml) the page will display …

Member Avatar for pritaeas
0
172

The End.