Fri, 10 September 2010

Total Visits
12196219
Visitors today: 1371

Main Menu
Home
Free Scripts
Free Email
Newsserver
Forum
Guestbook
Web Links
Contact

Our Sponsors
Stromvergleich

Chi Kien Uong
Bebelstrasse 90
70193 Stuttgart
Tel: +49(711) 4596534
Fax: +49(711) 9976123
Deutschland / Germany
If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
Guide on How to Add Poll to HTML page
Goto page Previous  1, 2, 3, 4  
Post new topic   Reply to topic    proxy2.de Forum Index -> Support Forum Printable version
View previous topic :: View next topic  
Author Message
fsw



Joined: 17 Dec 2006
Posts: 3

PostPosted: Sun Dec 17, 2006 8:11 pm    Post subject: Reply with quote

So how do you get this to work in .shtml pages? I heard it works but I cant figure out how to do it.
Back to top
View user's profile Send private message
crazimon



Joined: 14 Apr 2009
Posts: 3
Location: Texas

PostPosted: Tue Apr 14, 2009 7:20 pm    Post subject: Reply with quote

fsw wrote:
So how do you get this to work in .shtml pages? I heard it works but I cant figure out how to do it.


Did you ever get an answer from anyone regarding this?
----------------
Listening to: Radiohead - 15 Step (WOXY Live [128k])
via FoxyTunes
Back to top
View user's profile Send private message AIM Address
Carbonize



Joined: 12 Jun 2003
Posts: 3962
Location: Bristol, UK

PostPosted: Tue Apr 14, 2009 7:23 pm    Post subject: Reply with quote

Very first post of this thread.

http://proxy2.de/forum/viewtopic.php?t=4736
_________________
Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
crazimon



Joined: 14 Apr 2009
Posts: 3
Location: Texas

PostPosted: Tue Apr 14, 2009 7:53 pm    Post subject: Reply with quote

Yeah, I read that and the entire thread very thoroughly, but could not get it to work.

I updated the .htaccess file; double checked paths, etc. Yes, it does work with a php extension. Here's the current link: http://texasweddings.com/saweddings/poll/poll-test.php

However, what I really want to do is embed the poll within my html page. I do not want to use a shtml page. (For reference, see www.saweddings.com - currently using another poll there, but would love to use features of Advanced Poll.)

----------------
Listening to: The Whitest Boy Alive - Keep A Secret (WOXY Live [128k])
via FoxyTunes

----------------
Listening to: El Perro Del Mar - (At Your Best) You Are .. (WOXY Live [128k])
via FoxyTunes
Back to top
View user's profile Send private message AIM Address
Carbonize



Joined: 12 Jun 2003
Posts: 3962
Location: Bristol, UK

PostPosted: Wed Apr 15, 2009 9:44 am    Post subject: Reply with quote

Part 1 of the first post should make PHP work in htm and html pages. If that's not working you will need to speak to your hosts.
_________________
Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
noeal11
Guest





PostPosted: Thu Nov 12, 2009 12:04 pm    Post subject: hey hi..., Reply with quote

thank u for d script guys,,,,,helped me alot.., a hug to u guys.....
Back to top
tommyrulez



Joined: 13 Feb 2010
Posts: 2
Location: Dallas

PostPosted: Sat Feb 13, 2010 6:59 pm    Post subject: 500 error and .htaccess Reply with quote

- Login to your cPanel account by going to www.yourdomain.com/cpanel.
- Click on the 'File Manager' feature under 'Site Management' menu
- Select the public_html folder icon and navigate to the folder that you installed the software to.
- Click 'New File' and then type php.ini, click 'Create new file'.
- The file should now show up in the list of files, click on the name of the file, then click 'edit' on the top right menu and copy and paste the following line into the text file: register_globals = On
- Click save and you should now be able to refresh your webpage.

A good .htaccess site is http://www.javascriptkit.com/howto/htaccess.shtml

Make sure you use the quotation marks if you use anything other than cpanel! ".htaccess" when you save the file.
Back to top
View user's profile Send private message Visit poster's website
Carbonize



Joined: 12 Jun 2003
Posts: 3962
Location: Bristol, UK

PostPosted: Sat Feb 13, 2010 11:00 pm    Post subject: Reply with quote

That has nothing at all to do with using PHP in a HTML file. And on top of it having nothing to do with the topic at hand register_globals is disabled by default for a very good reason and only poorly written scripts would require it to be enabled.
_________________
Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
tommyrulez



Joined: 13 Feb 2010
Posts: 2
Location: Dallas

PostPosted: Sun Feb 14, 2010 12:37 am    Post subject: Reply with quote

Carbonize wrote:
That has nothing at all to do with using PHP in a HTML file. And on top of it having nothing to do with the topic at hand register_globals is disabled by default for a very good reason and only poorly written scripts would require it to be enabled.


What I posted here was a direct quote from my host."

"If you installed a new script and are getting the 500 error trying to load the page please see this document first as you might need to turn register globals on. The syntax generally follows this format: phpconfigValueToOverride = value. The most common PHP value you need to set for many of the scripts that we offer via fantastico is register_globals. To enable register_globals you simply place this in your php.ini file: register_globals = On. Conversely, you can turn off register globals: register_globals = Off.

I have had to use this feature myself when using html files which call PHP specific functions.
Back to top
View user's profile Send private message Visit poster's website
Carbonize



Joined: 12 Jun 2003
Posts: 3962
Location: Bristol, UK

PostPosted: Sun Feb 14, 2010 10:50 am    Post subject: Reply with quote

By default only files ending in .php, .php4 and sometimes .php5 are sent to the PHP processor. You can also have other file types sent there by adding a line or two to the htaccess file.

Been a while since I checked but I strongly suspect that none of the scripts on this site would require globals to be enabled. Even if globals were disabled but required it should return a PHP error message saying a variable does not exist.
_________________
Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    proxy2.de Forum Index -> Support Forum All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Processed in 0.067505 seconds : 13 queries executed