Search the Community
Showing results for tags '403 error'.
-
so I have been making a php chat service, and when i use this code: Welcome <?php echo $_COOKIE["username"]; ?><br> chatroom: <?php echo $_COOKIE["chatroom"]; ?> <?php $phpfile=$_COOKIE["chatroom"]; $chpage = $phpfile .".php"; $chtext = $phpfile .".txt"; $filename = $_COOKIE["chatroom"] . ".txt"; $myfile = fopen($filename, "r") or die("Unable to open file!"); fopen($myfile); fclose($myfile); include $chtxt; ?> <form action="post.php" method="post"> message: <input type="text" name="msg"><br> <input type="submit"> </form> I get a 403 error. I does anyone know that is wrong with the code? there are more files that set the cookies but they work fine. I can't find anything wrong. please help.
-
Hi: I'm not a php programmer but I'm slowly learning out of necessity. I am sending several parameters to my index.php and everything works well until I try to send a URL. Then I get a 403 error. I am on Hostgator and their support wasn't helpful because the guy I chatted with didn't know php. Here is an example of the URL that I am using... http://00001.example.info/index.php?Property_Address=exampleaddress&Mobile_Listing_URL=http://www.exampleurl.com/ Hopefully there is a simple solution. Thanks in advance. Anne