cucumber Posted August 19, 2009 Report Share Posted August 19, 2009 (edited) Ir fragments <?php echo exec("CLAmp.exe /START"); // kam pec butibas vajadzetu atvert winamp, bet ja vinsh jau ir vala, tad tiek pazinots par to pazinojums, no ta es spriezu ka pats exe fails iet echo exec("CLAmp.exe /NEXT"); //parsledz uz nakamo dziesmu ?> , bet "CLAmp.exe /NEXT" nedarbojas, meginaju caur bat failu ari nekas "START /min CLAmp.exe /NEXT" ieksh bat faila ps. php fails un exe fails atrodas abi viena mape http://membres.lycos.fr/clamp/ clampu var atrast sheit Atrisinaju kludu, lai command rinda stradatu tad vajag, ari laist winampu caur to, vinsh nekur neparadas tikas pielkas pie procesiem. Edited August 19, 2009 by cucumber Quote Link to comment Share on other sites More sharing options...
waplet Posted August 19, 2009 Report Share Posted August 19, 2009 ķipa laist vinampu nozīmē... <?php echo exec("C:/winamp/winamp.exe"); //palaizham winampu? echo exec("CLAmp.exe /START"); // kam pec butibas vajadzetu atvert winamp, bet ja vinsh jau ir vala, tad tiek pazinots par to pazinojums, no ta es spriezu ka pats exe fails iet echo exec("CLAmp.exe /NEXT"); //parsledz uz nakamo dziesmu ?> Quote Link to comment Share on other sites More sharing options...
cucumber Posted August 20, 2009 Author Report Share Posted August 20, 2009 CLAmp.exe /START ar sho komandu, winamps jau tiek ieslegts, tikai vinsh ir procesos bez jebkada gui. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.