Re: [PHP] Serial Numbers

2010-07-12 Thread Paul M Foster
On Mon, Jul 12, 2010 at 02:52:39PM -0400, Gary wrote: > I'm sure it is possible, but I am unsure how to do this. I have created a > Sale coupon that I was going to put up on a site that I manage, for visitors > to print out and bring to the store. The coupon is currently a .png, however > I was p

RE: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Tommy Pham
> -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Monday, July 12, 2010 3:51 PM > To: Phillip Baker > Cc: PHP General List > Subject: Re: [PHP] Looking for a little MySQL help as well > > Jim Lucas wrote: > > Phillip Baker wrote: > >> Thanks Jim, > >> > >> This output

Re: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Jim Lucas
Jim Lucas wrote: > Phillip Baker wrote: >> Thanks Jim, >> >> This outputs 2 results. >> Is there a way to get the one result set per product regardless of the >> number of categories associated with the product, yet displaying all the >> categories associated with said prodcut? > > Run this: > >

Re: [PHP] Serial Numbers

2010-07-12 Thread Gary
nd if someone figured out what it was, we dont really care. As I mentioned, it is a small shop (one man show) that the site gets and average of 350 visits per month (which he is very happy with over what he had). Although I do like the idea of using there ip address... Thanks for your reply and all the links. Gary __ Information from ESET Smart Security, version of virus signature database 5273 (20100712) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login using just cookies, bad idea?

2010-07-12 Thread Stuart Dallas
On 08/07/10 17:53, Michael Calkins wrote: I right now have a complete user login and registration system however it uses cookies when you login to store information. Is this a bad thing?$_COOKIE vs $_SESSION for login systems Encrypt the cookie, make sure you don't store the password in there

RE: [PHP] Serial Numbers

2010-07-12 Thread Daevid Vincent
> -Original Message- > From: Gary [mailto:gp...@paulgdesigns.com] > Sent: Monday, July 12, 2010 11:53 AM > > I'm sure it is possible, but I am unsure how to do this. I > have created a > Sale coupon that I was going to put up on a site that I > manage, for visitors > to print out and

Re: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Jim Lucas
Phillip Baker wrote: > Thanks Jim, > > This outputs 2 results. > Is there a way to get the one result set per product regardless of the > number of categories associated with the product, yet displaying all the > categories associated with said prodcut? Run this: SELECT p.Product_Name, GROUP

Re: [PHP] Static Class Member References

2010-07-12 Thread Daniel Kolbo
Richard Quadling wrote: > On 11 July 2010 23:19, Daniel Kolbo wrote: >> Hello PHPers, >> >> I'm having some trouble understanding some PHP behaviour. The following >> example script exhibits the behaviour which I cannot understand. >> [code] >> > >> class A >> { >>public static $a = 3; >>

RE: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Tommy Pham
From: Phillip Baker [mailto:phil...@freewolf.net] Sent: Monday, July 12, 2010 1:33 PM To: Tommy Pham Cc: PHP General List Subject: Re: [PHP] Looking for a little MySQL help as well Thanks Tommy, Damn. I was hoping to avoid that and get all the information in one query rather than running a ton o

Re: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Phillip Baker
Thanks Tommy, Damn. I was hoping to avoid that and get all the information in one query rather than running a ton of queries. :-( But might be why I am having trouble finding an answer for this on the net. Blessed Be Phillip If you try to protect idiots from themselves, even if you succeed, you

Re: [PHP] Serial Numbers

2010-07-12 Thread Gary
ge is viewed. I dont >> really care if someone refreshes the page and skews the numbers. >> >> Is this possible and could someone give me some help? >> >> Thanks >> >> Gary >> >> >> >> __ Information from ESET Smart

RE: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Tommy Pham
> -Original Message- > From: Phillip Baker [mailto:phil...@freewolf.net] > Sent: Monday, July 12, 2010 11:36 AM > To: Jim Lucas > Cc: PHP General List > Subject: Re: [PHP] Looking for a little MySQL help as well > > Thanks Jim, > > This outputs 2 results. > Is there a way to get the one r

Re: [PHP] Serial Numbers

2010-07-12 Thread Gary
l and include a simple counter, like a hit counter, but since I had the png already created, I was hoping there was a way to include the script on it instead of recreating in html/php. Gary __ Information from ESET Smart Security, version of virus signature database 5273 (20100

Re: [PHP] Serial Numbers

2010-07-12 Thread Floyd Resler
On Jul 12, 2010, at 3:22 PM, Ashley Sheridan wrote: > On Mon, 2010-07-12 at 15:17 -0400, Floyd Resler wrote: >> >> On Jul 12, 2010, at 2:52 PM, Gary wrote: >> >> > I'm sure it is possible, but I am unsure how to do this. I have created a >> > Sale coupon that I was going to put up on a site t

Re: [PHP] Serial Numbers

2010-07-12 Thread Ashley Sheridan
On Mon, 2010-07-12 at 15:17 -0400, Floyd Resler wrote: > On Jul 12, 2010, at 2:52 PM, Gary wrote: > > > I'm sure it is possible, but I am unsure how to do this. I have created a > > Sale coupon that I was going to put up on a site that I manage, for > > visitors > > to print out and bring to

Re: [PHP] Serial Numbers

2010-07-12 Thread Floyd Resler
On Jul 12, 2010, at 2:52 PM, Gary wrote: > I'm sure it is possible, but I am unsure how to do this. I have created a > Sale coupon that I was going to put up on a site that I manage, for visitors > to print out and bring to the store. The coupon is currently a .png, however > I was planning o

Re: [PHP] Serial Numbers

2010-07-12 Thread Ashley Sheridan
e help? > > Thanks > > Gary > > > > __ Information from ESET Smart Security, version of virus signature > database 5273 (20100712) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > > Y

Re: [PHP] Serial Numbers

2010-07-12 Thread Shreyas Agasthya
kews the numbers. > > Is this possible and could someone give me some help? > > Thanks > > Gary > > > > __ Information from ESET Smart Security, version of virus signature > database 5273 (20100712) __ > > The message was checked by ESET Smart Securit

[PHP] Serial Numbers

2010-07-12 Thread Gary
ature database 5273 (20100712) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Phillip Baker
Thanks Jim, This outputs 2 results. Is there a way to get the one result set per product regardless of the number of categories associated with the product, yet displaying all the categories associated with said prodcut? Blessed Be Phillip If you try to protect idiots from themselves, even if y

Re: [PHP] Validate if the field of a form is empty

2010-07-12 Thread Jim Lucas
te0t3l wrote: > Hi, I need to validate a field that work with Multifile plugin of Jquery, > I want to check if the field is empty with php. > > [code] > > > [code] > > I've tried different ways but it does not work: > for example: > $field = $_FILES["archivo"]["name"]; > $field = $_FILES["archi

Re: [PHP] Looking for a little MySQL help as well

2010-07-12 Thread Jim Lucas
Phillip Baker wrote: > Hey All, > > I am looking for a little MySQL Query help as well. > I am not getting any response form the MySQl Email list to my query. > And knowing there are some SQL wizards on this list I thought I would as for > help as well. > > I have one table with products that man

[PHP] Validate if the field of a form is empty

2010-07-12 Thread te0t3l
Hi, I need to validate a field that work with Multifile plugin of Jquery, I want to check if the field is empty with php. [code] [code] I've tried different ways but it does not work: for example: $field = $_FILES["archivo"]["name"]; $field = $_FILES["archivo[]"]["name"]; i dont know how to va

[PHP] Looking for a little MySQL help as well

2010-07-12 Thread Phillip Baker
Hey All, I am looking for a little MySQL Query help as well. I am not getting any response form the MySQl Email list to my query. And knowing there are some SQL wizards on this list I thought I would as for help as well. I have one table with products that many have one or more categories. I am u

RE: [PHP] help with sql statement

2010-07-12 Thread Tommy Pham
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Monday, July 12, 2010 8:26 AM > To: Adam > Cc: PHP General > Subject: Re: [PHP] help with sql statement > > On Mon, 2010-07-12 at 10:24 -0500, Adam wrote: > > > I was google searching, and the only SQL

Re: [PHP] help with sql statement

2010-07-12 Thread Ashley Sheridan
On Mon, 2010-07-12 at 10:24 -0500, Adam wrote: > I was google searching, and the only SQL mailing list I found is > currently giving a 503 error, so I hope you don't mind me asking my SQL > question here, since there are a lot of SQL gurus here. I am having a > syntax problem: > > Instead of

[PHP] help with sql statement

2010-07-12 Thread Adam
I was google searching, and the only SQL mailing list I found is currently giving a 503 error, so I hope you don't mind me asking my SQL question here, since there are a lot of SQL gurus here. I am having a syntax problem: Instead of doing a query like this:: select SMS_R_SYSTEM.Name from SM

Re: [PHP] Static Class Member References

2010-07-12 Thread Richard Quadling
On 11 July 2010 23:19, Daniel Kolbo wrote: > Hello PHPers, > > I'm having some trouble understanding some PHP behaviour.  The following > example script exhibits the behaviour which I cannot understand. > [code] > > class A > { >        public static $a = 3; > >        function __construct() >  

Re: [PHP] There has to be a better way!!

2010-07-12 Thread Richard Quadling
On 11 July 2010 02:26, Jason Pruim wrote: > > On Jul 10, 2010, at 12:03 PM, Ashley Sheridan wrote: > >> On Sat, 2010-07-10 at 11:58 -0400, Jason Pruim wrote: >> >>> Okay so I've been fighting with this for awhile now and haven't found >>> a better way yet >>> >>> What I want to do, is I have a

[PHP] Recupero di pen drive e memory card non più accessibili

2010-07-12 Thread RDNewsLetter
Non vedi più i tuoi dati personali o le foto a te più care contenute nella tua pen drive o memory card perchè il supporto non viene più riconosciuto dal sistema? Devi sapere che abbiamo il 99% di casi positivi di recupero dati e files da pen drive o memory card. Goditi l'estate ci penseremo noi