Jump to content

Byron

Moderators
  • Posts

    9,153
  • Joined

  • Last visited

  • Days Won

    146

Everything posted by Byron

  1. You don't want to use htaccess for what your wanting to do. You need to go to your cPanel and add a "Parked Domain". Just type in "gamingpassport.nl" as your parked domain. And then go to your domain name provider and set up your domain to point to heliohost's name servers like Wizzard said. ns1.heliohost.org ns2.heliohost.org and then wait about 24 hours.
  2. Go to "Parked Domains" at your cPanel and make sure it's not set up for redirects.
  3. What is your domain name?
  4. This should give you some ideas. http://www.w3schools.com/
  5. Your domain name is definetly pointing to heliohost. How long ago did you set up the parked domain at your cPanel. If it's been awhile (24 hrs) then go back to your cpanel to make sure it is correct.
  6. If this was the page your saw: http://heliohost.org/suspended.page/ than it could be any one of those five reasons. You'll need to post your domain name so djbob can be more specific.
  7. And if you don't know CSS or even if you do, you can always use a table. <!-- Your background --> <body bgcolor="" background="" text=""> <!-- Your centered page --> <table bgcolor="" width="95%" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td> Page Content </td> </tr> </table>
  8. Probably because the account queued page is still in your cache. This 'pennylanepc.com' takes me to your index page.
  9. REFRESH I'm seeing your index page both ways. http://agburtt.com/ http://agburtt.com/index.htm
  10. I recommend that you add a place on your html form for the person to type in thier email address cause you really need a From: address like you had on your first form. The php below is already set for it. Put this instead of what you have now. <?php if ( $_REQUEST[name] && $_REQUEST[review] ) { $name = $_REQUEST['name']; $rating = $_REQUEST['rating']; $review = $_REQUEST['review']; $email = $_REQUEST['email']; $headers = "From: $name <$email>\n"; $headers .= "Content-Type: text/plain; charset=iso-8859-1\n"; $message = "Rating: $rating\n"; $message .= "Review: $review\n"; mail( "admin@replayband.heliohost.org", "Replay Band Review", $message, $headers ); header( "Location: http://replayband.heliohost.org/feedback.php" ); exit; } ?>
  11. Does your if statement look like this on your new form? <?php if ( $_REQUEST[email] && $_REQUEST[message] ) { If so then you need to change it to match the new fields your using now, like: <?php if ( $_REQUEST[name] && $_REQUEST[rating] ) { If that's not the problem then you'll need to post your entire code.
  12. You need to conact shaw.ca and ask them if they are blocking heliohost and ask them how to correct it.
  13. Did you check your spam folder? I copied your source code yesterday while it was an html page and tried it on my site and used my email address instead so I know it works ok. Replace the php part on your email form with this and see if that helps. Don't forget to change the email address to yours. <?php if ( $_REQUEST[email] && $_REQUEST[message] ) { $name = $_REQUEST['name']; $email = $_REQUEST['email']; $message = $_REQUEST['message']; $headers = "From: $name <$email>\n"; $headers .= "Content-Type: text/plain; charset=iso-8859-1\n"; mail( "your_email@yahoo.com", "Replay Band Inquiry", $message, $headers ); header( "Location: http://replayband.heliohost.org/Contact.php" ); exit; } ?>
  14. Your contact form is working for me and I even sent you a message.
  15. You either leave it empty or use path: /home/user_name/ When I ftp and forget to add public_html to the directory path my files end up in my user directory and that's where you want to upload your public_html. So try empty first. btw, this is your ftp url: ftp://www.tcmtranslation.heliohost.org or ftp.tcmtranslation.heliohost.org
  16. By adding your semi colons: <?php echo "time is ".time(); ?> <?php echo "hello"; ?>
  17. What you have is your dream server public_html folder inside of your heliohost public_html folder. So you actually have 2 public_html folders like this: /home/user/public_html/public_html You need to move the dream server files out of the dream server public_html and move them inside the heliohost public_html and then delete the extra public_html folder. Was it a zip file by chance that you opened up inside your root directory?
  18. You need to rename your page with a .php extension instead of an html extension. Contact.php
  19. See if you like this "Contact Me" emailer. Go ahead and try it, everything works except I disabled the mail function for the demo page. http://byrondallas.heliohost.org/temp/email_form.php Upload to your site if you want: http://byrondallas.heliohost.org/temp/email_form.txt I think I posted the same script for you the other day but I didn't realize I had my table data alignment off. This should be fixed now.
  20. You didn't give your text fields a name. <input type="text" id="name" /> <input type="text" id="email" /> Should be: <input type="text" name="name" id="name" /> <input type="text" name="email" id="email" /> You could put both the php and html on one page if you wanted by using an if statement. Saves you from having to make two pages. <?php if ( $_REQUEST[email] && $_REQUEST[message] ) { $email = $_REQUEST['email']; $message = $_REQUEST['message']; mail( "me@heliohost.org", "Feedback Form Results", $message, "From: $email" ); header( "Location: http://www.example.com/thankyou.html" ); exit; } ?> <html> <head> <title></title> </head> <body> <!-- DO NOT SPECIFY FORM ACTION --> <form method="post" action=""> <p><label for="name">Name</label> <input type="text" name="name" /></p> <p><label for="email">Email</label> <input type="text" name="email" /></p> <p><label for="message">Message</label> <textarea name="message" cols="30" rows="10"></textarea></p> <p><input type="submit" value="submit" style="margin-left: 150px" /> </p></form> </body> </html>
  21. If you successfully created your account you should be ok. Just wait for about 24 hours and then try logging in with the username and password you registered with. This will take you to your cPanel: http://your_domain.heliohost.org:2082/ Replace your_domain with your domain name.
  22. Look for the link "Latest Visitors" on your cPanel. Shows the last 300 visitors on your site. That's all we have now.
  23. I just went back and looked at that hack again and they're using the same function too. highlight_file(); I might just add that to my site so I can use .phps
  24. Seems the syntax-highlighting is working just not with the .phps <?php highlight_file('analog-clock.php'); ?> http://byrondallas.heliohost.org/php/php-highlight_file.php It's not that big of a deal (.phps) since I can use that function if I want to color code my php and there's also a function to highlight just a string of code. highlight_string(''); It was just a little easier to add the s to the file name and resave it that way.
×
×
  • Create New...