[PHP-BUG] Req #65767 [NEW]: Invalid quoted-printable sequence

2013-09-26 Thread info at djdb dot be
From: info at djdb dot be
Operating system: win7
PHP version:  5.5.4
Package:  *Mail Related
Bug Type: Feature/Change Request
Bug description:Invalid quoted-printable sequence

Description:

---
>From manual page: http://www.php.net/function.imap-qprint
---
Unknown: Invalid quoted-printable sequence:
="_=_swift_v4_136992480651a764c653d74_=_"
--_=_swift_v4_136992480651a764c653 (errflg=3) in Unknown on line 0

Test script:
---
confediral script can not post

read noreplay from mail sended by swift

Expected result:

I think it has with cote that they use so by norepy wil the message as send
comes as plain back so its can maybe also encoding. but i only let you now
it that if you want you can do something .


-- 
Edit bug report at https://bugs.php.net/bug.php?id=65767&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65767&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65767&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=65767&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=65767&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=65767&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65767&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=65767&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=65767&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=65767&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=65767&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=65767&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=65767&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=65767&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65767&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=65767&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=65767&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=65767&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65767&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65767&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65767&r=mysqlcfg



[PHP-BUG] Bug #65404 [NEW]: OO with screen of death

2013-08-06 Thread info at djdb dot be
From: info at djdb dot be
Operating system: win (irrelevant)
PHP version:  Irrelevant
Package:  Output Control
Bug Type: Bug
Bug description:OO with screen of death

Description:

file--1
$myobject = new object1();
class object1{
...
}
file--2
$myobject = new object2();
include(file--1)
class object2{
...
}

so the name of variable of instanties arr the same but no error message is
write
so i was many time watching wat there was wrong (the file was to big to
place them here)


Test script:
---
file--1
$myobject = new object1();
class object1{
...
}
file--2
$myobject = new object2();
include(file--1)
class object2{
...
}



-- 
Edit bug report at https://bugs.php.net/bug.php?id=65404&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65404&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65404&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=65404&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=65404&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=65404&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65404&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=65404&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=65404&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=65404&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=65404&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=65404&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=65404&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=65404&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65404&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=65404&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=65404&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=65404&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65404&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65404&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65404&r=mysqlcfg



Req #36696 [Com]: __destruct() is called before serialize() when object stored in session

2013-08-02 Thread info at djdb dot be
Edit report at https://bugs.php.net/bug.php?id=36696&edit=1

 ID: 36696
 Comment by: info at djdb dot be
 Reported by:iain at iaindooley dot com
 Summary:__destruct() is called before serialize() when
 object stored in session
 Status: Assigned
 Type:   Feature/Change Request
 Package:Scripting Engine problem
 Operating System:   *
 PHP Version:*
 Assigned To:sas
 Block user comment: N
 Private report: N

 New Comment:

/**
 * @param mixed $user
 * @return void
 */
function setsessionuser($user){
$_SESSION['user']=serialize($user);
}
/**
 * getsessionuser()
 * @return object User
 */ 
function getsessionuser(){
return(isset($_SESSION['user']))?unserialize($_SESSION['user']):null;
}
class User extends User_data{
test and remake


Previous Comments:

[2013-06-27 22:20:01] yohg...@php.net

There is exact dup bug report, but I cannot find.
Workaround is call before session_write_close() before shutdown, but __destruct 
should be the last magicmethod to be called, isn't it?


[2008-06-26 09:38:09] margus dot sipria at gmail dot com

duplicate with a bug http://bugs.php.net/bug.php?id=33772


[2006-03-23 00:27:58] iain at iaindooley dot com

in a garbage collection system, the destructor shouldn't be called on an object 
until the last reference to it is destroyed. if i do:

$_SESSION['var'] = new Var();

then a reference to that object that was created should be stored in the 
$_SESSION array, and __destruct() should not be called until the $_SESSION 
array is destoryed. so clearly the session array must be being destroyed before 
the objects within it are serialized, which isn't right.


[2006-03-22 18:13:41] il...@php.net

There is nothing wrong with the order here. Temp var gets destroyed as soon as 
it is created, while session serialization happens at the end of the script.


[2006-03-21 23:34:59] iain at iaindooley dot com

i would say that the fact the order of operations changes for a temp var or an 
assigned var is a bug.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=36696


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=36696&edit=1


[PHP-BUG] Bug #64487 [NEW]: error move files

2013-03-22 Thread info at djdb dot be
From: info at djdb dot be
Operating system: Linux
PHP version:  Irrelevant
Package:  Filesystem function related
Bug Type: Bug
Bug description:error move files

Description:

When you move  a file like code

public function Movetobackup($file){
rename($this->HOME.$this->download.$file,
$this->HOME.$this->backup.$file);//TODO BEFORE UPLOAD UNCOMMENT
if($this->debug){print "!!! $file moved!!!";} 
//touch($dest, filemtime($src));//reset of the time of a file 
}
then wil i lost te file when php has not access to the dest dir.
so i think it is a important issiue

Test script:
---
class classe1  {
 private $dir = "";
 public function Movetobackup($file,$dir){
rename($this->dir.$file, $dir.$file);//TODO BEFORE UPLOAD
UNCOMMENT
if($this->debug){print "!!! $file moved!!!";} 
//touch($dest, filemtime($src));//reset of the time of a file 
 }
}

$test = new classe1();
$test->move("myfile.txt","/newdir");

Expected result:

 

Actual result:
--
 

-- 
Edit bug report at https://bugs.php.net/bug.php?id=64487&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64487&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64487&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=64487&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=64487&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=64487&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64487&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=64487&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=64487&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=64487&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=64487&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64487&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64487&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=64487&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64487&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=64487&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=64487&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=64487&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64487&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64487&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64487&r=mysqlcfg



[PHP-BUG] Req #63267 [NEW]: msgnr

2012-10-12 Thread info at djdb dot be
From: info at djdb dot be
Operating system: all
PHP version:  Irrelevant
Package:  *Mail Related
Bug Type: Feature/Change Request
Bug description:msgnr

Description:

what you must to now is if you works on a email and there is a delete on
the preview mail then is there a logical error.
if you get mail by 
[message_id] =>
<000901cda78f$2aadd650$800982f0$@ecopharma.com>
you are correctly

Test script:
---
irelevant


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63267&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63267&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63267&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=63267&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=63267&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=63267&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63267&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=63267&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=63267&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=63267&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=63267&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=63267&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=63267&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=63267&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63267&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=63267&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=63267&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=63267&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63267&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63267&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63267&r=mysqlcfg