Jump to content

PHP file dosen't show anything inbrowser


bxmachines77

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]
Link to comment
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]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.