Date: 02/29/00
- Next message: KS Rogers: "[PHP3] need NT installation help"
- Previous message: Peter Kocks: "RE: [PHP3] MySQL or Informix???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello All,
I have some php that is uploading a file and some text fields to a php3
page. The form in its short form is as follows.
<form enctype="multipart/form-data" action="jcm_upload_version.php3"
method="post" >
<input type="hidden" name="ref_page" value="<%=$ref_page%>">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
<input type="file" name="jcm_admin_newfile" size="65">
<input type="submit" name="jcm_admin_action" value="Upload">
</form>
The Problem is sometimes, the post data gets corrupted in some way. A
phpinfo at the start of the receiving script shows the following variables.
Notice how the values are repeated 3 times. This only happens when the
script is run on my ISP's server. The versions of php are the same on my
machine and the isp.
==========================================================================
CONTENT_TYPE = multipart/form-data;
boundary=---------------------------7d0fa33a502f8,multipart/form-data;
boundary=---------------------------7d0fa33a502f8,multipart/form-data;
boundary=---------------------------7d0fa33a502f8
=======================
HTTP_ACCEPT_LANGUAGE = en-au,en-au,en-au
=======================
HTTP_REFERER =
http://www.edinburgh.com.au/admin/jcm_upload_version.php3?jcm_admin_content_
name=cafe_menu&ref_page=/admin/jcm_item.php3,http://www.edinburgh.com.au/adm
in/jcm_upload_version.php3?jcm_admin_content_name=cafe_menu&ref_page=/admin/
jcm_item.php3,http://www.edinburgh.com.au/admin/jcm_upload_version.php3?jcm_
admin_content_name=cafe_menu&ref_page=/admin/jcm_item.php3
=======================
When this happens there are no post variables passed to my php3 file and it
doesn't work.
Does anyone have any clues?
Thanks,
Justin Wright.
justin <email protected>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: KS Rogers: "[PHP3] need NT installation help"
- Previous message: Peter Kocks: "RE: [PHP3] MySQL or Informix???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

