advanced ads in php website

Status
Not open for further replies.

blaindugan

New Member
Messages
168
Reaction score
0
Points
0
anyone know how to go about doing this considering i have spent around 2 hours messing around trying to figure this out
 
B

Brandon

Guest
Have you tried
<?php include('http://staff.x10hosting.com/adCode.php?ad=advanced'); ?>
 

blaindugan

New Member
Messages
168
Reaction score
0
Points
0
im sorry i did not make this clear. that would work for php except the script i am using from fantastico is called php-website
 

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
ok you need to download the index.php file from phpwebsite

Find:
Code:
//echo round((memory_get_usage()/1024)/1024, 2) . 'MB';

Replace With:
Code:
//echo round((memory_get_usage()/1024)/1024, 2) . 'MB';
echo '<center>';
include('http://staff.x10hosting.com/adCode.php?ad=advanced');
echo '</center>';
 

blaindugan

New Member
Messages
168
Reaction score
0
Points
0
im sorry but i dont under stand. do i have to know php to use this fantastico script? i didnt think you did atleast or else im skrewed. i didnt apear to me that you neeeded to. oh yeah you probally should know that i havent installed any themes yet. could that be why i do not see index file.
 
Last edited:

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
not really. This is just downloading index.php from where you installed phpwebsite, opening it, finding that line, and replacing with the replacement.

Oh then i think i frogot to mention, reupload after you have saved.

there should be an index.php file

its the page that you see when you view the phpwebsite
 
Last edited:

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
not a big fan of double posting.

I will get you a copy of the index.php file for you to uplad it. OR I can do it for you.

just check back later today (around 4:00 PM EST) and the index.php page will be here for you to upload.


there you go
 

Attachments

  • index.php.zip
    1.8 KB · Views: 19
Last edited:
Status
Not open for further replies.
Top