MAIN
NEW THREADS
AD SPOT

how to use protectx script at Dreamhost hosted sites
Protect-X Forum >> Protect-X Support Forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
vicweb



Joined: 24 Jun 2007
Posts: 6


PostPosted: 27 Jun 2007 14:15    Post subject: how to use protectx script at Dreamhost hosted sites Reply with quote

If you can not insert the protectx script in your site hosted by Dreamhost into a .shtml page, you will solve the situaition creating an .htaccess file with this directive into it ( or adding the following line if you already have that file ) :

Addhandler application/x-httpd-php .shtml

Then, you can use php includes into a .shtml page

Wink


Last edited by vicweb on 17 Feb 2008 13:01; edited 1 time in total
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 27 Jun 2007 14:57    Post subject: Reply with quote

Thank you very much, vicweb! And welcome Protect-X Forum.
_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
ciacho



Joined: 15 Oct 2007
Posts: 2


PostPosted: 16 Oct 2007 08:02    Post subject: Reply with quote

I have problem with this .htaccess file and smart-thumbs script.
My index page is .shtml format.
When I create .htaccess file with:
Code:
Addhandler application/x-httpd-php .shtml .php


Another global values from php.ini are changed (restrictions open_basedir register globals and others).
It leads for impossibility of usage the smartthumbs script.

Is it any another trick?
---------------------------EDIT---------------------
Problem solved - exec() function & array_shift() & echo() solve this.
--------------------------END_EDIT----------------

_________________
Nice Porn Pics | X Pics Blog
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 16 Oct 2007 15:14    Post subject: Reply with quote

Hello, ciacho!
Welcome Protect-X forum!
It would be great if you describe your solution more carefully to help other Dreamhost users solve a possible problems with Protect-X script installation

_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
ciacho



Joined: 15 Oct 2007
Posts: 2


PostPosted: 17 Oct 2007 06:28    Post subject: Reply with quote

Hmm... It isn't a good solution. I trying insert this code (in my smart thumbs template):
Code:

<?php
exec('/full_path_to_at3_script/cgi-bin/at3/in.cgi', $output);
array_shift($output); // remove first line
echo(join('', $output)); // output contents
?>


And in first look all is ok, but incoming clicks isn't counted.
There are 3 solutions:
1 - change traffic trade script
2 - move to another hosts
3 - don't use ProtectX

_________________
Nice Porn Pics | X Pics Blog
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 17 Oct 2007 15:40    Post subject: Protect-X Script installation Reply with quote

thank you for reply!
It depends on a file you include script to. If you have .php template there might be no probs with script including. Try to switch template extension to php in case you have not yet.

_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
dailyamateurs



Joined: 04 Dec 2007
Posts: 8


PostPosted: 05 Dec 2007 15:43    Post subject: Reply with quote

i have found this solution too but i found this line on google :

AddType application/x-httpd-php php php4 php3 html htm

i add this line to my .htaccess file and now the php code works fine in my html file Very Happy
Back to top
View user's profile Send private message
Protect-X Support



Joined: 30 Oct 2006
Posts: 934
Rank: 35

PostPosted: 05 Dec 2007 16:37    Post subject: Reply with quote

Hi, dailyamateurs and welcome to Protect-X Forum!
I hope you like our small but growing community Exclamation

_________________
Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors
Back to top
View user's profile Send private message Send e-mail
xxxpornworld



Joined: 19 Mar 2008
Posts: 1


PostPosted: 21 Mar 2008 21:54    Post subject: Dreamhost Reply with quote

I ended up using servage for a few of my domains because Dreamhost (and dont get me wrong, I love them and have been a customer since they started) Disables fopen. Period, no matter what you say.
Back to top
View user's profile Send private message
sinlady



Joined: 30 May 2010
Posts: 16


PostPosted: 07 Jun 2010 03:27    Post subject: Reply with quote

i using dreamhost , i have problem with setup hardlink too , anyone can help me ?
Back to top
View user's profile Send private message
   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 
Jump to:  
Page 1 of 1

 
ADVERTISEMENT

ImLive Cam Adult sponsor


Powered by phpBB © 2001, 2005 phpBB Group

Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations / posts: 0 / 0