Reply to RE: [PHP] a code question..??

Your name:

Reply:


Posted by "Richard Lynch" on 11/11/05 00:04

On Thu, November 10, 2005 3:15 pm, bruce wrote:
> the primary issue i'm trying to address is whether it's possible for a
> php
> app to somehow display on one app, code/forms that essentially resides
> on
> another server? doens't have to be a login form..
>
> in all honesty, i don't see how it can be possible..
>
> using curl, would simply download the code from app B to app A which
> isn't

curl would download the HTML, not the PHP source.

You can use:
<?php include "http://example.com/application/B/source.phpsource";?>

to snag the source code from B and execute it on A.

That's the closest thing to what I think you may be asking... which
I'm not even sure what it is.

The 's' at the end of my URL is not a typo. It assumes that you have
a file named source.phpsource of MIME type text/plain that dumps out
PHP code from Application B. Application A can include and execute
this source code.

This is not a Good Idea (tm) at all if you don't implicitly trust
Application B source code to be completely free of (intentional and
unintentional) malicious/dangerous/buggy code.

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация