Last questions on ask.SCRiPTMAFiA.ORG
phpLedAds 2.2
Category: Ad Management
- views: 2368
- date: 7 November 2010
- posted by: roscatu
Here's the quick and dirty:
- Hardest part (and its pretty easy!): Configuring it!
- Open config.inc.php and edit the value in the $placonfig array
- Fill in the correct values for these fields:
db_host => 'localhost', // the host of your mysql database
db_user => 'pla', // the username to login to mysql with
db_pass => 'pla', // the password to login to mysql with
db_db => 'pla', // the database name itself
- Then edit this field:
tbl_prefix => 'pla',
// set it equal to the prefix you want before tables
// (this allows you to install multiple copied of the program by changing
// this prefix for each 'copy')
- Then set the login username and password
- Note that this is the login to the admin.php script, nothing else
user => 'admin',
pass => 'admin',
// defaults shown
- The other fields in the config are documented in the
source file. Feel free to mess around with stuff
- Upload all files (including directories) into a sub-directory of your
main site.
- chmod steps:
1) chmod data/ directory to 777
Here's a bash one-liner you can use if you've got shell access:
chmod -R 777 data/
- Go to install.php on your site:
http://www.yoursite.com/ledads/install.php
Follow the on-screen instructions (basically just click the link(s))
- Login to admin.php (default username/password: admin/admin)
- Start adding ads!
- Hardest part (and its pretty easy!): Configuring it!
- Open config.inc.php and edit the value in the $placonfig array
- Fill in the correct values for these fields:
db_host => 'localhost', // the host of your mysql database
db_user => 'pla', // the username to login to mysql with
db_pass => 'pla', // the password to login to mysql with
db_db => 'pla', // the database name itself
- Then edit this field:
tbl_prefix => 'pla',
// set it equal to the prefix you want before tables
// (this allows you to install multiple copied of the program by changing
// this prefix for each 'copy')
- Then set the login username and password
- Note that this is the login to the admin.php script, nothing else
user => 'admin',
pass => 'admin',
// defaults shown
- The other fields in the config are documented in the
source file. Feel free to mess around with stuff
- Upload all files (including directories) into a sub-directory of your
main site.
- chmod steps:
1) chmod data/ directory to 777
Here's a bash one-liner you can use if you've got shell access:
chmod -R 777 data/
- Go to install.php on your site:
http://www.yoursite.com/ledads/install.php
Follow the on-screen instructions (basically just click the link(s))
- Login to admin.php (default username/password: admin/admin)
- Start adding ads!
http://sharebythe.com/files/?http://sharebythe.com/do.php?filename=phpLedAds-2-2.zip
Related news:
Information |
|||
![]() |
Members of GUESTS cannot leave comments. | ||

