Poi Posted March 30, 2006 Share Posted March 30, 2006 OK, i have a script, that creates 2 files, one is counter.txt and the other index.php, but with the index.php is created it seems to think, when i have a variable that needs to go in the other page, it thinks that its just a normal variable and converts it to whatever that variable equals...For Example!:Register.php(Note this is a simple example:<?phpcreate file="index.php" content="<?php[b]$r="r";echo $r . "Is r!";[/b]?>"?>Index.php:<?php[b]="r";echo . "Is r!";[/b]?>Is there a way to bypass this or something? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 31, 2006 Share Posted March 31, 2006 You have to escape special characters in a double quoted string!so (going on your code..)create file="index.php" content="<?php\$r=\"r\";echo \$r . \"Is r!\";?>" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.