If your on linux you can use this shell script to replace all short
tags with full tags

----

# script to replace short php tags <? with long one <?php

for i in `find public_html -type f|grep -e "\.php\|\.inc"`; do echo
$i;
sed "s/<?/<?php/" $i > /tmp/$$
mv -f /tmp/$$ $i
done
# remove accidentally doubled ones
for i in `find public_html -type f|grep -e "\.php\|\.inc"`; do echo
$i;
sed "s/<?phpphp/<?php/" $i > /tmp/$$
mv -f /tmp/$$ $i
done
# change the echo ones
for i in `find public_html -type f|grep -e "\.php\|\.inc"`; do echo
$i;
sed "s/<?php echo /<?php echo /" $i > /tmp/$$
mv -f /tmp/$$ $i
done
---



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to