Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi i developed a website in c#.create feedback form in c#.hosting which i have is windows ,so my website is working fine,but i want to upload site on linux hosting,which is not support c#.so i want to convert my form into php.i dont know any thing about php.please send me any solution for that and what requirement needs to compile php program.
please reply
thanks
Posted
Updated 3-Mar-21 9:05am

You need to learn PHP, and rewrite it, along the way, you'll need to create some of the controls that ASP.NET gave you for free. Good luck
'
 
Share this answer
 
PHP
<?php

$roomID = 10299377;
$roomPassword = '';

if( $_POST[ 'login' ] && $_POST[ 'name' ] ) {
    $password = '';
    $passPhrase = base64_encode( $_POST[ 'name' ] . ':' . md5( $password ) . ':' . md5( $roomPassword ) );
    $redirectTo = 'http://www.hotconference.com/conference,' . $roomID . '?AUTO' . $passPhrase;
    header( 'Location: ' . $redirectTo );
    exit;
} else if( $_POST[ 'login' ] ) {
    echo( '<span style="color:#F00;">Please enter your first and last name to login into the room!</span>' );
}

?>

C#

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900