Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-11-2010, 08:00 AM   #1
FLEX Jokey
aktell's Avatar
Join Date: Jun 2007
Location: New Zealand
Posts: 154
Default URLRequest send to Php file ....

Hi there,

Exactly the same I can do easily with Http, but I can't use Http because where I like to use it; it does not except or work with the Http.

So what I need to find is to address a Php file other than using Http, and funny enough I can use with it the URLRequest and URLLoader which works fine, but in this case I 'ONLY' need to address (activate) a Php log file to run.

Anybody knows if that would be possible to do 'As simple As' with the URL.... ???

Thanks in advance aktell


          import flash.net.*;

          private  function sendIt():void {

          var request:URLRequest = new URLRequest(http://www.[site name].net/log.php);

          request.method = URLRequestMethod.POST;

               try {
                    catch (e:Error) {
                         trace('there is an error')
Somebody suggested this: !!! But it does not seem to work either ???
var urlLoader:URLLoader = new URLLoader(new URLRequest("http://www.sample.com/script.php"));

Last edited by aktell; 07-11-2010 at 08:45 PM.
aktell is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:45 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.