Jump to content
php.lv forumi

Neiet exe fails


cucumber

Recommended Posts

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 by cucumber
Link to comment
Share on other sites

ķ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
?>

Link to comment
Share on other sites

CLAmp.exe /START ar sho komandu, winamps jau tiek ieslegts, tikai vinsh ir procesos bez jebkada gui.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...