Jump to content

Archived

This topic is now archived and is closed to further replies.

bxmachines77

PHP file dosen't show anything inbrowser

Recommended Posts

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

[code]<?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>[/code]

Share this post


Link to post
Share on other sites
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.


[list][*] 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?[/list]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.