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

[ic] Embedded PHP pages


Hi!

I'd like to embed an existing PHP-based forum into an Interchange page.

I can include a PHP page's output using:

[get-url url="http://ourserver.tld/something.php"; strip="1"]

Now I also want to pass all the GET and POST variables to it.

[get-url url="http://ourserver.tld/something.php"; content="foo=[cgi
foo]&bar=[cgi bar]" method="POST" strip="1"]

...works as well.

The problem is that I'm still passing stuff to the script when it
doesn't expect it. That is, if 'foo' is unset, it still ends up
sending foo=''

So I can't just list every possible variable passed to me by the user.

What I'd like it to do is just pass all the GET and POST variables
that are set to the get-url bit. How do I do that?

Or perhaps there is some way of embedding PHP inside Embperl-parsed
.html files? Or perhaps there's a way to run a php file from outside
the webroot?


Elver

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.