Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 30th, 2005, 06:09 AM
Authorized User
 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to js_pandey Send a message via Yahoo to js_pandey
Default FORM data not valid

hi,
i have a form in PHP used for registration purpose. Its has fields like HOME PHONE, MOBILE PHONE, WORK PHONE.

When I am submitting this form, then all these three fields is storing some peculiar values always like 2147483647.

I am tired of it...can anyone help me how can I override this problem.

Thanks in advance!


Cheers!
I am Jay.
contact: js_pandey at yahoo.com
__________________
Cheers!
I am Jay.
contact: jays_pandey at yahoo.co.in
 
Old May 30th, 2005, 06:31 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Turn global variables off using ini_set(), use $_POST['variables'] instead. Validate your form both client-side ( using JavaScript ) and also server-side ( use PHP ), before you do something of submitted data. Cheers :)

 
Old June 3rd, 2005, 06:10 AM
Authorized User
 
Join Date: Apr 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jmukesh Send a message via Yahoo to jmukesh
Default

Can u copy/paste your source files out here ? Can Comment only after i see the code files .






Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving data using form misskaos Classic ASP Basics 3 October 27th, 2006 03:16 PM
valid crmpicco Classic ASP Basics 1 February 17th, 2005 12:54 AM
valid? crmpicco Classic ASP Basics 3 February 8th, 2005 05:46 AM
How do I get data from child form? megabytes C# 1 October 8th, 2003 04:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.