39,393 Topics
![]() | |
Extension that are available as free from opencart and, Also provide me the extensions for displaying the categories as side menu ? | |
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"> … | |
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 … ![]() | |
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 … | |
How to connect a web page with social media like facebook, twitter, LinkedIn etc.? | |
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... ***** ***** * * … ![]() | |
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> ?> | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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? | |
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 … | |
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, … | |
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..:) | |
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'] … | |
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 … | |
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>"; } } ?> | |
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 … ![]() | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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. | |
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 … | |
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 … | |
Why would my html file need to be downloaded in order for it to work properly? |
The End.