hi,
my platform is win2k with apache 1.3.24 and php 4.2.2 (full).
when i enter the number of fields and hit next it gives the following error:
You did not enter a valid number. Please use a number between 1 and 99.
but, IMHO, this is meaningless because it's real number. probably error is in fields.php on line 234 which is:
if(!ereg("^([1-9]{1})([0-9]{0,1})$",$fields))
so what may be the solution?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
php 4.2 new security settings register_globals=off changes a lot of things
1) so added to fields.php
<?php
$fields = $_POST['fields'];
// debug register_globals=off is now the default, so code has to explicitly grab it
// 2002-09-24
and gets to the next page.. then probl
ems there going to the next page ... so explicitly grab those..and go to next one and broke there etc etc
2) for some odd reason on my box setting php.ini w/ register_globals=on doesn't fix it either... (see php doc's and security note)
3) finally got it to create database and the base form w/ buttons but not getting the fields ... grabbing arrays doesn't work .. name1 name2 generated instead of name[] etc... does the author have a fix?
4) still working on a way to get the field arrays...
w2k srv sp3, php4.2.3 win , php.exe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A number of people have complained about such errors on Win2k installations of apache/php/phpFormGenerator . I think we have narrowed it down to being a bad default setting in php.ini . Please continue working on it and let me know if you find a "good" setting for users with this kind of setup. Also, I would like someone to try out the program with IIS+PHP and see if it has anything to do with apache or is it just PHP settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
my platform is win2k with apache 1.3.24 and php 4.2.2 (full).
when i enter the number of fields and hit next it gives the following error:
You did not enter a valid number. Please use a number between 1 and 99.
but, IMHO, this is meaningless because it's real number. probably error is in fields.php on line 234 which is:
if(!ereg("^([1-9]{1})([0-9]{0,1})$",$fields))
so what may be the solution?
php 4.2 new security settings register_globals=off changes a lot of things
1) so added to fields.php
<?php
$fields = $_POST['fields'];
// debug register_globals=off is now the default, so code has to explicitly grab it
// 2002-09-24
and gets to the next page.. then probl
ems there going to the next page ... so explicitly grab those..and go to next one and broke there etc etc
2) for some odd reason on my box setting php.ini w/ register_globals=on doesn't fix it either... (see php doc's and security note)
3) finally got it to create database and the base form w/ buttons but not getting the fields ... grabbing arrays doesn't work .. name1 name2 generated instead of name[] etc... does the author have a fix?
4) still working on a way to get the field arrays...
w2k srv sp3, php4.2.3 win , php.exe
A number of people have complained about such errors on Win2k installations of apache/php/phpFormGenerator . I think we have narrowed it down to being a bad default setting in php.ini . Please continue working on it and let me know if you find a "good" setting for users with this kind of setup. Also, I would like someone to try out the program with IIS+PHP and see if it has anything to do with apache or is it just PHP settings.