LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Passing POST data to embedded object with PHP

[ILUG] Passing POST data to embedded object with PHP

Kae Verens kae at verens.com
Fri Sep 29 14:58:12 IST 2006


Conor Daly wrote:
> Hi All,
> 
> I'm trying to embed a php-generated webpage within another php-generated
> webpage using the <object data=...> tag.  I generate a <form method=post... </form>
> set within the wrapper page with a number of variables within.  When the
> submit is clicked, I want to generate an 
> 
> <object data="my target php script"> 
> 
> tag and pass the POST data to the target php script.  I can pass GET data
> easily in the URL but I'm stumped with regard to the POST data.
> 
> Given that the php script(s) I want to embed use POST rather than GET and
> there are many of them and I don't want to rewrite them for GET, is there
> any easy way to feed them?


never tried this (iirc, these don't work in IE), but could you give the object 
a NAME parameter and give the forms a TARGET parameter?

Kae



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell