Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Sat Feb 20, 2010 12:08 pm Reply with quote

Not really specific to 2.4 but since all my sites run 2.4, I'll ask the question here.

As a rule, SSI runs with the .shtml extension. Can SSI, specifically a counter, run on RN? How?

Cheers
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Feb 20, 2010 12:48 pm Reply with quote

As an iframe maybe?

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
dad7732







PostPosted: Sat Feb 20, 2010 1:11 pm Reply with quote

Funny you mention iFrame as that's the center of my dilema/question. I'm thinking of using include() or require() to point to the cgi-bin pl counter script and then using the SSI script in the iFrame <!=#exec ....> so forth and so on. Just a bit too rusty at this for the moment. Sad

I'm also looking at htaccess as well, may be something there, dunno yet.

Cheers
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Feb 20, 2010 1:44 pm Reply with quote

Just change the extension to PHP and use include_once
Provided you don't need to pass a variable like
include_once 'your-script.php?&count=1
it should work ok.
 
View user's profile Send private message Send e-mail
dad7732







PostPosted: Sat Feb 20, 2010 2:21 pm Reply with quote

What "extension", I'm already using a PHP page to begin with. So just use the include_once then. I'll give that a try, thanks.

Cheers
 
montego







PostPosted: Mon Feb 22, 2010 6:08 am Reply with quote

If you are using an iframe, make the source page be .php so that you can include whatever you wish. This is what Guardian is getting at (I think).
 
dad7732







PostPosted: Mon Feb 22, 2010 7:09 am Reply with quote

Actually the iframe is inside a php section in an html page.

Cheers
 
montego







PostPosted: Mon Feb 22, 2010 7:12 pm Reply with quote

Well, iframes are not "PHP", but a browser construct with a target href different than its parent page (I know that you know this), so really, when you look at it from the browser's viewpoint, it is in the parent HTML page. Wink What is the href inside the iframe and are you not wanting whatever that is within that iframe to produce your counter? Guess I'm confused.
 
dad7732







PostPosted: Mon Feb 22, 2010 7:36 pm Reply with quote

Actually this was for one of my clients running RN but I see that he's abandoned the idea and went back to an SHTML page and such. I was getting more confused than you can imagine. But in spare time, whatever that is, I may pursue this somewhat as it's now become a challenge.

Cheers
 
montego







PostPosted: Tue Feb 23, 2010 5:50 am Reply with quote

Dance-Stick
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Feb 23, 2010 4:46 pm Reply with quote

dad7732 wrote:
Not really specific to 2.4 but since all my sites run 2.4, I'll ask the question here.

As a rule, SSI runs with the .shtml extension. Can SSI, specifically a counter, run on RN? How?

Cheers


you might look at this recently pre-released demo of adding js/css from kguske, noticed it has a IFrameSSI-min.js file and I thought of you... maybe his example usage for google analytics / nukeINFO will help you out..

http://nukeseo.com/uploads/file/RNdynaJS.7z
 
View user's profile Send private message Visit poster's website
dad7732







PostPosted: Tue Feb 23, 2010 5:04 pm Reply with quote

Yow .. thanks!!! Will give it a go and report back.

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©