View Full Version : Will this work without <STDIN> <STDOUT>
jaeman
08-11-2003, 10:34 AM
Hey people, i was wondering if this file needs the <STDIN> &| <STDOUT> commands in places..? It seems to work okay!
if yes show 1 example & why it does need it for me
or
if not explain why theres no need please...
I'm asking this as a lot of examples do & then they don't, it gets really confusing, i'll have a book soon, thankx...
http://www.geocities.com/jmills73/guestbook.zip
kevin
08-11-2003, 11:28 PM
your zip file contains two perl scripts, I guess you are asking about the guestbook.cgi script and not mattt wrights old guestbook script.
It doesn't look like you do not need to use stndin or stdout for either of those two scripts.
jaeman
08-12-2003, 12:31 AM
i didn't realise i zipped 2 files, but anyway you picked the right one!
i didn't think it needed them to run, cheers
oh whats with the guy that replyed "use notepad" to answer my other thread...
kevin
08-12-2003, 02:11 AM
<STDIN> is pretty much used for input from the keyboard, you almost never would need to use that for internet based scripts, which use CGI forms to send and return data to the client.
notepad is the universal (for windows users anyway) text editor. If you have nothing else, notepad will do the job. Some folks** actually prefer notepad to more sophisticated text editing programs.
**They usually don't bath regularly and are missing most of their teeth and one eye looks off in a funny direction.
agent002
08-13-2003, 04:50 AM
Originally posted by kevin
They usually don't bath regularly and are missing most of their teeth and one eye looks off in a funny direction.
I have a lot of teeth, I shower every day and my eyes are allright (I don't even wear glasses).
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.