P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Page-Zone Web Hosting Main Forum > General FAQ > General Questions and Comments

General Questions and Comments Post your question or grace us with your knowledge. Posting limited to registered members.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
entropy banner question
Old
  (#1 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
entropy banner question - 05-16-2004, 06:38 PM

Hi, I am trying to use the entropy banner function of my cpanel. I added two banners, etc. I'm adding their code;

<!--#exec cmd="cgi-bin/entropybanner.cgi"-->

to my page, but it isn't showing up anywhere. in the code it is grey, not sure what that means, except it might not be activated or something.

I saved my page as shtm too.

anyone have any tips?

oh and is there any way for the page to open in a new window when someone clicks on a banner? (assuming I get this working!)

Thanks, Stacy
   
Reply With Quote
two things
Old
  (#2 (permalink))
stratplan
Registered User
stratplan will become famous soon enough
 
stratplan's Avatar
 
Status: Offline
Posts: 706
Join Date: Sep 2002
Location: Texas, USA
Rep Power: 74
two things - 05-16-2004, 10:52 PM

first try putting a space before the last dashes:

<!--#exec cmd="cgi-bin/entropybanner.cgi" -->

instead of:

<!--#exec cmd="cgi-bin/entropybanner.cgi"-->

and name the pages suffix ".shtml" instead of just "shtm"

no suggestions for the new page opening, but someone will know.

Dick


stratplan
Click Here to Visit Page-Zone's Help Desk
Help find disease cures: FoldForCures
   
Reply With Quote
Old
  (#3 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
05-17-2004, 12:41 AM

thanks for the response. I did as you said and added the space. I also have tried both .shtm & .shtml

I'm trying to get it on my links page, but I read that I should try to get it on my index first, but neither worked.
   
Reply With Quote
Old
  (#4 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
05-17-2004, 05:43 AM

try
<!--#include virtual="/cgi-bin/entropybanner.cgi" -->
The difference between them is exec uses a path and virtual a URL.
Dont be confused... a preceding slash can indicate a path or relative url, so...
<!--#include virtual="http://domain.tld/cgi-bin/entropybanner.cgi" -->
the above should work same as the preceding example but try it both ways.


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Old
  (#5 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
05-17-2004, 11:56 AM

okay, I tried both. When I put them in my code, they highlight yellow (which usually means something is wrong) Before with the code, they were just a dull grey (like it wasn't a recognized).

I use dreamweaver, and put the code just where I put all my html codes.

I don't mean to be a pain about it, but I'm sure I'm doing everything right.

Thanks, Stacy
   
Reply With Quote
Old
  (#6 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
05-17-2004, 10:33 PM

try this and see if you get a banner
just put this in a page and give it a name.php

<?php
include "cgi-bin/entropybanner.cgi";
?>


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Old
  (#7 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
05-17-2004, 11:26 PM

when I tried the codes

Quote:
<!--#include virtual="/cgi-bin/entropybanner.cgi" -->
The difference between them is exec uses a path and virtual a URL.
Dont be confused... a preceding slash can indicate a path or relative url, so...
<!--#include virtual="http://domain.tld/cgi-bin/entropybanner.cgi" -->
my page said;

[an error occurred while processing this directive]

and it showed up in yellow (which is usually when I've done something that doesn't work in the code.

when I tried this like you just said

Quote:
<?php
include "cgi-bin/entropybanner.cgi";
?>
it actually showed up in colors like regular code, but on the page it showed stuff like this;

ELF ‚44


I'm stumped!

Thanks again, Stacy
   
Reply With Quote
Old
  (#8 (permalink))
edwurster
green side up, please!
edwurster will become famous soon enoughedwurster will become famous soon enough
 
edwurster's Avatar
 
Status: Offline
Posts: 660
Join Date: May 2003
Location: Voorhees, NJ
Rep Power: 69
05-18-2004, 07:53 AM

Stacy --

Are you uploading the page to P-Z and executing from there?

Or are you previewing the page from Dreamweaver on your local system?


Ed Wurster - sacts92 (old root10)

...CPANEL Docs
......P-Z Server Status
  Send a message via AIM to edwurster  
Reply With Quote
Old
  (#9 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
05-18-2004, 09:49 AM

I uploaded it. That is when I got those messages.

Thanks, Stacy
   
Reply With Quote
Old
  (#10 (permalink))
edwurster
green side up, please!
edwurster will become famous soon enoughedwurster will become famous soon enough
 
edwurster's Avatar
 
Status: Offline
Posts: 660
Join Date: May 2003
Location: Voorhees, NJ
Rep Power: 69
05-18-2004, 11:14 AM

I tried stratplan idea, and it did not work. I tried midwest idea and it did not work. I put both ideas into a page, and midwest failed, but stratplan worked.

Go figure --

http://www.ewurster.us/entropy.shtml

This was my first try at entropybanner, and I uploaded one jpg banner. So my experience was similar to Stacy's.

I'm on server ten.

The working code looks like:

<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
<TITLE>Untitled Document</TITLE>
</HEAD>
<BODY>

<P>stratplan banner idea "include virtual="/cgi-bin/entropybanner.cgi"" </P>

<!--#exec cmd="cgi-bin/entropybanner.cgi" -->

</BODY>
</HTML>


Ed Wurster - sacts92 (old root10)

...CPANEL Docs
......P-Z Server Status
  Send a message via AIM to edwurster  
Reply With Quote
some more comments:
Old
  (#11 (permalink))
stratplan
Registered User
stratplan will become famous soon enough
 
stratplan's Avatar
 
Status: Offline
Posts: 706
Join Date: Sep 2002
Location: Texas, USA
Rep Power: 74
Lightbulb some more comments: - 05-18-2004, 04:17 PM

I also use dreamweaver, and have some .shtml pages for some lcients. I happened to have to do some editing to one this morning, and noticed that the line IS greyed out in the code, but on the site after uploading works fine.

I used to have a program I could use to view .shtml files on my machine without uploading, but forget where it was put when I upgraded in Dec.

So, my suggestion is to do it, then upload to site and try it. Being grey won't make it not work.

Dick


stratplan
Click Here to Visit Page-Zone's Help Desk
Help find disease cures: FoldForCures
   
Reply With Quote
Old
  (#12 (permalink))
stacyleigh
Registered User
stacyleigh is on a distinguished road
 
Status: Offline
Posts: 21
Join Date: Jun 2003
Rep Power: 35
05-18-2004, 04:42 PM

well hot dog! I thought I had uploaded the first time, but I guess I didn't. It didn't work with .shtm but it does work with .shtml

Thanks a million! ~Stacy
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How not to create a banner Jim Tips & Tricks 3 02-21-2005 04:10 PM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com