Jump to content

Parsing # sign.


GB_001

Recommended Posts

Hello,

The number sign does not seem to be showing up after a GET request.

 

I've set up a script for an example:

 

text.php:

<?php
session_start();
mysql_connect("localhost", "*****", "*******************9") or die(mysql_error());
mysql_select_db("*****") or die(mysql_error()); 
function safe($var)
{
$var=mysql_real_escape_string(addslashes(htmlspecialchars($var, ENT_QUOTES, 'UTF-8')));
return $var;
}

$N=safe($_GET['N']);
echo"$N";
?>

 

Say the url is text.php?N=### None of the symbols show up.

 

Thankyou,

GB.

Link to comment
https://forums.phpfreaks.com/topic/218038-parsing-sign/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.