[PHP] Submitting get form

2004-08-22 Thread Gerard Samuel
Say I have a form like - form action=./foo.php?id=20 method=get ... input type=submit... / /form If this form is submitted, the $_GET['id'] variable *is not* available. If the method is changed to post, the $_GET['id'] variable *is* available. Is this how forms are supposed to work??? Thanks --

Re: [PHP] Submitting get form

2004-08-22 Thread John Holmes
Gerard Samuel wrote: Say I have a form like - form action=./foo.php?id=20 method=get ... input type=submit... / /form If this form is submitted, the $_GET['id'] variable *is not* available. If the method is changed to post, the $_GET['id'] variable *is* available. Is this how forms are

Re: [PHP] Submitting get form

2004-08-22 Thread Chris Shiflett
--- Gerard Samuel [EMAIL PROTECTED] wrote: Say I have a form like - form action=./foo.php?id=20 method=get ... input type=submit... / /form If this form is submitted, the $_GET['id'] variable *is not* available. If the method is changed to post, the $_GET['id'] variable *is*

Re: [PHP] Submitting get form

2004-08-22 Thread Gerard Samuel
Chris Shiflett wrote: Yes, when you use the GET method, the query string of the URL that your browser requests contains the form data. I think you want to have something like this in your form: input type=hidden name=id value=20 / Thanks John/Chris for the explanations... -- PHP General Mailing

[PHP] Submitting a form from a tags

2004-05-30 Thread GodFoca
Heyp! I wanted to know if there is some way to do the submitting of a form from a normal href link, instead of the big-dumb-gray button. If it can't be done with PHP, how can it be done? Thanks in advance, Nicolas Sanguinetti -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Submitting a form from a tags

2004-05-30 Thread John W. Holmes
GodFoca wrote: Heyp! I wanted to know if there is some way to do the submitting of a form from a normal href link, instead of the big-dumb-gray button. If it can't be done with PHP, how can it be done? Why would you think PHP can do anything client side? a

Re: [PHP] Submitting a form from a tags

2004-05-30 Thread Marek Kilimajer
GodFoca wrote: Heyp! I wanted to know if there is some way to do the submitting of a form from a normal href link, instead of the big-dumb-gray button. If it can't be done with PHP, how can it be done? Thanks in advance, Nicolas Sanguinetti Thought it is possible to use javascript as suggested by

[PHP] Submitting a Form

2002-12-17 Thread Jay Thayer
I have a php page, with a form I am attempting to submit. form method=Post action=submitTest.php input type=hidden name=Test value=Test Value input type=submit value=Submit name=SubmitTest form In submitTest.php, I simply put ?php print $Test; ? Yet, I continually get the browser

Re: [PHP] Submitting a Form

2002-12-17 Thread Joseph W. Goff
, December 17, 2002 11:38 AM Subject: [PHP] Submitting a Form I have a php page, with a form I am attempting to submit. form method=Post action=submitTest.php input type=hidden name=Test value=Test Value input type=submit value=Submit name=SubmitTest form In submitTest.php, I simply put

Re: [PHP] Submitting a Form

2002-12-17 Thread Adam Voigt
1. Try: $_POST[Test] 2. $_POST[testmultiple][2] (Will give you position 3 of the select.) Or: $list = implode($_POST[testmultiple]); Will give you the values selected in $list in a comma seperated list. 3. print_r($_REQUEST) On Tue, 2002-12-17 at 12:38, Jay Thayer wrote: I have

Re: [PHP] Submitting a Form

2002-12-17 Thread Johannes Schlueter
On Tuesday 17 December 2002 18:38, Jay Thayer wrote: 1. Any reason that I can not pass the variable to the submit page? I am Try $_REQUEST['Test'] and look in the manual, the archives or a PHP-FAQ for register_globals. 2. If I have a select name=testmultiple multiple HTML tag, how can I

Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux
Here's what I do. We have an outsourced email newsletter management system that accepts GET method - so I just use fopen() to send the data to our list management system and then drop the information into a database on our server. $form1_submit_url =

Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux
If you need something more complex look into CURL as suggested earlier http://curl.haxx.se/ http://www.php.net/curl olinux --- olinux [EMAIL PROTECTED] wrote: Here's what I do. We have an outsourced email newsletter management system that accepts GET method - so I just use fopen() to

[PHP] submitting a form to multiple places!!!

2002-10-01 Thread Henry
Hi All, I have a problem that I hope you can help me with. I'm using a third party shopping cart solution which is quite frankly naff. They bundle some autoresponders with it. Unfortunately the autoresponders do not work!. I want to find a temporary solution to this. The easiest way would be

Re: [PHP] submitting a form to multiple places!!!

2002-10-01 Thread Justin French
Don't think it can be done... at least not the way you describe. *maybe* it can be done with javascript, but I'd try to do it this way: 1. user completes form, clicks submit 2. your scripts don't send any output to the browser (ie, it's not a page, it's a script), generate the auto-responders,

[PHP] submitting free-form text to a database

2001-07-16 Thread garman
Hello. I'm creating a simple Classifieds PHP application. It allows users to view classifieds by category, and add new items to the database. For now, I'm using MS Access 97 as my database (although eventually I would like to switch to MySQL). Anyway, one element of a classified is the

RE: [PHP] submitting free-form text to a database

2001-07-16 Thread garman
= Original Message From Duncan Hill [EMAIL PROTECTED] = On Mon, 16 Jul 2001, garman wrote: box where the user enters a description of the item he is selling. If the user's input contains an apostrophe (aka a single quote ') or even a double quote, the code gets confused. addslashes()

RE: [PHP] submitting free-form text to a database

2001-07-16 Thread Rasmus Lerdorf
= Original Message From Duncan Hill [EMAIL PROTECTED] = On Mon, 16 Jul 2001, garman wrote: box where the user enters a description of the item he is selling. If the user's input contains an apostrophe (aka a single quote ') or even a double quote, the code gets confused.

Re: [PHP] submitting free-form text to a database

2001-07-16 Thread Francis Fillion
If I remember the best things with M$ oriented database, is to to double it so ' should be '' and it should be ok. Anyway, that's what I do when I have to do stuff with those software. garman wrote: = Original Message From Duncan Hill [EMAIL PROTECTED] = On Mon, 16 Jul 2001, garman

RE: [PHP] submitting free-form text to a database

2001-07-16 Thread scott [gts]
the database access code when you decide to switch to MySQL... so better to do it sooner than later and save yourself the work down the road. :-) -Original Message- From: garman [mailto:[EMAIL PROTECTED]] Subject: [PHP] submitting free-form text to a database Hello. I'm creating