[PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
Hi all. We have done quite a few projects and we are looking to find better ways to implementing forms. Forms seem to be quite time consuming and repetitive. Generally are there any classes or libraries that will assist with: 1. Easy creation of forms (fields and layout) 2.

Re: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Olexandr Heneralov
Hi! Zend framework has a wonderful solution to solve this task. You can download even the demo showing how to do this task Best regards, Alex. 2009/5/20 Angelo Zanetti ang...@zlogic.co.za Hi all. We have done quite a few projects and we are looking to find better ways to implementing

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
_ From: Olexandr Heneralov [mailto:ohenera...@gmail.com] Sent: 20 May 2009 09:08 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Forms validation and creation- easier solution? Hi! Zend framework has a wonderful solution to solve this task. You can download

Re: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Olexandr Heneralov
Hi! No, you should not use all the framework. You can use just a class - Zend_Form ( http://framework.zend.com/manual/en/zend.form.quickstart.html). 2009/5/20 Angelo Zanetti ang...@zlogic.co.za -- *From:* Olexandr Heneralov [mailto:ohenera...@gmail.com]

Re: [PHP] Posting values to a URL

2009-05-20 Thread dele454
Thanks Nathan, But that wont work effectively because the response header could change depending on the outcome of the transaction or if file is not found on the seller's website etc. Nathan Rixham wrote: dele454 wrote: hi, I am working on integrating a credit payment service from

Re: [PHP] Posting values to a URL

2009-05-20 Thread dele454
Great stuff!! :) thanks Shawn. the http_parse_message does exactly what i want. thanks a mil :) Shawn McKenzie wrote: dele454 wrote: hi, I am working on integrating a credit payment service from setcom. on completion of transaction setcom sends bunch of post variables that my script has

[PHP] re[PHP] moving data from old users (session_set_save_handler ??)

2009-05-20 Thread pere roca
hi all, I need to remove data when user leaves my webapplication. I fire an unload event (that calls a php script) but sometimes fails, so I need a more secure option. I wonder if session_set_save_handler is what I need. I think so but not sure. So, EVEN if the user leaves my webapplication,

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Daniele Grillenzoni
On 20/05/2009 2.45, Nathan Rixham wrote: Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I can have a select multiple

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Nathan Rixham
Daniele Grillenzoni wrote: On 20/05/2009 2.45, Nathan Rixham wrote: Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I

RE: [PHP] Re: Parsing of forms

2009-05-20 Thread Ford, Mike
On 19 May 2009 17:10, Andrew Ballard advised: On Tue, May 19, 2009 at 10:11 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I can have a select multiple with a normal name, which is allowed by every spec, but PHP

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Jay Blanchard
[snip] 1. Easy creation of forms (fields and layout) [/snip] I posted a form function several months ago that will help you with this. Just search the list archives -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Shopping Cart

2009-05-20 Thread Gary
Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer will fill out a form and pay via CC on the site. Is

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Tom Worster
On 5/20/09 6:50 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: Humph! Yes, ok, I concede this point. I also bow to Daniele's need to process forms designed by someone else with (not-PHP) in mind. Actually, I can see the validity of both sides of the argument, and I teeter on the fence as to

[PHP] path in document root / absolute path

2009-05-20 Thread Felix Siglreithmaier
Hi, is there a way to check if a path is within the document_root? and is there a function to check if a path is absolute or not? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] path in document root / absolute path

2009-05-20 Thread Stuart
2009/5/20 Felix Siglreithmaier felixs...@gmail.com: is there a way to check if a path is within the document_root? Compare it to $_SERVER['DOCUMENT_ROOT']. and is there a function to check if a path is absolute or not? http://php.net/realpath -Stuart -- http://stut.net/ -- PHP General

[PHP] Shopping Cart

2009-05-20 Thread Gary
Sorry, the first post was put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer will

[PHP] Shopping Cart

2009-05-20 Thread Gary
Sorry, the first two posts was put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer

[PHP] Shopping Cart

2009-05-20 Thread Gary
Sorry, the first three post was put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer

[PHP] Re: Shopping Cart

2009-05-20 Thread Gary
Sorry, I dont know what is going wrong here...this is sopposed to be a new subject... Gary gwp...@ptd.net wrote in message news:6b.85.16801.e5bf3...@pb1.pair.com... Sorry, the first three post was put in the wrong place... Not sure this is a direct PHP question, however I know I will get

[PHP] Accepting Credit Card Payments

2009-05-20 Thread Gary
Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class. Their customer

RE: [PHP] Shopping Cart

2009-05-20 Thread Bob McConnell
They are all going to the same place, so what is wrong? To address your question, credit cards are not easy. As soon as you set up a site to accept them you must conform to a number of security and interface requirements. If you have never done it before, either hire someone that knows what they

Re: [PHP] Re: Shopping Cart

2009-05-20 Thread Stuart
2009/5/20 Gary gwp...@ptd.net: Sorry, I dont know what is going wrong here...this is sopposed to be a new subject... For the love of $DEITY, give up! ;-) To answer your question you're probably best looking at what their chosen CC handler offers. If you needed to track multiple items on the

[PHP] Re: Accepting Credit Card Payments

2009-05-20 Thread Nathan Rixham
Gary wrote: Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class.

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Raymond Irving
Hello, Here's another quick solution that shouldn't add much overhead: // get input $qry = 'toppings=sprinklestoppings=nutstoppings=fudgetoppings=carameltoppings=strawberries'; //$qry = $_SERVER['QUERY_STRING']; // parser input $qry = str_replace('toppings=','toppings[]=',$qry);

Re: [PHP] Accepting Credit Card Payments

2009-05-20 Thread Richard Heyes
Hi, ... If you're in the US or UK then you could look at using Google Checkout - it's very easy to setup. Plus your punters (/Customers) may feel a little better about giving their CC details to a recognized brand like Google. Or if they're in Switzerland, maybe not... :-/ -- Richard Heyes

RE: [PHP] Accepting Credit Card Payments

2009-05-20 Thread HallMarc Websites
-Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Wednesday, May 20, 2009 8:48 AM To: php-general@lists.php.net Subject: [PHP] Accepting Credit Card Payments Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I

Re: [PHP] Accepting Credit Card Payments

2009-05-20 Thread tedd
At 8:48 AM -0400 5/20/09, Gary wrote: Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for

[PHP] Re: Accepting Credit Card Payments

2009-05-20 Thread Nathan Rixham
Nathan Rixham wrote: 4: all of that is unless you go paypal, a simple paypal buynow button would be a piece of cake and just the ticket also as mentioned google checkout - or you could go with e-junkie.com who offer a cart with either paypal or google checkout and its a nice robust solution

RE: [PHP] Accepting Credit Card Payments

2009-05-20 Thread HallMarc Websites
of virus signature database 4091 (20090520) __ 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] Shopping Cart

2009-05-20 Thread Lists
Bob McConnell wrote: They are all going to the same place, so what is wrong? To address your question, credit cards are not easy. As soon as you set up a site to accept them you must conform to a number of security and interface requirements. If you have never done it before, either hire

Re: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Paul M Foster
On Wed, May 20, 2009 at 10:08:12AM +0300, Olexandr Heneralov wrote: 2009/5/20 Angelo Zanetti ang...@zlogic.co.za Hi all. We have done quite a few projects and we are looking to find better ways to implementing forms. Forms seem to be quite time consuming and repetitive.

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Angelo Zanetti
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 20 May 2009 16:09 To: php-general@lists.php.net Subject: Re: [PHP] Forms validation and creation- easier solution? On Wed, May 20, 2009 at 10:08:12AM +0300, Olexandr Heneralov wrote: 2009/5/20 Angelo

Re: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Paul M Foster
On Wed, May 20, 2009 at 05:10:57PM +0200, Angelo Zanetti wrote: -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 20 May 2009 16:09 To: php-general@lists.php.net Subject: Re: [PHP] Forms validation and creation- easier solution? On Wed, May 20, 2009

Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah
I can't find anything like this in FPDF 1.53 or in the documentation for version 1.60. I'd be interested if you can pinpoint it. Paul Sorry, you need to load a class extension, see the website below: http://www.fpdf.de/downloads/addons/36/

Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Paul M Foster
On Wed, May 20, 2009 at 11:31:49AM -0400, Dan Shirah wrote: How can I click a button using JavaScript print function and have it generate a PDF with FPDF and get the PDF printed automagically? It seems I have done this before but I cannot recall what I did. TVMIA! If I

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Andrew Ballard
On Wed, May 20, 2009 at 6:50 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: On 19 May 2009 17:10, Andrew Ballard advised:               var toppings = document.sundae.toppings;                 // To work with PHP, the above line would have to be changed:                 // var toppings =

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Daniele Grillenzoni
On 20/05/2009 12.50, Ford, Mike wrote: Humph! Yes, ok, I concede this point. I also bow to Daniele's need to process forms designed by someone else with (not-PHP) in mind. Actually, I can see the validity of both sides of the argument, and I teeter on the fence as to whether the [] method is

Re: [PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Paul M Foster
On Wed, May 20, 2009 at 10:45:07AM -0500, Ellen Heitman wrote: Hello! I would really appreciate some answers to a few basic questions. I have done some research online, but it would greatly help me to get direct answers. 1. If my site needs to be available to many browsers, including those

Re: [PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Lists
Ellen Heitman wrote: Hello! I would really appreciate some answers to a few basic questions. I have done some research online, but it would greatly help me to get direct answers. 1. If my site needs to be available to many browsers, including those that may not be entirely up-to-date, is PHP a

Re: [PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-20 Thread Dan Shirah
How can I click a button using JavaScript print function and have it generate a PDF with FPDF and get the PDF printed automagically? It seems I have done this before but I cannot recall what I did. TVMIA! If I remember correctly there is an FPDF command **autoprint()** you can put in

[PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Ellen Heitman
Hello! I would really appreciate some answers to a few basic questions. I have done some research online, but it would greatly help me to get direct answers. 1. If my site needs to be available to many browsers, including those that may not be entirely up-to-date, is PHP a safe option? I mean, I

Re: [PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Raymond Irving
Hello Ellen, I can see that you're new to PHP. You might want to check out this link to get some more information on how PHP works and what you need to get started: http://www.php.net/getting-started See also http://www.dailybits.com/getting-started-with-php-part-1-hello-world/ __ Raymond

Re: [PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Lenin
If not following some classes. I'd suggest Ellen to watch the videos for a quick overview from NETTUTS and KillerPHP. www.killerphp.com also google for some vidoes. And you need to understand the facts of ServerSide, ClientSide, HTML, WebServer, Permission of Files etc.

[PHP] product listing columns

2009-05-20 Thread PJ
I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is too illogical. 2. With mysql, is the best way to

[PHP] product listing columns

2009-05-20 Thread PJ
Forgot: you can get an idea of what I'm trying to do at http://www.chiccantine.com/preview.html -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com

Re: [PHP] product listing columns

2009-05-20 Thread Ashley Sheridan
On Wed, 2009-05-20 at 17:47 -0400, PJ wrote: Forgot: you can get an idea of what I'm trying to do at http://www.chiccantine.com/preview.html -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan ---

Re: [PHP] product listing columns

2009-05-20 Thread Stephen
PJ wrote: I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is too illogical. I suggest you take

Re: [PHP] product listing columns

2009-05-20 Thread PJ
Ashley Sheridan wrote: On Wed, 2009-05-20 at 17:47 -0400, PJ wrote: Forgot: you can get an idea of what I'm trying to do at http://www.chiccantine.com/preview.html -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme.

Re: [PHP] product listing columns

2009-05-20 Thread PJ
Stephen wrote: PJ wrote: I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is too illogical.

Re: [PHP] product listing columns

2009-05-20 Thread Ashley Sheridan
On Wed, 2009-05-20 at 19:20 -0400, PJ wrote: Ashley Sheridan wrote: On Wed, 2009-05-20 at 17:47 -0400, PJ wrote: Forgot: you can get an idea of what I'm trying to do at http://www.chiccantine.com/preview.html -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme.

Re: [PHP] product listing columns

2009-05-20 Thread Michael A. Peters
PJ wrote: I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is too illogical. I don't think I've

Re: [PHP] product listing columns

2009-05-20 Thread PJ
Ashley Sheridan wrote: On Wed, 2009-05-20 at 19:20 -0400, PJ wrote: Ashley Sheridan wrote: On Wed, 2009-05-20 at 17:47 -0400, PJ wrote: Forgot: you can get an idea of what I'm trying to do at http://www.chiccantine.com/preview.html -- Hervé Kempf: Pour sauver la

Re: [PHP] product listing columns

2009-05-20 Thread PJ
Michael A. Peters wrote: PJ wrote: I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is too

Re: [PHP] product listing columns

2009-05-20 Thread Michael A. Peters
PJ wrote: Michael A. Peters wrote: PJ wrote: I am about to bust my donkey again trying to set up a dynamic product listing for a web page using mysql, php CSS (the donkey ride). What better place to ask than here in guru heaven: 1. What's a good list/forum to ask for help on CSS - it just is