Re: [PHP] {} forms

2011-11-16 Thread Richard Quadling
On 16 November 2011 13:56, Tim Streater t...@clothears.org.uk wrote: I'm looking at the source of a web sockets server and I see these various forms:  ws://{$host}{$path}  HTTP/1.1 ${status}\r\n Are these simply equivalent to:  ws:// . $host . $path  HTTP/1.1 . $status . \r\n; and if

Re: Re: [PHP] {} forms

2011-11-16 Thread Tim Streater
On 16 Nov 2011 at 14:27, Richard Quadling rquadl...@gmail.com wrote: If you want to embed $array[CONSTANT], then the {} is used. I use {} out of habit for non arrays. Not sure if there is an impact. http://docs.php.net/manual/en/language.types.string.php#example-71 shows the use. Oh.

Re: [PHP] {} forms

2011-11-16 Thread Robert Cummings
On 11-11-16 09:27 AM, Richard Quadling wrote: On 16 November 2011 13:56, Tim Streatert...@clothears.org.uk wrote: I'm looking at the source of a web sockets server and I see these various forms: ws://{$host}{$path} HTTP/1.1 ${status}\r\n Are these simply equivalent to: ws:// . $host .

Re: [PHP] forms problem

2009-06-04 Thread PJ
Andrew Ballard wrote: On Wed, Jun 3, 2009 at 7:13 PM, PJ af.gour...@videotron.ca wrote: Tom Chubb wrote: 2009/6/3 PJ af.gour...@videotron.ca: The code: ...snip div id=loginbox     form name=login method=post action=? echo $_SERVER['PHP_SELF'] ?      Â

Re: [PHP] forms problem

2009-06-04 Thread PJ
Shawn McKenzie wrote: PJ wrote: AngeloZanetti wrote: Shawn McKenzie wrote: PJ wrote: PROBLEM 1 solved: errant divs removed; strange that they were inhibiting entry of data into form field? PROBLEM 2 not resolved: but the form was off the page and clipped in

Re: [PHP] forms problem

2009-06-03 Thread Bastien Koert
On Wed, Jun 3, 2009 at 11:55 AM, PJ af.gour...@videotron.ca wrote: The code: ...snip div id=loginbox        form name=login method=post action=? echo $_SERVER['PHP_SELF'] ?            h2accegrave;s client br /input type=text name=title value=? echo $user; ? size=10 /br /            mot de

Re: [PHP] forms problem

2009-06-03 Thread Tom Chubb
2009/6/3 PJ af.gour...@videotron.ca: The code: ...snip div id=loginbox        form name=login method=post action=? echo $_SERVER['PHP_SELF'] ?            h2accegrave;s client br /input type=text name=title value=? echo $user; ? size=10 /br /            mot de passe br /input type=text

Re: [PHP] forms problem

2009-06-03 Thread PJ
Tom Chubb wrote: 2009/6/3 PJ af.gour...@videotron.ca: The code: ...snip div id=loginbox form name=login method=post action=? echo $_SERVER['PHP_SELF'] ? h2accegrave;s client br /input type=text name=title value=? echo $user; ? size=10 /br / mot de passe br

Re: [PHP] forms problem

2009-06-03 Thread PJ
AngeloZanetti wrote: Shawn McKenzie wrote: PJ wrote: PROBLEM 1 solved: errant divs removed; strange that they were inhibiting entry of data into form field? PROBLEM 2 not resolved: but the form was off the page and clipped in upper right hand corner. What can be done to get it to

Re: [PHP] forms problem

2009-06-03 Thread Shawn McKenzie
PJ wrote: AngeloZanetti wrote: Shawn McKenzie wrote: PJ wrote: PROBLEM 1 solved: errant divs removed; strange that they were inhibiting entry of data into form field? PROBLEM 2 not resolved: but the form was off the page and clipped in upper right hand corner. What can be done to get

Re: [PHP] forms problem

2009-06-03 Thread Andrew Ballard
On Wed, Jun 3, 2009 at 7:13 PM, PJ af.gour...@videotron.ca wrote: Tom Chubb wrote: 2009/6/3 PJ af.gour...@videotron.ca: The code: ...snip div id=loginbox        form name=login method=post action=? echo $_SERVER['PHP_SELF'] ?            h2accegrave;s client br /input type=text name=title

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

2009-05-22 Thread Manuel Lemos
Hello, on 05/20/2009 11:09 AM Paul M Foster said the following: Both this class and Manuel Lemos' form generation class (from phpclasses.org) will create beautiful forms for you. However, you may find that the amount of [repetitive] typing you do will be equivalent or greater than simply

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

2009-05-22 Thread Angelo Zanetti
-Original Message- From: Manuel Lemos [mailto:mle...@acm.org] Sent: 22 May 2009 09:56 To: Paul M Foster Cc: php-general@lists.php.net; Angelo Zanetti Subject: Re: [PHP] Forms validation and creation- easier solution? Hello, on 05/20/2009 11:09 AM Paul M Foster said the following

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

2009-05-22 Thread Paul M Foster
On Fri, May 22, 2009 at 04:56:01AM -0300, Manuel Lemos wrote: Hello, on 05/20/2009 11:09 AM Paul M Foster said the following: Both this class and Manuel Lemos' form generation class (from phpclasses.org) will create beautiful forms for you. However, you may find that the amount of

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

2009-05-22 Thread Manuel Lemos
Viva, on 05/22/2009 10:36 AM Paul M Foster said the following: IMHO, creating forms by hand is by no means simpler, especially if you want to include browser side (Javascript) validation. I mean, I am not masochist to create something that will give me more work in the end to develop PHP

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

2009-05-22 Thread phphelp -- kbk
On May 20, 2009, at 2:03 AM, Angelo Zanetti wrote: We have done quite a few projects and we are looking to find better ways to implementing forms. This is fairly simple to roll-your-own. I do it from metadata. I check MySQL metadata for data types, lengths, and defaults. In addition, my

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
:* 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 even the demo showing how to do this task Best regards, Alex

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

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] forms and php

2008-01-24 Thread Jochem Maas
Mark Pashia schreef: I am fairly new to the php/mySQL combo and just noticed an unusual behavior and don't know where to find the answer to fix this. It is probably common knowledge, but not to a newbie. If I fill in the fields of a form and hit the enter key to submit the form, no

Re: [PHP] forms and php

2008-01-24 Thread Nathan Nobbe
On Jan 24, 2008 3:34 AM, Mark Pashia [EMAIL PROTECTED] wrote: If I fill in the fields of a form and hit the enter key to submit the form, no variables seem to be passed along. If I use the submit button, everything works perfectly. It seems that other forms on the web work with the enter key

Re: [PHP] forms and php

2008-01-24 Thread Richard Lynch
Some older browsers didn't send along the button name/value when you hit enter, for a one-button form... But I've never heard of one that failed to send anything at all... It's almost for sure a browser issue though -- PHP doesn't really *do* anything with the data it gets. It just stuffs it

Re: [PHP] forms class

2008-01-21 Thread Robert Cummings
On Mon, 2008-01-21 at 23:15 -0500, nihilism machine wrote: Why isnt this cleaning my form $_POST's class forms { var $UserInputClean; // Forms to variables function forms() { if (count($_POST) 0) { foreach($_POST as

Re: [PHP] Forms and destroying values

2007-01-12 Thread Fredrik Thunberg
It doesn't help to reset any values. The form data is being resent by the browser itself, just if the user presses the submit button again with the same data. What you could do is mabye use a session to see if the particular user has sent form data before. /Fredrik Thunberg Beauford skrev:

Re: [PHP] Forms and destroying values

2007-01-12 Thread Miguel J. Jiménez
El Fri, 12 Jan 2007 03:27:12 -0500 Beauford [EMAIL PROTECTED] escribió: Hi, How do I stop contents of a form from being readded to the database if the user hits the refresh button on their browser. I have tried to unset/destroy the variables in several different ways, but it still does

Re: [PHP] Forms and destroying values

2007-01-12 Thread clive
Beauford wrote: Hi, How do I stop contents of a form from being readded to the database if the user hits the refresh button on their browser. Perhaps a session variable that is set once the form is submitted. Depending on the data you could also look at having a primary key in the database.

Re: [PHP] Forms and destroying values

2007-01-12 Thread Satyam
This issue comes over and over again. The trick, as I learned from this list, is to send a redirect to the browser to a confirmation page, so the browser remembers the page redirected to and completely ignores the page that made the redirection so that neither a refresh nor going back to it

RE: [PHP] Forms and destroying values

2007-01-12 Thread Beauford
confused as to why giving them a null value doesn't work. Thanks to all. -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: January 12, 2007 8:21 AM To: Beauford; PHP Subject: Re: [PHP] Forms and destroying values This issue comes over and over again. The trick

Re: [PHP] Forms and destroying values

2007-01-12 Thread Stut
again. Hope that makes it clearer. -Stut -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: January 12, 2007 8:21 AM To: Beauford; PHP Subject: Re: [PHP] Forms and destroying values This issue comes over and over again. The trick, as I learned from this list, is to send

RE: [PHP] Forms and destroying values

2007-01-12 Thread Robert Cummings
On Fri, 2007-01-12 at 11:23 -0500, Beauford wrote: So the answer is, there is no way to destroy the values. Question then, what is unset() used for as it doesn't seem to do anything? With a language as good as PHP I though there would be some way to do this. I have got a workaround, but

RE: [PHP] Forms and destroying values

2007-01-12 Thread Németh Zoltán
Subject: Re: [PHP] Forms and destroying values This issue comes over and over again. The trick, as I learned from this list, is to send a redirect to the browser to a confirmation page, so the browser remembers the page redirected to and completely ignores the page that made

RE: [PHP] Forms and destroying values

2007-01-12 Thread Robert Cummings
On Fri, 2007-01-12 at 17:36 +0100, Németh Zoltán wrote: Beauford, The unset() function is for session variables, which are remembered by the server even after the script finished running, that's their purpose. Your variables are not session variables but normal variables. Wrong! Please go

RE: [PHP] Forms and destroying values

2007-01-12 Thread Németh Zoltán
2007. 01. 12, péntek keltezéssel 11.43-kor Robert Cummings ezt írta: On Fri, 2007-01-12 at 17:36 +0100, Németh Zoltán wrote: Beauford, The unset() function is for session variables, which are remembered by the server even after the script finished running, that's their purpose. Your

Re: [PHP] Forms and destroying values

2007-01-12 Thread Satyam
transaction. Satyam - Original Message - From: Beauford [EMAIL PROTECTED] To: 'PHP' php-general@lists.php.net Sent: Friday, January 12, 2007 5:23 PM Subject: RE: [PHP] Forms and destroying values So the answer is, there is no way to destroy the values. Question then, what

RE: [PHP] Forms and destroying values

2007-01-12 Thread Beauford
Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: January 12, 2007 11:38 AM To: Beauford Cc: 'PHP' Subject: Re: [PHP] Forms and destroying values Beauford wrote: So the answer is, there is no way to destroy the values. Question then, what is unset() used for as it doesn't seem to do

Re: [PHP] forms usage in web pages

2006-10-29 Thread Robert Cummings
On Sun, 2006-10-29 at 13:15 +0530, Karthi S wrote: hi, i am newbie to web programming. i have a basic doubt in using forms. Is it advisable to use multiple forms performing various functions in a single web page. what are the pros and cons of using that. Please forgive me if this is

Re: [PHP] forms usage in web pages

2006-10-29 Thread Larry Garfield
There's nothing wrong with multiple forms on a single page, as long as all id attributes in all elements are unique on the entire page, not just within the form. Just make sure that each form is self-contained with its own submit button and such. Only the form whose submit button is clicked

Re: [PHP] forms usage in web pages

2006-10-29 Thread Ed Lazor
Is anyone else getting multiple copies of posts? On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote: There's nothing wrong with multiple forms on a single page, as long as all id attributes in all elements are unique on the entire page, not just within the form. Just make sure that each

Re: [PHP] forms usage in web pages

2006-10-29 Thread Børge Holen
yes, but then again, I've already mentioned this, and have seen some posts now an then mention the subject... :) On Sunday 29 October 2006 21:26, Ed Lazor wrote: Is anyone else getting multiple copies of posts? On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote: There's nothing wrong with

Re: [PHP] forms and dynamic creation and unique field names

2006-04-29 Thread Richard Lynch
On Thu, April 27, 2006 9:56 am, Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Martin Zvarík
Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST array due to the array keys not

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Jason Gerfen
Martin Zvarík wrote: Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the global $_POST array due to

Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Barry
Jason Gerfen schrieb: Martin Zvarík wrote: Jason Gerfen wrote: I have come upon a problem and am not sure how to go about resolving it. I have an web form which is generated dynamically from an imported file and I am not sure how I can loop over the resulting post variables within the

RE: [PHP] forms and variables?

2006-04-21 Thread Jay Blanchard
[snip] Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar form name=AddNew method=post action=? $PHP_SELF ? $SomeVar = Add;

Re: [PHP] forms and variables?

2006-04-21 Thread Jochem Maas
take the following code and do some experimentation: ? echo 'pre'; echo POST vars: \n; var_dump($_POST); echo GET vars: \n; var_dump($_GET); echo '/pre'; ? stick that in your page that contain the form and start playing with different form fields, different form fields names, etc, etc -

Re: [PHP] forms and variables?

2006-04-21 Thread tedd
At 3:45 PM +0300 4/21/06, William Stokes wrote: Hello, Probably a stupid one but anyway... In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? Example: //point to the variable with something like or somenthing??? $AddNew.SomeVar form

Re: [PHP] forms and variables?

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 7:45 am, William Stokes wrote: In PHP. Is it possible to point to a variable with the HTML form name by which it was posted from? The FORM name attribute was an add-on for Javascript client-side. It is not transmitted by HTTP. PHP never sees it. Or do I just have

RE: [PHP] forms

2006-01-03 Thread Jay Blanchard
[snip] Hi can any one show me how make another form appear below another once the 1st form has been submitted. [/snip] post to PHP_SELF and test for population of original form parts if('' != $_POST['name'] etc.){ echo all of the other form parts; } -- PHP General Mailing List

Re: [PHP] forms

2006-01-03 Thread Silvio Porcellana [tradeOver]
Mark wrote: Hi can any one show me how make another form appear below another once the 1st form has been submitted. [not really a PHP solution...] You can do like this: the 'SUBMIT' button of the first form only makes visible the (hidden) DIV where the second form is, and only *that*

Re: [PHP] forms

2005-05-04 Thread Richard Lynch
Try reading the PHP FAQ and looking for the answer about a generic form response using $_POST. On Mon, May 2, 2005 9:09 pm, Lisa A said: Does anyone know of a good easy php script or Form that we can use with Front Page. We need a form to get results, that actually sends the results in a

Re: [PHP] Forms

2005-03-21 Thread Matt M.
Does anyone know how to get a particular option to display in a drop menu? select name=category id=category option selected=true value=Option ValueOption Value/option option value=line-/option option value=value1 value1/option option value=value2 value2 /option

Re: [PHP] Forms

2005-03-21 Thread Chris Ramsay
On Mon, 21 Mar 2005 10:04:23 -0600, Marquez Design [EMAIL PROTECTED] wrote: Greetings, Does anyone know how to get a particular option to display in a drop menu? Perhaps, do db query first, then for each option (perhaps as a foreach or something): echo option name=\whatever\ value=\\;

Re: [PHP] Forms

2005-03-21 Thread Miles Thompson
At 12:04 PM 3/21/2005, Marquez Design wrote: Greetings, Does anyone know how to get a particular option to display in a drop menu? select name=category id=category option selected=true value=Option ValueOption Value/option option value=line-/option option value=value1

Re: [PHP] Forms

2005-03-21 Thread [EMAIL PROTECTED]
The way I did: # taking values from DB $query = mysql_query(select * from VALUES) $result = mysql_fet_array($query); #create an array of all values of dropdow menu $values = arra('value1', 'value2', 'value3', 'value4'); # create SELECT form using for loop echo 'select name=category

Re: [PHP] Forms on PHP

2005-01-11 Thread Leon Poon
Refer to the following line numbers: 01 ?php 02 // Start of PHP code - Extract values from form. 03 /* Other values read */ 04 $n=$_POST['n']; 05 06 // Pass the data from the form to lightcurve_csharp 07 $command=./lightcurve_csharp $a $i $e $lomega $bomega $lambda $n; 08

Re: [PHP] Forms on PHP

2005-01-11 Thread Richard Lynch
PHPDiscuss - PHP Newsgroups and mailing lists wrote: I am new to this or any newsgroup in PHP, as well as PHP itself, so this question is probably rather elementary. I have a form which on clicking on the Submit button calls up a compiled program on the server that is executed and writes

Re: [PHP] Forms on PHP

2005-01-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Leon Poon wrote: Refer to the following line numbers: 01 ?php 02 // Start of PHP code - Extract values from form. 03 /* Other values read */ 04 $n=$_POST['n']; 05 06 // Pass the data from the form to lightcurve_csharp 07 $command=./lightcurve_csharp $a $i $e $lomega $bomega

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 09 December 2004 22:41, Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Stuart Felenstein
--- Ford, Mike [EMAIL PROTECTED] wrote: echo nl2br(htmlspecialchars($text)) is my usual mantra for this. nl2br will give you back the correct formatting, but will leave br/'s in the output. I just went through this issue the other day, what I found worked for me was:

Re: [PHP] Forms In PHP

2004-12-10 Thread Richard Lynch
Wil Hitchman wrote: I created a web form in PHP and used a couple of email addresses. The only email address that worked when I submitted to the form (for testing purposes) was my Yahoo address. My AOL, hotmail and other work addresses did not work. Can someone tell me why? Technically,

RE: [PHP] Forms and viewing Text Area

2004-12-10 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 10 December 2004 11:30, Stuart Felenstein wrote: --- Ford, Mike [EMAIL PROTECTED] wrote: echo nl2br(htmlspecialchars($text)) is my usual mantra for this. nl2br will

Re: [PHP] Forms and viewing Text Area

2004-12-09 Thread Marek Kilimajer
Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? put pre tag around it. and

Re: [PHP] Forms and viewing Text Area

2004-12-09 Thread John Holmes
Ben C wrote: I have a form which has a text box which then stores in MySQL. When I write seperate paragraphs and try and then view what I wrote it lumps it all together in one paragraph when I echo. I am sure I am doing something simply wrong. Anyone have any ideas? The line breaks are

Re: [PHP] forms

2004-10-11 Thread Minuk Choi
What is a connect_db file? - Original Message - From: bigmark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 10, 2004 11:33 PM Subject: Re: [PHP] forms Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get

Re: [PHP] forms/variables/create database

2004-10-10 Thread Minuk Choi
try this : $link = mysql_connect($host, $user, $pass); Note : No SINGLE quotes. In PHP, quotations are as follows $host = 'localhost'; $a = '$host'; $b = $host; echo $a; that prints $host echo $b; that prints localhost. HTH -Minuk - Original Message - From: bigmark [EMAIL PROTECTED]

Re: [PHP] forms

2004-10-10 Thread bigmark
Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get this info to change the connect_db file so that it doesnt have to be done manually. Minuk Choi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this : $link =

Re: [PHP] forms

2004-10-10 Thread Michal Migurski
Thanks-- i got that going-GREAT ! now i have a form that creates the database and tables, any ideas how i can get this info to change the connect_db file so that it doesnt have to be done manually. See fopen(), fwrite(), and fclose(): http://php.net/manual/en/ref.filesystem.php Not sure exactly

Re: [PHP] Forms, ListBoxes, Validating Errors.

2004-01-16 Thread Richard Davey
Hello Kacey, Friday, January 16, 2004, 11:33:22 AM, you wrote: KAM What I have is an issue with posting forms with Dynamic ListBoxes. KAM What happens is when you fill the form out, and hit submit, it validates the KAM form .. if there is a required field not filled out, it comes back and gives

Re: [PHP] forms and mysql

2003-12-02 Thread Tom Rogers
Hi, Tuesday, December 2, 2003, 9:54:33 PM, you wrote: B Hi i am very new to PHP so need some help ! B i have a form which allows the user to put in 2 team names and then displays B them, at the moment it displays them side by side but i need to insert V B (versus) in the middle--how can i do

RE: [PHP] Forms and Arrays

2003-11-28 Thread Ford, Mike [LSS]
On 28 November 2003 14:36, Dave Carrera wrote: Hi List, I have a dynamically generated form with inputs with names that create arrays i.e.: input name=fname[] input name=flab[] input name=fplc[] The extra bits for the inputs are omitted deliberately for this question but exists in

RE: [PHP] Forms and Arrays

2003-11-28 Thread Dave Carrera
example will be most appreciated. Dave C -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 14:50 To: 'Dave Carrera'; [EMAIL PROTECTED] Subject: RE: [PHP] Forms and Arrays On 28 November 2003 14:36, Dave Carrera wrote: Hi List, I have

RE: [PHP] Forms and Arrays

2003-11-28 Thread Ford, Mike [LSS]
On 28 November 2003 17:22, Dave Carrera wrote: Thank you for clearing up my rather lame explanation. So how can I process $_POST[dynamic-name][user-entered-value] arrays to give me my desired output: fname0 = value flab0 = value fplc0 = value fname1 = value flab1 = value fplc1 = value

Re: [PHP] Forms and Arrays

2003-11-28 Thread David T-G
Dave - ...and then Dave Carrera said... % % Thank you for clearing up my rather lame explanation. % % So how can I process $_POST[dynamic-name][user-entered-value] arrays to give % me my desired output: % % fname0 = value flab0 = value fplc0 = value Do you really want a variable called

RE: [PHP] Forms

2003-11-19 Thread Jay Blanchard
[snip] This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on the form tag to

Re: [PHP] Forms

2003-11-19 Thread John Nichel
Matthew Oatham wrote: Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on

Re: [PHP] Forms

2003-11-19 Thread Marek Kilimajer
Matthew Oatham wrote: Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
If I understand your question correctly it sounds like you want to populate a database on Server A with data residing in a database on server B via a form hosted on server A *grin*. Obviously this is tedious, and if there are a lot of entries then I would suggest writing a script to populate and

Re: [PHP] Forms

2003-08-14 Thread Kris Reid
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Kris Reid [EMAIL PROTECTED] Cc: PHP List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:25 AM Subject: Re: [PHP] Forms If I understand your question correctly it sounds like you want to populate a database

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
As I mentioned already you would be best not using Javascript and performing the submission via PHP. I wrote the following snippet in the past to do something similar to what you are asking. Study it and see if you can adapt it to your own needs. You should be able to loop on the form submission

Re: [PHP] Forms and PHP

2003-07-20 Thread Jason Wong
On Sunday 20 July 2003 12:37, Jason Giangrande wrote: I have a question about forms and PHP. Here's what I'm looking to do. I'm trying to set up a spell checker that checks text entered in a form, but I want the check results to show up in a different window so that the user can change the

Re: [PHP] Forms and PHP

2003-07-20 Thread John Nichel
Yasir Malik wrote: I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir Submit your form

Re: [PHP] Forms and PHP

2003-07-20 Thread Curt Zirzow
* Thus wrote Yasir Malik ([EMAIL PROTECTED]): I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something

RE: [PHP] Forms and PHP

2003-07-19 Thread Chris Hubbard
Not sure why you don't want to submit the form. But if you really really don't want to submit the form then you have to use javascript. If you're willing to submit the form, then this is relatively simple, depending on how you want to display the data. if you're willing to submit, then step

Re: [PHP] Forms and PHP

2003-07-19 Thread Justin French
This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post as well) to another (pop-up) window. the pop-up window can highlght misspelled words, and even make dynamic changes to the content in the first window.

Re: [PHP] Forms and PHP

2003-07-19 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post as well) to another (pop-up) window. the pop-up window can highlght misspelled words, and even make

Re: [PHP] Forms and PHP

2003-07-19 Thread Jason Giangrande
Thanks guys. I think I'll try it first as Chris suggested and see how that goes. Thanks again. Jason On Sun, 2003-07-20 at 00:55, Justin French wrote: This is done with javascript... without getting too off topic... JS can get the contents of the textarea, and submit it via get (maybe post

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Alan D'Angelo
For print $PHP_SELF, or $_SERVER['PHP_SELF'] use: ?php echo $_SERVER['PHP_SELF']; ? or the shortcur sintax: ?=$_SERVER['PHP_SELF']? (if short_open_tag = On in php.ini) - Original Message - From: Beauford.2005 [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Sunday, July 06, 2003

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Leif K-Brooks
Dan Anderson wrote: Be careful when using PHP self. Not all servers support it. If you're planning on using this script over and over on multiple servers you may find creating a variable is helpful. $some_variable = the_script_name.php; Then, where you would use PHP_SELF just echo (or

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Dan Anderson
Please don't mislead users! That's plain untrue. I assure you that server administrators can turn off the variables such as PHP SELF. It may not be common but it does happen. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms and PHP_SELF

2003-07-05 Thread Leif K-Brooks
Dan Anderson wrote: I assure you that server administrators can turn off the variables such as PHP SELF. It may not be common but it does happen. The only way to do that would be editing the PHP source. That's above the IQ of any sysadmin who would want to do that. -- The above message is

Re: [PHP] Forms PHP

2003-07-03 Thread Greg Wiley
On Wed, 02 Jul 2003 14:58:39 +0100, Greg Wiley [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie [EMAIL PROTECTED] wrote: [snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second

RE: [PHP] Forms PHP

2003-07-02 Thread Jay Blanchard
[snip] I have a form that gets filled out and within this form there is a link to add additional information in a new form. When this information is saved I would like the browser to redirect to the previous form (this I can do) but with all the details they have already filled out still in the

RE: [PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
[snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second page store the POST variables in hidden form input types, then grab them when the second page is POSTED. Does this make sense? Not enough caffeine for

RE: [PHP] Forms PHP

2003-07-02 Thread Jay Blanchard
[snip] By maintaining the POST (assuming you're using POST)variables and calling them into the form values when reloaded. If you go to the second page store the POST variables in hidden form input types, then grab them when the second page is POSTED. Does this make sense? Not enough caffeine for

RE: [PHP] Forms PHP[Scanned]

2003-07-02 Thread Michael Egan
If I've understood your initial email correctly another approach would be to save the contents of the form to your database and populate the form fields presented subsequently with information retrieved from the database. You can use the header function to redirect to whatever page you wish

RE: [PHP] Forms PHP

2003-07-02 Thread Gary Ogilvie
[snip] Not really, test for emptiness of the variable (isset())...if it is set display it, if not show it as blank. HTH! Jay [/snip] You'll have to forgive me as I am unfamiliar with PHP, still a beginner!! So if I have a page (page1.php) which is my first page with a form. When I click a

  1   2   3   >