Re: [PHP] looking for shopping cart

2006-04-22 Thread rich gray
Try Zen cart http://www.zen-cart.com/modules/frontpage/ it is a fork of osCommerce which is a very popular OS cart. I've used it and customised it on a few sites without problems. Cheers Rich Lisa A wrote: I'm still looking for an inexpensive shopping cart to use on my client's website. Somet

Re: [PHP] shopping carts

2006-04-22 Thread Lisa A
Thanks, I'll check it out. "David Ellsworth" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Costs $349, but it's worth every penny and includes user support! > > http://digishop3.sumeffect.com/ > > David Ellsworth > yourwebdna.com > > > On 4/22/06 9:04 PM, "Lisa A" <[EMAIL PROTECTE

Re: [PHP] shopping carts

2006-04-22 Thread David Ellsworth
Costs $349, but it's worth every penny and includes user support! http://digishop3.sumeffect.com/ David Ellsworth yourwebdna.com On 4/22/06 9:04 PM, "Lisa A" <[EMAIL PROTECTED]> wrote: > Do you have any suggestions? Right now I use the one through Paypal, but > it would be too difficult for

[PHP] ibase_errcode() not defined

2006-04-22 Thread Todd Cary
If I use ibase_errcode(), I get an undefined error; ibase_errmsg() works. Anyone else have this error with Firebird? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] shopping carts

2006-04-22 Thread Lisa A
Do you have any suggestions? Right now I use the one through Paypal, but it would be too difficult for my client to add their own merchandise. I could pay more, but not much more. Do you recommend any good ones or someone that could write one. OScommerce was way too hard and offer too man

Re: [PHP] shopping carts

2006-04-22 Thread Robert Cummings
On Sat, 2006-04-22 at 20:47, Lisa A wrote: > Well I have no idea. I can't spend $100's but hope that there would be > something out there affordable. I'm pretty sure there's lots out there for under $100, but almost none will be exactly what you want, and almost all will require you to invest ho

Re: [PHP] shopping carts

2006-04-22 Thread Lisa A
Well I have no idea. I can't spend $100's but hope that there would be something out there affordable. "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 2006-04-22 at 20:08, Lisa A wrote: >> Can anyone suggest someone to write a simple client side shopping

Re: [PHP] shopping carts

2006-04-22 Thread Robert Cummings
On Sat, 2006-04-22 at 20:08, Lisa A wrote: > Can anyone suggest someone to write a simple client side shopping cart I can > use? I need to install something that my client can update the merchandise > themselves. Something inxepensive please. By inexpensive do you mean slave labour? $5? 100$?

[PHP] shopping carts

2006-04-22 Thread Lisa A
Can anyone suggest someone to write a simple client side shopping cart I can use? I need to install something that my client can update the merchandise themselves. Something inxepensive please. thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Using Header() to pass information...

2006-04-22 Thread Todd Cary
M. Sokolewicz wrote: Jochem Maas wrote: Todd Cary wrote: If I use if ($send) header("location: mypage.php?message=" . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? probably, but I don't kno

Re: [PHP] Using Header() to pass information...

2006-04-22 Thread M. Sokolewicz
Jochem Maas wrote: Todd Cary wrote: If I use if ($send) header("location: mypage.php?message=" . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? probably, but I don't know how off the top of m

[PHP] Re: Using Header() to pass information...

2006-04-22 Thread Tim Van Wassenhove
On 2006-04-22, Todd Cary <[EMAIL PROTECTED]> wrote: > If I use > >if ($send) > header("location: mypage.php?message=" . $message); > > the data ($message) is passed in the URL. Is there a way to pass > the data as though it was a POST method i.e. not in the URL? It's impossible to chang

Re: [PHP] Using Header() to pass information...

2006-04-22 Thread Stephen Lake
Where's Chris when we need him? I would be interested in also hearing his thoughts here too. "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Todd Cary wrote: >> If I use >> >> if ($send) >> header("location: mypage.php?message=" . $message); >> >> the data ($mes

Re: [PHP] Using Header() to pass information...

2006-04-22 Thread Jochem Maas
Todd Cary wrote: If I use if ($send) header("location: mypage.php?message=" . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? probably, but I don't know how off the top of my head. look into usin

Re: [PHP] CMS for Auto Parts

2006-04-22 Thread John Hicks
CK wrote: Hi, I've been commissioned to design a web application for auto parts sales. The Flash Front end will communicate with a MySQL DB via PHP. In addition, PHP/XML should be used with a client-side Web GUI to upload images, part no., descriptions and inventory into the DB; a Product Ma

Re: [PHP] array problem

2006-04-22 Thread Martin Alterisio
You're wrong, he isn't using an associative array, since the keys used are only integers. array(10,10,40,30,30,10); and array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10); create the same array. The problem is that array_unique preserves keys (read the manual!!!) If you don't want this, use array_values(

Re: [PHP] PHP Script to open phpBB2 accounts

2006-04-22 Thread Gerr D
Richard, On 4/20/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > Or perhaps you believe you have already completely mined out those > resources, and PHP-General was your last resort. > > Which is fine, but that should have been in your original post. Are you implying this list is intended to be a

Re: [PHP] array problem + humor (all those with joke allergies beware)

2006-04-22 Thread Jochem Maas
thanks Brian. that site has not worked for, oh, 3 years - I don't see what some broken code on some site I haven't done anything with in years has got to do with programmer ethic (or whatever advice you were refering to). - am I bugging you for a fix? with regard to Suresh - do you, Brian, know

Re: [PHP] Using Header() to pass information...

2006-04-22 Thread Jim Lucas
Todd Cary wrote: If I use if ($send) header("location: mypage.php?message=" . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? Todd you should look into using sessions to store the data maybe? A

Re: [PHP] array problem + humor (all those with joke allergies beware)

2006-04-22 Thread Brian V Bonini
Jochem's site: << snip >> http://iamjochem.com/mariecke/index.php Mariecke's daily ramblings (almost) in dutch & english... this page is using output from a drupal system. If nothing else they have a nice logo. ;) Warning: main(./../blog/parse.php): failed to open stream: No such file or direct

[PHP] CMS for Auto Parts

2006-04-22 Thread CK
Hi, I've been commissioned to design a web application for auto parts sales. The Flash Front end will communicate with a MySQL DB via PHP. In addition, PHP/XML should be used with a client-side Web GUI to upload images, part no., descriptions and inventory into the DB; a Product Managemen

[PHP] Using Header() to pass information...

2006-04-22 Thread Todd Cary
If I use if ($send) header("location: mypage.php?message=" . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] performance criteria on DEFINE()

2006-04-22 Thread tedd
At 3:47 PM -0500 4/21/06, Richard Lynch wrote: On Fri, April 21, 2006 7:52 am, Jochem Maas wrote: Andy wrote: Now, one of this file can contain more than 2000 defines and we make a calculation that we will reach 8000 in 2 years. Seems to me you could extend your testing to generate 8000 co

[PHP] Re: unique array problem

2006-04-22 Thread Rafael
If what you want is to have a continuos secuential array (i.e. 0=>x, 1=>a, 2=>f) and there's no need for sorting the values, then you need array_values()[1] [1] http://php.net/array-values suresh kumar wrote: I am facing one project in my project . this is my code: a=array(0=>10,

Re: [PHP] array problem + humor (all those with joke allergies beware)

2006-04-22 Thread Jochem Maas
suresh kumar wrote: sorry.earlier i mistyped some values. I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=40,b[3]=30,b[5]=

Re: [PHP] array problem

2006-04-22 Thread Brian V Bonini
On Sat, 2006-04-22 at 07:09, suresh kumar wrote: > sorry.earlier i mistyped some values. > > I am facing one project in my project . > > this is my code: > > a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10); > b=array(); > b=array_unique($a); > print_r($b); > o/p getting

[PHP] array problem

2006-04-22 Thread suresh kumar
sorry.earlier i mistyped some values. I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=40,b[3]=30,b[5]=10; but i want t

Re: [PHP] sorting troubles

2006-04-22 Thread Paul Novitski
At 03:43 AM 4/22/2006, I wrote: Then just do a reverse sort on $aTemp and you get: Z20 Y17 Y16 Then translate the letters back to their original values and you get: A20 B17 C16 Oops, I made a typo: that final value should have been B16, not C1

Re: [PHP] unique array problem

2006-04-22 Thread Paul Novitski
At 03:21 AM 4/22/2006, suresh kumar wrote: I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>20,3=>30,4=>30,5=>40); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=20,b[3]=30,b[5]=40; but i want the o/p be b

Re: [PHP] sorting troubles

2006-04-22 Thread Paul Novitski
At 02:49 AM 4/22/2006, William Stokes wrote: I have a column in DB that contains this kind of data, A20,B16,B17C14,C15,D13,D12 etc. I would like to print this data to a page and sort it ascending by the letter an descending by the number. Can this be done? Like A20 B17 B16 C15 C14 D13 D12 Wi

[PHP] unique array problem

2006-04-22 Thread suresh kumar
I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>20,3=>30,4=>30,5=>40); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=20,b[3]=30,b[5]=40; but i want the o/p be b[0]=10,b[1]=20,b[2]=30,b[3]=40;

Re: [PHP] sorting troubles

2006-04-22 Thread Peter Hoskin
hmm, should also see http://www.php.net/sort Peter Hoskin wrote: > See explode, http://www.php.net/explode > > $var = 'A20,B16,B17C14,C15,D13,D12'; > $array = explode(',',$var); > > foreach ($array as $key => $value) { > echo $value ."\n"; > } > > > William Stokes wrote: > >> Hello, >> >> Any

Re: [PHP] sorting troubles

2006-04-22 Thread Peter Hoskin
See explode, http://www.php.net/explode $var = 'A20,B16,B17C14,C15,D13,D12'; $array = explode(',',$var); foreach ($array as $key => $value) { echo $value ."\n"; } William Stokes wrote: > Hello, > > Any idea how to sort this? > > I have a column in DB that contains this kind of data, > A20,B1

[PHP] sorting troubles

2006-04-22 Thread William Stokes
Hello, Any idea how to sort this? I have a column in DB that contains this kind of data, A20,B16,B17C14,C15,D13,D12 etc. I would like to print this data to a page and sort it ascending by the letter an descending by the number. Can this be done? Like A20 B17 B16 C15 C14 D13 D12 Thanks -Will

[PHP] cURL & cookies

2006-04-22 Thread Peter Hoskin
Hi, I'm trying to produce an sms sending script, however having problems with curl and storing cookies. The login page works fine, however the second http request returns a login page rather than authenticated content. Additionally, in the headers a different cookie value for JSESSIONID is set. I

Re: [PHP] Preg_match() regex

2006-04-22 Thread Kevin Waterson
This one time, at band camp, "Jeff" <[EMAIL PROTECTED]> wrote: > Hey all, > > Regex pattern question here. I need to match on "Foo-F00", "Foo-foo", > "foo-Foo". I know in perl you can use the /i to specify "case > insensitive" matching. Is there any such switch that can be used in > preg_match

RE: [PHP] Passing Form As Argument

2006-04-22 Thread Richard Lynch
On Fri, April 21, 2006 7:09 pm, Nicolas Verhaeghe wrote: > So far, I have rarely seen people entering fake data into shopping > carts or > online forms. Why? Because most people don't have time to waste > screwing > around filling online form with junk. You have been very very very lucky, then. B

Re: [PHP] Handling illegal byte sequences in UTF-8 strings

2006-04-22 Thread Richard Lynch
On Fri, April 21, 2006 7:16 pm, Matt Arnilo S. Baluyos (Mailing Lists) wrote: > We have recently upgraded our database to PostgreSQL 8.1.x which > handles UTF-8 more strictly than previous versions. The new version > will not allow illegal byte sequences when inserting data. > > This has caused som