Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Oct 2014
    Posts
    7
    Member #
    40491

    Problem with Email Form

    On the contact page of my site, the email form does not seem to be working right.

    viewable here: http://storage.googleapis.com/shyorange/contactus.html

    When I fill out the form and click 'submit', it gives me this message: "The request's content type is not accepted on this URL."

    Does this have something to do with the fact that it's hosted on Google Cloud, or is there maybe a fault in the code?

    Here is the html of the form


    <form name="htmlform" method="post" action="http://storage.googleapis.com/shyorange/">
    <table width="450px">
    </tr>
    <tr>
    <td valign="top">
    <label for="first_name">First Name</label>
    </td>
    <td valign="top">
    <input type="text" name="first_name" maxlength="50" size="30">
    </td>
    </tr>

    <tr>
    <td valign="top"">
    <label for="last_name">Last Name</label>
    </td>
    <td valign="top">
    <input type="text" name="last_name" maxlength="50" size="30">
    </td>
    </tr>
    <tr>
    <td valign="top">
    <label for="email">Email Address</label>
    </td>
    <td valign="top">
    <input type="text" name="email" maxlength="80" size="30">
    </td>

    <tr>
    <td valign="top">
    <label for="comments">Comment</label>
    </td>
    <td valign="top">
    <textarea name="comments" maxlength="1000" cols="25" rows="6"></textarea>
    </td>

    </tr>
    <tr>
    <td colspan="2" style="text-align:center">
    <input type="submit" value="Submit">
    </td>
    </tr>
    </table>
    </form>


    and this is the php file:
    http://storage.googleapis.com/shyora..._form_send.php

  2.  

  3. #2
    Senior Member sasha_bolcina's Avatar
    Join Date
    Sep 2014
    Location
    Serbia
    Posts
    274
    Member #
    40099
    Liked
    47 times
    It has its own API (https://cloud.google.com/storage/docs/json_api/), and there is not php server to run your code.

  4. #3
    Junior Member
    Join Date
    Oct 2014
    Posts
    7
    Member #
    40491
    Thanks. Are you saying there is a way of doing it through the API?

  5. #4
    Senior Member sasha_bolcina's Avatar
    Join Date
    Sep 2014
    Location
    Serbia
    Posts
    274
    Member #
    40099
    Liked
    47 times
    I don't think so :/
    API is for other purposes, I think, but you can check the link from my previous post.

  6. #5
    Member
    Join Date
    Jul 2014
    Posts
    33
    Member #
    39531
    Hi......

    i think something be wrong in your email code. you need to check out your "Network Credential Username" and "Network Credential Password" is that right or not.
    and check out validation on the form which is using in the form.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:06 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com