Hey thanks for the advice i was able to fix the second problem.. i put the <?php be4 my <html> and <head> but i have no idea why i put it after the
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
As soon as i moved it all the way to the top it worked fine... about the first problem. its not that am not allowed to use .php extensions its just that i already have too many pages and external links that link to .html , that’s why i didn’t want to change the extension... my question is this... can modifying the .htaccess file really help with this problem ? the reason i ask is because sooo many people have this problem and i haven’t seen any one reporting that it worked for them. But im sure that it does work and i know it’s probably my own stupidity that’s messing it up.. That’s why i wanted someone that got to work to post the exact setup they used.
Hello all i've been having a few issues with this poll many of which i guess alot of people been having.. the first issues is the good old php to html i've read countless posts here about people having this problem and they all suggest adding AddType application/x-httpd-php .php .html to the .htaccess file. the problem is when i add that line i get an 500 internal server error for all the pages in the directory the only way i could get it to work is by changing .html to .php but that is just isnt an option for me, the wired thing is people say that they got to work with .html pages can some one that got it to work with .htm post the exact set up they used.....
the second issue is whenever i click the vote button i get this out put
Warning: Cannot modify header information - headers already sent by (output started at /home/easyfil/public_html/flash/test.php:2) in /home/X/public_html/poll/poll_cookie.php on line 21
i;ve read that this can be fixed by removing any spaces or line returns which i did and still this get outputed help please
i have a few issues that i couldnt find an answer for here ..
1. i know to make the poll work the page extention has to be .php and i also know that you can avoide changing your pages to a diffrent extetion by adding
AddType application/x-httpd-php .php .html
to the .htaccess... the problem is whenever i add that i get the same error as miss's money shot got the 500 server error.. i simply dont know why it does this.
2. i've noticed a bug , users can keep voting by hitting the back button after voting and keep doing this.. this isnt a big broblem but im sure you can see why this might be a little unfare and it wont be long untill my users figure this out.. so is there a way to use ips insted of cockies.
3. can i edit the poll it self so that it wont have a bg color , i know that u can change the bg color but u can u have no bg color?
i know the last tow me be out of place but i though i should save time !
p.s anycomments will be appreatited . and thanx in advace