I ofc allready searched but can't find anything that works, even htmlentities is't working:  index.php:  &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;/head&gt;  &lt;form action="upload.php" method="post" enctype="multipart/form-data" accept-charset="UTF-8"&gt; titel: &lt;input style="width: 300px; margin-left: 104px;" type="text" name="titel"&gt; &lt;input type="submit" value="UPLOAD"&gt; &lt;/form&gt;   and upload.php:  &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;/head&gt;   &lt;?php if(isset($_POST['titel'])) {     $con = mysqli_connect("localhost","trhdrth","fhrth","trhdrth");      $titel = mysqli_real_escape_string($con, $_POST['titel']);      mysqli_query($con, "INSERT INTO artikel (titel)     VALUES ('" . $titel . "')"); } ?&gt;   When titel is blablabla then everything i working but when it's смешные then it' not working  How to do it right?
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
How does one write on the outside of a circle?  I am looking for sample files/packages which imitate a magazine lay-out. Specifically a page with two columns having a circular picture between the two columns.    Example of the desired layout, created using Word: Subset of $C[0,1]$ is nowhere dense Continuous function from $(0, 1]$ onto $(0, 1)$? Not able to add 3 JPanels to a main panel Storing output of command in shell variable I have two tables in my database:  NEWS table with columns:   id - the news id  user - the user id of the author)   USERS table with columns:   id - the user id   I want to execute this SQL:   SELECT * FROM news JOIN users ON news.user = user.id    When I get the results in PHP I would like to get associative array and get column names by $row['column-name']. How do I get the news ID and the user ID, having the same column name? As I found solutions on making site-to-site VPN between Azure and AWS using a software VPN server, I'm asking myself if it's possible to connect the VPN gateways (Azure VNET / AWS VPC) directly.  Is there a limitation that forbids it ? How can I generate valid XML in C#? 32-bit vs. 64-bit systems What are the differences between 32-bit and 64-bit systems?  If you have used both of them, what kind of sharp differences have you experienced?   Would it be a problem to use 32-bit programs on 64-bit systems in some cases? outline object effect How can I achieve an outline effect similar to the ones found in League of Legends or Diablo III?      Is it done using a shader? How? I would prefer answers that are not tied up to any particular engine but one that I can adapt to whatever engine I'm working on. Local BLAST Copy Number per Hit I generated a series of local BLAST databases using makeblastdb of metagenomic data and am searching for the presence of a particular gene. While I can do the normal BLAST analysis looking at e-values, % identity, etc. I haven't been able to figure out how to determine how many times a given sequence exists in the database.  So: given a BLAST database of metagenomic data where a particular gene may exist multiple times, how do I determine the copy number of a given BLAST hit?  Thanks in advance. general solution sum of two uniform random variables aY+bX=Z? is there a general solution to that? I have seen simple examples for Y+X=Z but I was wondering how this would be with rescaling? Convergence of $1-\frac12-\frac13+\frac14+\frac15+\frac16-....$ Show that $a^{q-1} \equiv 1 \pmod{pq}$ Assume that $p$ and $q$ are distinct add primes such that $p-1\mid q-1$. If $\gcd(a,pq)=1$ ,show that: $$a^{q-1} \equiv 1 \pmod{pq}$$   I have tried as follows: $$a^{q-1} \equiv 1 \pmod{q} \quad \text{and} \quad a^{p-1} \equiv 1 \pmod{p}$$ $$\implies a^{(q-1)(p-1)} \equiv 1 \pmod{q} \quad \text{and} \quad a^{(q-1)(p-1)} \equiv 1 \pmod{p}$$ $$\implies a^{(q-1)(p-1)} \equiv 1 \pmod{pq}$$ But then I am stuck - please help. A book suggests that we should not interchange "so" and "so that". "So" means "therefore", and "so that" means "in order that". However, it seems to me that in many cases they don't actually have a difference. For example:     Alice got up at 5:00 A.M., so that she could drive her son to school.   If I substitute "so that" with "so", this sentence presents the exact same causal relation to me:     Alice got up at 5:00 A.M., so she could drive her son to school.   I must have missed something here, since English is my second language. Could somebody explain the difference? I am running linear regression models and wondering what the conditions are for removing the intercept term.   In comparing results from two different regressions where one has the intercept and the other does not, I notice that the $R^2$ of the function without the intercept is much higher. Are there certain conditions or assumptions I should be following to make sure the removal of the intercept term is valid? How do you clear a stringstream variable? A book about explorers stranded on a planet with two computers I have been looking for a book that I read in the 80's but it's probably older. It was about a spaceship from Earth in a very long mission to discover life? I don't remember, but they had been far too long in space without any results, so the crew was on the verge of mutiny.  They land on a planet, home of two super-computers called...? Alpha? Beta? One seemed more advanced than the other, the planet was void of any other life, and supposedly it was forseen that the planet would be struck by a comet, and the computers see the ship as a way to save or abandon the planet before the impact.  At some point one member of the crew is captured by the computers, and it's vivisected in an attempt to get data about humans. Then they "reassemble" the crew member before returning it to the ship, hoping that the humans could "reactivate it" since the computers were unable to do so. Which of course enrages the ship's crew.  The ship was unable to take off for reason that I don't remember and they must fight the computers to save themselves.  Does anyone know what this is?  Thanks, as soon as I read the names, they did ring a bell on my memory. The case it's closed then. Are PPAs safe to add to my system and what are some "red flags" to watch out for? Is my paper under review (or similar) for too long and if yes, how should I react?