Author |
Message |
|
use this code
|
 |
|
I think I noticed the same thing, but I didn't care much about 2 hours. As far as the web surfer, or the original poster, they are not going to remember something like that. They might remember the day but that is about it.
|
 |
|
When u have all the values listed, for example:
Name*:
E-Mail:
HomePage:
and on...
But u get it.
In the norwgian translation there's a couple of
spelling mistakes. How do I correct them?
I obviously have to locate some $lang files. for example:
$lang[formurl].. Where arre they located and how do i change them?
Thanks
|
 |
|
I've tried the sample code:
And it works fine, but when I'm trying to put then include booth.php and echo $php_poll->poll_process(4) in a function like this:
I get an error: Database Error, 1046 No Database Selected.
What do I need to do to get this working?
|
 |
|
Ok, i got this great script... install on my server...
run admin menu... -- ok it's work! BUT
I need help with download.pl
Thats the hell i have --- i have ~300 mb of my lovely music! this archive ---- on ftp server -- for ex: ftp://alicexxxxx_.com/music (in directory - subdirs with mp3's)
BUT my site on another domAAn * for ex : http://alice666x.com
now i do... if i doing something wrong ---- Help with my errors!!!!!
# url to script
$cgiurl = "http://alice666x.com/cgi-bin/download.pl"; //////// ok?
# url to the image files without trailing "/"
$base_gif = "http://alice666x.com/gif"; ///////// i thing i right!
# administration password - should not contain '&','=' and "
$admin_pass = "123qwe"; /////// hehe
# file locking ($lock=0 for Win32!);
$lock = 1;
# check http referer 0=no 1=yes;
$check = 0;
@valid=('http://alice666x.com');
# log files
$basedat = "log.txt";
$daylog = "daylog.txt";
$stats = "download_stats.txt";
//////////////////////////////// & now a big FAQ's
# base url to the downloads without trailing "/" (use for scanning)
$base_url = "ftp://alicexxxxx_.com/music "; ////////////////// RIGHT??? orrr....
# path to the downloads from the server root! (use for scanning)
$base_dir = "/music "; //////////// RIGHT???? or no?
After this proceeeedure ---- i go ti admin panel --- http://alice666x.com/cgi-bin/download.pl?admin=enter
ok ENTER MY PASSSS! im IN..... ok
i what now!!!??? my files on my ftp ftp://alicexxxxx_.com/music ---- DONT SCAN!!!???
PLEASE HELP ME!!!
|
 |
|
If u add new images to the form.php file u have multiple options to choose between.
I just have one problem:
The images are clickable, and the entered code apperers:
click = but not at the guestbook or preview.... Only in this textbox. Why? are there anything wrong?
|
 |
|
When u have all the values listed, for example:
Name*:
E-Mail:
HomePage:
and on...
But u get it.
In the norwgian translation there's a couple of
spelling mistakes. How do I correct them?
I obviously have to locate some $lang files. for example:
$lang[formurl].. Where arre they located and how do i change them?
Thanks
|
 |
|
you forgot to put that
/* path */
$poll_path = "/home/akitafr/www/poll";
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();
before the echo
Look at the demo_1 file
|
 |
|
Oh, btw -
I also put in the following before anything else:
<?php require "poll_cookie.php"; ?>
And still a no go.
-DR-
|
 |
|
Hello there, I was hoping I could get some help on this.
I just installed advanced poll, and I looks good. However, whenever I insert the php code the poll does not show up. I'm trying to put it into our homepage, which already has some php in it (a news script, which includes a text file). The news script always executes fine, but it seems like the poll script is just ignored. Is there something I'm missing? I've got:
<?php
include_once "/home/shrubweb/public_html/poll/poll_cookie.php";
?>
At the top, followed by the html for the page. Later on my news script looks like this:
<?php
include("http://www.oftheshrub.com/news/news/news.txt");
?>
And a bit later comes the actual poll script:
<?php
include_once "/home/shrubweb/public_html/poll/booth.php";
echo $php_poll->poll_process("newest");
?>
As I said, the news always works, but the poll never does. Even if I insert an echo statement into the poll script it doesn't show up on the page. However, if I make an entirely new page with only the poll php, it works fine. Seems wierd.
Any help would be appreciated, I'm pretty new to php, so I might be missing something.
-DR-
|
 |
|
Somtimes servers don't like chmod 777 too well. It calls it permissions set to high and will give errors. 755 will still work. As far as the guestbook files, nothing really needs 777.
sounds like a user name and password issure with the database.
|
 |
|
Thanks really helped!
|
 |
|
I have 2 problems:
1. The options displayed on my page are centered in the table. I check the template I am using and they look fine in the template preview, but once on my page, they are centered,
2. When I vote, it seems to work fine and display the correct results, but at the top of the page there is an error that says:
any help would be greatly appreciated
|
 |
|
Images in the guestbook....
A red cross apears instead....
Which file? how????
And can I add more smilies with the standard one. Not in legend but under the textbox.
Thanks
Alf
|
 |
|
I was trying to put a link back to my website and have no clue what i did, but now all i get is :
<snip>
MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'root@localhost' (Using password: NO)
</snip>
How can i fix?
|
 |
|