Et avec des " à la place des ' ? Et avec print à la place d'echo ?
-- [SbM] "If the French were really intelligent, they'd speak English" (W. Sheed)
stephane.martin
SbM wrote:
Stéphane Martin wrote:
> SbM wrote: > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php, > > il faut que son nom porte l'extension ".php". > > Cela ne marche toujours pas ? > > > Dans mon fichier index.php : > > > <html> > <head> > <title>Test PHP</title> > </head> > <body> > <?php echo '<P>Bonjour</P>'; ?> > </body> > </html> > > > A l'affichage j'ai <
Et avec des " à la place des ' ? Et avec print à la place d'echo ?
Cela ouvre mes différent répertoire Index OF : -- Stephane MARTIN
SbM <sebastienmarty@yahoo.fr> wrote:
Stéphane Martin <stephane.martin@alussinan.org> wrote:
> SbM <sebastienmarty@yahoo.fr> wrote:
>
> > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php,
> > il faut que son nom porte l'extension ".php".
>
> Cela ne marche toujours pas ?
>
>
> Dans mon fichier index.php :
>
>
> <html>
> <head>
> <title>Test PHP</title>
> </head>
> <body>
> <?php echo '<P>Bonjour</P>'; ?>
> </body>
> </html>
>
>
> A l'affichage j'ai <
Et avec des " à la place des ' ?
Et avec print à la place d'echo ?
Cela ouvre mes différent répertoire Index OF :
--
Stephane MARTIN
> SbM wrote: > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php, > > il faut que son nom porte l'extension ".php". > > Cela ne marche toujours pas ? > > > Dans mon fichier index.php : > > > <html> > <head> > <title>Test PHP</title> > </head> > <body> > <?php echo '<P>Bonjour</P>'; ?> > </body> > </html> > > > A l'affichage j'ai <
Et avec des " à la place des ' ? Et avec print à la place d'echo ?
Cela ouvre mes différent répertoire Index OF : -- Stephane MARTIN
stephane.martin
Stéphane Martin wrote:
SbM wrote:
> Stéphane Martin wrote: > > > SbM wrote: > > > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php, > > > il faut que son nom porte l'extension ".php". > > > > Cela ne marche toujours pas ? > > > > > > Dans mon fichier index.php : > > > > > > <html> > > <head> > > <title>Test PHP</title> > > </head> > > <body> > > <?php echo '<P>Bonjour</P>'; ?> > > </body> > > </html> > > > > > > A l'affichage j'ai < > > Et avec des " à la place des ' ? > Et avec print à la place d'echo ?
Cela ouvre mes différent répertoire Index OF :
Comme ceci
<http://cjoint.com/?BJmsOjae6xA>
-- Stephane MARTIN
Stéphane Martin <stephane.martin@alussinan.org> wrote:
SbM <sebastienmarty@yahoo.fr> wrote:
> Stéphane Martin <stephane.martin@alussinan.org> wrote:
>
> > SbM <sebastienmarty@yahoo.fr> wrote:
> >
> > > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php,
> > > il faut que son nom porte l'extension ".php".
> >
> > Cela ne marche toujours pas ?
> >
> >
> > Dans mon fichier index.php :
> >
> >
> > <html>
> > <head>
> > <title>Test PHP</title>
> > </head>
> > <body>
> > <?php echo '<P>Bonjour</P>'; ?>
> > </body>
> > </html>
> >
> >
> > A l'affichage j'ai <
>
> Et avec des " à la place des ' ?
> Et avec print à la place d'echo ?
> Stéphane Martin wrote: > > > SbM wrote: > > > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient du php, > > > il faut que son nom porte l'extension ".php". > > > > Cela ne marche toujours pas ? > > > > > > Dans mon fichier index.php : > > > > > > <html> > > <head> > > <title>Test PHP</title> > > </head> > > <body> > > <?php echo '<P>Bonjour</P>'; ?> > > </body> > > </html> > > > > > > A l'affichage j'ai < > > Et avec des " à la place des ' ? > Et avec print à la place d'echo ?
Cela ouvre mes différent répertoire Index OF :
Comme ceci
<http://cjoint.com/?BJmsOjae6xA>
-- Stephane MARTIN
sebastienmarty
Stéphane Martin wrote:
Stéphane Martin wrote:
> SbM wrote: > > > Stéphane Martin wrote: > > > > > SbM wrote: > > > > > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient > > > > du php, il faut que son nom porte l'extension ".php". > > > > > > Cela ne marche toujours pas ? > > > > > > > > > Dans mon fichier index.php : > > > > > > > > > <html> > > > <head> > > > <title>Test PHP</title> > > > </head> > > > <body> > > > <?php echo '<P>Bonjour</P>'; ?> > > > </body> > > > </html> > > > > > > > > > A l'affichage j'ai < > > > > Et avec des " à la place des ' ? > > Et avec print à la place d'echo ? > > Cela ouvre mes différent répertoire Index OF : Comme ceci
<http://cjoint.com/?BJmsOjae6xA>
Euh... Tu le places où, exactement, ton fichier index.php ??? Et tu tapes quoi, précisément, dans la barre d'adresse de ton navigateur ?
Parce que bon, je viens de tester ici et ça marche nickel : fichier index.php dans ~/Sites, puis "localhost/~ton_nom/index.php", ça m'affiche "Bonjour".
-- [SbM] "If the French were really intelligent, they'd speak English" (W. Sheed)
Stéphane Martin <stephane.martin@alussinan.org> wrote:
Stéphane Martin <stephane.martin@alussinan.org> wrote:
> SbM <sebastienmarty@yahoo.fr> wrote:
>
> > Stéphane Martin <stephane.martin@alussinan.org> wrote:
> >
> > > SbM <sebastienmarty@yahoo.fr> wrote:
> > >
> > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient
> > > > du php, il faut que son nom porte l'extension ".php".
> > >
> > > Cela ne marche toujours pas ?
> > >
> > >
> > > Dans mon fichier index.php :
> > >
> > >
> > > <html>
> > > <head>
> > > <title>Test PHP</title>
> > > </head>
> > > <body>
> > > <?php echo '<P>Bonjour</P>'; ?>
> > > </body>
> > > </html>
> > >
> > >
> > > A l'affichage j'ai <
> >
> > Et avec des " à la place des ' ?
> > Et avec print à la place d'echo ?
>
> Cela ouvre mes différent répertoire Index OF :
Comme ceci
<http://cjoint.com/?BJmsOjae6xA>
Euh... Tu le places où, exactement, ton fichier index.php ??? Et tu
tapes quoi, précisément, dans la barre d'adresse de ton navigateur ?
Parce que bon, je viens de tester ici et ça marche nickel : fichier
index.php dans ~/Sites, puis "localhost/~ton_nom/index.php", ça
m'affiche "Bonjour".
--
[SbM]
"If the French were really intelligent, they'd speak English" (W. Sheed)
> SbM wrote: > > > Stéphane Martin wrote: > > > > > SbM wrote: > > > > > > > Alors c'est normal que ça ne marche pas. Si ton fichier contient > > > > du php, il faut que son nom porte l'extension ".php". > > > > > > Cela ne marche toujours pas ? > > > > > > > > > Dans mon fichier index.php : > > > > > > > > > <html> > > > <head> > > > <title>Test PHP</title> > > > </head> > > > <body> > > > <?php echo '<P>Bonjour</P>'; ?> > > > </body> > > > </html> > > > > > > > > > A l'affichage j'ai < > > > > Et avec des " à la place des ' ? > > Et avec print à la place d'echo ? > > Cela ouvre mes différent répertoire Index OF : Comme ceci
<http://cjoint.com/?BJmsOjae6xA>
Euh... Tu le places où, exactement, ton fichier index.php ??? Et tu tapes quoi, précisément, dans la barre d'adresse de ton navigateur ?
Parce que bon, je viens de tester ici et ça marche nickel : fichier index.php dans ~/Sites, puis "localhost/~ton_nom/index.php", ça m'affiche "Bonjour".
-- [SbM] "If the French were really intelligent, they'd speak English" (W. Sheed)