RE: [PHP] Shopping cart question

2010-11-05 Thread Tommy Pham
> -Original Message- > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > Sent: Friday, November 05, 2010 11:40 AM > To: Jack > Cc: PHP > Subject: Re: [PHP] Shopping cart question > > On Fri, Nov 5, 2010 at 12:30 PM, Jack wrote: > > > Hello All, > > > > > > I'm looking to build a DB wi

RE: [PHP] Re: read smb drive

2010-11-05 Thread Tommy Pham
> -Original Message- > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > Sent: Friday, November 05, 2010 9:43 AM > To: php_l...@fishnet.co.uk > Cc: php-general@lists.php.net > Subject: Re: [PHP] Re: read smb drive > > On Fri, Nov 5, 2010 at 10:37 AM, Ian wrote: > > > On 05/11/2010 16:

RE: [PHP] Shopping cart question

2010-11-05 Thread Jack
On Fri, Nov 5, 2010 at 12:30 PM, Jack wrote: Hello All, I'm looking to build a DB with items that are considered more of a catalog on one side of a website, and then provide those same items including the same images, descriptions etc. to a shopping cart. I don't want to re-invent all of the b

Re: [PHP] Shopping cart question

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 12:30 PM, Jack wrote: > Hello All, > > > I'm looking to build a DB with items that are considered more of a catalog > on one side of a website, and then provide those same items including the > same images, descriptions etc. to a shopping cart. > > I don't want to re-invent

[PHP] Shopping cart question

2010-11-05 Thread Jack
Hello All, I'm looking to build a DB with items that are considered more of a catalog on one side of a website, and then provide those same items including the same images, descriptions etc. to a shopping cart. I don't want to re-invent all of the basic shopping cart functionality and I'm not su

Re: [PHP] read smb drive

2010-11-05 Thread Alexander Holodny
Small and maybe useless note about privileges required to exec 'mount' command via php's system(): root is not required if 'user' option exists in /etc/fstab. It is true because mount cmd has always root privileges due to suexec bit and it decides whether calling user is authorized to mount somethi

Re: [PHP] read smb drive

2010-11-05 Thread Steve Staples
On Fri, 2010-11-05 at 11:06 -0600, Nathan Nobbe wrote: > On Fri, Nov 5, 2010 at 11:01 AM, Alexandr wrote: > > > Nathan Nobbe пишет: > > > > On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling >> >wrote: > >> > >> > >> > >>> On 5 November 2010 16:30, Nathan Nobbe wrote: > >>> > >>> > On Fri,

Re: [PHP] read smb drive

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 11:01 AM, Alexandr wrote: > Nathan Nobbe пишет: > > On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling > >wrote: >> >> >> >>> On 5 November 2010 16:30, Nathan Nobbe wrote: >>> >>> On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples >>> wrote: >>> >>> On Fri,

Re: [PHP] read smb drive

2010-11-05 Thread Alexandr
Nathan Nobbe пишет: On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling wrote: On 5 November 2010 16:30, Nathan Nobbe wrote: On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples wrote: On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: On Fri, Nov 5, 2010 at 9:48

Re: [PHP] read smb drive

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 10:43 AM, Richard Quadling wrote: > On 5 November 2010 16:30, Nathan Nobbe wrote: > > On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples > wrote: > > > >> On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: > >> > On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples > wrote: > >>

Re: [PHP] read smb drive

2010-11-05 Thread Richard Quadling
On 5 November 2010 16:43, Richard Quadling wrote: > On 5 November 2010 16:30, Nathan Nobbe wrote: >> On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples wrote: >> >>> On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: >>> > On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: >>> > >>> > > Hey g

Re: [PHP] read smb drive

2010-11-05 Thread Richard Quadling
On 5 November 2010 16:30, Nathan Nobbe wrote: > On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples wrote: > >> On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: >> > On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: >> > >> > > Hey guys (and gals) >> > > >> > > I am writing something that ne

Re: [PHP] Re: read smb drive

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 10:37 AM, Ian wrote: > On 05/11/2010 16:18, Steve Staples wrote: > > On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: > >> On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples > wrote: > >> > >>> Hey guys (and gals) > >>> > >>> I am writing something that needs to connect t

[PHP] Re: read smb drive

2010-11-05 Thread Ian
On 05/11/2010 16:18, Steve Staples wrote: > On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: >> On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: >> >>> Hey guys (and gals) >>> >>> I am writing something that needs to connect to a SMB server... can this >>> be done easliy? >>> >>> I copie

Re: [PHP] read smb drive

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples wrote: > On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: > > On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: > > > > > Hey guys (and gals) > > > > > > I am writing something that needs to connect to a SMB server... can > this > > > be do

Re: [PHP] read smb drive

2010-11-05 Thread Steve Staples
On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: > On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: > > > Hey guys (and gals) > > > > I am writing something that needs to connect to a SMB server... can this > > be done easliy? > > > > I copied a sample code from php.net that used the sy

Re: [PHP] read smb drive

2010-11-05 Thread Nathan Nobbe
On Fri, Nov 5, 2010 at 9:48 AM, Steve Staples wrote: > Hey guys (and gals) > > I am writing something that needs to connect to a SMB server... can this > be done easliy? > > I copied a sample code from php.net that used the system() command and > mounted the SMB to a /mnt/tmp partion, and technic

[PHP] read smb drive

2010-11-05 Thread Steve Staples
Hey guys (and gals) I am writing something that needs to connect to a SMB server... can this be done easliy? I copied a sample code from php.net that used the system() command and mounted the SMB to a /mnt/tmp partion, and technically, it works the problem is, is that mount has to be run as r

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-05 Thread tedd
At 7:58 AM -0700 11/5/10, Jim Lucas wrote: On 11/4/2010 1:23 PM, Tomás Corrales Lemoine wrote: Hi, List, I have this two files ("index.php" and "include.php"). They both work fine, but I want to substitute the code for de onchange event in the tag. Can I use PHP to code this event? How?

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-05 Thread Jim Lucas
On 11/4/2010 1:23 PM, Tomás Corrales Lemoine wrote: > Hi, List, > > I have this two files (“index.php” and “include.php”). They both work fine, > but I want to substitute the code for de onchange event in the tag. > Can I use PHP to code this event? How? Looks to me that you are looking for "cha

[PHP] How to code in PHP an onchange event in a ?

2010-11-05 Thread Tomás Corrales Lemoine
Hi, List, Thanks everybody for your answers. Aeropuerto Internacional Frank País García de Holguín. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pros/Cons of using mysqli prepared statments

2010-11-05 Thread Richard Quadling
On 5 November 2010 05:21, Tamara Temple wrote: > > On Nov 4, 2010, at 6:36 AM, Jay Blanchard wrote: > >> [snip] >> If you have a query in your PHP code, which you are going to be >> executing a lot, even if you are using prepared statements, you can go >> one further by creating a stored procedure

RE: [PHP] How to code in PHP an onchange event in a ?

2010-11-05 Thread Tommy Pham
> -Original Message- > From: Paul Waring [mailto:p...@xk7.net] > Sent: Friday, November 05, 2010 1:27 AM > To: php-general@lists.php.net > Subject: Re: [PHP] How to code in PHP an onchange event in a ? > > On 04/11/10 20:23, Tomás Corrales Lemoine wrote: > > I have this two files (“index.p

Re: [PHP] How to code in PHP an onchange event in a ?

2010-11-05 Thread Paul Waring
On 04/11/10 20:23, Tomás Corrales Lemoine wrote: I have this two files (“index.php” and “include.php”). They both work fine, but I want to substitute the code for de onchange event in the tag. Can I use PHP to code this event? How? xajax will allow you to call PHP code as if it was JavaScript: