Jump to content


Photo

PHP file dosen't show anything inbrowser


  • Please log in to reply
1 reply to this topic

#1 bxmachines77

bxmachines77
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 16 June 2006 - 05:00 AM

Hello,
I'm attempting to get this password protect script going with very little knowledge. It has statements in it that should show up on the browser window but nothing is there. Thanks in advance for any ideas. Best regards,
Bill

<?php?>
<p><br /><br />These accounts need to be manually configured. A valid email is required so the Administration can drop you a line to let you know when your profile is ready to use. Thank you for your paitence.<br /><br /></p>
<form name="join" method="post" action="<?php echo $domain.$folder.'verify.php';?>">
<input type="hidden" name="new" value="1" />
<div style="position:relative;float:left;clear:left"><p> Username: <br /><input type="text" name="0" /><br /><br />
Your Email: <br /><input type="text" name="3" value="you@isp.com" /><br /></p></div>
<div style="position:relative;float:right;clear:right"><p> Password: <br /><input type="password" name="1" /><br /><br /> Confirm It: <br />
<input type="password" name="2" /><br /></p></div>

<p>Are you exactly 13 years old or older?</p>
<p>Yes: <input type="radio" name="asl" value="yes" />
  No: <input type="radio" name="asl" value="no" /><br /><br />
<input type="submit" value="Join Now!" /></form><br /><br />
By submitting this form you are agreeing to be bound by the Terms of Service. You can read the terms of service at the bottom of this very page!</p>
<br /><br />
</p>

<h1><br /><br />The T.O.S.</h1>
<p>I will delete your account for these reasons.<br />
This is what a user is entitled to and what the provider provides.<br />
I am not responsible for any losses, real or percieved, based on your use of this service. 
</p>


#2 d_barszczak

d_barszczak
  • Members
  • PipPipPip
  • Advanced Member
  • 188 posts
  • LocationBradford - UK

Posted 16 June 2006 - 07:21 AM

Its hard to say just from looking at this script but as you say you have little knowledge ill go over the most common faults.


  • Have you named your file with the .php extention?
  • Why have you got <?php?> at the top of the page?
  • Where did you declare the variables $domain, $folder?

When all else fails - Try reading the manual.

Integrated IT Systems Ltd





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users