|
|
 |
Re: FN-FORUM Re: Strange Include File Errors
date posted 1st September 2002 15:08
You are the daddy, Thanks loads for that David I now have banners working
on a site I'm playing with :D
----- Original Message -----
From: "David Eckersall" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Sunday, September 01, 2002 12:34 PM
Subject: Re: FN-FORUM Re: Strange Include File Errors
> this usually occurs to me when i havent removed the [EMAIL REMOVED] from
> the include file.
>
> if you're going to use the language attribute it has to be at the top of
the
> page, hence why it works when the include file is at the top. generally i
> advise stripping the language attribute out of every include file and have
> one in the parent .asp file.
>
> hth
>
> ----------------------------------/
> I can picture a world without war, a world without hate.
> And I can picture us attacking that world, because they'd never expect it.
> /----------------------------------
> ----- Original Message -----
> From: "Mark C" [EMAIL REMOVED]
> To: [EMAIL REMOVED]
> Sent: Saturday, August 31, 2002 9:14 PM
> Subject: FN-FORUM Re: Strange Include File Errors
>
>
> At a complete loss for this one.
>
> If I put anywhere in page it works,
> however I have a table at the very top of the page, 1 row x 3 columns with
> background images in them.(apart from no 2 which is black)
>
> If I put the include file in there I get the error
> Error Type:
> Active Server Pages, ASP 0140 (0x80004005)
> The @ command must be the first command within the Active Server Page.
> /computers/inc_default.asp, line 1
>
> Whats just puzzling me is that if I have this code anywhere but at the top
> then it works.
> The page does contain some DB content so would this be causing the
problem?
> If you want me to post the code here just let me know.
>
> Cheers
> Mark
>
> btw this is the code in the banners.asp page that Im using for a simple
> banner system
> RANDOMIZE
> LowestNumber = 1
> HighestNumber = 10
> RandomNumber = INT((HighestNumber-LowestNumber+1)*Rnd+LowestNumber)
> SELECT CASE RandomNumber
> CASE "1"%>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ============================================================
> = Advanced web hosting solutions from Saffas. =
> = Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
> = Why pay more for less? http://www.saffas.com =
> ============================================================
>
> Sponsor the forum for as little as £1 at:
>
> http://www.freelancers.net/cgi/sponsor.cgi?action=show
>
>
> Advertise with Freelancers.net +Additions+
>
> http://www.freelancers.net/advert.php
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
>
> ============================================================
> = Advanced web hosting solutions from Saffas. =
> = Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
> = Why pay more for less? http://www.saffas.com =
> ============================================================
>
> Sponsor the forum for as little as £1 at:
>
> http://www.freelancers.net/cgi/sponsor.cgi?action=show
>
>
> Advertise with Freelancers.net +Additions+
>
> http://www.freelancers.net/advert.php
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
|
 |
|