#33494 [Opn-Fbk]: base64_encode

2005-06-27 Thread tony2001
 ID:   33494
 Updated by:   [EMAIL PROTECTED]
 Reported By:  adax2000 at tlen dot pl
-Status:   Open
+Status:   Feedback
 Bug Type: *Mail Related
 Operating System: linux
 PHP Version:  4.3.11
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ?php and ends with ?,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.




Previous Comments:


[2005-06-27 20:20:55] adax2000 at tlen dot pl

Description:

the problem was descibed year ago in #26742 but there's no answer.

i supouse there's bug in function base64_encode 
or in file_get_contents, due to this i cannot send mail with
attachments. is it possible that i have some error in configuration
witch make this

Reproduce code:
---
echo base64_encode(file_get_contents(rys1.gif));


Expected result:

R0lGODdhZABGAPcAAP...
I get this in version 4.3.6

Actual result:
--
R0lGODdhZFwwRlww91wwXDBcMFwwXDD/...





-- 
Edit this bug report at http://bugs.php.net/?id=33494edit=1


#33494 [Opn-Fbk]: base64_encode

2005-06-27 Thread tony2001
 ID:   33494
 Updated by:   [EMAIL PROTECTED]
 Reported By:  adax2000 at tlen dot pl
-Status:   Open
+Status:   Feedback
-Bug Type: *Mail Related
+Bug Type: Strings related
 Operating System: linux
 PHP Version:  4.3.11
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I can't reproduce it neither with 4.4-dev, nor with 5.1-dev.


Previous Comments:


[2005-06-27 20:27:55] adax2000 at tlen dot pl

?php
echo
base64_encode(file_get_contents(http://lifewise.ecreative.pl/user_files/rys1.gif;));
?



[2005-06-27 20:24:12] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with ?php and ends with ?,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.





[2005-06-27 20:20:55] adax2000 at tlen dot pl

Description:

the problem was descibed year ago in #26742 but there's no answer.

i supouse there's bug in function base64_encode 
or in file_get_contents, due to this i cannot send mail with
attachments. is it possible that i have some error in configuration
witch make this

Reproduce code:
---
echo base64_encode(file_get_contents(rys1.gif));


Expected result:

R0lGODdhZABGAPcAAP...
I get this in version 4.3.6

Actual result:
--
R0lGODdhZFwwRlww91wwXDBcMFwwXDD/...





-- 
Edit this bug report at http://bugs.php.net/?id=33494edit=1