Read the directions completely before beginning
Read the directions completely before beginning.
You can have as many of these votes as
you want just follow the instructions below and remember to change the image for
each. All things you need to be aware of are in red.
The script is usually imbedded in a webpage usually an <iframe> tag. A pop up
script is also included.
To set up your MySQL Database you will need to consult your hosting service.
They have different protocols for setting it up. Once you get it setup follow
the instructions below. In the download folder you will find
index.html with an <iframe> setup. You can also use a pop up script also
included.
If you know how to use sql.txt
you
can set up your database tables by clicking SQL at the top
of the database page. Once the page loads, go down to "Or
Location of the textfile :" and click browse. Here you will upload
optionpoll-sql.txt and click Go.
Your Database table should set up. Check to see that the first field in
each row is all in lower case letters. If the table is set, go to
step 38.
Config.php
To set up your php script.
1. Right-click "config.php" and go to "open
with..." and then "notepad".
$conf['database_name'] = "databasename";
<<
type database name
$conf['database_host'] = "localhost or database Host";
<< type database host. Usually localhost
$conf['database_login'] = "your username";
<<
type database MySQL database user name.
$conf['database_pass'] = "yourpassword";
<< type database MySQL database password
$webpath = "http://www.abynex.com/vote/new-optionpoll";
<< Link URL Leave off the trailing slash
'/'
The above is how the webpage connects to the MySQL database. Depending on the
hosting company this part of the script could be different. Email the tech
support of your hosting company and ask "What is the connection string protocol
for the MySQL database?"
-------------------------------------------------------------------
Admin Folder - admin.php
Activate/Hold - Click to make your poll
active or inactive.
View - Click to
view Poll choices. Also you can Add or Delete Choices (See Below)
Code - Click to
get Pop Up or <Iframe> linking code.
Wyszukiwarka
Podobne podstrony:
Read Firstread firstRead FirstRead Firstread firstRead FirstRead Firstread firstRead FirstRead FirstRead FirstRead Firstread firstREAD FIRSTREAD FIRSTwięcej podobnych podstron