RE: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-30 Thread Bronislav Klucka
Only just to say: There is no way how to grab PHP source code from remote computer!!! 1/ As I said: communicating with another computer is always using some protocol (HTTP,HTTPS,FTP,GOPHER,SMTP) And using http protocol always pass the code through php parser before it's sended to you. Always,

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-30 Thread Neil Smth
The only real way to do this is to set up a web service on domain 2 which responds to page requests by pulling the source directly as a file, without interpreting it as PHP code. The function to use here is readfile(/path/to/my/php/scripts/on/webserver.php); You might also want to set a header

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-29 Thread JeRRy
: [PHP-DB] Downloading PHP source from a PHP filename, possible? Jerry -- ...and then JeRRy said... % % Hi, Hi! % ... % If a file is called blah.php and is only tailored to % PHP code is it possible to make it downloadable either % as a file-download or appear as plain text in a % browser

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-29 Thread David T-G
Jerry -- ...and then JeRRy said... % % Hi, Hi! % % Thanks for the code(s), finally got it to display in a % page. But I crashed the server in the attempt. Very % bad thing I did... Which threw out over 3000 processes % for just visiting the page the one time... eck! Oops :-) % % It was

Re: [PHP-DB] Downloading PHP source from a PHP filename, possible?

2003-11-28 Thread David T-G
Jerry -- ...and then JeRRy said... % % Hi, Hi! % ... % If a file is called blah.php and is only tailored to % PHP code is it possible to make it downloadable either % as a file-download or appear as plain text in a % browser window? You could probably manage anything, though it might be a