Jump to content

Abhishekphp

New Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Abhishekphp

  1. how to change include path when user selects different
  2. i want to include external geturls.php located in other domain, on select option of domain in select option single submit how to switch include include('domain1.com/geturl.php')include('domain2.com/geturl.php')....
  3. i have want to include external geturls.php located in other domain, on select option of omain in same forum single sub,it button how to switch include include('domain1.com/geturl.php')include('domain2.com/geturl.php').... <body> <? include('geturl.php'); ?> <script type="text/javascript"> function ismaxlength(obj){ var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "" if (obj.getAttribute && obj.value.length>mlength) obj.value=obj.value.substring(0,mlength) } </script> <?PHP $id = md5(rand(6000,99999999999999991000)); ?> <td style="text-align: right;" colspan="21"> <font size="-1"><span style="font-family: Helvetica,Arial,sans-serif;"> <form method=post action="http://order.<?php echo $yourdomain?>/register2.php"> <table id="regtab"> <tr><th>Username<td><input type=text name=username size=30 value="" maxlength="16" onkeyup="return ismaxlength(this)" ><select size="1" name="website_category"> <option>domain</option> <option>domain1</option> <option>domain2</option> <option>domain3</option> <option>domain4</option> <option>domain5</option> <option>domain6</option> </select> <tr><th>Password<td><input type=password name=password size=30 maxlength="8" onkeyup="return ismaxlength(this)" > <tr><th>Email Address<td><input type=text name=email size=30 value="" > <tr><th> <td> <tr><th>Site Category<td> <select size="1" name="website_category"> <option>Personal</option> <option>Business</option> <option>Hobby</option> <option>Forum</option> <option>Adult</option> <option>Dating</option> <option>Software / Download</option> </select> </td> <tr><th><td> <tr><th>Site Language<td> <select size="1" name="website_language"> <option>English</option> <option>Non-English</option> </select> </td> <input type=hidden name=id value="<?PHP echo $id; ?>"> <tr><th>Security Code<td><img src="http://order.<?php echo $yourdomain?>/image.php?id=<?PHP echo $id; ?>" width="200" height="75"> <tr><th> <td> <tr><th>Enter Security Code<td><input type=text name=number size=30> <tr><th> <td> <tr><th colspan=2><input class="tempbut" type=submit value="Register" name="submit" align="left"> </table> </form> </body> </html> below is get url code <? $yourdomain = $_SERVER['HTTP_HOST']; $yourdomain = preg_replace('/^www\./' , '' , $yourdomain); $yourdomain = ucfirst($yourdomain); ?>
×
×
  • 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.