Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Variable interpolation in a file to be read in

by zwon (Monsignor)
on Oct 06, 2011 at 15:58 UTC ( #930011=note: print w/replies, xml ) Need Help??

in reply to Variable interpolation in a file to be read in

What if some of these variables have value like this:

Robert');drop table students; --

Seriously, your idea doesn't look especially elegant to me. You should somehow control which variables can be used in your file to avoid occasional collisions. Also you should escape values if they contain special characters.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2016-10-22 23:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.