Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 3.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 2012-10-10, 05:26 AM   #15
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by tadpole View Post
1. I have set the executable permissions on the script. Must I also set the permissions on CGI?
By "CGI" I take it you mean the directory(folder)? If so, it should automatically have been set to allow execution of scripts. However if you have already tried changing it (eg to try the other script), you may have to change it back.

Quote:
Originally Posted by tadpole View Post
2. Do I insert the code for call to SSI in the body?
Yes, the SSI is basically a command that says "put the stuff here" so put it on the page exactly where you want the blog to appear.

Quote:
Originally Posted by tadpole View Post
blush - I use Front Page 2002!
That could be your problem. The opening and closing angle brackets define the fact that the text between them is code. So when your server sees them it executes that code and deletes the text. However software like Front Page usually assume you don't want this to happen, so they replace the angle brackets with a special code that simply tells the browser to display an angle bracket and ignore the fact that it contains code. I have not used Front Page, but most programs like that have a setting to include code as code, rather than bugger with it. It may be a menu setting, or it may be a button that allows you to insert a line of code into the text. If anyone else reading this uses Front Page, perhaps they could post a reply telling you exactly what the Front Page commands are to make it do this.

Quote:
Originally Posted by tadpole View Post
3. When I save the script to a text file, what encoding should I use? I have windows vista and my choices are ANSI, unicode, unicode big endian and UTF-8.
You really want "plain text". I don't think it matters, but I'd go for ANSI.

Quote:
Originally Posted by tadpole View Post
4. In your script, where I put in my own ID code, I take it I put in the full URL with my code in it?
No, just the ID. For example my ID is ecchi, so I'd use:
Code:
$a1id = "ecchi";
ecchi is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:00 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc