Re: Flash and PHP 4.3.4
| From: | Bobo Wieland | Date: | Wed, 03 Dec 2003 13:37:19 +0000 |
| Subject: | Re: Flash and PHP 4.3.4 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22299@lists.php.net to get a copy of this message | ||
if you use sendAndLoad into a loadVars object in flash you can just have a
php script that prints a query string...
lets say you have the name "Robert" in a loadVars object names theName. So:
<flash code>
theName.name = "Robert";
</flash code>
now use the sendAndLoad with the POST-method and specify a php-file with the
following code:
<?php
function sayHello($theName) {
print("Hello ".$theName);
}
if (isset($_POST["name"])) {
sayHello($_POST["name"]);
}
?>
"PETCOL" <colin_blunt@petcol.com> wrote in message
news:20031203131910.44107.qmail@pb1.pair.com...
> Any one know of any good tutorials for Flash into PHP 4.3.4 the Flash side
> I'm O.K. with, just having problems with the PHP, think it's a version
thing
> ?
>
> Col
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>