39,323 Topics
| |
I have a registration page and I want to validate the e-mail address. I'm having an issue with line 14 in particular. (I used a combination of several tutorials to make this). [CODE]<?php include("db.php"); if (isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email'])) { $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); $result=ereg("^[^@ ]+@[^@ ]+\.[^@ … | |
What is the proper way to use sessions? I have a forum on my site which I've coded from scratch but I've not been using sessions for the users and instead I've been using just cookies to determine if they're logged in or not. I know my current way isn't … | |
Hi All, I urgently need help with a way to view AutoCad (DWG) files online that are uploaded to a webpage. (Similar to the way that [url]http://freewheel.autodesk.com/[/url] works) Thank you Max | |
Hi I have 1.database already set up with around 5000 products with all fields required. 2. create a page template with query code and code to echo out the results of the fields of a product. I now need to know how to make each product from the database produce … | |
Hey Guys, I am trying to improve my PHP/MySQL skills and need to find a good dvd or cd-rom. I feel that I learn best from video tutorials, I watch the youtube videos but want to buy a couple good dvds with real world techniques. Let me know if you … | |
I wish you all the correct code)) Hi) There was a problem reading the file. Actually, I want to read from file command for MySQL (originally, this team is destined for Orcle, but I think it will be right for MySQL). I think the problem in the encoding (I do … | |
hello: I'm working on this code that receives a variable via url and performs a mysql search for records using the value of the variable as the key word. I'm using the following code --which I'm currently using successfully on another section of my project, but experiencing problems in a … | |
Hi, Im trying to have a section that shows the Total and Quantity at the top after customers are logged in and if they dont have anything in their baskets/cart then show Total = 0.00 and Quantity = 0. The Codes work fine when the customer already has something in … | |
Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i … | |
Hey guys. Well I'm getting that irritating warning on my site when loading up a specific page. [CODE]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/d6ayr7/public_html/webdevelopment.php:1) in /home/d6ayr7/public_html/masterpage.php on line 2[/CODE] I've encountered and solved this problem before by moving session_start() to the … | |
Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes) I have changed memory_limit, upto memory_limit = 128M in php.ini file, but still the error comes. Can anyone help me. | |
| Hi all, i decided to try and make a php shopping cart with sessions and manged to do so with the help of online turorials and references. However, i decided to try and pass over multiple items form a table, but i must have gone wrong somewhere, as some of … |
Hi friends, any body just give how to call store procedure from php with mysql function not using mysqli function... | |
I know this is the PHP forum, but I couldn't find a better place for this question (I don't CMS as an option). So, I'm using Drupal to build out my site and run have into an issue with the "chat room" module. The problem involves inviting another user to … | |
I ram coding a website that links to thousands of mp3's on the web, but i need to retrieve the duration of these files without first uploading them onto my server. I already tried using getid3 script but that requires you to have the mp3 file on your server. Any … | |
Website A has a link pointing to Website C Website B has the same link pointing to Website C I want to redirect those visitors coming to Website C (my website) who come VIA Website A on to Website D BUT NOT visitors who come VIA Website B (or any … | |
hi all, is there a method to change the url variable? eg: from [url]www.someaddress.com?value=value1[/url] to [url]www.someaddress.com?value=value2?[/url] | |
Hi everyone, i'm following this guide [url]http://code.google.com/intl/it-IT/apis/maps/articles/phpsqlajax.html[/url] to parsing MySql data to google maps. Every step until creating XML file are good, the problem i found was when i use this code (edited with my variable) [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" … | |
hi, i use ireport to creat my report, i use the PHPJasperXML to load into a pdf. i need to know is any one know a alternative because this class don´t work with many functions that we have in the ireport. thanks a lot for your help :) | |
I'm trying to sort by the date for some mysql results... and in the table, the date field is "date" format, so the rows have like, 2009-3-5... however when I sort by the date... it doesn't work right. I'm guessing PHP is treating it as a math problem in my … | |
Hello there, first of all hi everyone, this is my first post here. i'm pretty new to PHP but i do know enough about programming to understand advices at any level. Here is my question: I've done a login algorythm which is working fine, everything is managed by an idex.php … | |
I have an upload form where the uploaded picture is displayed. This works perfectly in Firefox. Problem is that in Internet Explorer, the image only displays when the page is refreshed. I do not want my users to have to do this, any tips? I tried just about every solution … | |
Hi, i have four tables: books info autor publisher ---------- ------------- --------------- -------------- id id id id bookname type name publisher name autor_id year second name quantity publisher_id autor year country I tried with this relations but it did not work (is this normalization ok) relations: `autor.id = books.autor_id` AND … | |
I was wondering if anyone over here could help me figure out why this thumbnail generator is not working. I am using the [url]http://code.google.com/p/smart-lencioni-image-resizer/[/url] I have a discussion on his google group going but he I am not really getting anywhere over there on getting this issue figured out. I … | |
Hi. I purchased some software recently but have been unable get any helpful product support with the following problem, because it's a coding matter, I guess. The purchased software is for a PayPal subscription management system, and it relies on user verification by way of a username (email address) and … | |
I run a competition and want a form put online so anyone wishing to enter can do so without the hassle of snail mail. I have seen various scripts around which could do the job of taking the details, but I want the details that are emailed to me put … | |
Hi All, Another roadblock on my way to fame and fortune... LOL I am attempting to convert a csv file to a mysql table, and am using a converter that takes the csv and converts each line into an insert statement. that part works fine. But the issue I run … | |
hi, I am aware there are far easier and simpler ways to solve this problem, but due to certain circumstances, I am unable for instance to change filetypes etc.. so, here we go: using wordpress with the thesis theme, I need to append an html file(shop.html) onto a page(gardens). my … | |
hi, ive made 2 pages, which have the form.html page and check.php page. data from form page into check page into database but having problem. [COLOR="red"][B]FORM.HTML[/B][/COLOR] [CODE]<body> <form id="form1" name="form1" method="post" action="check.php"> <input type="checkbox" name="subject[]" value="WD">Web Design <br /> <input type="checkbox" name="subject[]" value="PH">PHP <br /> <input type="submit" name="submit" value="submit"> </form> … | |
I have an XML file like such: [CODE]<spice> <sections> <contact></contact> <products></products> <people></people> <homes></homes> <harvest></harvest> <contactCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </contactCopy> <homesCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </homesCopy> <productsCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and … |
The End.