| |||||
| Auteur | Sujet : blabla@web |
|---|---|
Publicité | Posté le 02-02-2008 à 13:24:00 ![]() ![]() |
Dj YeLL $question = $to_be || !$to_be; | Y'a un endroit pour savoir quelles sont les valeurs $_SERVER[...] qui ont la même forme sur n'importe quel serveur ? Parce qu'entre celles qui sont créées ou non suivant le serveur, ou celle qui n'ont pas la même forme, c'est pas évident de s'y retrouver. Par exemple, pour l'URL : http://www.monsite.com/monsite/index.php/foo/bar/ Sur un serveur j'ai, entre autres, ça :
Et sur l'autre ça :
Donc on voit par exemple que PATH_INFO n'est pas toujours défini et que SCRIPT_NAME n'a pas toujours la même forme, etc. Donc j'aimerai bien savoir sur quelle valeur sûre je peux me baser pour faire quelques traitements, et étant sûr que la valeur sera présente sur tous les serveurs (et sera de la même forme) REQUEST_URI ? PHP_SELF ?
Message cité 1 fois Message édité par Dj YeLL le 02-02-2008 à 13:59:08 |
KangOl Profil : pointeur | ca depends pas de la version de php ? |
theredled ● REC |
Message édité par theredled le 02-02-2008 à 15:05:09 --------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
koskoz They see me trollin they hatin | Bon, je crois que vous allez hurler quand vous verrez ce qui suit, j'avoue que moi aussi ça ne me plait pas trop
--------------- |
bixibu Ca ... c'est fait! | majuscule au 2eme selected ? |
Publicité | Posté le 02-02-2008 à 19:23:02 ![]() ![]() |
koskoz They see me trollin they hatin |
flo850 moi je | et quelque chose comme ca
--------------- |
bixibu Ca ... c'est fait! |
|
Dj YeLL $question = $to_be || !$to_be; | Ça serait quand même plus propre, et plus clair avec printf :
|
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
koskoz They see me trollin they hatin |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
koskoz They see me trollin they hatin |
--------------- |
flo850 moi je |
--------------- |
koskoz They see me trollin they hatin |
--------------- |
flo850 moi je | c'etait une feinte edit : faut quand meme remettre selected =slected au lieu de juste selected Message cité 1 fois Message édité par flo850 le 02-02-2008 à 21:23:46 --------------- |
koskoz They see me trollin they hatin |
--------------- |
The-Shadow T'as été voir dans ton profil? |
Message édité par The-Shadow le 02-02-2008 à 23:42:56 |
0x90 → |
--------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
nraynaud lol |
Message édité par nraynaud le 03-02-2008 à 01:12:00 --------------- trainoo.com, c'est fini |
KangOl Profil : pointeur |
|
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
theredled ● REC |
--------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
omega2 |
En gros, la solution, c'est de sauvegarder le fichier avec l'extension qui correspond au type et non pas celle indiqué par le navigateur du client (info non fiable)
|
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Profil supprimé | Posté le 04-02-2008 à 11:13:42 ![]() Le contenu de ce message a été effacé par son auteur |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Profil supprimé | Posté le 04-02-2008 à 11:27:16 ![]() Le contenu de ce message a été effacé par son auteur |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Profil supprimé | Posté le 04-02-2008 à 11:38:12 ![]() Le contenu de ce message a été effacé par son auteur |
Profil supprimé | Posté le 04-02-2008 à 11:45:51 ![]() Le contenu de ce message a été effacé par son auteur |
skeye | Bon, c'est quoi l'astuce pour faire marcher un border-spacing sous IE? --------------- Can't buy what I want because it's free - |
flo850 moi je |
skeye |
--------------- Can't buy what I want because it's free - |
Publicité | Posté le ![]() ![]() |

| Sujets relatifs | |
|---|---|
| blabla 3 | blabla 2 |
| PUTAIN HARKO TU AS FERM2 BLABLA ! | [Beaucoup de blabla pour rien : post à effacer] Compiler .bat |
| variable1="blabla + variable2 +blala : c'est possible ?? | [PHP & regex] "blabla blabla file.ext?point=444 blabla" Recupérer 444 |
| mail("celine@hotmail.com"," sujet","blabla"); pose une err ! Help | [MySQL] WHERE 'blabla' compris dans le champ truc |
| [blabla@olympe] Le topic du modo, dieu de la fibre et du monde | [PHP / BlaBla - limite] |
| Plus de sujets relatifs à : blabla@web | |





