ave13co
01-24-2004, 05:23 AM
edited 12404
|
Click to See Complete Forum and Search --> : Call .pl from within a .cgi ave13co 01-24-2004, 05:23 AM edited 12404 Jeff Mott 01-24-2004, 09:16 AM You need to declare it with my if you are getting an error that $alias has not been declared. What exactly do you mean by "the script does not know what $alias is"? ave13co 01-24-2004, 02:29 PM edited 12404 Jeff Mott 01-24-2004, 08:10 PM So $alias has no value. How are you setting the value for the variable? ave13co 01-24-2004, 08:23 PM edited 12404 Jeff Mott 01-24-2004, 09:30 PM Well... I can't tell how the variable is being set because all you posted is a print statement. Somewhere in your program you should have a line sorta like $alias = something;. ave13co 01-24-2004, 10:41 PM edited 12404 garfvader 01-24-2004, 10:58 PM Hmm but your CGI needs to know somehow what $alias is in order to pass that to the pl does it not?? $alias is a variable that should somehow be determined by the cgi and then the result of that variable is passed to the pl through your cgi script, at least from what I see. I think that's why you're being asked where you're determining what $alias actually is. Otherwise all you're sending is an empty variable to your pl. ave13co 01-24-2004, 11:32 PM edited 12404 webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |