If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
FTP & File Question  XML
Forum Index » Support Forum
Author Message
Anonymous



When you FTP the files to your server, do you neccessarily have to FTP the 'db' files into a "'db'" folder ? Or can you FTP the 'db' files into a folder named 'Polls' as to eliminate the /db/ extension???

So instead of having:

http://XYZ.com/Polls/db/index.php

You could have it be:

http://XYZ.com/Polls/index.php ?????
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Yes you can.

The db folder in the zip file just shows that are all the files within it are for the database version of Adv. Poll.
Hence why there is a folder called textfile for people without access to a database.

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Thank you Auron...

Ok, Good... I just wanted to be 100% certain before I wiped everything out & started fresh. So the following values will certainly be automatically changed to "Polls" if done like that instead of 'db' also???

<?php

/* path */
$poll_path = "/catchusers/Polls/db";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new poll();



WOULD AUTOMATICALLY BECOME:



<?php

/* path */
$poll_path = "/catchusers/Polls";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLPOLLS[class]";
require $poll_path."/include/class_poll.php";
$CLASS["Polls"] = new pollPolls_sql;
$CLASS["Polls"]->connect();

$php_poll = new poll();
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline



that's the only bit you need to change is the poll path and make sure it is correct.

Example -
So you could have it as /catchusers/polls if you wanted. Just make sure you upload
all the files into the folder called polls.

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Thank you for your help Auron. Very Much Appreciated !
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

no problem!

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum