De Webserver

Gestart doorBasDev17 reacties1.160 weergaven

18 berichten · pagina 1 van 2

BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hey one2xsers,

Ik heb een vraagje (vooral aan Lennard en Ruben)
Als het mogelijk is kunnen jullie dan file_get_contents op de webserver aanzetten ofzo?
Want ik ben bezig met een website die je habbo missie laat zien.

Script:

[COLOR= #0000BB]<?php
$naam4[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"naam4"[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$habbourl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.habbo.nl/home/$naam4"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$data[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$habbourl[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$explode[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<div class="profile-motto">"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$readend[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<div class="clear">"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$explode[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$readend[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" "[/COLOR][COLOR= #007700];[/COLOR]
?>
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Die staat al aan, althans ik heb er nooit problemen mee.
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bij mij zegt hij dat hij het bestand niet kan vinden ... Maar op me andere host doet hij het wel dus lijkt me van niet?
0
Berichten
2.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nouja, als hij het bestand niet kan vinden dan zal dat bestand er waarschijnlijk niet zijn he.. emo
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
http://just-rik.nl/test/file_get_contents.php

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Intern file_get_contents()<br />[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$var[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]contents.txt[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$var[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br /><br />Externe file_get_contents()<br />[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$var[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]http://www.just-rik.nl/test/contents.txt[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$var[/COLOR][COLOR= #007700];[/COLOR]

?>
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maar wel van een andere host hea?
0
Berichten
2.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Huh?
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ruben schreef:
Nouja, als hij het bestand niet kan vinden dan zal dat bestand er waarschijnlijk niet zijn he.. emo
Het bestaat wel yummie
Quote:
http://www.habbo.nl/home/bas501

Op me andere host werkt hij perfect ... XAMPP
0
Berichten
3.283
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Toevallig habbo.nl in je host toegevoegd?
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
En hoe doe ik dat??
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Werkt dit ook niet?

[COLOR= #0000BB]<?php
$naam4[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"naam4"[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$habbourl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.habbo.nl/home/"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$naam4[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]".php"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$data[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$habbourl[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$explode[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<div class="profile-motto">"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$readend[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"<div class="clear">"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$explode[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$readend[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" "[/COLOR][COLOR= #007700];[/COLOR]
?>
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
@milan .php moet weg
0
Berichten
4.213
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
net werkte het wel maar nu niet meer!
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
misschien staat habbo.nl door iemand in de directadmin toegevoegd? emo
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