Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with <!--#set....... in SSI

Status
Not open for further replies.

JoshuaPaschal

Programmer
Nov 15, 2005
11
US
I have been working with a SHTML page that has a command like this:

<!--#set var="SOMETHING" value="AVALUE"-->

For some reason the VAR SOMETHING isn't storing AVALUE.
(regardless of what i set/name them as).

In other words, if i was to do the following

<!--#set var="SOMETHING" value="AVALUE"-->
<!--#echo var="SOMETHING"-->

then the following will print out:

Variable 'SOMETHING' cannot be found

Again, this is regardless to what i set the VAR and VALUE to.

I really think it has to do with somekind of setting on the server i am working with. I have notice that some other odd things have been going on but, i am not too fluent on CGI/SSI so, it could be my fault. However, i think the problem i am having has nothing to do with my level of abilities.

NOTE: SSI FOR THE MOST PART IS WORKING. I can do a MAJORITY of what i need to do with it right now. However, this little problem is a major road block.

FOR EXAMPLE:

<!--exec cgi="/cgi-bin/cgifile.cgi"-->

WORKS JUST FINE.

You might also refer to my previous threads to view the previous problem i am having.

If its something with the server, how would i fix it? I am hosting a shared server.


 
Hi

JoshuaPaschal said:
You might also refer to my previous threads to view the previous problem i am having.
Might ? Must ! While you forget to mention in this thread too, what web server you use.

I done some googling and the result is unpleasant. I did not seen anything about [tt]set[/tt]. Anyway, look yourself too :

Feherke.
 
are you having problems with SSI or CGI? SSI has nothing to do with perl or cgi scripts. That is a server setup issue. Check the server forum for the type of server you are using.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top