UBB.Dev
Posted By: Mystik Gotan Including in CGI - 03/11/2002 8:33 PM
How do I include in CGI?
I'm re doing someone's guestbook (written in PHP)
and he used an include() function to include guestbook.txt .

Anyone to help?

Thank you
Posted By: Burak Re: Including in CGI - 03/11/2002 8:50 PM
open the file read the contents and print...

search this forum for older posts...
Posted By: Mystik Gotan Re: Including in CGI - 03/11/2002 8:55 PM
That was like
OPEN(FILE, "$urlorsomethinglikethat")
{
WRITE ($VARIABLE , "$urlorsomethinglikethat")
}
print "$var";
Like that?

I'll check the forum for some older posts or www.cgi101.com

Thank you.. smile
*EDIT*:
it and for those wanna know, check out:
http://www.cgi101.com/class/ch6/text.html

Everything about opening,writing, overwriting (etc) Data files.

GreetZ
© UBB.Developers