Sunday, August 26, 2012

Re: After form validation, need to post and call a perl program to display to a log file

Hey  Nick,

Thank you for mail, 

Can I make use CGI script for this.......?
If yes how can I make use of that......? Hint....>>!!\

Thank you
pervez 

On Fri, Aug 24, 2012 at 8:30 PM, Nick Santos <ultraayla@gmail.com> wrote:
Obligatory followup (though the docs I believe cover this pretty well) - be *very* careful calling subprocess with anything related to a form submission. Read the documents that Melvyn linked to carefully because you can be opening a massive security hole. If this is just temporary to check some output, that's fine, but if you plan on going into production, make sure to know the risks and consider alternatives.
-Nick


On Friday, August 24, 2012 6:11:45 AM UTC-7, Melvyn Sopacua wrote:
On 24-8-2012 8:41, Pervez Mulla wrote:

> Once validation happened (its working good), I wanna call perl script to
> disply it content to lof file ...
>
>
> How can I do this ......??

<http://docs.python.org/library/subprocess.html>
FYI, it don't matter that it's perl, you can do this for anything that
can be invoked as a "program".

--
Melvyn Sopacua

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/T4GGbPbHxGoJ.

To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment