Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Spambot Email Protector:
Not working in subfolders with email addresses

 

 


haaronl
New User

Nov 20, 2008, 2:01 PM

Post #1 of 4 (9767 views)
Shortcut
Not working in subfolders with email addresses Can't Post

I can get it to work okay in the document root:

http://www.osborne-realty.com/contact.html

but not in the subfolders of the root:

http://www.osborne-realty.com/staff/jackie_wood.htm

http://www.osborne-realty.com/staff/sandra.html




Donna
Staff / Moderator


Nov 21, 2008, 3:16 PM

Post #2 of 4 (9753 views)
Shortcut
Re: [haaronl] Not working in subfolders with email addresses [In reply to] Can't Post

Hi Haaronl,

It looks like those files aren't being parsed for PHP. If I view the source, I'm still seeing the PHP code:

<?php include_once "/home/httpd/vhosts/osborne-realty.com/httpdocs/spambot-email-protector.php" ?>

Those pages must be parsed for php, or Spambot Email Protector can't work. Usually, this means changing the file extension to .php, but since your main file (contact.html) works, I suspect it hasn't been configured to allow PHP to work .htm or .html files in the sub-directory.

You can try setting up an .htaccess in your sub-directory (if that's what you did to allow PHP to work in your root directory) ... or, try contacting your host to see if they'll allow your site to parse PHP in any .htm or .html file on your site. :)

Donna

--
support@interactivetools.com


haaronl
New User

Nov 24, 2008, 4:21 PM

Post #3 of 4 (9623 views)
Shortcut
Re: [Donna] Not working in subfolders with email addresses [In reply to] Can't Post

Hi,

I tried these pages on two different computers and cannot duplicate your results. When I view source the php code is not visible meaning it's been parsed. I checked with Rackspace, our server managers, and they say that html and htm pages can be parsed for php; this setting is turned on.

However, changing the extension to php seems to make the pages work so I'm not sure what is going on.

Aaron


Donna
Staff / Moderator


Nov 24, 2008, 4:40 PM

Post #4 of 4 (9606 views)
Shortcut
Re: [haaronl] Not working in subfolders with email addresses [In reply to] Can't Post

Hi Aaron,

Odd -- it looks like it's being parsed now. (It definitely wasn't when I checked, or there's no way I'd be able to get that line of code!)

Not sure why it's still not working for you -- would you be able to fill in a support request? With that, we can take a look and see what's going on. :)

https://www.interactivetools.com/support/email_support.cgi

Donna

--
support@interactivetools.com