PC Playground  

Go Back   PC Playground > The Core > Scripting/Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-28-2003, 07:57 AM
Junior Member
 
Join Date: Dec 2003
Posts: 2
Send a message via ICQ to ptooti
Default help with script

looking for scripts and have some to trade get hold of me...

if anyone can help me to get this script running i need help filling in the items marked 8O

# General Site Details
######################

8O $main_path="/usr/home/yourvirtualname"; # change to the main path on your server WITHOUT forward slash
# the scripts will look for ALL of the other directories based on this path


$main_images="images";
$cgi_post_max=500_000;


$mainname="Your Domain"; # name of site
$sitename="yourdomain.com"; # real domain name without www. at start
8O $rooturl="http://www.yourdomain.com/"; # base url of site WITH forward slash
$rootbin="http://www.yourdomain.com/cgi-bin/"; # url of cgi-bin where all script files are placed WITH forward slash
8O $link_url="http://www.yourdomain.com/"; # url to create linking code to
$copyright="yourdomain.com"; # name of site or copyright holder name
$country="United States"; # country you are in

$app=20; # ads to display per page
$ad_description_size=2500; # characters allowed in ad description


# Data definitions -
##################
$data_directory="data"; # do not add a forward slash
$data_file="$data_directory/data.txt";
Reply With Quote
  #2 (permalink)  
Old 12-28-2003, 03:14 PM
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 199
Send a message via MSN to novastar Send a message via Yahoo to novastar
Default

The following information is correct if you use pcplayground as your host, if not. This will not work.

$main_path="/usr/home/yourvirtualname"; # change to the main path on your server WITHOUT forward slash

Change to:
$main_path="/home/pcplay/YOUR_SUBDOMAIN/www";




$rooturl="http://www.yourdomain.com/";
Change to:
$rooturl="http://YOUR_SUBDOMAIN.pcplayground.com/";


$rootbin="http://www.yourdomain.com/cgi-bin/";
Change to:
$rootbin="http://YOUR_SUBDOMAIN.pcplayground.com/cgi-bin/";


$link_url="http://www.yourdomain.com/";
Change to:
$link_url="http://YOUR_SUBDOMAIN.pcplayground.com/";


$copyright="yourdomain.com";
change to:
$copyright="YOUR_SUBDOMAIN.pcplayground.com";




Good luck with your script
Reply With Quote
  #3 (permalink)  
Old 12-30-2003, 03:39 AM
Junior Member
 
Join Date: Dec 2003
Posts: 2
Send a message via ICQ to ptooti
Default

Thankyou i did get it going..cheerz
Reply With Quote
  #4 (permalink)  
Old 12-30-2003, 04:48 AM
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 199
Send a message via MSN to novastar Send a message via Yahoo to novastar
Default

no problem, what exactly does that script do?
Reply With Quote
  #5 (permalink)  
Old 12-30-2003, 09:51 PM
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 2,018
Send a message via AIM to zoid Send a message via MSN to zoid Send a message via Yahoo to zoid
Default

:-?
Reply With Quote
  #6 (permalink)  
Old 12-31-2003, 01:47 AM
Administrator
 
Join Date: Jan 2003
Posts: 1,350
Default

Quote:
Originally Posted by novastar
no problem, what exactly does that script do?

Seems like some sort of advertisment script.
Reply With Quote
  #7 (permalink)  
Old 12-31-2003, 09:52 PM
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 2,018
Send a message via AIM to zoid Send a message via MSN to zoid Send a message via Yahoo to zoid
Default

hm ok.
Reply With Quote
Reply


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

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



All times are GMT. The time now is 02:13 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.