|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-19 16:29 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 12:00:01 2025 UTC |
Description: ------------ Having trouble access the COM methods for an object; getting Fatal errors that the method is undefined. Works fine under PHP 5.2.8 on the same machine. Reproduce code: --------------- $filename = 'Test File Name.txt'; $fso = new COM("Scripting.FileSystemObject"); $file = $fso->GetFile($filename); echo $file; Expected result: ---------------- testfi~1.txt Actual result: -------------- Fatal error: Call to undefined method com::GetFile()