CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012
    Posts
    2

    Conversion from php code

    Hi
    Can someone convert me this php code to Java Server Pages ?

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

    Regards

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Conversion from php code

    How much are you willing to pay?
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured