Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PHP] function system() manquante (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sun Jun 03, 2007 7:25 pm    Post subject: [PHP] function system() manquante (résolu) Reply with quote

Hi @ all,

j'ai un petit soucis avec mon install php je n'ai visiblement pas la fonction system() de dispo et j'avoue ne pas trop savoir quel use flag ou quoi faire pour la rendre disponible.

voici quelques infos :


Code:
[ebuild   R   ] dev-lang/php-5.2.2-r1  USE="apache2 berkdb bzip2 cgi cli crypt ctype fastbuild ftp gd gdbm iconv mysql mysqli ncurses nls pcre posix readline reflection session spl ssl truetype unicode xml zip zlib"


Voila la version de php avec les uses activés.


Last edited by lejim on Mon Jun 04, 2007 4:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Sun Jun 03, 2007 8:33 pm    Post subject: Reply with quote

Es tu sur qu'lle ne soit pas présente ??

Peut être est elle limitée au dossier courant ...
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Sun Jun 03, 2007 9:51 pm    Post subject: Reply with quote

J'ai oublié un bout...

Code:
Parse error: syntax error, unexpected T_STRING in /var/www/localhost/htdocs/postfixadmin/admin/delete.php on line 110


et voici le bout de code incriminé

Code:
$userarray=explode("@",$fDelete);
$user=$userarray[0];
$domain=$userarray[1];
system("sudo /usr/sbin/maildirdel.sh ".$domain.” “.$user);
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sun Jun 03, 2007 10:14 pm    Post subject: Reply with quote

T'as plutôt un problème de quotes je dirais ...
Back to top
View user's profile Send private message
Poch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2006
Posts: 105
Location: Namur, Belgique

PostPosted: Mon Jun 04, 2007 6:46 am    Post subject: Reply with quote

lejim wrote:
J'ai oublié un bout...

Code:
Parse error: syntax error, unexpected T_STRING in /var/www/localhost/htdocs/postfixadmin/admin/delete.php on line 110




geekounet + 1
Le "syntax error" est plutôt explicite, le problème vient probablement de tes quotes...
_________________
Microsoft is not the answer. Microsoft is the question. NO, is the answer.
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Mon Jun 04, 2007 7:25 am    Post subject: Reply with quote

que donne un simple ls > test en fonction system ?
Back to top
View user's profile Send private message
lejim
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2007
Posts: 106
Location: France / Chilly Mazarin

PostPosted: Mon Jun 04, 2007 4:05 pm    Post subject: Reply with quote

Effectivment un petit soucis de guillemets... qui revele un autre petit soucis d'encodage... m'enfin c'est résolu
Merci :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum