Re: Flash and PHP 4.3.4

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

 



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
20031203131910.44107.qmail@pb1.pair.com">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
>
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux