[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 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

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

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 display it in

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 probably

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 to

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 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

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

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

2006-04-06 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,

Re: [PHP] PHP Form Help

2006-04-06 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

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

[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 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

[PHP] simple flash php form, help please

2003-06-22 Thread Paul Ferrie
Hi again guys :) I am having problems with this little email user script for my website. I have set this script here to run with flash outputing the information. When i run the script in the browser i grt this error Warning: Failed to Receive in C:\apache\htdocs\innovat\forum\mailuser.php on line

[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

RE: [PHP] PHP form help

2003-02-19 Thread Jonathan Villa
-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 clicking confirm

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

Re: [PHP] PHP form help

2003-02-19 Thread Steven M
]] 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 clicking confirm to submit to the database. The problem is that the deta

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

[PHP] Form help

2001-08-12 Thread Mitja Simi
Each user has a long list of magazines to choose from. Problem is that for every magazine there is a checkbox and there are a lot of magazines to choose from (more than 100). I put all of them in one form. After submit I have to know which magazines user checked. Is there any more simple way than

[PHP] Form help

2001-03-22 Thread Good Fella
Hi All, I currently have a small problem with my PHP form. I have made two PHP files (application.php and process_application.php). On submitting the form, you then move to process_application.php. Any errors will force the form NOT to be submitted to me. However, how do I stop people from

RE: [PHP] Form help

2001-03-22 Thread Jon Haworth
] Sent: 22 March 2001 14:34 To: [EMAIL PROTECTED] Subject: [PHP] Form help Hi All, I currently have a small problem with my PHP form. I have made two PHP files (application.php and process_application.php). On submitting the form, you then move to process_application.php. Any errors will forc

Re: [PHP] Form help

2001-03-22 Thread Philip Olson
A common way is to add a check for the pressing of the submit button, so assuming : input type="submit" name="submit" value="submit me!" if ( isset($submit) ) { // process form } else { echo 'oh dear, you did not use form.'; } I usually use a hidden field instead as at times

RE: [PHP] Form help

2001-03-22 Thread Jon Haworth
You could have a check for the HTTP_REFERER variable, if it doesn't contain "application.php", chances are they didn't come from that page. it's not a good idea to rely on $HTTP_REFERER for anything, and especially for this. a referer is only reported when the user follows a hyperlink, so

RE: [PHP] Form help

2001-03-22 Thread Rick St Jean
not all browsers support the referrer or some people use software to block that, so that method is unreliable... the only way to do this is with a token. that is time sensitive from the database, even then there is no method that is hackproof. Rick At 03:41 PM 3/22/01 +, Jon Haworth

Re: [PHP] Form help

2001-03-22 Thread darion mapp
why don't you check to see is a variable was passed to the page. If you use the post method then a hidden field can be used o check that the user did come from the application page. a sample of the check will be if(!$var_from_previous_page) { header("location: application.php"); } -- On