Re: Include function across servers

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

 



thanks for your reply. that's what i figured using common sense, but that's not always the case with software.

cu
tony
-------------------------------------------------------------------------------- My email address has changed. It is now tony@xxxxxxxxxxxxxx Visit my website ----- Original Message ----- From: "Chris" <dmagick@xxxxxxxxx>
To: "Tony Miceli" <tony@xxxxxxxxxxxxxx>
Cc: <php-db@xxxxxxxxxxxxx>
Sent: Monday, April 02, 2007 6:24 PM
Subject: Re:  Include function across servers


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