I have a query like this: update T_table set detail = 'XXXX' where num = 155;  which on my php file looks like this: $sql = &quot;update T_table set &quot;.$_GET['field'].&quot; = '&quot;.$_GET['value'].&quot;' where num = &quot;.$_GET['num']; $output = mysql_query($sql);  I would like to know if it is possible to inject SQL where the XXXX are in the query. Because they will be replaced by a sting from $_GET, and if it is possible how would you do? Important: My MYSQL database is not allowing double pipes (||) as a concatenation operator.
If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?
What does the notation like 8.6e-28 mean? What is the 'e' for? Execute a Java program from our Java program I used   Runtime.getRuntime().exec("_____")   but it throws a IOException as below:  java.io.IOException: CreateProcess: c:/ error=5   at java.lang.Win32Process.create(Native Method)   at java.lang.Win32Process.&lt;init&gt;(Win32Process.java:63)   at java.lang.Runtime.execInternal(Native Method   I don't know whether I have the problem with specifying the path or something else. Can anyone please help me with the code. How was Thor able to dent Captain America's Shield? I was reading about Adamantium on the      Proto-Adamantium   This is the original Adamantium created by Dr. MacLain. Proto-Adamantium is the official name for the metal that makes up Captain America's Shield. It has never been recreated and is the absolute most invulnerable item in all of existence.    This lead me to read about      The true shield was once slightly dented by an enraged Odinforce empowered Thor, using Mjolnir, but he later reconciled and pounded out the small dent.    Was the dent caused by Odinforce or Thor's Hammer? Is Mjolnir or Captain America's Shield "the absolute most invulnerable item in all of existence"? Induction problem: "if the group has at least one player who is better than Messi, then all the members of the group are better than Messi" Render shadows over a transparent background in cycles I'm trying to make a logo that will be on the header of a website. What I'd like to achieve, and the reason I'm using Blender, is the projected shadows on the background looking perfectly real (as opposed to doing a drop-shadow in Photoshop).  The only thing is, the background has to be transparent because the website might use different background colors / gradients that make it impossible to match with the exported 3D background.  I made this dummy file (not the real logo... duh!):    If I use the file as is, the grey borders of the image will be impossible to match with the website's background color.  Here what I want:    So obviously, I tried masking the plane, which made the shadows disappear. I tried having a plane set to glass, which didn't work either.  And I looked around for a similar question, but didn't find one.   I am not trying to render , or a . I've seen  which has a very difficult solution to this problem, and  that is very similar but in Blender Internal.  is similar too but has never been solved. I'm only a beginner at Compositor, and I'm trying to learn more any chance I get, so any solution in Compositor is welcome if detailed enough. Although if there's a simpler or faster way, it's welcome too!  .blend file: How do I avoid rendering glitches from overlapping faces? How to prove that $4^m + 5^m$ is divisible by 9 when m is an odd number I am trying to use congruence theorems, specifically Euler's Theorem for a proof. This is a revisit of  that seems to have grown stale without any solid answer. Just recently I was baffled by 's ability to :  In my experience, certain review queues seem to be more inclined to &quot;single-user reviews&quot; (like First Posts and/or Late Answers), while others are more geared to &quot;multi-user reviews&quot; (like Close Votes and/or Suggested Edits). This does not seem to be the case here. The &quot;requirement&quot; for such late, duplicate reviews are questionable and               (         ). Even being able to  (I highly doubt this was an instance of keeping the review window open for more than an hour and only reviewing it post mortem - first post reviews are dealt with far more quickly than most other review queues):   While these examples do not speak to the , it sure seems biased. Something is amiss... Over at  we have a far smaller community, so these situations are far more noticeable.  Edit: The following are all candidates for the above discussion: I'm new to Delphi, and I've been running some tests to see what object variables and stack variables are initialized to by default:  TInstanceVariables = class   fBoolean: boolean; // always starts off as false   fInteger: integer; // always starts off as zero   fObject: TObject; // always starts off as nil end;   This is the behaviour I'm used to from other languages, but I'm wondering if it's safe to rely on it in Delphi?  For example, I'm wondering if it might depend on a compiler setting, or perhaps work differently on different machines.  Is it normal to rely on default initialized values for objects, or do you explicitly set all instance variables in the constructor?  As for stack (procedure-level) variables, my tests are showing that unitialized booleans are true, unitialized integers are 2129993264, and uninialized objects are just invalid pointers (i.e. not nil).  I'm guessing the norm is to always set procedure-level variables before accessing them? Is it possible to take screenshots on the 3DS? In Pokemon X and Y there are specific locations in the game that allows you to save what are essentially 3D screenshots from the upper screen using a virtual camera. This made me wonder - is it possible to take screenshots, 3D or otherwise, from within the 3DS? How to set date format when manually inserting date on excel, without changing regional settings? How long does it take for a black hole to form for an external observer? The well-known fable of an astronaut sending signals out to an external observer while falling toward an event horizon states that the time lapse between such signals becomes greater even if in the astronaut sends them out periodically (as judged in his inertial frame). When viewed from earth and weighing time-dilation due to the gravitational field of the collapsing star, how is it possible that a black hole can form in finite time (for any external observer) if it takes an infinite amount of time to "see" events occurring at the event horizon? I have 2 columns in Excel: the first contains a list of employee names who perform function A, and the second contains a list of employee names who perform function B.  What I want is to identify, in one cell, if there is one employee whose name appears in both the first and second columns. It does not have to show which name(s) appears in both columns, it just needs to identify IF there are any names that appear in both columns. Reproject GeoJSON from EPSG:3857 to EPSG:4326 I am using this  to convert a GeoJSON point from EPSG:3857 to EPSG:4326.   My command fails. What am I doing wrong?   $ echo '{"type":"Point","coordinates":[-13720479.997764934,5688254.733325758]}' | reproject --from=EPSG:3857 --to=EPSG:4326   /usr/local/lib/node_modules/reproject/cli.js:98             throw new Error("Could not find definition for CRS \"" + crsName + "\".");                   ^ Error: Could not find definition for CRS "EPSG:3857".     at lookupCrs (/usr/local/lib/node_modules/reproject/cli.js:98:10)     at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/reproject/cli.js:25:1)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:312:12)     at Function.Module.runMain (module.js:497:10)     at startup (node.js:119:16)     at node.js:901:3 Extract information from a text file Expansion of $(1+px+qx^2)^8\equiv 1+8x+52x^2+kx^3$... $(1+px+qx^2)^8 \equiv  1+8x+52x^2+kx^3...$  Given that expression, calculate the values of p, q, and k.  I'm guessing this is a trinomial that needs to be turned into a binomial, but how would you do it? I have no idea. $a^2b^2+a^2c^2+b^2c^2\leq 3$ Let $a, b, c\geq 0$ s.t.$$(a^2-a+1)(b^2-b+1)(c^2-c+1)=1$$  Show that $ a^2b^2+a^2c^2+b^2c^2\leq 3$.  My idea:  I denote $a+b+c=x$, $ab+bc+ac=y$ and $abc=z$.  Then I have $$x^2+y^2+z^2-xy-xz-yz+2z-y-x=0$$ I have to show that $$y^2-2xz\leq 3$$ I tried to prove it with the sign of trinom, but it doesn't work. Let $H$ be a subgroup of $G$ with $[G:H]=n$ and $G$ finite.  Let $G$ act on left cosets of $H$ by left multiplication.  Let $N$ be the kernel of the action.  Show that $[G:N]$ divides $n!$.  Ok so I have a theorem that says that if $G$ is simple then it embeds into $S_n$.  So if $G$ is simple than I'm done because $G$ divides $n!$ and thus $N$ divides $n!$ and hence $[G:N]$ divides $n!$.  Now I also know that $N$ is the largest normal subgroup of $G$ contained in $H$.  Thus if $G$ isn't simple then it contains some non-trivial normal subgroup $K$ and thus $K\cap H$ is normal in $H$ and by the 2nd Iso Theorem $H/K\cap H\cong KH/H$...    As you can see I'm not sure where to go from here. I was hoping to prove that $K\cap H$ wasn't trivial and thus that $N$ couldn't be trivial since it must contain $K\cap H$, but I'm not sure I can, and even if I could I'm not sure that would help me in showing that $[G:N]$ is small enough to divide $n!$.  Can anyone give some guidance?  Thanks. What is $\sum_{n=1}^{\infty} \frac{n}{2^{\sqrt{n}}}$? The top bar is showing (again) the suggested edits count and 10K flags count, like it was before.  On Stack Overflow it looks like this: (that's the original color, same as in old top bar)        And on this very Meta site:        Same top bar. But different colors! Consistency broken.  I've just noticed the suggested edits count on Meta:        Black on black, I can see just a floating number - really confusing and out of any context.  In the name of Consistency, can we please have the same color on all sites?