[Javascript] Bit late! JavaScript to PHP variable transfer

Andrew Gibson andyg at ihug.co.nz
Thu Aug 21 18:16:31 CDT 2003


Sorry im a bit late on this thread....from what I can gather you are looking
for a way to send and receive data from the server without the use of POST,
Get or Cookies?

> Actually, you are quite close to the mark --
>
> Most of the present client/server communication is done by way of the
> embedded IFRAME constructs
> which contain PHP scripts to update/read the database elements. They
> themselves remain hidden by way of 0x0
> screen dimensions, no margins, no borders, and a CSS "display: none"
> declaration.   Considering that POST, GET,
> PUT, and cookies are all vigorously disabled, and that data still goes
> back-and-forth, I'd say we're doing something
> right.
>
> The real problem is not getting PHP to talk to JavaScript (that is easy!),
> but rather the reverse.  Short
> of using JavaScript to "invoke" a piece of PHP script as per the "src="
> destination inside a frame, I don't see
> any straight-forward mechanism of doing what I need.  Even that requires a
> fair amount of overhead, but
> if it is the only way...




More information about the Javascript mailing list