39,323 Topics

Member Avatar for
Member Avatar for CEVGames

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("^[^@ ]+@[^@ ]+\.[^@ …

Member Avatar for P0lT10n
0
198
Member Avatar for Borzoi

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 …

Member Avatar for P0lT10n
0
114
Member Avatar for trilithon

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

0
52
Member Avatar for mpc123

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 …

Member Avatar for nimtronican
0
136
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
214
Member Avatar for vedro-compota

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 …

Member Avatar for vedro-compota
0
392
Member Avatar for mbarandao

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 …

Member Avatar for mbarandao
0
320
Member Avatar for programmer12

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 …

Member Avatar for programmer12
0
180
Member Avatar for lifeworks

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 …

Member Avatar for quasipickle
0
435
Member Avatar for bops

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 …

Member Avatar for dennishall
0
276
Member Avatar for Hridayesh

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.

Member Avatar for vibhaJ
0
59
Member Avatar for jpknoob

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 …

Member Avatar for jpknoob
0
74
Member Avatar for it_1

Hi friends, any body just give how to call store procedure from php with mysql function not using mysqli function...

Member Avatar for dev.vini
0
262
Member Avatar for pallen

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 …

Member Avatar for Kraai
0
235
Member Avatar for abz121

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 …

Member Avatar for diafol
0
69
Member Avatar for mushget

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 …

Member Avatar for somedude3488
0
67
Member Avatar for phpbeginner

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]

Member Avatar for phpbeginner
0
569
Member Avatar for furianera

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" …

Member Avatar for hielo
0
163
Member Avatar for srdva59

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 :)

Member Avatar for sudeepjd
0
47
Member Avatar for Syntax12

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 …

Member Avatar for EvolutionFallen
0
151
Member Avatar for jasha

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 …

Member Avatar for CEVGames
0
252
Member Avatar for LELE7

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 …

Member Avatar for LELE7
0
123
Member Avatar for LONGWAY

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 …

Member Avatar for LONGWAY
0
118
Member Avatar for bjeffries

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 …

Member Avatar for bjeffries
0
331
Member Avatar for facarroll

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 …

Member Avatar for facarroll
0
407
Member Avatar for xabi

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 …

Member Avatar for diafol
0
74
Member Avatar for showman13

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 …

Member Avatar for hielo
0
130
Member Avatar for k9shark

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 …

Member Avatar for k9shark
0
133
Member Avatar for khushhappy

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> …

Member Avatar for khushhappy
0
77
Member Avatar for tomccabe

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 …

Member Avatar for hielo
0
314

The End.