Site loads normally??

Status
Not open for further replies.

sfe959

New Member
Messages
15
Reaction score
0
Points
0
Hello,
Firstly, I have to tell you that I have no experience at all in uploading sites. It's my first site..

I created my account and started uploading my files a while ago.

I uploaded my index.html and a swf file which is actually what is in the index, using the file manager and my problem is that when I try to view my website with my browser (http://femmefetalfilms.x10hosting.com), all I get is the "Index of". The index.html is on the list and when I click on it the page loads normally...

I've searched the forum and I saw that most people with this problem had deleted their public_html file or hadn't placed their index in the right place. I didn't delete the public_html file and I'm pretty sure that I've placed the index in the right place.

Am I doing something wrong or is it something normal and I'll just have to give to people this address: http://femmefetalfilms.x10hosting.com/Index.html ?

PS: I'm also trying to make a contact form to work using php but I can't make it. I don't know much about php. That doesn't worry me though, all I want for now is my site to be viewable.
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
You seem to have figured out what the problem is, as your site: http://femmefetalfilms.x10hosting.com/ loads fine for me now.

The most common thing is when the html file name is with upper-case. It needs to be in lower-case... It should be index.html, and not Index.html
 

sfe959

New Member
Messages
15
Reaction score
0
Points
0
Yes, I didn't think that this could be a mistake. But then I realised that the initial index was in lower case.
Thank you for the reply!

Does anyone know how can I make my contact page to work?

When the user hits the submit button, it loads the sendemail.php. I don't know much about php. I found this at a site with examples of how you can create a contact form and tried to adjust it for my page...

When I try to send a message via the form, it seems that it works, but after a few seconds of "sending.." it always ends up with my error report. So is it the code, or is it that I must somehow configure php in my account?

This the sendemail.php code
<?
$subject = $_POST['subject'];
$message = $_POST['message'];
$from = 'From: '.$_POST['name']." <".$_POST['email'].">";
$to = "admin@femmefetalfilms.xhosting.com";

/* and now mail it */
$mail_success = mail($to, $subject, $message, $from);
if ($mail_success == true) {
echo '&successvar=1&';
} else {
echo '&successvar=0&';
}
?>
 

GarfsField

New Member
Messages
38
Reaction score
0
Points
0
sfe perhaps you need to request the intermediate level of PHP to be loaded for your website in the x10Histing Account page. (Bottom left)

...
 
Status
Not open for further replies.
Top