tjjuggle Posted June 5, 2003 Share Posted June 5, 2003 I just got a TCH site. I have a lot of code written which uses the <% %> style. Why isn't it being recognized as php? Am I going to have to turn it all into the other format (with the < and ? symbols)? Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted June 5, 2003 Share Posted June 5, 2003 The short answer is yes, you will need to change it to "php" or "?" If you are using windows try downloading 12 ghost search & replace from http://www.supergee.com/ghosts/replace.htm it's shareware and will enable you to search and replace through all your files. Andy Quote Link to comment Share on other sites More sharing options...
tjjuggle Posted June 5, 2003 Author Share Posted June 5, 2003 I greped and emacs'd my way through it.... things are mostly working now, thanks! Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted June 5, 2003 Share Posted June 5, 2003 Hi, You can use notepads replace feature, very handy! Jim Quote Link to comment Share on other sites More sharing options...
dozure Posted June 8, 2003 Share Posted June 8, 2003 the ASP style PHP start and end tags <% and %> only work if PHP was compiled with the ASP style tags turned on. Apparantly tch didnt turn it on. I always use <?php and ?> because that is always gauranteed to work no matter what server my code gets put on. 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.