FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Autoresponder unlimited(New Problem)!!!!





ncwdavid
Hey, I have this script called Autoresponderunlimited and I do not know how to use it. In the install guide it says :

""""The first thing that you need to do is to determine which page of your website will be the activation page.
The activation page is the one which will “activate” your autoresponder scripts to work. In our experience,
the best page to become your activation page is your homepage which is the most frequently visited
page of your website.

After you have determined which is your activation page, edit this page and paste the following scripts
anywhere between the <body> and <body > tags of your HTML.

<img src=http://www.yourdomain.com/cgi-bin/autoresponder/activate.cgi
width=1 height=1 border=0>

Do not upload yet this webpage. You will still need add your subscription box in this webpage. Just
remember, this is called your activation page. """""

I have put that code into my homepage I am no expert at this but I was wondering why it says <img src> for a cgi file because I thought they were information files not images.

To install this do I have to install anything into my frihost hosting thing or is everything installed?

Here are the main files I got with the Autoresponder Unlimited package:

config.cgi
activate.cgi
ar.cgi
Lite.pm

and it says the only one I need to edit is config.cgi.

also I uploaded the activate.cgi file to my account and opened it and it was just loads of writing which I dont think its supposed to look like.

Anyone know what to do?
bladesage
ncwdavid wrote:
Hey, I have this script called Autoresponderunlimited and I do not know how to use it. In the install guide it says :

""""The first thing that you need to do is to determine which page of your website will be the activation page.
The activation page is the one which will “activate” your autoresponder scripts to work. In our experience,
the best page to become your activation page is your homepage which is the most frequently visited
page of your website.

After you have determined which is your activation page, edit this page and paste the following scripts
anywhere between the <body> and <body > tags of your HTML.

<img src=http://www.yourdomain.com/cgi-bin/autoresponder/activate.cgi
width=1 height=1 border=0>

Do not upload yet this webpage. You will still need add your subscription box in this webpage. Just
remember, this is called your activation page. """""

I have put that code into my homepage I am no expert at this but I was wondering why it says <img src> for a cgi file because I thought they were information files not images.

To install this do I have to install anything into my frihost hosting thing or is everything installed?

Here are the main files I got with the Autoresponder Unlimited package:

config.cgi
activate.cgi
ar.cgi
Lite.pm

and it says the only one I need to edit is config.cgi.

also I uploaded the activate.cgi file to my account and opened it and it was just loads of writing which I dont think its supposed to look like.

Anyone know what to do?


First off, almost any file can be read as an image. That is, any file that is capable of creating images. Even so, the browser still attempts to read it as an image, whatever the extension may be (.cgi in this case), thus the script would be run once the homepage is loaded.

When you opened the file and saw a bunch of text, were you by chance using FTP, DirectAdmin, or cPanel to open it? In my experience, in PHP files at least, the above methods don't seem to do much other than display the content of the scripts.

And it says to only edit config.cgi, how does it say to do so exactly? And if you wish to have your page meet W3C XHTML standards, you should always quote the values of your tags' attributes.
Code:
<img src="http://www.yourdomain.com/cgi-bin/autoresponder/activate.cgi" width="1" height="1" border="0" />
ncwdavid
In the config.cgi file when I open it in notepad the instructions are there in "Comment Form" and I just followed them and filled in whatever it said but most of it was like http://www.yourdomain.com/cgi-bin/activate ect. and all I had to do was fill in my own domain.

Does Frihost support this script?

Plus it says this in the guide which is near the end:

Uploading the Files to your WebHost

Upload first the html folder to your root directory. This is the directory where you normally keep your
index.html or your home page.

Now look for your cgi-bin directory.

Upload the autoresponder folder under the cgi-bin directory. BE SURE that you upload the autoresponder
folder as ASCII and NOT BINARY.



You need change the permission of your autoresponder folder and the files inside it.

• Set the permissions or CHMOD for the ar.cgi file to '755' or rwxr-xr-x
• Set the permissions or CHMOD for the config.cgi file to '755' or rwxr-xr-x
• Set the permissions or CHMOD for the activate.cgi file to '755' or rwxr-xr-x
• Set the permissions or CHMOD for the lite.pm file to '644' or rw-r-r
• Set the permission or CHMOD for the autoresponder folder to '755' or rwxr-xr-x

• Important Note : In some web host, you have to set the permission of the Autoresponder folder to
'777' or drwxrwxrwx for it to work. Try first '755' , then if it doesn't work (like you cannot add a
new account), then change it to '777' . If it still doesn’t work, try changing the autoresponder folder
permission '775' or drwxrwxr-x. This all depends on how your webhost is configured.


If you have followed everything correctly, we’re now ready to manage our autoresponder.

You can now log-out from your webhost while you study how your Admin Control Panel

How do you upload by ascii and binary?
ncwdavid
Everything is working fine now but thanks for your help
ncwdavid
Hey, everything is working except one thing. In the Autoresponder admin control panel their is a small form I filled out and it looks like this:

"From" Name
"From" Email
Add unsubscribe link: Ticked
Send report to admin: Ticked
Redirect after registration to : http://xxxxxxxxx.frih.net/thanks.html

I then saved that form and clicked "Generate HTML Code" and it loks like this:

<form method="POST" action="http://www.xxxxxxxxx.frih.net/cgi-bin/autoresponder/ar.cgi"><input type="hidden" name="mode" value="register"><input type="hidden" name="ar" value=ncwdavid><div align="center"><center><table border="1" cellSpacing="0" bgcolor="#C0C0C0" cellpadding="2"><tr><td align="right"><font face="Tahoma" size="2">Name:</font></td><td><font face="Tahoma" size="2"><input type="text" name="user" size="20"></font></td></tr><tr><td align="right"><font face="Tahoma" size="2">Email:</font></td><td><font face="Tahoma" size="2"><input type="text" name="email" size="20"></font></td></tr><tr><td align="right" colspan="2"><div align="center"><center><p><font face="Tahoma" size="2"><input type="submit" value="Subscribe" name="B1"></font></td></tr></table></center></div></form>

I think it leaves out the return url for after the registration because it does not look like its their and I have tested this HTML code and a box came up and I wrote down my name and email address and clicked subscribe but it only brings me to and error page but the name and email address I submitted got save to my txt file in my directory.

Could someplease tell me how to add a return url into that html code?
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.