Jump to content

PHP not getting form data?


mb81

Recommended Posts

My server doesn't seem to be recognizing information being sent from a form (below). It grabs the categories_id, but the categories_name and the file item are not getting sent or not being received properly into the $_POST superglobal array. Any ideas why this might be happening?

 

This is a form in osCommerce, but I don't think this is an osCommerce issue because another copy of oscommerce works elsewhere on our server just fine.

 

Thanks,

Matt

 

<form name="categories" action="https://www.mmpowerweb.com:8443/sitepreview/http/himwear.com/oscommerce/admin/categories.php?action=update_category&cPath=&osCAdminID=3742d1f798e16db84bb411aa23a6a7b7" method="post" enctype="multipart/form-data"><input type="hidden" name="categories_id" value="21">

<table border="0" width="100%" cellspacing="0" cellpadding="2">

  <tr>

 

    <td class="infoBoxContent">Please make any necessary changes</td>

  </tr>

  <tr>

    <td class="infoBoxContent"><br>Category Name:<br><img src="/oscommerce/includes/languages/english/images/icon.gif" border="0" alt="English" title=" English "> <input type="text" name="categories_name[1]" id="categories_name[1]" ></td>

  </tr>

  <tr>

    <td class="infoBoxContent"><br><img src="/oscommerce/images/" border="0" alt=""><br>/oscommerce/images/<br><b></b></td>

 

  </tr>

  <tr>

    <td class="infoBoxContent"><br>Category Image:<br><input type="file" name="categories_image" id="categories_image" ></td>

  </tr>

  <tr>

    <td class="infoBoxContent"><br>Sort Order:<br><input type="text" name="sort_order" id="sort_order"  value="1" size="2"></td>

  </tr>

  <tr>

 

    <td align="center" class="infoBoxContent"><br><input type="image" src="includes/languages/english/images/buttons/button_save.gif" border="0" alt="Save" title=" Save "> <a href="https://www.mmpowerweb.com:8443/sitepreview/http/himwear.com/oscommerce/admin/categories.php?cPath=&cID=21&osCAdminID=3742d1f798e16db84bb411aa23a6a7b7"><img src="includes/languages/english/images/buttons/button_cancel.gif" border="0" alt="Cancel" title=" Cancel "></a></td>

  </tr>

</table>

</form>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.