Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
I am on Mac OS 10.6 I found the logs using the console. It was pretty easy and displays nicely. I am reviewing the entries now. Thanks for your help. -- Steve Marquez Marquez Design e-mail: smarq...@marquez-design.com web: http://www.marquez-design.com phone: 479-648-0325 On Jun 3, 2010, at 1

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
True. Since I am a Windows user, I find it here : *C:\Program Files\EasyPHP 3.0\apache\logs* --Shreyas On Fri, Jun 4, 2010 at 12:27 AM, Ashley Sheridan wrote: > On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote: > > Steve, > > Do you know where Apache is installed? If yes, you have something li

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote: > Steve, > > Do you know where Apache is installed? If yes, you have something like > error.log and access.log. Find them and nail them them down. > > I am a novice, too and the best way to learn is to answer here and getting > corrected by other

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
Steve, Do you know where Apache is installed? If yes, you have something like error.log and access.log. Find them and nail them them down. I am a novice, too and the best way to learn is to answer here and getting corrected by other PHP gurus! So, all in the name of learning! :) --Shreyas On Th

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 12:58 -0500, Steve Marquez wrote: > Strangest thing... it just started working again. Odd. > > Is there an easy way to view the error logs? As you can tell, I am still a > novice at this. > I am on Apache2 > > Thanks for your help. > It depends. On most Linux distros t

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Strangest thing... it just started working again. Odd. Is there an easy way to view the error logs? As you can tell, I am still a novice at this. I am on Apache2 Thanks for your help. -- Steve Marquez Marquez Design e-mail: smarq...@marquez-design.com web: http://www.marquez-design.com phone:

RE: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread HallMarc Websites
-Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Thursday, June 03, 2010 11:38 AM To: php General List Cc: Steve Marquez Subject: Re: [PHP] PHP Form submitting to MySQL not working... Steve Marquez wrote: > I am running Apache (not sure which version, where do I f

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
< sa...@hallmarcwebsites.com> wrote: > > > -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Thursday, June 03, 2010 11:38 AM > To: php General List > Cc: Steve Marquez > Subject: Re: [PHP] PHP Form submitting to MySQL not working... >

RE: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread HallMarc Websites
-Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Thursday, June 03, 2010 11:38 AM To: php General List Cc: Steve Marquez Subject: Re: [PHP] PHP Form submitting to MySQL not working... Steve Marquez wrote: > I am running Apache (not sure which version, where do I f

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Jim Lucas
Steve Marquez wrote: > I am running Apache (not sure which version, where do I find that?) it is > running on a Macbook Pro. > The error happened when I submitted the form. Sorry, should have been more specific. Where did you see the error? In your browser, error logs of your web server, etc..

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Jim Lucas
Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it came up with > the following error:

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Sorry I wasn't specific enough. I'll include the files.http://www.w3.org/TR/html4/loose.dtd";> Prayer Form // specify the name of your form var thisForm = "form1"; // load field names and default values into list var defaultVals = new Array(); defaultVals[0] = new Array("date", "(Date here

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Nilesh Govindarajan
On Thu, Jun 3, 2010 at 7:26 PM, Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it came

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 08:56 -0500, Steve Marquez wrote: > Good morning, > > I have a PHP form that I have been using for some time now on a Macbook Pro > running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this > morning, when I submitted (it is a journaling application) it c

[PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Steve Marquez
Good morning, I have a PHP form that I have been using for some time now on a Macbook Pro running PHP 5.3.1 and MySQL 5.0.5 and everything was working fine. But this morning, when I submitted (it is a journaling application) it came up with the following error: No such file or directory Can

Re: [PHP] PHP Form email w/attachment

2008-12-18 Thread Richard Heyes
> thank god that some guys make it > simple for us ;) You're welcome. :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 5th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Form email w/attachment

2008-12-18 Thread Per Jessen
jeffery harris wrote: > I need to create a php form and mail it to a recipient (that I can > do). My question is how do I create an area for a file (.doc, or .pdf) > to be attached emailed along with other form data as well? > Take a look at an email you've received with an attachment. That's ho

Re: [PHP] PHP Form email w/attachment

2008-12-17 Thread jeffery harris
Thanks for the info! sweet!! "Kastner Mario" wrote in message news:200812180603.34938.off...@unite-it.at... > use a mailer class, for example phpmailer, to handle this. man i say > emailing > could be a very crazy job for an coder. thank god that some guys make it > simple for us ;) > > http:/

Re: [PHP] PHP Form email w/attachment

2008-12-17 Thread Kastner Mario
use a mailer class, for example phpmailer, to handle this. man i say emailing could be a very crazy job for an coder. thank god that some guys make it simple for us ;) http://sourceforge.net/projects/phpmailer > I need to create a php form and mail it to a recipient (that I can do). My > quest

Re: [PHP] PHP Form email w/attachment

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 11:02 PM, jeffery harris < jhar...@harris4interactive.com> wrote: > I need to create a php form and mail it to a recipient (that I can do). My > question is how do I create an area for a file (.doc, or .pdf) to be > attached emailed along with other form data as well? > > -

[PHP] PHP Form email w/attachment

2008-12-17 Thread jeffery harris
I need to create a php form and mail it to a recipient (that I can do). My question is how do I create an area for a file (.doc, or .pdf) to be attached emailed along with other form data as well? -Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 5:04 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > I guess this ruins my impression of you being this 28 y/o > programmer... grandpa! ;) > > Hehehe No, they just start raising families at a very young age. Tedd is only about seven years older than his children. -- Daniel P

Re: [PHP] php form help...

2008-01-08 Thread tedd
At 4:04 PM -0600 1/8/08, Philip Thompson wrote: On Jan 8, 2008, at 11:52 AM, tedd wrote: As I tell my grand-kids, half the people you meet everyday are below average intelligence. Cheers, tedd I guess this ruins my impression of you being this 28 y/o programmer... grandpa! ;) Yeah, I'm a

Re: [PHP] php form help...

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 11:52 AM, tedd wrote: At 11:17 AM -0600 1/8/08, Jack Mays wrote: > You think someone who didn't even know how to get post data in the first place knows how to properly sanitize it? :) One would think that the OP would lookup "sanitize" or some form of that search in goo

Re: [PHP] php form help...

2008-01-08 Thread tedd
At 11:17 AM -0600 1/8/08, Jack Mays wrote: > You think someone who didn't even know how to get post data in the first place knows how to properly sanitize it? :) One would think that the OP would lookup "sanitize" or some form of that search in google to become more familiar with the term

Re: [PHP] php form help...

2008-01-08 Thread Jack Mays
> > You think someone who didn't even know how to get post data in the > first place knows how to properly sanitize it? :) > One would think that the OP would lookup "sanitize" or some form of that search in google to become more familiar with the term and what it means, but then again I probab

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 12:12 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > You think someone who didn't even know how to get post data in the > first place knows how to properly sanitize it? :) Maybe, maybe not, but the point is to mention that it should be done to allow further exploration and study t

Re: [PHP] php form help...

2008-01-08 Thread Eric Butera
On Jan 8, 2008 12:00 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > > Daniel, > > > > Thanks...worked like a charm > > My pleasure. Just remember to sanitize the code as I said if > you're going to do anything other than

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > Daniel, > > Thanks...worked like a charm My pleasure. Just remember to sanitize the code as I said if you're going to do anything other than display it in the text box. Otherwise, a malicious user (or possibly even a ty

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:19 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > I am trying to create this kind of form > http://www.12monthinternetmillionaire.com/affiliate.php > > a user inserts their clickbank id and its generated in the field > belowany pointers ? Yes. Hire a programmer. ;-P

[PHP] php form help...

2008-01-08 Thread 2 Logic Studios
I am trying to create this kind of form http://www.12monthinternetmillionaire.com/affiliate.php a user inserts their clickbank id and its generated in the field belowany pointers ?

Re: [PHP] PHP Form isnt emailing me

2007-06-10 Thread Richard Lynch
if (preg_match("|\r\n|", $_POST['email'])){ die("Spammer."); } if (preg_match("|\r\n|", $_POST['subject'])){ die("Spammer."); } //and so on for anything you put into headers. //body can contain newlines, of course. On Sat, June 9, 2007 8:22 pm, Austin C wrote: > how can I tell them not to incl

Re: [PHP] PHP Form isnt emailing me

2007-06-09 Thread Richard Lynch
The return value of http://php.net/mail only says whether or not PHP managed to queue up the email to go out. It does *NOT* imply that the email actually went anywhere. If your server isn't running through the queues and sending the emails, they don't go out. If your server is rejecting the emai

[PHP] PHP Form isnt emailing me

2007-06-08 Thread Austin C
Hello, I just finished making a PHP contact form for my webite, and I can run through the whole thing, and get no errors, but it doesnt email me the form contents. *Here is th actual form page:* Contact Me Please

Re: [PHP] PHP Form Help

2006-04-06 Thread tedd
At 7:01 PM -0700 4/5/06, Jai Rangi wrote: Greeting, I hope this is the right place for this. If not please guide me. I am having problem with my "Form". Code is below. I want to generate an error message if the required fields are not filled. If they are filled then I want to add them to the da

Re: [PHP] PHP Form Help

2006-04-05 Thread Chris
Jai Rangi wrote: Dear Chris, Thank you for your response. I will make sure to start a new thread for future. I tried this but it did not work if (isset($_POST['title'])) { $title = htmlentities($_POST['title']); echo $title; } else { $title = ''; } This part of my code seems to be t

Re: [PHP] PHP Form Help

2006-04-05 Thread Jai Rangi
Dear Chris, Thank you for your response. I will make sure to start a new thread for future. I tried this but it did not work if (isset($_POST['title'])) { $title = htmlentities($_POST['title']); echo $title; } else { $title = ''; } This part of my code seems to be the problem, Though

Re: [PHP] PHP Form Help

2006-04-05 Thread Chris
Jai Rangi wrote: Greeting, I hope this is the right place for this. If not please guide me. I am having problem with my "Form". Code is below. I want to generate an error message if the required fields are not filled. If they are filled then I want to add them to the database and display the fo

[PHP] PHP Form Help

2006-04-05 Thread Jai Rangi
Greeting, I hope this is the right place for this. If not please guide me. I am having problem with my "Form". Code is below. I want to generate an error message if the required fields are not filled. If they are filled then I want to add them to the database and display the form again to make

Re: [PHP] PHP form not working

2005-08-02 Thread hope
u can also work out like this: $email_err ="Please enter your email address!/span>/>"; $message_err = "Please enter a message!"; this wil also work perfectly alrite. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP form not working

2005-07-28 Thread Matt Zandstra
Pasting your page onto my server and commenting out your includes the following lines stand out: $email_err ="Please enter your email address!"; $message_err = "Please enter a message!"; You have quotes within quotes here. You should either escape the inner quotes or use single quotes to defin

[PHP] PHP form not working

2005-07-28 Thread Bruce Gilbert
Here is the entire code on the page. Now I am getting an error again... http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US" dir="ltr"> Form Test> Skip over navigation About Me Skill set Hire Me Portfolio Contact Résumé

Re: [PHP] PHP form POST question

2005-01-09 Thread James \(IFMS\)
When you access /foo, the server will redirect the client to /foo/ (because it is a directory). At the redirected page, the post data will not be sent again by the browser thus there are no _POST values. Try using action="/foo/". That may work. Yes, /foo/ does work. The explanation makes sense.

Re: [PHP] PHP form POST question

2005-01-09 Thread Tom Rogers
Hi, Monday, January 10, 2005, 12:04:28 PM, you wrote: JI> I just narrowed something down about forms and POST and would like JI> education. In the following scenarios, all work except #4. $_POST is JI> null. Why is that? JI> Setup: JI> 1) Running on localhost JI> 2) /foo/index.php has the follo

Re: [PHP] PHP form POST question

2005-01-09 Thread Leon Poon
uot;James (IFMS)" <[EMAIL PROTECTED]> To: Sent: Monday, January 10, 2005 10:04 AM Subject: [PHP] PHP form POST question I just narrowed something down about forms and POST and would like education. In the following scenarios, all work except #4. $_POST is null. Why is that? Setup:

[PHP] PHP form POST question

2005-01-09 Thread James \(IFMS\)
I just narrowed something down about forms and POST and would like education. In the following scenarios, all work except #4. $_POST is null. Why is that? Setup: 1) Running on localhost 2) /foo/index.php has the following: 3) /index.php contends vary per scenario (below) Running RHEL 3, all

Re: [PHP] PHP Form Field Validation

2004-07-19 Thread Marcus Strube
> If (formfieldname = empty()) [snip] $value = "0"; if(true==empty($value)) { echo "it's empty"; } [/snip] May be good to know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread Jason Barnett
if (empty($_REQUEST['formfieldname'])) { //do something } else { //do something else } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread Jason Wong
On Monday 19 July 2004 07:34, Harlequin wrote: > Simple as that eh...? > > If (formfieldname = empty()) The canonical form is: if (empty($doo)) { ... } -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intrane

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread Comex
not enough =s. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread Harlequin
Simple as that eh...? If (formfieldname = empty()) { Do something { Else { do something else } ??? am I on the right tracks...? -- - Michael Mason Arras People www.arraspeople.co.uk - "John W. Holmes" <[EMAIL PROTECTED]> wrote i

Re: [PHP] PHP Form Field Validation

2004-07-18 Thread John W. Holmes
Harlequin wrote: Just wondering if there's a quick and easy way to validate form fields using PHP. Not really that concerned with actual content by using REGEX but want to ensure users have at-least bothered to put something in and if not display an error with the form field's name maybe. empty() -

[PHP] PHP Form Field Validation

2004-07-18 Thread Harlequin
Evening. Just wondering if there's a quick and easy way to validate form fields using PHP. Not really that concerned with actual content by using REGEX but want to ensure users have at-least bothered to put something in and if not display an error with the form field's name maybe. Any suggestion

RE: [PHP] PHP form to fax?

2003-12-03 Thread J J
as well. > Any fax to your jfax > number (you can get them worldwide) is turned into > an image and emailed > to you as an attachment. > > > > > -Original Message- > > From: J J [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 25, 20

Re: [PHP] PHP form to fax?

2003-09-27 Thread Becoming Digital
2003 15:16 Subject: Re: [PHP] PHP form to fax? On Friday 26 September 2003 02:48, J J wrote: > I know in the past it wasn't possible to do something > like have a user fill out a web form and that > information would then be sent to a fax machine. This > would require some sort of d

Re: [PHP] PHP form to fax?

2003-09-25 Thread Jason Wong
On Friday 26 September 2003 02:48, J J wrote: > I know in the past it wasn't possible to do something > like have a user fill out a web form and that > information would then be sent to a fax machine. This > would require some sort of dialing abilities on the > server. Still does. > Is there any

[PHP] PHP form to fax?

2003-09-25 Thread J J
I know in the past it wasn't possible to do something like have a user fill out a web form and that information would then be sent to a fax machine. This would require some sort of dialing abilities on the server. Is there anything available today that could perform such a function possibly withi

[PHP] PHP form builder?

2003-07-03 Thread J J
I've seen survey tools before to build surveys dynamically with PHP code, but I'm looking for something a bit more simple that just allows you to build HTML forms dynamically. Something where I say I need 10 fields, some checkboxes, a submit button and it then generates the form on the fly. Then

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
Thanks Ray but i've found the problem and sorted it. :-) Steven M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
> > > > -Original Message- > From: Steven M [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 19, 2003 2:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP form help > > Hi, > > I have created a form that passes details to the next page so the user &

Re: [PHP] PHP form help

2003-02-19 Thread Ray Hunter
Please provide more information...ie source code so we can find the problem. Ray On Wed, 2003-02-19 at 13:14, Steven M wrote: > Hi, > > I have created a form that passes details to the next page so the user can > see the details they have submitted before clicking confirm to submit to the > dat

RE: [PHP] PHP form help

2003-02-19 Thread Jonathan Villa
> Jonathan -Original Message- From: Steven M [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP form help Hi, I have created a form that passes details to the next page so the user can see the details they have submitted before cli

[PHP] PHP form help

2003-02-19 Thread Steven M
Hi, I have created a form that passes details to the next page so the user can see the details they have submitted before clicking confirm to submit to the database. The problem is that the details dont seem to get passed to the script after they have appeared on the confirmation page. I know th

Re: [PHP] Php Form Issue

2002-11-16 Thread Justin French
Hi, on 17/11/02 7:58 AM, Keith Spiller ([EMAIL PROTECTED]) wrote: > Does anyone have an idea how I can make the php script gather all the multiple > &browser=lynx&browser=mosaic&browser=explorer > instead of only the last entry? That URL is like writing: And expecting that $foo contains both

Re: [PHP] Php Form Issue

2002-11-16 Thread John Nichel
Put the brackets for php... Now, to loop through the elements in JavaScript, you're going to have to do something like this var test = false; for ( i = 0; i < document.forms[0].elements['myname[]'].length; i++ ) //code for whatever you want to do here //if you want to check if at least o

Re: [PHP] Php Form Issue

2002-11-16 Thread David Rice
Hi Keith: Unfortunately, the information has to be sent to php. As soon as I add the [] brackets to an input name, the javascript no longer functions. I'll look up a javascript mailing list next, but I figured there must be some other way to get php to recieve the data and convert it to an a

[PHP] Php Form Issue

2002-11-16 Thread Keith Spiller
Hello, I've managed to get a series of javascripts to work exactly as I wanted. They check all and uncheck all checkboxes with a single click of a control checkbox. Unfortunately, the information has to be sent to php. As soon as I add the [] brackets to an input name, the javascript no longer

Re: [PHP] php form mail - checkbox problem

2002-10-30 Thread Marek Kilimajer
Tine wrote: Greetings, Forgive my newbism here, but I am having a hard time recieving check(box)ed items from a form sent to e-mail using PHP. The code is as follows: //Routine for checkboxes $MailBody .="Type medlemskap : "; $items = 2; //initiate possible # of items for ($i = 1; $i

Re: [PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
> Please don't answer with "Tried that" without showing us your new HTML and code > Show us the new code. Sorry - found my mistake. I had forgotten to include a hidden input field :oO -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] php form mail - checkbox problem

2002-10-29 Thread Rick Emery
Please don't answer with "Tried that" without showing us your new HTML and code Show us the new code. - Original Message - From: "Tine" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, October 29, 2002 9:12 AM Subject: Re: [PHP] php form mail - checkbox prob

Re: [PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
re > the "name=" parameter in your HTML must all be the SAME name: > > > hovedmedlemskap [200 kr.] > > 2 eller flere i samme husholdning [100 kr.] Tried that, same same. Still not working :oO > - Original Message - > From: "Tine" <[EMAI

Fw: [PHP] php form mail - checkbox problem

2002-10-29 Thread Rick Emery
- Original Message - From: "Tine" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, October 29, 2002 8:34 AM Subject: [PHP] php form mail - checkbox problem Greetings, Forgive my newbism here, but I am having a hard time recieving check(box)ed items from a form sent to e-mail us

[PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
Greetings, Forgive my newbism here, but I am having a hard time recieving check(box)ed items from a form sent to e-mail using PHP. The code is as follows: //Routine for checkboxes $MailBody .="Type medlemskap : "; $items = 2; //initiate possible # of items for ($i = 1; $i <= $items; $i+

Re: [PHP] PHP Form and Arrays help

2002-09-24 Thread Geoff
If I remember correctly checkboxes literally do not exist on the posted pages if they don't get checked on the form page. So maybe you can use isset or something like that to see if the checkbox exists if so make it checked if not show it unchecked. Hope that helps. On Tue, 2002-09-24 at 11:24,

Re: [PHP] PHP Form and Arrays help

2002-09-24 Thread Marek Kilimajer
Use either session to "remember" the checkboxes' name/value pairs or hidden fields. Tom Ray wrote: >I'm having a small problem with a form I'm designing and I hope someone can >point me in the right direction here. The form's function is rather simple >actaully. It's supposed to take the inform

[PHP] PHP Form and Arrays help

2002-09-24 Thread Tom Ray
I'm having a small problem with a form I'm designing and I hope someone can point me in the right direction here. The form's function is rather simple actaully. It's supposed to take the information, run through it to make sure all the required fields have data in them, if there is a blank require

Re: [PHP] PHP form port

2002-08-10 Thread Analysis & Solutions
On Sat, Aug 10, 2002 at 09:14:03AM -0700, Daniel Guerrier wrote: > How do i execute a form post with php? > I want to validate CCard info etc.. then perform the > post with no furtheraction from the user. > > Basically If not valid stay here and show whats wrong > ELSE post form to process.php D

Re: [PHP] PHP form port

2002-08-10 Thread Matt
>From: "Daniel Guerrier" <[EMAIL PROTECTED]> >Sent: Saturday, August 10, 2002 12:14 PM >Subject: [PHP] PHP form port > How do i execute a form post with php? > I want to validate CCard info etc.. then perform the > post with no furtheraction from the user. &g

Re: [PHP] PHP form port

2002-08-10 Thread John Wards
l that is outputed. You don't need to use the html if you don't want to. John Wards SportNetwork.net - Original Message - From: "Daniel Guerrier" <[EMAIL PROTECTED]> To: "php user group" <[EMAIL PROTECTED]> Sent: Saturday, August 10, 2002 5:14 PM Subjec

Re: [PHP] PHP form port

2002-08-10 Thread Matt
>From: "Daniel Guerrier" <[EMAIL PROTECTED]> >Sent: Saturday, August 10, 2002 12:14 PM >Subject: [PHP] PHP form port > How do i execute a form post with php? http://www.php-faq.com/postToHost.html -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] PHP form port

2002-08-10 Thread Daniel Guerrier
How do i execute a form post with php? I want to validate CCard info etc.. then perform the post with no furtheraction from the user. Basically If not valid stay here and show whats wrong ELSE post form to process.php __ Do You Yahoo!? HotJobs - Se

[PHP] PHP + Form + Session Problem. Please help

2002-07-28 Thread Wee Keat
Hi all, I have been working on an online shopping thingy for quite a while and I have encounter a strange problem which could not be solved. Deeply needed your help. Problem: Its very hard to explain this. So, if you do not quite understand it, please tell me, I will send some screenshots

[PHP] php form with textarea

2002-07-05 Thread adi
I have a php file with two textarea and one button; i want when i press button, value from textarea2 is filled in textarea1. can u help me? my try is: //file1.php if ($action == "change") { $arie1=$arie2; } echo "$arie1"; echo "\n"; echo "$arie2"; echo""; ...

Re: [PHP] PHP & form data

2002-05-21 Thread Stavros Patiniotis
> I am experiencing problems with receiving form data into my > scripts. The phpinfo() function shows me: > > PHP_SELF > _POST["Action"] checkEmail > _POST["emailAddress"] st > _POST["submit"] Next >> > _COOKIE["uid"] > _COOKIE["emailAddre

[PHP] PHP & form data

2002-05-21 Thread Stavros Patiniotis
Hello, I am experiencing problems with receiving form data into my scripts. The phpinfo() function shows me: PHP_SELF _POST["Action"] checkEmail _POST["emailAddress"] st _POST["submit"] Next >> _COOKIE["uid"] _COOKIE["emailAddress"] _COOKIE["testCoo

[PHP] php form mail - what am I doing wrong?

2002-03-30 Thread lmlweb
I'm suffering eye fatique, and after reading the code for the maybe millionth of time, I still can't figure out what I'm doing wrong in this one. Ideally, you get to this registration form by clicking on a link in a previous page, so the registration form automatically enters in the event name. T

[PHP] PHP form forbidden

2002-02-18 Thread Ironfroggy
im working on a login script. the problem is more with the form itself, PHP, and or my server. The same page displays the login form and handles the login operation itself. The submit button is named "login" and in my PHP, if $login exists it will set the cookie and display the right page. oth

Re: [PHP] php form

2002-01-05 Thread M.E. Suliman
Hi Brian I would need to email it as an attachment. Thanks Mohamed - Original Message - From: Brian Clark <[EMAIL PROTECTED]> To: PHP is not a drug. <[EMAIL PROTECTED]> Sent: Saturday, January 05, 2002 8:23 AM Subject: Re: [PHP] php form > * M.E. Suliman ([EMAIL PROT

Re: [PHP] php form

2002-01-04 Thread Brian Clark
* M.E. Suliman ([EMAIL PROTECTED]) [Jan 05. 2002 00:22]: > Hi Hello > I'm pretty new to this PHP thing so this might sound a bit stupid, or easy > for the pros out there. I need a basic php form that when submit is clicked > all the information filled in that form is either generated into an h

[PHP] php form

2002-01-04 Thread M.E. Suliman
Hi I'm pretty new to this PHP thing so this might sound a bit stupid, or easy for the pros out there. I need a basic php form that when submit is clicked all the information filled in that form is either generated into an html template or text file so it can be emailed. I would be looking at th

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Andrew Halliday
> It's more of a pain if I have to remember what order the parameters go Yeah, good point. I can see that. What i have been doing is componentising the page into functions which are responsible for rendering a discrete section of that page...ie if a page consists of a title bar and a form and t

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Michael Kimsal
Andrew Halliday wrote: > > >Ive coded in both PHP and ASP and in both OO and function oriented. >Ultimately, i find functionally oriented PHP to be the best ... what do >other people think? > As much classes/objects as possible, imo. 'functions' by themselves are OK for smaller stuff, but when

[PHP] OO v. Functions Was: Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Aral Balkan
>> Ive coded in both PHP and ASP and in both OO and function oriented. Ultimately, i find functionally oriented PHP to be the best ... what do other people think? Having learnt how to program using Basic when I was 8, I had to unlearn a lot of things as I moved from Basic to Pascal (what? I can't

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread ReDucTor
2001 6:29 PM Subject: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here) > > Only typed it up in like 20 min, i normaly do that [code tidying] after :) > > hehe tisk tisk...the merits of design havent been hammered through you yet? > you are lucky!!! > > But, thi

[PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Andrew Halliday
> Only typed it up in like 20 min, i normaly do that [code tidying] after :) hehe tisk tisk...the merits of design havent been hammered through you yet? you are lucky!!! But, this does raise an interesting issuegood PHP code structure/form. What do people consider good PHP form? Ive coded i

[PHP] PHP form script in Javascript window

2001-04-06 Thread Claudia
I am attempting to use a Javascript popup window to open a new php form window that uses a php script to process the form data. All processing for the form is completed in the popup window. The issue I am encoutering is occurring with Netscape only -- I receive the following msg: Warning there