PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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: 9136
Location: Arizona

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

As an iframe maybe?
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
View user's profile Send private message
montego
Site Admin


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

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

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).
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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

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


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

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

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.
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
View user's profile Send private message
montego
Site Admin


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

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

Dance-Stick
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


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

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

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..
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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

Cheers
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum