39,393 Topics

Member Avatar for
Member Avatar for sriramkarthick

Extension that are available as free from opencart and, Also provide me the extensions for displaying the categories as side menu ?

Member Avatar for pritaeas
0
123
Member Avatar for iwanna4get

The file is being copied the problem is all the file is getting copied like its going through the whole loop again <?php function copyfile($src,$dest){ copy($src,$dest); } ?> <!DOCTYPE html> <html> <head> <title>Menu</title> <link rel="stylesheet" type="text/css" href="menu.css"> </head> <body background="D:\Web\images\goo.jpg"> <div class="header"> <div id="logo"> <img src="D:\Web\images\the-library-white.png"> </div> </div> <div class="items"> …

Member Avatar for hag++
0
167
Member Avatar for Indians

in my project i'm using user input form. that form contains serial no, reference no, name, email, phone, address, etc.., in that user input form serial number textfield is readonly option. user can't able edit the serial number. in that textfield i want to show the next auto_increment id from …

Member Avatar for diafol
0
3K
Member Avatar for arifkutty

class Jcart { public $config = array(); private $items = array(); private $names = array(); private $prices = array(); private $qtys = array(); private $urls = array(); private $subtotal = 0; private $itemCount = 0; can any body please explain what the meaning of above code. in the first line …

Member Avatar for arifkutty
0
164
Member Avatar for kumar89hitesh

How to connect a web page with social media like facebook, twitter, LinkedIn etc.?

Member Avatar for kumar89hitesh
0
110
Member Avatar for Muhammed Waseem

Hi guys I'm new to php. I've been given a task to write a code in php that would allow the user to input his initials and the program should out his/her initials as a star pattern. E.g if your initials T.T,it should be as follows... ***** ***** * * …

Member Avatar for diafol
0
223
Member Avatar for shrikanthnk

Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ *alert($(this).attr('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?>

Member Avatar for shrikanthnk
0
189
Member Avatar for devianleong

Hi, I am developing a website and I want to use htaccess to change the url from `www.abc.com/user.php?c=devian` to www.abc.com/user/devian I use the code below to convert url and it's work but why all CSS and js not reading? `RewriteRule ^user/(.+)$ user.php?c=$1 [NC,L]` If I access `www.abc.com/user.php?c=devian` then I can …

Member Avatar for devianleong
0
191
Member Avatar for soniasharma924

please tell me how to connect to a database which is on other machine on same network. i have two machines, client and server. server is asking questions and client is responding with one of four options. i have an answer table at server side, and i want it to …

Member Avatar for sktthemes
0
174
Member Avatar for segunoloye

Can somebody please help me with the integration of "securimage" captcha on my form. I have tried to follow the procedure but couldn't and the guy is not responding. Pls help. The link to the installation instruction is: http://www.phpcaptcha.org/documentation/quickstart-guide/ My form procesor php code is below: <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for segunoloye
0
663
Member Avatar for Queos_1

Can anyone please help I'm having an index error with my php code. When I run the code I get the errors Notice: Undefined index: name in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 9 Notice: Undefined index: surname in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 10 Notice: Undefined index: contact_number in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on …

Member Avatar for Bukhari1986
0
550
Member Avatar for Clanstrom

I would like to know, why extending a built-in class in php is important. I mean let's take the PDO class for example. One can either work with using new PDO(); or class Foo extends PDO. to do the same task. I guess, maybe the only thing that makes sense …

Member Avatar for diafol
0
461
Member Avatar for Anila_1

Hi.. 'm new to PHP so please guide me.. i just want to create a simple yet secure login page with PHP and MySql as db.. The following must be the program flow.. 1.when a user tries to login for the first time it should check whether the user is …

Member Avatar for Clanstrom
0
172
Member Avatar for Priti_P

Hello, My application is in PHP. I use the below code to send invitation- <?php $message=" BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130901T121000Z DTEND:20130901T131000Z DTSTAMP:20110525T075116Z ORGANIZER;CN=From Name:mailto:from email id UID:12345678 ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sample:emailaddress@testemail.com DESCRIPTION:Test the first invite LOCATION: Test Location SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Test the first icalendar invitation TRANSP:OPAQUE END:VEVENT END:VCALENDAR"; /*headers*/ $headers …

Member Avatar for diafol
0
301
Member Avatar for praba_web

Hi, I am Freelance Web developer. i dont know How to Set Web Design and Web Development Prices? Recently i have done one web designing project.that project contains 16 pages with mysql. Please Tell me how much should i have to charge?

Member Avatar for hag++
0
284
Member Avatar for klemme

Hi all, I'm trying to delete elements from an array - The array should be a shopping cart - So I need to ad/remove items from it. So far I can add items no problem, but i seem to keep failing to delete the correct indexes. The array contains a …

Member Avatar for paulkd
0
3K
Member Avatar for Folaju

I have a silly issue, I am creating a CMS at the moment. it has pages and menus . I created a page to add new pages. on that page i have a drop down list that is populated with data from the menu. I also have an edit page, …

Member Avatar for sachin.padole1
0
10K
Member Avatar for sruthisru

is it possible in php to download uploaded excel sheet by taking only its filename from the database?? if so solve my pblm..thank u..:)

Member Avatar for paulkd
0
243
Member Avatar for falcongr

Hello everyone I am having this simple contact form and i want to make the name , email fields to be required.Also i want to add a thank you message after someone press the sumbit button. Your help will be much appreciated. Php <? if ($_POST['name'] == '' || $_POST['subj'] …

Member Avatar for falcongr
0
500
Member Avatar for patk570

I have a simple login script that I want to test if the password is in temp status or not, if it is, then I want it to take them to changepass.php instead of index.php as seen below... but it doesnt take you to changepass.php it take you right to …

Member Avatar for phorce
0
101
Member Avatar for sing1006

here is my function.when i click on the readp button,it will show undefined variable,but still can show out the string in txt file. <?php if(isset($_GET['readp'])){ readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp); } ?> <?php function readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp){ $info=file('log.txt'); for($i=count($info)-1;$i>=0;--$i){ echo cleanOutputData($info[$i])."<br>"; } } ?>

Member Avatar for sing1006
0
313
Member Avatar for urbanthistleuk

Hello, I am currently working on a project which involves sending email out automatically when certain conditions are met in a MySQL dB using a php script, I have managed to build the email part and works, my question is how do you prevent an email being sent out twice …

Member Avatar for iLikePHP
0
189
Member Avatar for haolongvt

The following script will easily allow you to resize images using PHP and the GD library. If you’re looking to resize uploaded images or easily generate thumbnails give it a try Usage Save the code from the ‘the code’ section below as SimpleImage.php and take a look at the following …

Member Avatar for diafol
1
297
Member Avatar for kshahnazari

There is a big problem , when I go into my website with the url www.xxx.com the cookies go into the www.xxx.com and when I go with xxx.com the cookies place is xxx.com meaning that its diffrent from the first one , how can i set and get the cookies …

Member Avatar for GliderPilot
0
176
Member Avatar for pjh1985

Hi, I am building a website and decided to try and add clean URL's using mod_rewrite. This is my first time using mod_rewrite so i decided to follow a guide which resulted in URL's such as [url]www.example.com/gallery/12[/url]. This URL would then be rewritten to index.php/gallery/12. The problem I am having …

Member Avatar for diafol
0
152
Member Avatar for BadManSam

Hi, when I try to use a SELECT statement in php, I get an error: > Resource id #18 <?php include("include/session.php"); $get = mysql_query("SELECT value FROM settings WHERE id=2"); echo $get; ?> The file session.php contains the database credentials .etc and it's correct. But then when I try to echo …

Member Avatar for Derice
-1
420
Member Avatar for msteudel

I was being really lazy and didn't want to write one up myself, couldn't find one, and ended writing one up myself anyways. Hope this helps other lazy people.

Member Avatar for prafful_panwar
1
3K
Member Avatar for facarroll

Some help would be great here. The following snippets work, but I am unable to figure out how to activate the error message "You did not select a name for editing". Both of the other error codes work but if I input 'given' and 'family' and forget to select the …

Member Avatar for whiteyoh
0
135
Member Avatar for crazyvonzipper

Hi There, I am quite new to simpleXML and I would like to know how I can access child nodes by index singe I do not have the node name The XML would look like this: <?xml version="1.0" encoding="UTF-8"?> <Root> <SubRoot> <Content ItemType="ItemType1"> <ItemDetails> <ItemDetail> <City Code="CPT"><![CDATA[Cape Town]]> </City> <Item …

Member Avatar for Mike Askew
0
257
Member Avatar for kelley82879

Why would my html file need to be downloaded in order for it to work properly?

Member Avatar for paulkd
0
223

The End.