Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: More with HTML:Template

by wog (Curate)
on Nov 23, 2001 at 08:36 UTC ( #127056=note: print w/replies, xml ) Need Help??


in reply to More with HTML:Template

Before actually getting to your problem, I forewarn you that, if your script was made to compile, you would have a major security flaw: For example, the video param could contain something like ; rm -rf / |, resulting in your script running the rather dangerous command rm -rf /. I strongly suggest turning on taint checking and carefully untainting all your inputs to avoid this type of problem.

If you had taken the time to check the error logs, or run your script thourgh perl -c (to check if it compiles), then you would have gotten a message starting like: Bareword found where operator expected at - line 10, near "$Create a" This error is a result of perl being confused since you typed $ where you probably meant #.

As a sidenote, I would reccommend you run your script with strict and warnings, which is likely to save you time in the future.

update: s/compiled/was made to compile/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://127056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-12-09 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?