Bendude14 Posted June 16, 2008 Author Share Posted June 16, 2008 exactly that.. does it matter that i am including the parsing code into the index.php page? Quote Link to comment Share on other sites More sharing options...
.josh Posted June 16, 2008 Share Posted June 16, 2008 no...well, yeah..you can see what happens when you do. Index.php already echoes out the information but when you add the parsing code calling itself, you get "feedback." If I'm understanding your setup right..just use the one file index.php. Whatever you do in it to echo out the actual content, instead of that, save all output to $content variable first, run the parse script on it, and THEN echo $content. Quote Link to comment Share on other sites More sharing options...
.josh Posted June 16, 2008 Share Posted June 16, 2008 eh..nono don't think that will work. Think you will still get feedback. LoL wow that's a mind warp. I suppose what you're doing is okay. Quote Link to comment Share on other sites More sharing options...
Bendude14 Posted June 16, 2008 Author Share Posted June 16, 2008 No it dont i have already tried that. Should i make the topic unsolved again see if anyone else has a suggestion or just stick with what im doing? It works but i wouldn't like to think it was not secure or badly coded. Also im using the code with the three different loops as the shorthand version gave me an error with the regular expressions. Thanks for all the help its much appreciated. I have only just started learning php but will try to contribute as much as possible if i can help anyone else in the future. 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.