PDA

View Full Version : Urgent Need Help Thanks



ThierryL75
22-Sep-2004, 12:22 PM
hi,

first, Very nice script !!!
And sorry for my bad english language.

I have 3 error with Formmail script (Formail V3.00.) :

1./ - In a form field name 'toto', final user write : "titi tata tutu"
- email sending by Formmail :
- toto : titi
-> and only titi ! Why ?? What's wrong ??
-> but in csv file, all is ok, i got 'toto'="titi tata tutu"

2./ I have an upload_file action in my form, so all is ok in uploading a file,...
... but, when redirecting the user 'good_url' with a htmtemplate and i want
to show the upload_file path by $upload_file variable, there is a blank
field !!

Why ??, What's wrong ??

All other field are show but with error number 1 explain above.


3./ i have insert the env_report like this :
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">

- when there is no file attached, i have all the env_report ok and nothing
when attached file.


Why ??, What's wrong ??


Thanks a lot for your response.

Thierry

russellr
22-Sep-2004, 09:56 PM
Hi,



1./ - In a form field name 'toto', final user write : "titi tata tutu"
- email sending by Formmail :
- toto : titi
-> and only titi ! Why ?? What's wrong ??
-> but in csv file, all is ok, i got 'toto'="titi tata tutu"
I don't know - I'll need to look at your form to figure out this one. Can you send me the URL?



2./ I have an upload_file action in my form, so all is ok in uploading a file,...
... but, when redirecting the user 'good_url' with a htmtemplate and i want
to show the upload_file path by $upload_file variable, there is a blank
field !!
To show the path you would have to put something like this in the template:


$upload_file['name']

but, that syntax is not supported by FormMail. So, currently, there's no way to do this.



3./ i have insert the env_report like this :
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">

- when there is no file attached, i have all the env_report ok and nothing
when attached file.

This is a limitation in FormMail. We hope to provide a solution to it shortly.