GS_ Posted October 18, 2006 Report Share Posted October 18, 2006 $name1 = "dsad"; $name2 = "dfgfd"; exec ('START proga -i name1.ext -ac 1 -ab 12 -ar 8000 name2.ext'); Man vajag lai butu exec ('START proga -i $name1.ext -ac 1 -ab 12 -ar 8000 $name2.ext'); Izmeginaju visadi bet proga tos $name1 un $name2 nenem taa ka vajadzetu, erroru apskatit nav iespejams tapec nezinu ka un ko vins tur ievieto. Ka pareizi vinus tur ievietot ? :roll: Link to comment Share on other sites More sharing options...
andrisp Posted October 18, 2006 Report Share Posted October 18, 2006 Iekš vienpēdiņām nekas netiek pārsēts. Izmanto dubultpēdiņas, vai vēl labāk - raksti šādi: exec ('START proga -i '.$name1.'.ext -ac 1 -ab 12 -ar 8000 '.$name2.'.ext'); Link to comment Share on other sites More sharing options...
GS_ Posted October 18, 2006 Author Report Share Posted October 18, 2006 Paldies ! :) Link to comment Share on other sites More sharing options...
Recommended Posts