Need PHP HELP TO INSTALL PHP.

yohanns23

Disciple
As I Have No Real idea about mysql or php(only worked on html) I would like to ask the forum HOW TO INSTALL THIS PHP SCRIPT???

SCRIPT DOWNLOAD HERE:

autosurf_4_hits.zip

It is a traffic exchange script

i am hosting it on xtreemhost.com

cpanel host

can someone please give me a understandable guide as i dont know too much php

THERE were some instuctions which came with this (listed below):

Install Via FTP

IMPORTANT: The script is set to run in the Main/Root Dir of the web dir. It can NOT run under a Directory ex; http://yourdomain.com/traffic. In the future we may change this.

1. Open "vars.php"(VAR FILE CONTENT BELOW!) in your editor. And edit the variables.

2. Upload all files to your server in the appropriate directory. upload in (ASCII mode).

3. Set up the SQL Data info using the "sqlinfo.sql" file. If you have cpanel, login and setup a clean database by choosing the Mysql Databases and run this file within the PHPMyAdmin.

4. Chmod the folders "banner" , "members" , "control" to 666. If error happens then chmod to 755

5. Go to the control panel (

6. http://www.domain.com/control) The first time user and pass to the control panel is "test".

7. When logged in change admin info and customize the setup

8. Done!

Script Requirements

The script is strictly to run under these requirements.

1. Unix Based Servers

2. Apache Web Server

3. PHP 4.0 and Up

4. PHP Should NOT run in Safe Mode Or script may not run.

5. MySQL Database (phpMyAdmin Recommended)

6. The script is set to run in the Main/Root Dir of the web dir. In the future we may change this.

But as of now it prevents errors and complications.

VAR FILE CONTENT

<?php

//===========Main Settings===========//

//Yigle's Traffic Exchange PHP

//version 1.0 2002

//Copyrights Yigle.com © 2002

//All rights reserved

//This script may not be distributed,sold,give away for free to third party,or used as a part of any internet services such as webdesign etc.

//Yigle software [both binary and source (if released)] (hereafter, Software) is

//intellectual property owned by Yigle and is copyright of Yigle in all countries

//in the world, and ownership remains with Yigle

//You (hereafter, buyer) may use the Yigle software and install it

//on 1 domain.

//Client (buyer) is not allowed to distribute the binary and source code (if released)

//to third parties. buyer is not allowed to make any modifications of the binary or source code,

//remove or alter any trademark, logo, copyright or other proprietary notices, legends, symbols,

//or labels in the Software.

//Database host:

$db_host = 'localhost';

//Database username:

$db_user = 'myscript_btraffi';

//Database password:

$db_pwd = 'btraffic';

//Database name:

$db_name = 'myscript_btraffic';

//Root URL:

$self_url = 'http://traffic.myprofitscripts.com/';

//Site name for security checks:

$self_name = '.*';

//Default site to show when no valid user sites:

$default_site = 'http://traffic.myprofitscripts.com/';

//Site Title:

$title = 'YourSiteName';

//Site URL to Index.php - Leave out http:// and do add a / at the end of the url:

$siteurl = 'traffic.myprofitscripts.com/';

//==========Site Settings============//

//Font Type

$fontface = 'tahoma';

//Admin Panel BG Color

$admincolor = '#ECF8FF';

//Button BG

$adminbutton = 'B0D8DD';

//Members Area Cell BG 1

$cellbg1 = "#eeeeee";

//Members Area Link Rollover

$links = '#000080';

//Members Area Cell Bg 2

$cellbg2 = "#ECF8FF";

?>

( THIS WAS SOMEONE ELSES SCRIPT ) (I WANT IT TO WORK ON MINE)

thanks!!
 
Pretty easy guide

1. Open "vars.php"(VAR FILE CONTENT BELOW!) in your editor. And edit the variables.

2. Upload all files to your server in the appropriate directory. upload in (ASCII mode).

3. Set up the SQL Data info using the "sqlinfo.sql" file. If you have cpanel, login and setup a clean database by choosing the Mysql Databases and run this file within the PHPMyAdmin.

4. Chmod the folders "banner" , "members" , "control" to 666. If error happens then chmod to 755

5. Go to the control panel (

6. http://www.domain.com/control) The first time user and pass to the control panel is "test".

7. When logged in change admin info and customize the setup

8. Done!

at which step are you facing problem
 
These are necessary

//Database host:

$db_host = 'localhost';

//Database username:

$db_user = 'myscript_btraffi';

//Database password:

$db_pwd = 'btraffic';

//Database name:

$db_name = 'myscript_btraffic';

//Root URL:

$self_url = 'http://traffic.myprofitscripts.com/';

//Site name for security checks: not sure but you can leave this as it is

$self_name = '.*';

//Default site to show when no valid user sites:

$default_site = 'http://traffic.myprofitscripts.com/';

//Site URL to Index.php - Leave out http:// and do add a / at the end of the url:

$siteurl = 'traffic.myprofitscripts.com/';
 
hi!
i came across wamp 2.0 -- just google and download it--around 18-20mb in size and provides a stable php environment in windows -it comes iwht a simple all in one setup.exe.
am using it.its nice.
 
Back
Top