IT Community - Software Programming, Web Development and Technical Support

Difference between convert_uudecode & convert_uuencode?

This is a discussion on Difference between convert_uudecode & convert_uuencode? within the PHP Programming forums, part of the Web Development category; Can anyone tell me the main difference between the two functions convert_uudecode and convert_uuencode?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-06-2007, 09:45 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Difference between convert_uudecode & convert_uuencode?

Can anyone tell me the main difference between the two functions convert_uudecode and convert_uuencode?
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-06-2007, 10:08 PM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Cool Re: Difference between convert_uudecode & convert_uuencode?

convert_uuencode

convert_uuencode() encodes a string using the uuencode algorithm.

Uuencode translates all strings (including binary's ones) into printable characters, making them safe for network transmissions. Uuencoded data is about 35% larger than the original

convert_uudecode

convert_uudecode() decodes a uuencoded string
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-06-2007, 10:09 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Re: Difference between convert_uudecode & convert_uuencode?

Can you suggest me an example?
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-06-2007, 10:26 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile Re: Difference between convert_uudecode & convert_uuencode?

Example#1 convert_uuencode() example

Quote:
<?php
$some_string = "test\ntext text\r\n";
echo convert_uuencode($some_string);
?>
Example#1 convert_uudecode() example

Quote:
<?php
echo convert_uudecode("+22!L;W9E(%!(4\"$`\n`");
?>
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:42 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0