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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to put variable in cfg file while in another script

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Thanks For any help to enlighten my thick skull.

I have a small script (date.cgi) that comes up with the date of every Sunday. Currently it prints a Scalar variable ($url_date)to screen when executed from my browser.

$url_date = 030501.htm

The idea is to use this variable and concantenate a full url address used in another script(getscriptures.cgi)which finally creates an html doc.The [COLOR=ff0000](getscriptures.cgi)[/color] gets this ($url_date) Scalar variable from a configuration file(scripure.cfg)

My problem is how do I call the(date.cgi) to put this Scalar variable ($url_date) into the configuration file[color][#ff0000] (scripure.cfg)[/color] while inside or exiting another cgi named(preview.cgi)

In the begining let us assume there was nothing to begin with. THANX

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top