dimanche 10 avril 2016

How can I understand a php-based query from the HTML code?

A website has a php interface to its plant database. The interface has obscured code, so I can't even be sure I know how to request information in a meaningful way. It doesn't help that I don't speak php at all. How can I figure out what data is submitted?

The long-term plan in a Android app which calls this data while in the garden. : )

    <table cellpadding="1" cellspacing="0" class="recwidth" style="border:none;">
    <tr>
        <td valign="top" style="border:none;">
        <form method="POST" action="recordlist.php" style="border:none;">
      <fieldset style="border:none;">
        <div>
<input type="hidden" name="-searchForm" value="Simple Form">
<input type="hidden" name="-max" value="50">
<input type="hidden" name="-lay" value="Web Location Details"> <input type="hidden" name="-action" value="find"> <input type="hidden" name="-skip" value="0">
        </div>
        <table cellpadding="0" cellspacing="6" class="record">
        <tr class="field">
      <td class="field_name">Plant Name</td>
            <td class="field_data">
<input class="fieldinput" type= "text" size="30" value="" id="SearchBox" name="0" placeholder="Examples: Lily, Passionflower, Magnolia campbelliii or Acer skutchii">

<input type="hidden" name="1" value="ns">
<br>
      <font color="#666" size="1">Examples: Lily, Passion Flower, Magnolia campbellii, or Acer skutchii</font>
</td>
        </tr>



        <tr class="submit_btn">
            <td>
            </td>
            <td>
            </td>
        </tr>




Aucun commentaire:

Enregistrer un commentaire