in reply to Re^5: Send HTML to the server
in thread Send HTML to the server

That's right. I did all. But when I submit showme.pl, indicated in action, pops up in the browser. I can't understand how it should work as a server code.
I usually invoke a pl/cgi code through the local host url on my local web server and this code creates the client html on the browser. Now the html file and the code a separate. I am missing something certainly in my knowledge. I would be really grateful if you explain me how it works in your version.

Replies are listed 'Best First'.
Re^7: Send HTML to the server
by Anonymous Monk on Sep 12, 2011 at 13:28 UTC
      Good stuff. But I would prefer to get a direct answer from muba if he does not mind and kindly ask you not to discourage him by sending links to tutorials and creating additional depths in this thread.

        Good stuff. But I would prefer to get a direct answer from muba if he does not mind and kindly ask you not to discourage him by sending links to tutorials and creating additional depths in this thread.

        Ha!

        Muba is not a mind reader

        Besides, he would go through the exact same list, asking you to check each thing, until you fixed it

        Its only 4 categories/20 items

        Its much quicker if you do it yourself

Re^7: Send HTML to the server
by muba (Priest) on Sep 12, 2011 at 14:40 UTC

    Am I correct in assuming that you get to see the source code of showme.pl, instead of the output it is supposed to give? If that's the case then either your webserver is misconfigured for handling CGI (maybe it's not set up to handle .pl files? I don't know, it's been a long time since I last bothered to toy around with those things. Once it works I don't touch webserver configurations again) or you've not set the correct permissions on the script. I'm fairly sure the tutorials mentioned above will help you.

    If I'm wrong, though, and you're asking something else, then please be more precise. Do you not understand how the script works? Which part? Are you fairly sure the tutorials above don't answer your question? Because both the html and the script are pretty basic. There's nothing fancy to it.