39,316 Topics

Member Avatar for
Member Avatar for tejasluvs

I am working on a PHP application and there is a link by which Invoice Preview can be seen and it is dynamically generated. There will be an option in this preview to convert it into PDF. I am trying to find a php class or script which will easily …

Member Avatar for tejasluvs
0
71
Member Avatar for tejasluvs

Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page …

Member Avatar for tejasluvs
0
126
Member Avatar for vilasdhobale

I has been developing Visitor Management system this facilited service Digital Sigmnature , Webcvam photo capture and thumb impresion but thumb impresion not succesen in php i am trying ot intigreat thumb impresion capture and save to mysql database but not success. [B]i need thump impresion code [/B] please help …

0
47
Member Avatar for sastudent

Below is [B][U]SOME[/U][/B] code from my [U]drop down box class[/U]. I would like to make the drop down box sticky so that when a user fills out the form and makes a mistake, or leave out a certain field, the values he/she selected from the drop down box remain intact …

0
92
Member Avatar for praveen_dusari

hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", …

Member Avatar for eaksin
0
147
Member Avatar for BTW8892

Hey, i was wondering if it was possible to find the sum of all the values in certain row and than find the max value of all of them. I have the following code, but it only grabs the largest value from all the rows, is it possible to sum …

Member Avatar for BTW8892
0
112
Member Avatar for jen06

Hi, I am new in this site. I'm a computer science graduating student and trying to get some information regarding online voting system. Unfortunately, I don't have any idea using PHP language. I really need brilliant ideas in building this system. Any idea that you would send would be highly …

Member Avatar for chrishea
-1
83
Member Avatar for LloydFarrell

Hi, I am using substr to bring back only the first few lines of text from a database field - For example: $message_contents = substr($message_contents, 0, 43); How can I protect against the substr to deliver the next full word ? so, if my 44th,45th,46th charachters were (com) currently the …

Member Avatar for kc130
0
136
Member Avatar for SerjSagan

Apparently, because my site uses cookies, a SetCookie header is sent with every page on my site...well I don't want that as Google PageSpeed sees that as a huge slowdown...so I either have to create a cookieless doamin to serve all of my content, or preferably, I'd like to suppress …

Member Avatar for sDJh
0
144
Member Avatar for Chosen13

I developed a forum ([url]http://www.stickmin.com/Forums/[/url]) and I need help letting users make their thread a poll with PHP. I want them to have a textarea where they can enter an option to vote for and they make a new line for each option. I also want it to save each …

Member Avatar for sDJh
0
142
Member Avatar for seemsbeautiful

Hello :D i'm new here .. I'm 15 years old and wanna learn for making online shopping website which including like make user database with mysql and make shopping cart . I already installed XAMPP on my comp . But i don't know how to make login form in my …

Member Avatar for scaiferw
0
156
Member Avatar for phpboy

Hello Everyone. I am looking for some great ideas to develop something in PHP for my college project. I am interested in developing something in php/mysql. All i am looking for are some good project ideas. I have thinked for a while now and found some ideas like "making a …

Member Avatar for phpboy
0
230
Member Avatar for rajeesh_rsn

Hi , In one of my web application I want a real visitor count. I am not looking for any third party one. Also I want to know visitors are from which country ? I wrote a code and that will add in database when each page visit. But if …

Member Avatar for rajeesh_rsn
0
72
Member Avatar for diehardfighter

I am new to PHP.I want to include this outing management in my Hostel mgmt. application. A student request to stay out of hostel to the warden - also the administrator. The request is called "outing request". The warden can either accept or reject it. if the warden accepts it, …

Member Avatar for diehardfighter
0
105
Member Avatar for samarudge

Hi, I want to get the user and group that APACHE is running in through PHP. Like APACHE normally has the user 'apache' and group 'apache' but it can sometimes be 'httpd' for both or it may have been changed by the server admin. How do I find out the …

Member Avatar for SikoSoft
0
188
Member Avatar for wish02

i'm using an iframe for our project. when i run the project, the url will be [url]http://localhost/iset/tech/mainTech.php[/url]. but mainTech is an iframe, so it doesn't show the url of the pages that changes inside the iframe. how do i show the url of the pages inside? cause i need to …

Member Avatar for sDJh
0
314
Member Avatar for Dartz654

Below is my post script. I'm trying to make it have a flood check (or something to stop people from spamming and crashing my servers) and my solution is to make a message appear saying "You've posted" when they hit the Post button. I tried adding Javascript alerts in multiple …

Member Avatar for SikoSoft
0
147
Member Avatar for kaash1

I need a help with selecting the rows in a table depending on the [I]status[/I] in previous table. [B][COLOR="DarkGreen"]Table1[/COLOR][/B] [CODE]Column1 Column2 Status Smith Alex 1 Smith Mark 0 John Smith 1[/CODE] I have second table with 2 columns. I want to select only those rows which have ANY of the …

Member Avatar for SikoSoft
0
84
Member Avatar for azegurb

hi all, i have one question around return function for ex. [CODE]<?php class Employee { private $name; // Getter public function getName() { return $this->name; } // Setter public function setName($name){ $this->name = $name; } } $azer=new Employee(); $azer->setName('sahib'); echo $azer->getName(); ?>[/CODE] why here we must declare two functions. one …

Member Avatar for azegurb
0
89
Member Avatar for dan1992

how ca i make a php function to delet a photo this is the file theat show photos .... [CODE] <?php $dir="../SV_uplod/"; if($opendir = opendir($dir)) { while(($file = readdir($opendir)) !==FALSE) { if($file!="."&&$file!="..") echo "<img src='$dir$file' width='200'><br>",$dir,$file; } } ?>[/CODE] Please Help THX !

Member Avatar for shubhamjain1
0
143
Member Avatar for vilasdhobale

I am trying to connect to MySQL database at on host (DBhost) from another host (PROGRAMhost). While I try to connect to the database at DBhost from DBhost itself the next is working fine for me: mysql_connect("localhost","qdbname","dbpassword") Now I am trying to find out what to use instead of localhost? …

Member Avatar for rch1231
0
171
Member Avatar for LloydFarrell

Hi all, I have a pagination script that works great apart from one last thing I require some pointers on please. The help i need is with the SELECT query - currently the select query works, but i am bringing back all records, I am trying to bring only certain …

Member Avatar for LloydFarrell
0
211
Member Avatar for Virangya

I am trying to upload a file into the server.. but its not working. im coding in mvc and this is the view file which contains the form data. <form id="frm" name="frm" method="get" enctype="multipart/form-data" action=""> <input type="file" name="file" /><input type="hidden" name="MAX_FILE_SIZE" value="2000000"/><input type="submit" name="upload" value="upload" /> </form> this is the …

Member Avatar for shubhamjain1
0
677
Member Avatar for bobbymoir

I have a news website in PHP & MySQL. All News items are generated from the database with a php file (../shownews.php?newsid=39393). Here my problem is that i want to put MOST POPULAR NEWS ITEM and i can't figure out how to do so as its dynamically generated. Someone please …

Member Avatar for bobbymoir
0
128
Member Avatar for am5a03

[COLOR="Red"]Here is an extract of coding from my "main.php"[/COLOR] [CODE=php] if ($_GET["action"]==1){ //Redirected from the login page } else if ($_GET["action"]==2){ //Redirected from other page } else if ($_GET["action"]==3){ //Redirected from other page } else if ($_GET["action"]==4){ print "Test"; } else if ($_GET["action"]==5){ print "Test2"; } [/CODE] [CODE] <a href …

Member Avatar for am5a03
0
161
Member Avatar for dlannetts

Hello, l want to retrieve information from a database,, l have a section for it to load but there is two entries (for now) l want it to pick a random one and load it, how can l do this? in my html file l have Name: <?php echo $latest_deal_name; …

Member Avatar for nileshgr
0
176
Member Avatar for Chosen13

My site is a kid-based gaming site. I don't want users to be able to enter bad words. I don't want a filter that censors them, but one that if a bad word is found, redirects them to a Filtered Word page. On my previous one, words like hello or …

Member Avatar for Dartz654
0
58
Member Avatar for renoua

hello, I need some help with my assignment. I have a XML file (EAD) that has some general info about 106 old documents and the library that are located and a description for every one in 106 <c01> tags . Each document has an id in c01/did/unitid (unitid tag). I …

0
59
Member Avatar for Lapixx

Hi, I'm using a simple .htaccess file to use a custom 404 error page: ErrorDocument 404 /errors/404.php Inside this 'errors' folder, there is the 404.php file, and an image, which I want to include in the 404 page. Anyway, when I request a non-existing page from the root folder, everything …

Member Avatar for bigtalk
0
258
Member Avatar for bigtalk

I found this great piece of code for validating URL's. I've been trying to get it to work with preg_match() since eregi() is deprecated with with PHP 5.3: [code=php]// SCHEME $urlregex = "^(https?|ftp)://"; // USER AND PASS (optional) $urlregex .= "([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?"; // HOSTNAME OR IP $urlregex .= "[a-z0-9+$_-]+(.[a-z0-9+$_-]+)*"; // http://x …

Member Avatar for bigtalk
0
165

The End.