summaryrefslogtreecommitdiffstats
path: root/encoding.php
diff options
context:
space:
mode:
Diffstat (limited to 'encoding.php')
-rw-r--r--encoding.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/encoding.php b/encoding.php
new file mode 100644
index 0000000..36ae6f8
--- /dev/null
+++ b/encoding.php
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Hacker's Corner</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<h2>In Soviet Russia the university fails you!</h2>
+<p>
+<?php
+ $url_page = '~sandbox/request.php';
+ $param = "pc.jpg";
+ $text = 'launch me! #$$#Y$T&@ <fool>'; /* I think you want single quotes here */
+
+ $url = "http://kkaminsk.com/";
+ $url .= rawurlencode($url_page);
+ $url .= "?id=" . urlencode($param);
+?>
+For some reason this didn't work for me at the time, Apache?<br />
+<a href="<?php echo htmlspecialchars($url); ?>">
+<?php echo htmlspecialchars($text); ?></a>
+</p>
+</body>
+</html>
+