- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am helping a friend switch from Godaddy quick shopping cart to magento. Unfortunately the Godaddy cart automatically creates product and catalog URLS. Using caps, dashes and underscores. I can dupe the link text but magento only allows dashes and no caps, I'd rather not use caps or underscores anyway. … |
|
Re:
Hello, I tried to create a gallery using php admins can upload multiple images all the images are uploading correctly like the image is saving in the database as much as I can but the problem is that the image is saving once in the folder Like loop runs images … |
|
Re:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> Product: <select name="s_product"> <option value="">Plz select product</option> <option value="1">TV</option> <option value="2">Fan</option> <option value="3">Light</option> </select><br/><br/><br/> </form> <?php if(isset($_POST['s_product'])) { $product=$_POST['s_product']; $sql = "SELECT * FROM `data` join product on data.p_id=product.p_id WHERE … |
|
Re:
Hi there !! i am here seeking for best way to learn php, i enrolled to one course but i am not feeling confortable with the method that the teacher is teaching me. I ma sure that i can learn it by solving problems. Help please. |
|
Re:
Hi, i am using setExpirationSeconds() to set the timeout for user. but how to update the timeout timestamp in data base when user session expires automatically due to user inactivity. Regards, Nabin |
|
Re:
PDF file uploader is spitting out an error, could anyone help? Parse error: syntax error, unexpected T_VARIABLE in /home/stylecraft/domains/stylecraft-yarns.co.uk/public_html/dev/_cms/upload_pdf2.php on line 37 <?php $allowedExts = array("jpg", "jpeg", "gif", "png", "pdf"); $extension = end(explode(".", $_FILES["file"]["name"])); if ($_FILES['file']['error'] !== UPLOAD_ERR_OK) { die("Upload failed with error " . $_FILES['file']['error']); } $finfo = finfo_open(FILEINFO_MIME_TYPE); … |
|
Re:
I have a contact form. I need to deliver it to *bala_palash@yahoo.com* when anyone clicked on send. Please anyone help me... My form is <form name="contact_form" method="post" action=""> <table width="400" border="0"> <tr> <td><label>Your Name (Required)<br> <input class="name" name="name" type="text" id="name" value="" size="50"> </label></td> </tr> <tr> <td><label>Your Email (Required)<br> <input class="email" … |
|
Re:
Dear experties, I have a problem to remove semicolon at last value, but not working. This script working if I change the ';' to comma ','.. What is the problem actually? Please help me.. > if(isset($sw11)) $symp39=$sw11.";"; else $symp39=NULL; if(isset($sap_rel)) $symp40=$sap_rel.""; else $symp40=NULL; if(isset($subject)) $symp41=$subject.";"; else $symp41=NULL; if(isset($module)) $symp42=$module.""; else … |
|
Re:
Hi, I have a site under construction.It is not on line yet and I don't have a domain name yet. I test it with IIS 7 and works fine.Now I need a form to collect inmformation from visitors.The information should be sent to me by email. I looked at various … |
|
Re:
add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR … |
|
Re:
I am creating a web application using php. I want to create a sitemap for my application. I dont know how to create that xml file and how to include in php. And also I want to know that, is it possible to check that in my localhost before upload … |
|
Re:
I wrote a php contact form but I can't figure out how to redirect a user to a different page... Here is my code: <?php if($_POST){ $name = $_POST['name']; //gets the entered name $email = $_POST['email']; //gets the entered email address $subject = $_POST['subject']; //gets the subject $message = $_POST['message']; … |
|
Re:
I'm presently using nicEdit, small simple and inadequate for what I need, I aware of tinyMCE FCKEditor and such my problem is I need to make it a one time switch, I do not want to get my users through a series of trial and error, my demographic is older … |
|
Re:
Hello, I have this code: mysql_query("UPDATE users SET BasicLevel = BasicLevel +1 where username='Admin'"); but its not increasing the integer. The field names are correct as well as the username. Can anyone help me? And yes, I am connected to the database. |
|
|
Re:
hello, im using a wamp server and i want to sent an email and after writting the code, im getting an error that says 'warning: mail() [function.mail]: failed to connect to mail server at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set().' Im not … |
Re:
I need to pass a variable from page1 to page2 without URL, or without making the variable visible to users, to I figured, I might use the hidden field method, but I can't do this with the following script <form method="POST" action="page1.php"> Username: <input type="text" maxlength="25" name="username" value="" class="i_login" /> … |
|
Re:
Hello, I am trying to create a page with link like such: page.php <a href="#1">pic1</a> <a href="#2">pic2</a> the first page willbe page.php#1 and the second one will be page.php#2 In order to activate page 2 what file name should I create for page.php#2? It has to be a different page … |
|
Re:
Hi I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour... Most of the pages I use forms on have the … |
|
Re:
I am trying to create a licensing system where you have a license key as a variable in a file. Then, it includes a file that's on an external server. The server then does all the validating, and returns whether the key is valid or not. The problem is, an … |
|
Re:
I am trying to send results to a new page.The results are fine. i.e. once the form is submitted and all input validated I want the result to appear on the results.html page. I have been able to display the results.html but no data displayed. I attach some relevant code: … |
|
Re:
i referred a site which said that using the include() we can include code of another page into the current page But i am not getting the output as they showed. this is my code [CODE] <html> <head> <style type="text/CSS"> body { background-color:#696565; font-style:italic; } h1 { color: green; text-decoration:underline; … |
|
Re:
Hi All, I have a "Change Password" script I am battling a bit with. At first I could not get the update to recognise the correct user and now that I have that sorted and the update does insert the new hash value for the correct user I cannot login … |
|
Re:
I need to create a very simple script with php. Just a simple form with an input field for the users name and another for the users email address. They click submit, and the script sends an email to that address, while attaching a PDF file that I specify in … |
|
Re:
hi i want to be able to generate drop down menu's based on the database information these are the table information : [CODE] +--------+------------------+------------+ | tid | tname | sport | +--------+------------------+------------+ | 10000 | Boston Celtics | Basketball | | 10001 | New Jersey Nets | Basketball | +--------+------------------+------------+ … |