Jump to content

Byron

Moderators
  • Posts

    9153
  • Joined

  • Last visited

  • Days Won

    146

Everything posted by Byron

  1. 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>
  2. Probably because the account queued page is still in your cache. This 'pennylanepc.com' takes me to your index page.
  3. REFRESH I'm seeing your index page both ways. http://agburtt.com/ http://agburtt.com/index.htm
  4. 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; } ?>
  5. 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.
  6. You need to conact shaw.ca and ask them if they are blocking heliohost and ask them how to correct it.
  7. 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; } ?>
  8. Your contact form is working for me and I even sent you a message.
  9. 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
  10. By adding your semi colons: <?php echo "time is ".time(); ?> <?php echo "hello"; ?>
  11. 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?
  12. You need to rename your page with a .php extension instead of an html extension. Contact.php
  13. 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.
  14. 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>
  15. 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.
  16. Look for the link "Latest Visitors" on your cPanel. Shows the last 300 visitors on your site. That's all we have now.
  17. 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
  18. 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.
  19. I'm sorry about your data loss but I doubt heliohost had anything to do with your it since nobody else has experienced this same problem and it's your responsibility to keep a back up of your site. Didn't you back up your files every so often?
  20. Cool site. Another thing is that if you'll validate your pages using a strict doctype it will insure that the major browsers will render you pages all the same way. Using a loose doctype won't do the same thing.
  21. Looks like your missing the www folder also. Go to your directory where you made you screen shot and make sure that the public_html directory has the permssions 750. Then create the www folder and set it's permissions to 750. Then create the public_ftp folder and set it's permissions to 755. After you create the public_ftp, then go inside that folder and create a folder called incoming and the permissions should default to 755 and that's what you want. Also if you intend to use your server mail you'll need to create a folder called mail and set the permissions to 770. I think that should take care of it unless you deleted some of the default files in your user directory? Go to your site through this url and make sure you see a few dot folders (.cpanel, .htpasswds, and .trash) and dot files that normally don't show. http://tslnyy.heliohost.org:2082/frontend/...den=1&dir=/
  22. Everything you want the world to see should go inside your public_html folder and that includes sub folders inside your public_html like your cgi-bin, or your images folder, or any folder you choose to create. If your images aren't showing up on your web pages then check the url path on the pages themselves to see if they are pointing to another folder besides the folder the page is in.
  23. Works for me: http://byrondallas.heliohost.org/hello_world.pro What about the .phps extension to show color coded php code? Did you find anything out about it?
  24. You were right in not adding the www when registering. Your true domain name is unionelemental.com without the www. The www is actually a subdomain sorta, kinda, I think.
×
×
  • Create New...