Re: Include function across servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Miceli wrote:
wouldn't that be very dangerous if someone could grab my code and run it on their server?

Yeh, pretty dangerous. That's how c99shell and a bunch of other scripts work.

i'm an intermediate php guy at best. for many reasons i would not want someone including my files and running them on another server!!! i hope there's no easy way to do that!!!!!

If they are named with an extension that isn't parsed by php (eg .txt), then they will be executed on another server.

If they are parsed by php (ie .php) then including them remotely won't work - it will include whatever your php script spits out (eg html).

btw if files are outside of the route directory then that means only the local files can all them and execute them, right??

Right.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux