Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
39% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
10
Downvotes Received
36
Posts with Downvotes
11
Downvoting Members
14
13 Commented Posts
0 Endorsements
Ranked #464
~45.6K People Reached
Favorite Tags
Member Avatar for Kparas

Hi all, I want to import a .csv file into mysql database with using php code. How i can do this . what php code i will have to use for this. Please help me to do this. Because i have thousand of records which is in .csv file format. …

Member Avatar for rahulnamdev
0
480
Member Avatar for Clanstrom

Hi guys. It's been a third day now, I am having problems with header. I have many included files which output echo before the header, so since I can't output them after the header, I used ob_start(); and ob_flush(); but still I am getting header problems. If you wanted to …

Member Avatar for diafol
0
148
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Member Avatar for talad
0
3K
Member Avatar for jhonnyboy

hello everyone i am currently working on my website. I wanted to make a php script for registering users. So that they may log in, log out, register, and access member only functions. I found a good tutorial online but since im fairly new to php and have never worked …

Member Avatar for aruna_juice
0
1K
Member Avatar for gerbz

what's wrong with my code? <?php error_reporting(0); // ' Send me an email' script if($_POST['submit']) { //get data from form $name = $_POST['name']; $message = $_POST['message']; if($name&&$message) { // existance check $namelen = 20; $messagelen = 300; if(strlen($name)<=$namelen&&strlen($message)<=$messagelen) // length check { // everything is ok! //set SMTP in php.ini …

Member Avatar for alan_ot
0
114
Member Avatar for 68thorby68

I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation. I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll I have checked …

Member Avatar for rajibmaity
0
2K
Member Avatar for Onlineshade

I want to set up Red Hat or Fedora with windows. But the dual boot option is no working. I set up windows 7 with 90 GB Hardisk. I have 148 GB in total. When I want to set up fedora it shows - not enough space. But still there …

Member Avatar for Onlineshade
0
204
Member Avatar for prestige9

Dennis Ritchie died at age 70. Great loss the creator of C and co-inventor of Unix.Few people can truly say they changed the world. And Dennis certainly is one of the few. RIP Dennis, but also thanks for making the world in which we live in today! Thank you Dennis …

Member Avatar for MonsieurPointer
0
121
Member Avatar for shg234

Hi, I'm not very much used to with this kind of things, trying to call a class variable from a different page... Please look at the code below: [B]class.php[/B] [CODE]class bag{ private $no_of_items=0; private $sub_total; public function update(){ $this->no_of_items = $this->no_of_items++; return true; } }[/CODE] [B]index.php[/B] [CODE] $cart = new …

Member Avatar for broj1
0
151
Member Avatar for maxelcat

Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I …

Member Avatar for maxelcat
0
94
Member Avatar for jogesh_p

hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection??

Member Avatar for jogesh_p
0
129
Member Avatar for jashbela

Hi,This place has solved lot of my problems , so here I come one more time. I have looked at this for long , can't fix this. I am copying my schema my xml and errors if you can help . Please and Thanks. <xs:element name="listings"> <xs:complexType> <xs:sequence> <xs:element name="listing" …

Member Avatar for phpbeginners
0
1K
Member Avatar for sam023

I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.!

Member Avatar for Jack_M
0
698
Member Avatar for phpbeginners
Member Avatar for phpbeginners

Hi All, I want to run a HIDDEN FUNCTION when I click "OK"...not "CANCEL" in window.onbeforeunload() is it possible? [CODE]<script type="text/javascript"> window.onbeforeunload = function() { var bUnsavedFields = true; if(bUnsavedFields) { window.event.returnValue = "I WANT THE OK BUTTON NOT CANCEL :) TO TRIGGER HIDDEN FUNCTION AFTER EXIT"; } setTimeout("myFunction();",5000); } …

Member Avatar for twiss
0
275
Member Avatar for Xaibo

Hi guys! I´m really new to PHP, but i'm involved in a small project. But i'm having an issue with the mail form. It was working, but as the user refreshed the page it would send the values of the variables again and again... First i managed to auto refresh …

Member Avatar for squinx22
0
332
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Member Avatar for mossa
0
317
Member Avatar for phpDave

Hi. I am trying to allow users to upload images to site. It works on testing server but having trouble on remote server. GoDaddy. Here is the upload dir for testing server: [CODE]define('UPLOAD_DIR','C:/xampp/htdocs/MyStuff/images/');[/CODE] Not sure for remote server.

Member Avatar for phpDave
0
227
Member Avatar for monta2020

i have created a web page and placed some text boxes on it, now i'm looking to create an error massages when a person enter a wrong input the error massage will tell him/her to enter the right one and also if he/she left a text field empty and clicked …

Member Avatar for phpbeginners
0
246
Member Avatar for jacob21

Hi, I am working on a job module where i have to fetch company name having more jobs. like abc 20 jobs def 30 jobs ghi 10 jobs jkl 40 jobs what i want to do, job order acc to job number like below jkl 40 jobs def 30 jobs …

Member Avatar for tomato.pgn
0
221
Member Avatar for s2xi

Hey guys, I was making a form that is um... quite large and all inputs consist of the form looking like [CODE]<input type="text" id="first_name" name="first_name" />[/CODE] so instead of having to do [CODE]$first_name = $_POST['first_name'];[/CODE] and so on for every input, is there a way to grab every 'name' or …

Member Avatar for SolidSolutions
0
150
Member Avatar for phpbeginners

Hi All, I just want to share my simple program :-) [url]http://www.momococo.com/nmbp/ajax/virtual_edc_sales.php[/url] Isaiah 9:6, Isaiah 7:14, Matthew 1:22-23, Jude 1:5, 1 John 4:2-3, I Timothy 3:16 [url]http://armandecastro.wordpress.com[/url]

0
84
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for phpbeginners

hi guys! I have dell laptop inspiron 630m everytime I plugin the Ethernet cable the 1394 Connection is the one always connected not my Local Area Connection (Broadcom 440x 10/100) Under my Network Adapters: --1394 Net adapter --Broadcom 440x 10/100 intergrated controller --Intel(R) PRO/Wireless 2200BG Network Connection All devices are …

Member Avatar for phpbeginners
0
175
Member Avatar for phpbeginners

Hi, my pc keep on looping in user login. Logon/User options always come back. pressing f8 and try all options the same issue arise even administrator and user keep on looping and looping.

Member Avatar for gerbil
0
113
Member Avatar for SKANK!!!!!

[CODE]$dir = opendir ($path); while (false !== ($file = readdir($dir))) { if (strpos($file, '.png',1)) { echo "$file <br />"; } } [/CODE] super short code that lists the .png filenames obviously the $path variable is the path to the directory. how can i list them instead in abc order cause …

Member Avatar for mschroeder
0
162
Member Avatar for jemz

hello please help me on this i don't know how to trap the duplicate id_no..example if i have already added this id_no H-1010..then if i input again it should prompt that id_no is already exist on your database..please help me on this..hoping for your positive responds ..thanks in advance

Member Avatar for jemz
0
144
Member Avatar for MatuC

So I was working with my pc today when it suddenly froze, I restarted the machine and during startup I noticed that some letters were displayed wrong (like "A" where a "D" should be or "@" instead of a ".") and when windows started it displayed nothing understandable except the …

Member Avatar for Odsh
0
265
Member Avatar for peck3277

Hey guys, I'm hoping ye can help guide me here as I've reached a point in PHP where I think I can say I'm no-longer a beginner and would like to advance my knowledge. I believe my next step is understanding and using classes in PHP but for the life …

Member Avatar for xaeon
0
141
Member Avatar for johndoe444

[CODE]typedef struct _node node; typedef struct _node { int is_leaf; node child[THRESHOLD_ITEM_SET]; list<item_set> candidate_set; } node;[/CODE] or this: [CODE] typedef struct _node { int is_leaf; struct _node child[THRESHOLD_ITEM_SET]; list<item_set> candidate_set; } node;[/CODE] I am getting error: error: field ‘child’ has incomplete type I don't want to declare child as pointer. …

Member Avatar for mitrmkar
0
94