Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: John - maaliskuu 04, 2006, 07:33:19 AP

Otsikko: Hacking attemp, omfg
Kirjoitti: John - maaliskuu 04, 2006, 07:33:19 AP
Im making a gametheme but i dont use a portal, im making one myself.( at least im trying  ;)  )
When i want to include something like this:

<?php
include('http://site/forum/Blocks/PortalRecentPosts.php');
?>

then im getting a hacking attempt message   :(

What does it mean and how can i fix this. Any help would be very appreciated.
Otsikko: Re: Hacking attemp, omfg
Kirjoitti: Dannii - maaliskuu 04, 2006, 07:35:31 AP
There isn't a /Blocks/PortalRecentPosts.php file in SMF, so it couldn't be causing the error. What other files are you including.
Otsikko: Re: Hacking attemp, omfg
Kirjoitti: John - maaliskuu 04, 2006, 07:37:45 AP
Srry, i do use a Portal, ThinyPortal from Nessian Styles, but i use this just so i could test if the include works.

I include nothing else right now. Thanks for the very fast reaction  :)
Otsikko: Re: Hacking attemp, omfg
Kirjoitti: Dannii - maaliskuu 04, 2006, 07:38:57 AP
TinyPortal or Simple portal?
Otsikko: Re: Hacking attemp, omfg
Kirjoitti: John - maaliskuu 04, 2006, 09:27:11 AP
I figured it out. Thanks for effort  :D

Plz clode this one.  ;D