problem with sending mail and htaccess
Posted: Sat Jan 08, 2011 8:02 pm
hey all, I am new to these forums and pretty knew to php programming but i think i get the basics. I tried to create several websites before but lost interest after a while. recently though i have been coming up with what seems to me like really interesting web ideas so I am back to have an interest in web programming. In fact after I graduate from biochemistry this semester going back to do a degree in computer science. always have loved programming but in terms of job opportunities i was told there were none in programming hence why i went into the safe route of biochemistry.
well anyways my current site that I have up is called dateratenow.com and its a site where you essentially tell your friends things you couldn't tell them to their face. maybe they do something that annoys you so you want to them to get the message you want them to stop. but not just want them to stop but give them pointers on how they can. anyways i had a registration step but the people who visited did not seem to eager to register so i removed it and had them enter their friends email into the rating section so their friends could be notified that someone (without mentioning names) rated them. I tried the mail ($to,$subject,...) method but it did not work. any code i could use for that?
second i accidentally deleted my htaccess page in cpanel and cannot find it in my trash. so i created a new one thinking that when i typed in it "directoryindex ratings.php" would do it did not. my index.html page is still the directory index, and it still shows up first. when you click from ratings, terms or contact it takes you to the correct pages and correct link paths. but once you click post a date button in ratings it takes you back to index.html. i checked the button and it is to take you to post.php but that does not work.
i hope that i explained it well. anyone have any ideas?
ps. also working another site on the side and wanted to know if there was any php way of opening a site within a div? i tried iframes but they do not work on sites such as facebook and gmail, which my site requires
well anyways my current site that I have up is called dateratenow.com and its a site where you essentially tell your friends things you couldn't tell them to their face. maybe they do something that annoys you so you want to them to get the message you want them to stop. but not just want them to stop but give them pointers on how they can. anyways i had a registration step but the people who visited did not seem to eager to register so i removed it and had them enter their friends email into the rating section so their friends could be notified that someone (without mentioning names) rated them. I tried the mail ($to,$subject,...) method but it did not work. any code i could use for that?
second i accidentally deleted my htaccess page in cpanel and cannot find it in my trash. so i created a new one thinking that when i typed in it "directoryindex ratings.php" would do it did not. my index.html page is still the directory index, and it still shows up first. when you click from ratings, terms or contact it takes you to the correct pages and correct link paths. but once you click post a date button in ratings it takes you back to index.html. i checked the button and it is to take you to post.php but that does not work.
i hope that i explained it well. anyone have any ideas?
ps. also working another site on the side and wanted to know if there was any php way of opening a site within a div? i tried iframes but they do not work on sites such as facebook and gmail, which my site requires