How do I prevent SQL injection from Foldable' AND '1'='1' attack in a Drop Down Menu using Prepared Statement?
How can I prevent SQL injection in PHP?
Supersymmetric Localization (Mirror Symmetry) I'm reading Chapter 9 of . As you can see in eq. (9.30) his model for SUSY is  $$\begin{align} \delta_\epsilon X &amp;=\epsilon^1\psi_1 + \epsilon^2\psi_2\\ \delta\psi_1 &amp;= \epsilon^2\partial h\\ \delta\psi_2 &amp;=-\epsilon^1\partial h.  \end{align}\tag{9.30}$$  I understand that if $\partial h\neq 0$ it is possible to see that partition function vanishes, in particular, there is a total divergence:  $$ \int \mathrm{d}\hat{X}e^{\frac{1}{2}(\partial h(\hat{X}))^2}\frac{\partial^2 h(\hat{X})}{(\partial h(\hat{X}))^2}. \tag{*} $$  The implication that a total divergence yields vanishing integral, it is a bit strange, because, since every function that admit a primitive is a total derivative. What is the meaning of that implication? Then why $(*)$ vanishes? It seems to me that, in general, $$ \int \mathrm{d}(h')\frac{e^{\frac{1}{2}(h')^2}}{(h')^2}\neq 0. $$  Then, again, when he claims that if there is a $x_0$ such that $h'(x_0)=0$ we can use again the argument of the total divergence, why doesn't he keep in account that, removing a small neighborhood of $x_0$, give us some contribution at the border of that neighborhood (two points)? Postfix Domain Whitelisting in Combination with Sender Authentication I'd like to whitelist several domains in my Postfix configuration in such a way that all e-mails from those domains are accepted as long as they're properly authenticated using SPF and/or DKIM, should it be used by that domain. This means that e-mails coming from those domains should not be subjected to the usual DNSBL and Greylisting process, only to a SPF and DKIM verification.  Right now I have managed to save e-mails coming from those domains from the Greylisting milter by configuring a sender_access file and using the postmap utility to convert it to a suitable hash-database.  main.cf:  ... parent_domain_matches_subdomains = yes smtpd_recipient_restrictions =   permit_mynetworks   permit_sasl_authenticated   reject_rbl_client zen.spamhaus.org   reject_unauth_destination   check_sender_access hash:/etc/postfix/sender_access   check_policy_service unix:private/tumgreyspf ...   sender_access:  domain1.com OK domain2.net OK   I've found out about  and also found a , but it appears like that is a DNSBL-only measure and is only slightly helpful in my case. I was wondering if there is such a thing as an shapefile PRJ to PostGIS SRID lookup table?  Something that can translate the most standard shapefile PRJ definitions into the likely SRID.  When using PostGIS and pgAdminIII, if you use the postgisgui to import your shapefiles, the SRID is left as "-1".  It seems like the tool should be able to parse the Esri PRJ and determine the correct (or at least a couple of options) that are the likely SRID, rather than just leave the default.  Or does the importer have the capability to reproject on the fly if you choose another SRID?  It may seem lazy on my part, but to me it seems curious that this function hasn't already been put in place.  Does anyone know if this concept is in the works, or good reason's why it has been left out? Why do I get TypeError: can't multiply sequence by non-int of type 'float'? Why is my camera limited to a shutter speed of 1/250th when the flash is up? Sometimes in bright backlight and with large aperture (f2.8) I want flash at high shutter speeds.  But when I pop the flash up on D7000 it caps the shutter speed to 1/250th, which overexposes the shots and makes everything look like a nuclear bomb just went off.  What's the logic behind the limiting of the shutter speed when using flash? Is there anything I can do to get flash  + faster shutter speeds? How to complain about a user? I  and a user was rude to me in a comment and in an answer. Even though I can't downvote, that answer got -5 and it was automatically deleted. I want to complain about that user. How can I do that? Why singularity in a black hole, and not just "very dense"? Why does there have to be a singularity in a black hole, and not just a very dense lump of matter of finite size? If there's any such thing as granularity of space, couldn't the "singularity" be just the smallest possible size? What is the C# Using block and why should I use it? What is the purpose of the Using block in C#? How is it different from a local variable? "Can not setup lock file:/tmp/g2ipmsg.lock errno : -11 (Resource temporarily unavailable)" I installed IP Messenger (GNOME 2) from Ubuntu software center but its not working. It's always showing an error message on Ubuntu 12.04.  FileName:ipmsg.c Function:create_lock_file Line:157 Can not setup lock file:/tmp/g2ipmsg.lock errno : -11 (Resource temporarily unavailable) After parsing collada files I found out that we have to load two(or more) indices each pointing to say a vertex or normal etc. like this (&lt;p>3 0 2 0 0 0&lt;/p>)  Is there a way to load (and use)these indices to indices buffer(ELEMENT_ARRAY_BUFFER) like this (vnvnvn...) ; where v is vertex pointer, n is normal pointer from the above. with vertices loaded to VBO1 like (vvvv...) and in VBO2 like (nnnn...). So that we dont have to repeat the normals in VBO2.  VBO like (vnvnvn...) is also ok. (and not something like this ), I'm not trying to use multiple indices buffer. I'm trying to put all the given indices into one index buffer and use them alternately.  (If I wasnt clear i will try for more clarification.) Can $(X_1,X_2) \cap (X_3,X_4)$ be generated with two elements from $k[X_1,X_2,X_3,X_4]$? Can $(X_1,X_2) \cap (X_3,X_4)$ be generated with two elements in the ring $R=k[X_1,X_2,X_3,X_4]$? Can it be generated with three elements? (Here $k$ is a field.)    Thanks for any help. The  page indicates "the hats get put back in their boxes on January 4th". Aside from the pure terror that sentence seems to invoke, I was curious of exactly when this is going to be.  I know that the hats have caused a bit of a time warp at times (for example the starred chat hats). Will this be true of the removal process as well?  Do we get our hats until 23:39 UTC Jan 4th, are they removed at the end of UTC Jan 3rd? How can I merge properties of two JavaScript objects dynamically? I'm seeing an odd character like a very flat U, where there should be a space, with the listings package. See example below. Does anyone have any idea why this is happening, or how to get rid or work around it?  \documentclass{standalone} \usepackage{underscore} \usepackage{listings} \usepackage[usenames,dvipsnames, rgb, svgnames, x11names]{xcolor} % Text layout \topmargin 0.0cm \oddsidemargin 0.5cm \evensidemargin 0.5cm \textwidth 16cm \textheight 21cm  \lstnewenvironment{cmd}[1][]{%   \lstset{language=sh, backgroundcolor=\color{LightSteelBlue1}, #1}} {}  \begin{document} \begin{cmd}[caption=Configuration file section including filters] [affy6] [...]     [[hapmap]]     phenofiles = "data/Hapmap6.0/Pheno/hapmappheno_909.csv",     genofile = "/data/snppy/Hapmap6.0/Geno/birdseed-v2.calls.txt"     anno_filter = "chromosome = 5"     idlink_filter = "studyid = 'CEU'"     some_other_stuff = "foo = bar" \end{cmd} \end{document} Make Javascript do List Comprehension Information on month old flights Where can I get flight info for a flight a month ago for an insurance claim? Flight stat sites will only show a weeks worth of data. Adjoint matrix eigenvalues and eigenvectors I just wanted to make sure that the following statement is true:  Let $A$ be a normal matrix with eigenvalues $\lambda_1,...,\lambda_n$ and eigenvectors $v_1,...,v_n$. Then $A^*$ has the same eigenvectors with eigenvalues $\bar{\lambda_1},..,\bar{\lambda_n}$, correct? Variable variable class extensions in PHP--is it possible? Is something like the following possible in PHP?  $blah = 'foo1';  class foo2 extends $blah {     //... }  class foo1 {     //... }   This gives an error.  I want to dynamically set $blah so I can extend whatever class I want.  Edit: The reason for wanting to do this because I wanted to use a function out of another class in a related class. In the end it would have been something like:  Final extends foo1 extends foo2 extends foo3 extends foo4 extends parent { ... }   In the end I decided to instantiate the other class within the class and use it. Not the best options because they both you 2 of the same classes, but this won't be used that often, so it will work for now. How can I send mail from an iPhone application I want to send an email from my iPhone application. I have heard that the iOS SDK doesn't have an email API. I don't want to use the following code because it will exit my application:  NSString *url = [NSString stringWithString: @"mailto:foo@example.com?cc=bar@example.com&amp;subject=Greetings%20from%20Cupertino!&amp;body=Wish%20you%20were%20here!"]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];   So how can I send an email from my app? Where do I report people for deleting their questions on purpose after they get an answer Today I was looking at the question of this . The question was pretty simple, he was looking for the eval function in  not knowing of it's existence. He received a comment and while I was finishing reading the question, I saw him commenting      Thanks, eval() is what I was looking for.   and then he deleted his question. In my opinion, such behavior isn't appropriate. So, should I just ignore this or can I do something about it?