Re: PHP & ActionScript sendAndLoad




Steve Cook wrote:
Steve Cook wrote:
Hi,

I have an upload application written in PHP and Flash. The PHP page
gets the file information via $_POST. Moreover, the user never
actually visits the PHP page, rather Flash sends the information to the
PHP page and then loads the result, all in the background. Is there
anyway that I can conitnue the PHP session when doing this or does the
user have to visit the PHP page?

Thanks.

Steve

Okay so I answered my own question -- yes you can, however, if you use
the following to start your session, you cannot:

<?
if (!isset($_SESSION)) {
session_start();
}
?>

Just stcik to:

session_start();

Thanks.

Well, it turns out I was wrong that won't work either; my error -- it
is late.

.



Relevant Pages

  • RE: [PHP] how to create a slide show using PHP5
    ... For ready solutions like this you won't need a flash editor. ... [PHP] how to create a slide show using PHP5 ... I want to create a slide show of photos for my web site. ... Web Photo Gallery Software, *PHP* Photo Gallery Script, Web Site ...
    (php.general)
  • sending flash variable to php file
    ... php, but I can't get the flash to transfer the variable. ... // check for an empty string and display a message. ... // $pages now contains int of pages needed unless there is a remainder from ...
    (alt.php)
  • Re: A couple of question
    ... probably get some code working on php crap, and I want a java backend ... Using Flash is like volunteering for a straitjacket. ... Why not use proper tools? ... Look how buggy the large sites are that use it. ...
    (comp.lang.java.programmer)
  • Re: [PHP-DEV] Sayonara PHP
    ... a market in which there are lots of opportunities in many different ... I think it depends on how you use PHP to be honest. ... technology and Flash for client technology. ... building a thick client on HTML DOM and javascript is a good idea. ...
    (php.general)
  • Re: [PHP] Problem receiving POSTed data
    ... I didn't change my PHP code one little bit. ... This works perfectly and php receives all of the data correctly. ... > PHP does pretty minimal munging of the POST data. ... > It's unlikely that Flash is sending what you think it's sending. ...
    (php.general)