Page 1 of 1

Encoding PHP Line

Posted: Sat Jun 23, 2007 9:59 am
by tecktalkcm0391
Is there anyway to take something like

Code: Select all

echo "This line";
and encode it to 3jd8j28fs9jdfauj238fasf but have PHP decode it later and run the echo "This line"?

Posted: Sat Jun 23, 2007 10:07 am
by The Phoenix

Posted: Sat Jun 23, 2007 4:29 pm
by maliskoleather
dont know exactly how or what you want it encoded to, but base64_encode(); might work.