Graham Anderson wrote:
The below method is the way I send variables to the movieBuilder.php
file [located in the 'src' attribute] with GET Variables
It does work :)
How would I use CURL to POST the same variables to the movieBuilder.php
file WITHIN the 'src' attribute ?
You can't. Browsers make a GET request for the URL listed in the /src/
attribute, and there's nothing you can do about that. PHP doesn't have
anything to do with that /src/ attribute, it just prints it out and the
browser parses it.
On recent Mozilla browsers you can use XMLHTTPRequest to fetch a
base64-encoded stream of your data and write it to the src attribute
within a "data:" URI scheme, but that won't work on IE or many other
browsers.
--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php