Help with .asp homepage!

Help with .asp homepage!

Post by Bren2010 on Thu Nov 27, 2008 7:09 pm
([msg=15549]see Help with .asp homepage![/msg])

I'm designing a website and whenever I change the file type of the home page to ".asp" whenever I pull up the site, it loads the directory instead of the page. Which is really bad because it gives a link to my "admin.php". However if the file type isn't ".asp" then some of the features of my site won't work. I've changed the file type before and this didn't happen. The file types I've used before are ".htm, .html, .php". So can anyone tell me whats wrong and how to fix it?

I have an idea of how to fix it, but idk if a php file can use the "include ()" function for an ".asp" file.
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Help with .asp homepage!

Post by JakeieBoy on Fri Nov 28, 2008 1:09 pm
([msg=15596]see Re: Help with .asp homepage![/msg])

Hello

Php and ASP are not always compatable if you are on a windows server PHP will not work and if you are hosting on a Linux server then it will only show PHP files and not ASP

for the include file its:

<!-- #include file="Filename" -->

Hope this helps

Jake
JakeieBoy
New User
New User
 
Posts: 8
Joined: Thu Jul 17, 2008 10:40 am
Blog: View Blog (0)


Re: Help with .asp homepage!

Post by Bren2010 on Sun Nov 30, 2008 11:45 am
([msg=15638]see Re: Help with .asp homepage![/msg])

Do I take the notations off of the code when it's in my page, or do I leave the <!-- because that seems like it would keep it from doing anything. Anyway, thank you!
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)



Return to Web Design

Who is online

Users browsing this forum: No registered users and 0 guests