This discussion is archived
1 Reply Latest reply: Feb 18, 2012 3:43 PM by EJP RSS

Conversion from php code

918453 Newbie
Currently Being Moderated
Hi I need the code conversion for that into JSP.

<?php
$var1 = $_POST['userAge'];
$var2 = $_POST['userBirth'];
$url = 'http://externalwebsite.com/script.php?temp1=' . $var1 . '&temp2=' . $var2;
$content = file_get_contents($url);
?>

Regards
  • 1. Re: Conversion from php code
    EJP Guru
    Currently Being Moderated
    So hire someone. This is not a free coding service. You need to understand what the PHP does, which is off-topic for this forum, then you need to translate that into the equivalent JSP, which is rather trivial if you know anything at all aut JSP.

    Locking.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points