Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-11-2006, 06:52 PM   #1 (permalink)
FunkMaster
Registered User
 
Join Date: Apr 2006
Posts: 2
FunkMaster is on a distinguished road
Could this be done with any language?

Hi there

At the moment, I'm using free hosting with a host that puts code at the end of every webpage I make to embed an ad block into the page. It's annoying because it pushes the page content over to one side unless the ad block is closed. The host uses:

<!-- Ads by XPanel " " ' ' --></iframe></script></noframes></noscript></noembed><script src='http://www.blahblah.com/ads_by_google.php' type=text/javascript></script>
<!-- Ads by XPanel -->

I can put <noembed><xmp> at the end of my code to stop this, and it works, but I might lose my site so am not doing it.

I'm putting forward an idea to the admin of the hosting provider about an alternative idea to stop this annoying embedding and its unwanted side-effect of squashing the content over to one side and also if you use themed or coloured margins either side, you can't include the ad block in one of them, it all just gets moved over. Others are suffering problems cos of this ad block embedded too.

My idea is for the hosting provider to give the option of using a link they provide so the web maker can put this into their code, allowing them to place the ad wherever they like. Trouble is, people will then just simply not put the link in and hope not to get caught.

My question is, using any type of code, would it be possible for the normal embedded code to be included in the page unless it detects the appropriate link or something?

If that's not possible, a workaround that suits me (although who knows what would happen if caught) would be to use the noembed and xmp commands to stop the embedding, and then insert the Google ad block where I like it, using the link in the code. I tried this, but the ad block would not load in the cells where I put the link, instead still loading outside of my page content. Is there a way around this? Any idea what might be in their server-side code which is causing this behaviour? I can't see it'd get the website closed if I could get it working, as the ad block would be there and they'd be getting their per click revenue as normal...

Many thanks.
FunkMaster is offline   Reply With Quote
Old 04-12-2006, 12:32 AM   #2 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
Have you considered switching to a more flexible hosting provider?
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 04-12-2006, 07:38 AM   #3 (permalink)
FunkMaster
Registered User
 
Join Date: Apr 2006
Posts: 2
FunkMaster is on a distinguished road
I was looking for one which allowed large file uploads and had trouble finding many, as most stick to a 1MB or 2 MB limit. This host 5000megs.com gives 5GB storage, 20MB file uploads and a few gigs bandwidth each month.

It's a shame it doesn't support PHP though. Would have liked one that did.

Do you have any suggestions for a better one, maybe with PHP support but mainly with less annoying ad schemes that includes 20MB+ file uplaods and large storage?
FunkMaster is offline   Reply With Quote
Old 04-12-2006, 05:52 PM   #4 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
I don't know of anything like that for free, but I think you can find that sort of thing for a reasonable price each month. Also if you're good with php, you can upload large datafiles in smaller chunks, and dynamically reassemble them when users need to download them.
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What programming language were these games made in? Sanehouse All Other Coding Languages 7 08-18-2004 06:02 AM
Programming Language Invengor or Serial Killer? sde Lounge 8 04-18-2004 07:55 PM
Newbie Help (Japanese Language Support) DasXel Linux / BSD / OS X 11 01-14-2003 07:20 AM
Alright Im here! Someone tell me,,, is this the language I wanna start with? TVance Standard C, C++ 5 12-27-2002 04:05 PM


All times are GMT -8. The time now is 03:41 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting