Encoding PHP Line

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Encoding PHP Line

Post 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"?
User avatar
The Phoenix
Forum Contributor
Posts: 294
Joined: Fri Oct 06, 2006 8:12 pm

Post by The Phoenix »

User avatar
maliskoleather
Forum Contributor
Posts: 155
Joined: Tue May 15, 2007 2:19 am
Contact:

Post by maliskoleather »

dont know exactly how or what you want it encoded to, but base64_encode(); might work.
Post Reply