![]() Topic awaiting preservation: ARGH! Why are my includes not working? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
![]() http://www.patricdesign.com/index.asp |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() patric design: I suspect the include is working (or you'd get some big nasty error messages all over your page) but I suspect what is going on inside your include isn't working. However, I suspect you will need to copy and paste your code in here (just the bit that includes the file and the contents of the include file) as it is a bit tricky working out what is happening as it just appears to do nothing rather than it breaking and giving us error messages. |
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
![]() include part in index.asp code: <div id="navbar" class="row"> <span class="left"><a href="index.asp"><img src="images/delmehome.gif" alt="click to go back to the main page" name="home" width="65" height="22" border="0" id="home" /></a></span>
code: <a href="javascript:;" onMouseOver="MM_swapImage('clients','','images/mnclients_f2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/mnclients.gif" alt="clients" name="clients" width="66" height="17" border="0" id="clients"></a>
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Web server that's hosting www.patricdesign.com doesn't support ASP. I've just checked that domain, and saw that it is running under Apache/1.3.26 (Unix). Therefore, you *can't* use ASP on that server... |
Bipolar (III) Inmate From: Michigan |
![]() that is not entirely true... you can get modules for apache to run ASP.... |
Bipolar (III) Inmate From: 290 km/h, fast lane, Autobahn, Germany |
![]() Damn, looks like i am chnaging provider again. They've deleted the ASP support on my hosting package. Bastards! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Rahly, although there are modules like Apache::ASP which can add ASP support to Apache web server, that's not the real Microsoft ASP. You can't use VBScript language (which is default language for ASP). Also, most web hosts don't have it installed, because they don't need it (and why should they even install it when there is PHP and other open source alternatives) and you usually can't add it by yourself (especially if web site is runnning on a shared server)... |
Bipolar (III) Inmate From: Michigan |
![]() Actually... i've seen a module for server side VBScript for apache around somewhere.... open source I think.... i'll have to see if i can find a link... but i don't know how much of the code is supported yet.... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() lol. |
Bipolar (III) Inmate From: Michigan |
![]() considering i've done it in 15 mins?.... i think it would be a 2 week fit..... |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() actually, I don't remember quite how it goes, but use can use .htaccess to parse .html files for includes... |