I've just installed ths PHP Form Generator (via Fantastico), and created a form (eventually), and have changed the 'form1.html' file to suit my sites' design - but no-one can access it, as it asks for a password etc. I've looked at the help page on this site, but some of the folders won't allow me to 'chmod' them. I've gone into my control panel (on my server) and the only folder I can see that requires password etc. is the main overall folder - but when making open for all, I can't access my forms control panel, as some files are not 'writable'. Whats going on??? So far, I'm not impressed - for something thats 'supposed' to be easy-to-use...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree the documentation is fairly minimalist, but these forums are an invaluable source of information. If you will do a search on your issue using relevant keywords, you'll find this has been addressed several times. To summarize, there's a known issue with Fantastico installs of this script that gets traced back to a flaw with Fantastico, not this script. If I remember correctly, the fix is very simple, but may require you to uninstall, then reinstall either without Fantastico, or by simply avoiding the last step of the Fantastico install where it asks for some added security measure.
Like I say, doing a search in these forums will give you a lot of information--I'm just another user, not a dev or anything, but I've had nothing but good luck with this script. I hope, for your own benefit, you'll give it another chance. Of course, the choice is yours. Best luck!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh my god, I'm literally SICK of these people :P brother, did you even bother checking the homepage? There is a link to a big fat installation guide right on home page!!! And it clearly says in there, not to use Fantastico if you can't manage its security issues. I posted a special news message for this! I have posted numerous forum posts on this too! But some people just refuse to look up anything .... they would rather complain, and bad mouth. If you are not *impressed* with the software, atleast give me a viable reason so I can improve the damn thing! Saying stuff like "this doesn't work" just portrays you as a lazy bum and pisses the rest of us off.
Anyway, here is your solution. FTP or SSH in to your server, change to the directory where you have phpFormGenerator installed, and delete the .htaccess file (and yes! it starts with a period). Its a hidden file, so it might not show upfront. The other, simpler solution has already been suggested by the two good folk above. "Delete whatever crap Fantastico installed, and then download the program directly from this place and install it your self." I have contacted Fantastico a couple of times, and they have assured me that they would fix the problem. However, I cannot push them to do so. good luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-09-09
May I also say that I'm not the first person to have problems with the program. It works OK once it gets going - but that can be the problem!
And another thing, Mr. Musawir Ali, presuming you are part of this program, I found your above post rather offensive - and thanks to your attitude, you have just lost a user of the program, thankfully there are other form mailing programs around.
Thanks to the other users for their help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have installed this program because of Fantastico or I would never have known about the program. And like others the software did not work. I had not read to find out what files or directories to make writeable. Also, when I removed .htaccess as required, the program works as stated.
Thanks for the support Ali Musawir. Thanks for the leadership.
Crenshaw
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also had this problem. But the solution was so simple as stated above that I am appalled that you took such an issue with this wonderful program.
All you have to do is go to your control panel, then file manager, click the folder where you have the form and delete the .htaccess. Then the form works great!
Perhaps you would have better results if you actually DO what the experts say, rather than complaining about the issue.
As for the program itself, I have found it to be irreplaceable for the Adoption Application for our Rescue Shelter. IT is a wonderful program.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This great, i have exactly the same problem, after installing via fantastico, but deleting the .htaccess files, mada everthing in accessable, i did this before finding this forum. are there any kind people out there who could guide me as which .htaccess file i should be deleting, there seem to be many
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
60,619 users - 1 user = 60,618 users
Now I'm trying to use it (60,620) and having a little diifficulty... I will read some of the posts and docs in the mean time.
I get this output when I submit my form..
and no data gets sent to mysql (Latest BigApache install).
Any suggestions?
Also, don't flame your users. I know it can be frustrating when someone bad mouths your program, but with all the good things people are saying..
why let it bother you?
See output below
"; pt_register('POST','ReferenceID'); pt_register('POST','BidTitle'); pt_register('POST','CategoryorIndustry'); pt_register('POST','Organization'); pt_register('POST','ContactPerson'); pt_register('POST','ContactPhone'); pt_register('POST','City'); pt_register('POST','State'); pt_register('POST','ZipCode'); pt_register('POST','OpenDate'); pt_register('POST','CloseDate'); pt_register('POST','Comments'); $Comments=preg_replace("/(\015\012)|(\015)|(\012)/","
# ", $Comments);$UploadFile=$HTTP_POST_FILES['UploadFile']; pt_register('POST','ContactEMail'); pt_register('POST','UploadPassword'); if($ReferenceID=="" || $CategoryorIndustry=="" || $ContactPerson=="" || $CloseDate=="" || $UploadPassword=="" ){ $errors=1; $error.="You did not enter one or more of the required fields. Please go back and try again."; } if($HTTP_POST_FILES['UploadFile']['tmp_name']==""){ } else if(!is_uploaded_file($HTTP_POST_FILES['UploadFile']['tmp_name'])){ $error.="
# The file, ".$HTTP_POST_FILES['UploadFile']['name'].", was not uploaded!"; $errors=1; } if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$ContactEMail)){ $error.="
# Invalid email address entered"; $errors=1; } if($errors==1) echo $error; else{ $image_part = date("h_i_s")."_".$HTTP_POST_FILES['UploadFile']['name']; $image_list[12] = $image_part; copy($HTTP_POST_FILES['UploadFile']['tmp_name'], "files/".$image_part); $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); $message="Reference ID: ".$ReferenceID." Bid Title: ".$BidTitle." Category or Industry: ".$CategoryorIndustry." Organization: ".$Organization." Contact Person: ".$ContactPerson." Contact Phone: ".$ContactPhone." City: ".$City." State: ".$State." Zip Code: ".$ZipCode." Open Date: ".$OpenDate." Close Date: ".$CloseDate." Comments: ".$Comments." Upload File: ".$where_form_is."files/".$image_list[12]." Contact EMail: ".$ContactEMail." Upload Password: ".$UploadPassword." "; $message = stripslashes($message); mail("admin@minoritybids.com","Form Submitted at your website",$message,"From: phpFormGenerator"); $link = mysql_connect("localhost","root","c0olman"); mysql_select_db("bids",$link); $query="insert into submitbid (Reference_ID,Bid_Title,Category_or_Industry,Organization,Contact_Person,Contact_Phone,City,State,Zip_Code,Open_Date,Close_Date,Comments,Upload_File,Contact_EMail,Upload_Password) values ('".$ReferenceID."','".$BidTitle."','".$CategoryorIndustry."','".$Organization."','".$ContactPerson."','".$ContactPhone."','".$City."','".$State."','".$ZipCode."','".$OpenDate."','".$CloseDate."','".$Comments."','".$where_form_is."files/".$image_list[12]."','".$ContactEMail."','".$UploadPassword."')"; mysql_query($query); $make=fopen("admin/data.dat","a"); $to_put=""; $to_put .= $ReferenceID."|".$BidTitle."|".$CategoryorIndustry."|".$Organization."|".$ContactPerson."|".$ContactPhone."|".$City."|".$State."|".$ZipCode."|".$OpenDate."|".$CloseDate."|".$Comments."|".$where_form_is."files/".$image_list[12]."|".$ContactEMail."|".$UploadPassword." "; fwrite($make,$to_put); ?>
Thank you!
Reference ID:
Bid Title:
Category or Industry:
Organization:
Contact Person:
Contact Phone:
City:
State:
Zip Code:
Open Date:
Close Date:
Comments:
Upload File:
Contact EMail:
Upload Password:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I finally figured out how to password protect the admin directory while not password protecting the directory contain the fillout form.
I put the form generator into /formgen
Next I created the form which is stored in /formgen/forms
For example, say that the form is "form1.html".
It would be in /formgen/forms/form1.html.
At this point, I used my website providers tools to password protect /formgen. But, now /formgen/forms/form1.html can't be accessed without a password.
The solution is to create a directory, /forms, and copy three files into this directory: form1.html, process.php and global.inc.php.
Now, go to /formgen and create your form. Next, copy the form to /forms (not to /formgen/forms ) and it works.
To the author of this program: Thanks for the nice forms program.
Sincerely,
Don James
Henderson, TExas USA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just installed ths PHP Form Generator (via Fantastico), and created a form (eventually), and have changed the 'form1.html' file to suit my sites' design - but no-one can access it, as it asks for a password etc. I've looked at the help page on this site, but some of the folders won't allow me to 'chmod' them. I've gone into my control panel (on my server) and the only folder I can see that requires password etc. is the main overall folder - but when making open for all, I can't access my forms control panel, as some files are not 'writable'. Whats going on??? So far, I'm not impressed - for something thats 'supposed' to be easy-to-use...
hi~
I agree the documentation is fairly minimalist, but these forums are an invaluable source of information. If you will do a search on your issue using relevant keywords, you'll find this has been addressed several times. To summarize, there's a known issue with Fantastico installs of this script that gets traced back to a flaw with Fantastico, not this script. If I remember correctly, the fix is very simple, but may require you to uninstall, then reinstall either without Fantastico, or by simply avoiding the last step of the Fantastico install where it asks for some added security measure.
Like I say, doing a search in these forums will give you a lot of information--I'm just another user, not a dev or anything, but I've had nothing but good luck with this script. I hope, for your own benefit, you'll give it another chance. Of course, the choice is yours. Best luck!
The software works great.
Delete whatever crap version you got prepackaged from another vendor and download the source code straight from here.
Then we can help you :)
No I am not a developer. Just someone who has spent more time messing with this than I want to admit to. :)
Oh my god, I'm literally SICK of these people :P brother, did you even bother checking the homepage? There is a link to a big fat installation guide right on home page!!! And it clearly says in there, not to use Fantastico if you can't manage its security issues. I posted a special news message for this! I have posted numerous forum posts on this too! But some people just refuse to look up anything .... they would rather complain, and bad mouth. If you are not *impressed* with the software, atleast give me a viable reason so I can improve the damn thing! Saying stuff like "this doesn't work" just portrays you as a lazy bum and pisses the rest of us off.
Anyway, here is your solution. FTP or SSH in to your server, change to the directory where you have phpFormGenerator installed, and delete the .htaccess file (and yes! it starts with a period). Its a hidden file, so it might not show upfront. The other, simpler solution has already been suggested by the two good folk above. "Delete whatever crap Fantastico installed, and then download the program directly from this place and install it your self." I have contacted Fantastico a couple of times, and they have assured me that they would fix the problem. However, I cannot push them to do so. good luck
May I also say that I'm not the first person to have problems with the program. It works OK once it gets going - but that can be the problem!
And another thing, Mr. Musawir Ali, presuming you are part of this program, I found your above post rather offensive - and thanks to your attitude, you have just lost a user of the program, thankfully there are other form mailing programs around.
Thanks to the other users for their help.
60,619 users - 1 user = 60,618 users
so long and I bid you good day sir! ;)
I have installed this program because of Fantastico or I would never have known about the program. And like others the software did not work. I had not read to find out what files or directories to make writeable. Also, when I removed .htaccess as required, the program works as stated.
Thanks for the support Ali Musawir. Thanks for the leadership.
Crenshaw
much appreciated brother.
Dear Sir;
I also had this problem. But the solution was so simple as stated above that I am appalled that you took such an issue with this wonderful program.
All you have to do is go to your control panel, then file manager, click the folder where you have the form and delete the .htaccess. Then the form works great!
Perhaps you would have better results if you actually DO what the experts say, rather than complaining about the issue.
As for the program itself, I have found it to be irreplaceable for the Adoption Application for our Rescue Shelter. IT is a wonderful program.
Hi,
Is there documentation somewhere that tells how to
use the .htaccess file?
I would like to use it to limit access to my forms generation directory.
Thanks,
donjames
I finally figured out how to use .htaccess to limit access to the phpFormGenerator admin page.
I talked with my website provider and he showed me how to use .htaccess and it works.
I can now limit access to the phpFormGenerator admin page, but allow others to use the fillin forms.
To the author of phpFormGenerator: Thanks for this great program. It works great with http://fluxservices.com
This great, i have exactly the same problem, after installing via fantastico, but deleting the .htaccess files, mada everthing in accessable, i did this before finding this forum. are there any kind people out there who could guide me as which .htaccess file i should be deleting, there seem to be many
Thanks
To: Musawir Ali - musawir
60,619 users - 1 user = 60,618 users
Now I'm trying to use it (60,620) and having a little diifficulty... I will read some of the posts and docs in the mean time.
I get this output when I submit my form..
and no data gets sent to mysql (Latest BigApache install).
Any suggestions?
Also, don't flame your users. I know it can be frustrating when someone bad mouths your program, but with all the good things people are saying..
why let it bother you?
See output below
"; pt_register('POST','ReferenceID'); pt_register('POST','BidTitle'); pt_register('POST','CategoryorIndustry'); pt_register('POST','Organization'); pt_register('POST','ContactPerson'); pt_register('POST','ContactPhone'); pt_register('POST','City'); pt_register('POST','State'); pt_register('POST','ZipCode'); pt_register('POST','OpenDate'); pt_register('POST','CloseDate'); pt_register('POST','Comments'); $Comments=preg_replace("/(\015\012)|(\015)|(\012)/","
# ", $Comments);$UploadFile=$HTTP_POST_FILES['UploadFile']; pt_register('POST','ContactEMail'); pt_register('POST','UploadPassword'); if($ReferenceID=="" || $CategoryorIndustry=="" || $ContactPerson=="" || $CloseDate=="" || $UploadPassword=="" ){ $errors=1; $error.="You did not enter one or more of the required fields. Please go back and try again."; } if($HTTP_POST_FILES['UploadFile']['tmp_name']==""){ } else if(!is_uploaded_file($HTTP_POST_FILES['UploadFile']['tmp_name'])){ $error.="
# The file, ".$HTTP_POST_FILES['UploadFile']['name'].", was not uploaded!"; $errors=1; } if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$ContactEMail)){ $error.="
# Invalid email address entered"; $errors=1; } if($errors==1) echo $error; else{ $image_part = date("h_i_s")."_".$HTTP_POST_FILES['UploadFile']['name']; $image_list[12] = $image_part; copy($HTTP_POST_FILES['UploadFile']['tmp_name'], "files/".$image_part); $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); $message="Reference ID: ".$ReferenceID." Bid Title: ".$BidTitle." Category or Industry: ".$CategoryorIndustry." Organization: ".$Organization." Contact Person: ".$ContactPerson." Contact Phone: ".$ContactPhone." City: ".$City." State: ".$State." Zip Code: ".$ZipCode." Open Date: ".$OpenDate." Close Date: ".$CloseDate." Comments: ".$Comments." Upload File: ".$where_form_is."files/".$image_list[12]." Contact EMail: ".$ContactEMail." Upload Password: ".$UploadPassword." "; $message = stripslashes($message); mail("admin@minoritybids.com","Form Submitted at your website",$message,"From: phpFormGenerator"); $link = mysql_connect("localhost","root","c0olman"); mysql_select_db("bids",$link); $query="insert into submitbid (Reference_ID,Bid_Title,Category_or_Industry,Organization,Contact_Person,Contact_Phone,City,State,Zip_Code,Open_Date,Close_Date,Comments,Upload_File,Contact_EMail,Upload_Password) values ('".$ReferenceID."','".$BidTitle."','".$CategoryorIndustry."','".$Organization."','".$ContactPerson."','".$ContactPhone."','".$City."','".$State."','".$ZipCode."','".$OpenDate."','".$CloseDate."','".$Comments."','".$where_form_is."files/".$image_list[12]."','".$ContactEMail."','".$UploadPassword."')"; mysql_query($query); $make=fopen("admin/data.dat","a"); $to_put=""; $to_put .= $ReferenceID."|".$BidTitle."|".$CategoryorIndustry."|".$Organization."|".$ContactPerson."|".$ContactPhone."|".$City."|".$State."|".$ZipCode."|".$OpenDate."|".$CloseDate."|".$Comments."|".$where_form_is."files/".$image_list[12]."|".$ContactEMail."|".$UploadPassword." "; fwrite($make,$to_put); ?>
Thank you!
Reference ID:
Bid Title:
Category or Industry:
Organization:
Contact Person:
Contact Phone:
City:
State:
Zip Code:
Open Date:
Close Date:
Comments:
Upload File:
Contact EMail:
Upload Password:
Hi Folks,
Yes, this thing does EVER work properly.
I finally figured out how to password protect the admin directory while not password protecting the directory contain the fillout form.
I put the form generator into /formgen
Next I created the form which is stored in /formgen/forms
For example, say that the form is "form1.html".
It would be in /formgen/forms/form1.html.
At this point, I used my website providers tools to password protect /formgen. But, now /formgen/forms/form1.html can't be accessed without a password.
The solution is to create a directory, /forms, and copy three files into this directory: form1.html, process.php and global.inc.php.
Now, go to /formgen and create your form. Next, copy the form to /forms (not to /formgen/forms ) and it works.
To the author of this program: Thanks for the nice forms program.
Sincerely,
Don James
Henderson, TExas USA