Thread: Apache gurus...
View Single Post
Old 05-06-2005   #1
sarettah
Stay Out Of The Box
Want to see your own Advertising Here!
 
sarettah's Avatar
 
Join Date: Oct 2002
Location: Lost in the ozone
Posts: 10,318
Default

This might be totally stupid question, but then again, it may not.

Is there a way to create a server side variable ?

What I am trying to do (and I am just starting to look at this, haven't even searched on it yet..lol) is create a counter that can be referenced by a script. The objective is to avoid having to open and close a file. Instead I want a variable that will reside in memory and will be available everytime the script is called for.

I need to be able to increment and decrement the counter via script.

I can do it easily enough by reading the variable in, inrementing it, writing it back. But it seems like it would be better if I could just reference a memvar if possible.

Thanx in advance

Geekily yours

Sarettah
__________________


Free Adult Webcams
sarettah is offline   Reply With Quote