A voir également:
- [PHP] ouvrir un fichier de nom variable
- Comment ouvrir un fichier epub ? - Guide
- Comment ouvrir un fichier bin ? - Guide
- Ouvrir un fichier .dat - Guide
- Comment ouvrir un fichier docx ? - Guide
- Comment ouvrir un fichier 7z - Guide
7 réponses
Merci pour la rapidité de ta réponse Harricote!
Mais ca ne marche tjs pas.
Je te met le bout de script:
**QUI MARCHE**
<?php
$lien= $_GET['lien_test'];
$command = "offline\".$lien."py";
$res = passthru($command);
print $res
?>
**QUI NE MARCHE PAS**
<?php
$lien= $_GET['lien_test'];
$command = "offline\".$lien."py"";
$res = passthru($command);
print $res
?>
Mais ca ne marche tjs pas.
Je te met le bout de script:
**QUI MARCHE**
<?php
$lien= $_GET['lien_test'];
$command = "offline\".$lien."py";
$res = passthru($command);
print $res
?>
**QUI NE MARCHE PAS**
<?php
$lien= $_GET['lien_test'];
$command = "offline\".$lien."py"";
$res = passthru($command);
print $res
?>
Non pardon :
**QUI MARCHE**
<?php
$lien= $_GET['lien_test'];
$command = "offline\lien1.py";
$res = passthru($command);
print $res
?>
**QUI NE MARCHE PAS**
<?php
$lien= $_GET['lien_test']; // vaut lien1
$command = "offline\".$lien."py"";
$res = passthru($command);
print $res
?>
**QUI MARCHE**
<?php
$lien= $_GET['lien_test'];
$command = "offline\lien1.py";
$res = passthru($command);
print $res
?>
**QUI NE MARCHE PAS**
<?php
$lien= $_GET['lien_test']; // vaut lien1
$command = "offline\".$lien."py"";
$res = passthru($command);
print $res
?>
remplace :
par :
Je pense que c'est bon !! ^^ (le guillemet après py" qui était en trop : "py""; !!!!!)
Voilà
**QUI NE MARCHE PAS** <?php $lien= $_GET['lien_test']; // vaut lien1 $command = "offline\".$lien."py""; $res = passthru($command); print $res ?>
par :
**QUI NE MARCHE PAS** <?php $lien= $_GET['lien_test']; // vaut lien1 $command = "offline\".$lien."py"; $res = passthru($command); print $res; ?>
Je pense que c'est bon !! ^^ (le guillemet après py" qui était en trop : "py""; !!!!!)
Voilà
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question