ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#39773 [Opn->Bgs]: WinAPI - shell_exec() - FindWindowA
by pajoye other posts by this author
May 12 2008 3:02AM messages near this date
#39773 [Bgs]: WinAPI - shell_exec() - FindWindowA | [PHP-DEV] CVS Account Request: joonas
ID:               39773
 Updated by:       pajoye@[...].net
 Reported By:      sobieh at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Windows 2003 Server
 PHP Version:      5.2.0
 New Comment:

See pecl.php.net for any w32api bugs or requests, given that is not
maintained anymore, do not expect too much.


Previous Comments:
------------------------------------------------------------------------

[2006-12-09 23:05:42] sobieh at gmail dot com

I created own php extension with that function and other WinApi
(because you removed w32api) so i don't need that EXE anymore.

anyway try to fix that bug.

------------------------------------------------------------------------

[2006-12-08 18:42:57] sobieh at gmail dot com

You can download FindNotepad.exe here :
http://www.sendspace.com/file/3g0lrf

Usage :
Run Notepad.exe and then :

<?
  echo shell_exec ('FindNotepad.exe');
?> 

FindNotepad.exe returns :
if found - FOUND Notepad Window - HWND [HWND]
if not - CANNOT FIND Notepad Window

as String in Console window then Terminates.

------------------------------------------------------------------------

[2006-12-08 18:26:05] tony2001@[...].net

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 the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------

[2006-12-08 18:12:52] sobieh at gmail dot com

omg dont treat me like an idiot please

Apache2 Service in using Root Administrator account.
everything is using this account because its the ONLY ACCOUNT on this
PC.

i checked it twice.
Apache is is using Administrator account.
and its RUNNING on this Account.

how many times i can tell that PHP 5.1.0 and ANY other version of PHP
can run that script without any problem and ONLY PHP 5.2.0 CAN'T.
as Apache Module - CAN'T
as CGI - CAN'T

------------------------------------------------------------------------

[2006-12-08 18:03:20] tony2001@[...].net

YOU are using Administrator account, but your Apache does not.

------------------------------------------------------------------------

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
    http://bugs.php.net/39773

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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved