Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
Project works locally, but not on host October 17, 2013 11:07AM |
Registered: 10 years ago Posts: 1 Rating: 0 |
Language: PHP<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Portfolio ICT2613 - 45223998</title> </head> <?php // user check, connect and session start... ?> <body> <center> <h1> Welcome to The Chess Club </h1> <br> <FORM NAME ="form1" METHOD ="POST" ACTION ="login.php"> Username: <INPUT TYPE = ';TEXT'; Name =';username'; value="<?php print $username?>" Maxlength="25"> <br> <br> Password: <INPUT TYPE = ';PASSWORD'; Name =';password'; value="<?php print $password?>" Maxlength="8"> <P align = center> <br> <INPUT TYPE = "Submit" Name = "Log" VALUE = "Login"> </P> </FORM> </body> </html>
Re: Project works locally, but not on host October 17, 2013 11:38AM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Re: Project works locally, but not on host October 17, 2013 11:45AM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Re: Project works locally, but not on host October 17, 2013 11:51AM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Quote
php code as text on the page
Quote
I have checked that all the start and end of all the html code is there
Language: HTML<!DOCTYPE HTML Public . . . >
Language: PHP"<?php print $username?>" // You must have a space before the ?