Include php ?

Gestart doorReins14 reacties43 weergaven

15 berichten · pagina 1 van 1

Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi,
als ik dit bestand include dan komt het niet onder elkaar te staan maar naast elkaar, hoe kan ik dat veranderen?
Alvast bedankt biggrin
0
Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
credentials_username=test <br />
credentials_password=test <br /><br />
credentials_username=Hoi<br />
credentials_password=Friso
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat is niet wat ik bedoel, ik heb

include("../pass.txt");


Maar op die pagina waar het is geinclude staat het niet zo als op de originele pagina.
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Iemand nog een oplossing?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Je moet het bestand openen met zon functie emo
Je moet dan exploden en dan weergeven

[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]// Zoiets denk ik :P[/COLOR]
[COLOR= #0000BB]$file[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]rn[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]<br />[/COLOR] [COLOR= #0000BB]$file[/COLOR][COLOR= #007700]);[/COLOR]
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hmm ik kan niet scripten ofzo, html ja, maar waar moet dat dan ofzo.
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
    $bestand[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]pass.txt[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bestand[/COLOR][COLOR= #007700]);[/COLOR]
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Werkt nl2br ook bij bestandenyummie?

Wist ik nietxd
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je met file_get_contents(); de inhoud ophaalt dan wel als het goed is yummie
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Tnx het werkt!
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nice pompom
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
<div style="background-color:#F2FBFF; color:#D0EEFF;  border: #D0EEFF 1px solid;"></div><strong>
[COLOR= #0000BB]<?php
    $bestand[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../pass.txt[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bestand[/COLOR][COLOR= #007700]);}
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
?></strong></div>


Waarom werkt die div style dan niet? redface
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
<div style="background-color:#F2FBFF; color:#D0EEFF;  border: #D0EEFF 1px solid;"><strong>
[COLOR= #0000BB]<?php
    $bestand[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../pass.txt[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/nl2br"]nl2br[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bestand[/COLOR][COLOR= #007700]);}
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
?></strong></div>

emo
0
Reins

Lid · Topicstarter

Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Werkt, ook bedankt biggrin
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Je had al Ook had je de div als afgesloten
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren