| |||||
| Bas de page | |
|---|---|
| Auteur | Sujet : Readdir sans expansion |
Publicité | Posté le 18-03-2005 à 10:18:17 ![]() ![]() |
skeye | Si tu ne vois pas l'erreur je comprends pas comment tu as pu pondre ce code...
--------------- Can't buy what I want because it's free - |
TheBosy | Je ne vois pas l'erreur, mais le but est d'avoir le nom des fichiers, sans leur extensions.
|
Snoopy71 | Salut,
|
skeye | ok, j'avais pas tout lu, c'est donc pire que je pensais... --------------- Can't buy what I want because it's free - |
TheBosy | C'est clair que mon systeme ne marchera pas si je nome mon fichier avec plusieurs . style class.print.php comme tu l'a dis.
et depuis mon autre page j'ai:
|
Xav_ The only one... | comme te l'a dis skeye, regarde dans la doc PHP les fonctions sur les fichiers (file), ya normalement moyen d'extraire le nom d'un fichier sans l'extension à partir du nom complet...
--------------- - Xav - ...There are no crimes when there are no laws... -- Xav's World |
Taiche (╯°□°)╯︵ ┻━┻ | Sinon, plutôt que de se faire chier avec while et readdir, y a scandir qui est un peu magnifique. --------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
Xav_ The only one... | la fonction en elle-meme semble en effet pas mal mais:
--------------- - Xav - ...There are no crimes when there are no laws... -- Xav's World |
Taiche (╯°□°)╯︵ ┻━┻ | J'espère pour toi que tu fais pas de while pour lire un tableau --------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
Publicité | Posté le 18-03-2005 à 11:41:59 ![]() ![]() |
Xav_ The only one... | j'ai pas dit que c'était pas bien (à croire que je m'exprime mal), mais que c'est pas compatible avec la plupart des versions de PHP encore en activité...
Message édité par Xav_ le 18-03-2005 à 12:04:21 --------------- - Xav - ...There are no crimes when there are no laws... -- Xav's World |
Xav_ The only one... | et au fait, oui j'utilise un echo en boucle pour afficher un tableau plutot qu'un print_r...
--------------- - Xav - ...There are no crimes when there are no laws... -- Xav's World |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
KangOl Profil : pointeur | pour récupérer le nom sans l'extension
--------------- Nos estans firs di nosse pitite patreye... |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
KangOl Profil : pointeur | ca fonctionne la soustraction de string ?? --------------- Nos estans firs di nosse pitite patreye... |
skeye |
--------------- Can't buy what I want because it's free - |
KangOl Profil : pointeur | bha non !
--------------- Nos estans firs di nosse pitite patreye... |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
skeye |
--------------- Can't buy what I want because it's free - |
Profil supprimé | Posté le 18-03-2005 à 14:33:15 ![]()
|
skeye |
--------------- Can't buy what I want because it's free - |
KangOl Profil : pointeur | sauf que moi ce marche (presque) a tout les coup (si le nom de fichier ne contient pas de points, il retourne une chaine vide)
--------------- Nos estans firs di nosse pitite patreye... |
Xav_ The only one... | l'équation que j'ai mis c'était le raisonnement
et qui revient poster dans le 1/4 d'heure pour dire que ça marche pas...
Message édité par Xav_ le 18-03-2005 à 14:35:20 --------------- - Xav - ...There are no crimes when there are no laws... -- Xav's World |
Profil supprimé | Posté le 18-03-2005 à 14:36:05 ![]() |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
skeye |
--------------- Can't buy what I want because it's free - |
KangOl Profil : pointeur | bon bha comment veux tu faire ? --------------- Nos estans firs di nosse pitite patreye... |
FREDDYONE Compliquez moi ? | bonjour Message édité par FREDDYONE le 16-04-2005 à 16:44:28 |
Publicité | Posté le ![]() ![]() |
| Sujets relatifs | |
|---|---|
| recherche algo pour expansion d'une structure. | [C]readdir renvoi pas la bonne valeur |
| [PHP] opendir () / readdir () ---> ca rajoute des "..." | |
| Plus de sujets relatifs à : Readdir sans expansion | |






