Forum Moderators: coopster
Unexpected T_STRING on line 23. The code is as following:
if(isset($_POST['posted']) && $_POST['posted'] == 1)
{
if (file_exists($filename)) {
$fhandle = fopen($filename,"wb");
$str ="<?php
".chr(36)."gamename = \"".trim(stripslashes($_POST['gamename']))."\";\n
".chr(36)."loginname = \"".trim(stripslashes($_POST['loginname']))."\";\n
".chr(36)."dbname = \"".trim(stripslashes($_POST['dbname']))."\";\n
".chr(36)."dbpassword = \"".trim(stripslashes($_POST['dbpassword']))."\";\n
I didn't find any error
Please help me. Thanks in advance