![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Jun 2004
Location: South Africa, Johannesburg
Posts: 301
Rep Power: 5
![]() |
Add Ads to pages
A couple of years back, I provided free webhosting, and it proved quite succesfull for a while until a problem with my host, which lead to my hosting account being deleted.
I created the script myself in PHP, it provided a browser interface for uploading and managing their site, and it interacted with Cpanel to automatically add a subdomain for each user. It was ad-free. Now my plan is to recreate this script and possibly have paid and free webhosting. What I want to know, is how to display an ad, either as a header or footer on each page, without editing their documents. Does anybody know a method I could use?
__________________
[SIGPIC][/SIGPIC] |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
Re: Add Ads to pages
May i ask why you don't want to do it via editing the users files?
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Jun 2004
Location: South Africa, Johannesburg
Posts: 301
Rep Power: 5
![]() |
Re: Add Ads to pages
Hrmm...as they upload the file, add the ad code, as they use the online editor, remove it and replace it when they save, when they download a file using the file manager, remove the code before sending the file...I guess I could do all that without much effort...
I just remember somone doin something similar using the apache server, and am trying to find out how. (why I posted this under php, I don't know)
__________________
[SIGPIC][/SIGPIC] |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Re: Add Ads to pages
Ah ok i see, adding it to the end and removing it etc would be a good method. But if you are after finding a way of doing it via the apache server then i cannot help you sorry
Chris
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot assign 'Add' because it is a 'method group' | Jarod Silverstar | C# | 1 | Oct 13th, 2007 11:14 PM |
| can't open php pages | BlackSmith | PHP | 7 | Aug 22nd, 2006 4:07 PM |
| Getting the URLs as pages are visited in user's web browser | curiosity-killed-the-cat | Java | 0 | May 12th, 2006 6:37 AM |
| pages content | Nimwa2 | PHP | 6 | Feb 1st, 2006 9:48 PM |
| printing 1 or 2 pages and not 9999 | Easter Bunny | Java | 5 | Jun 14th, 2005 4:48 AM |