Fri, 10 September 2010

Total Visits
12196334
Visitors today: 1486

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  Next  
Post new topic   Reply to topic    proxy2.de Forum Index -> Support Forum Printable version
View previous topic :: View next topic  
Author Message
aj
Guest





PostPosted: Mon Aug 08, 2005 10:24 pm    Post subject: I'm not a pro Reply with quote

What the hell that .htaccsess file is and where I can find it?
Thanks!
Back to top
Guest






PostPosted: Tue Aug 09, 2005 11:10 am    Post subject: Reply with quote

You will find .htaccess file in your root directory.

For no so technical info on .htaccess, check these pages :-

http://baremetal.com/gadgets/htaccess/ OR
http://www.wise-women.org/tutorials/htaccess/
Back to top
aj
Guest





PostPosted: Tue Aug 09, 2005 10:58 pm    Post subject: Reply with quote

Thanks for information, but my server doesn't allow me .htaccess files. How about .config , can I do anything with them?
Thanks again!

P.S. I have my site hosted on Yahoo small business server, so I guess they have their restrictions.
Back to top
iskandar



Joined: 22 Jun 2005
Posts: 6

PostPosted: Tue Aug 16, 2005 2:17 am    Post subject: Reply with quote

Hi aj,

I think they let you do it but it's just that Windows does not understand file that starts with a dot like .htaccess file.

I found a good link that answers your question and offer a way to get around the problem. It's a Q&A session of a forum

http://www.ozoneasylum.com/21005

Hope that helps, mate! Smile
Back to top
View user's profile Send private message Visit poster's website
iskandar



Joined: 22 Jun 2005
Posts: 6

PostPosted: Thu Aug 18, 2005 3:29 am    Post subject: Reply with quote

The example Page has no more poll

This is to inform everybody that the sample page on the site Oohoi.com no longer has a poll on it. The site has been sold and I decide to take off the poll.

Dont worry, the instruction still works!
Back to top
View user's profile Send private message Visit poster's website
marmalade kat



Joined: 21 Aug 2005
Posts: 11

PostPosted: Fri Aug 26, 2005 2:21 pm    Post subject: Reply with quote

I've come to the conclusion that I don't know what I'm doing. Sad

I've tried all the first posts instructions and have managed to hose it up somewhere along the way.


This
poll_process(4); ?>
is the error I get when I look at the page after I tried to put the code in
where I think it's meant to be. Crying or Very sad

With putting the htaccess suggested code in, it reads
deny from all
AddType application/x-httpd-php .php .html

in the .htaccess
The poll code I put in didn't work with or without either line.



I think I need an example from someone who knows what they are doing of what it will look right in the page. So here's what I ask with great kindness. Please copy and paste my testpage html page guts and insert with red highlight WHERE the suggested code should appear and how it should read.

Thank you.
Testpage below line.
~~~~~~~~~~~

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Mystuff">
<meta name="GENERATOR" content="Mozilla/4.78 [en]C-STAR032398 (Win98; U) [Netscape]">
<title>testpage_1</title>
</head>
<body>


post stuff here


</body>
</html>


~~~~~~~~

Any help would be greatly appreciated.
_________________
Back to top
View user's profile Send private message
iskandar



Joined: 22 Jun 2005
Posts: 6

PostPosted: Tue Aug 30, 2005 2:49 am    Post subject: Reply with quote

Hi marmalade kat,

First things first. Since you use .html as extension in your .htaccess ( AddType application/x-httpd-php .php .html )
make sure you save your file in .html and not .htm

Secondly, your path must be correct! Look at poll/poll_cookie.php . That is only a sample. Your path depends on where you install the poll .. just get the code from the poll's panel.


This is how your testpage.html source should look like
--------------------------------------------------


<?php
// Important! You have to include it before your html code
include_once "poll/poll_cookie.php";
?>

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Mystuff">
<meta name="GENERATOR" content="Mozilla/4.78 [en]C-STAR032398 (Win98; U) [Netscape]">
<title>testpage_1</title>
</head>
<body>


post stuff here
<?php
include_once "poll/booth.php";
echo $php_poll->poll_process(1);
?>



</body>
</html>


------------------------------------------------

Goodluck!
iskandar
Back to top
View user's profile Send private message Visit poster's website
xkustoms
Guest





PostPosted: Wed Sep 07, 2005 6:59 am    Post subject: Reply with quote

where is .htaccess at?? I CANT FIND IT ANYMORE ON MY SERVER!! Please help so i dont have to change all my pages to .php
Back to top
Carbonize



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

PostPosted: Wed Sep 07, 2005 10:40 am    Post subject: Reply with quote

Maybe you don't have a .htaccess file or possibly your FTP client is set to not show hidden files as the .htaccess file is normal hidden. If it exists it is in the root of your site.
_________________
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
marmalade kat



Joined: 21 Aug 2005
Posts: 11

PostPosted: Sat Sep 10, 2005 10:32 pm    Post subject: Reply with quote

Hiya iskandar

I'm just now catching your post.

Thank you for your indepth reply and help. Smile

I'll let you know if it works.... so I can thank you again. Very Happy
_________________
Back to top
View user's profile Send private message
marmalade kat



Joined: 21 Aug 2005
Posts: 11

PostPosted: Sat Sep 10, 2005 10:39 pm    Post subject: Reply with quote

xkustoms wrote:
where is .htaccess at?? I CANT FIND IT ANYMORE ON MY SERVER!! Please help so i dont have to change all my pages to .php


xkustoms

Click on your folder 'Advance Guest Book' or whatever you named it

then...click on 'admin'

You should find .htaccess at the top of that file list

Did you find it? (I hope)
_________________
Back to top
View user's profile Send private message
Ara



Joined: 09 Oct 2005
Posts: 5

PostPosted: Sun Oct 09, 2005 7:24 pm    Post subject: Reply with quote

I use ace-host and frontpage and have the same problem. I also cant see my .htaccess
Back to top
View user's profile Send private message
Auron



Joined: 23 Jun 2003
Posts: 1051

PostPosted: Sun Oct 09, 2005 8:21 pm    Post subject: Reply with quote

If you can't see it you may not have one or it may be hidden.
You can easily create one following the instructions on one of the sites
linked above (a few posts up). They can be made using say WordPad
and saving it like this...

Save As... ".htaccess" (with the quotes)

Auron
_________________
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ara



Joined: 09 Oct 2005
Posts: 5

PostPosted: Sun Oct 09, 2005 9:21 pm    Post subject: Reply with quote

ok I have been fighting with this and getting no where
here is the code for the front page of my site... can anyone help.
I have an area set for the poll but cant get it to appear


<?php
// Important! You have to include it before your html code
include_once "poll/poll_cookie.php";
?>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Companions of Virtue</title>
<bgsound src="Foret.WAV" loop="-1">
<meta name="Microsoft Theme" content="slate 1011, default">
</head>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="150" colspan="2" align="center">&nbsp;</td>
<td align="center" width="92%">
<img border="0" src="banner.jpg" width="770" height="125"></td>
</tr>
<tr>
<td width="100%" colspan="3" style="border-bottom-style: none; border-bottom-width: medium">
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1" align="right">
<h4>
<!--webbot bot="Timestamp" s-type="REGENERATED" s-format="%m/%d/%y" -->
</h4>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="75" style="border-left-style:none; border-left-width:medium; border-right-style:solid; border-right-width:1; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium">
<!--webbot bot="Navigation" s-orientation="vertical" s-rendering="graphics" s-type="children" b-include-home="TRUE" b-include-up="FALSE" -->
<p>&nbsp;</p>
</td>
<td valign="top" width="5" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium">
</td>
<td valign="top" width="100%" height="100%" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium">
<h3><font size="5">Welcome to our home on the web!</font></h3>
<p align="left"><font face="Verdana">We are a Dark and Light
Role-Playing guild, </font>
<span style="font-size: 12.0pt; font-family: Verdana">We operate as a
family with a loose ranking system. Our Clan believes strongly in
character development and Role-play based interaction. Our role-play is
also tempered with a belief in a Virtue system that is taught as a
member advances in the Clan. The most basic form of this virtue code is
the key of three Truth, Love, and Courage only by the keys may one pass
to true enlightenment.</span> </p>
<center>
<table border="0" width="100%" cellspacing="0" cellpadding="5" height="435">
<tr>
<td width="35%" align="left" valign="top" style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="30">
<h3><a href="favorite.htm">Important Links</a></h3>
</td>
<td width="27%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="30">
Weekly poll (coming &quot;soon&quot;)</td>
<td width="34%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="30">
<h3>Guild News</h3>
</td>
</tr>
<tr>
<td width="35%" align="left" valign="top" style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" height="178">
<!--webbot bot="PurpleText" preview="This space could be used to list frequently visited sites." -->
<p></p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="100%">
<ul>
<li><a href="http://www.darkandlight.com">Dark and
Light Community site</a></li>
<li>
<a href="http://www.stratics.com/content/portals/dnl/index.php">
Stratics DnL</a>
</li>
<li>
<a href="http://www.aldrifas-library.com/index.php?nav_id=26">
Al-Drifas Library</a></li>
<li>
<a href="http://www.darkandlight.net/videos/Trailer_E3_2005.avi">Movie of the week</a></li>
</ul>
</td>
</tr>
</table>
<p></p>
</td>
<td width="27%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" height="178">
November Release.
<?php
include_once "/home/arabeta/public_html/poll/booth.php";
echo $php_poll->poll_process("newest");
?>
</td>
<td width="34%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" height="178">
This site is a work in progress, please feel free to alpha test
the features.<p>Forums are up 10/08/05</p>
<p>Public photo gallery is up 10/09/05</td>
</tr>
<tr>
<td width="35%" align="left" valign="top" style="border-left-style:none; border-left-width:medium; border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="41">
<h3><a href="photo.htm">Photo Album</a></h3>
</td>
<td width="27%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="41">
Big News from the main forums.</td>
<td width="34%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:solid; border-top-width:1; border-bottom-style:none; border-bottom-width:medium" height="41">
<h3>Communities &amp; Forums</h3>
</td>
</tr>
<tr>
<td width="35%" align="left" valign="top" style="border-style:none; border-width:medium; " height="139">
<img alt="Mountains" border="0" src="images/mount.gif" align="left" width="70" height="104">Take
a look at the worlds we play in from the eyes of our guild
mates.</td>
<td width="27%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" height="139">
&nbsp;</td>
<td width="34%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" height="139">
Take some time to stop by our forums and let us get to know you.<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="100%">
<ul>
<li>
<a href="http://www.companionsofvirtue.com/forum">CoV Forums</a>
</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center></td>
</tr>
</table>
<p align="center"><small>
<!--webbot bot="Navigation" s-orientation="horizontal" s-rendering="html" s-bar="Bars" s-btn-nml="&lt;A HREF=&quot;#URL#&quot; TARGET=&quot;#TARGET#&quot; STYLE=&quot;text-decoration: none;&quot;&gt;#LABEL#&lt;/A&gt;" s-btn-sel="#LABEL#" s-btn-sep="&amp;nbsp;|&amp;nbsp;" s-type="children" b-include-home="TRUE" b-include-up="FALSE" -->
</small></p>
<p><i><small>This site was last updated
<!--webbot bot="Timestamp" s-type="EDITED" s-format="%m/%d/%y" --> </small></i>
</p>

</body>

</html>

here is the insert area from the above code

<td width="27%" align="left" valign="top" style="border-right-style:none; border-right-width:medium; border-top-style:none; border-top-width:medium" height="178">
November Release.
<?php
include_once "/home/arabeta/public_html/poll/booth.php";
echo $php_poll->poll_process("newest");
?>
</td>
Back to top
View user's profile Send private message
Auron



Joined: 23 Jun 2003
Posts: 1051

PostPosted: Sun Oct 09, 2005 9:56 pm    Post subject: Reply with quote

Can you shorten that a bit please?
And keep it in the thread that has already been made about Frontpage since you've posted in there as well.

I will answer ur q's there.
_________________
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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  Next
Page 2 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.086726 seconds : 13 queries executed