Php return of AS3 variables

I am using a php script to search a database and return
variables to my AS3 script. In php, I am using the script
exit(urlencode("?myvar=" . $myvariable. "?"));
to return to Flash via a URLoader.load() call. Upon return, I
get the full html text of the php page with myvar buried in it . I
can extract myvar with string functions, but I should be able to
get myvar by a simple ....data.myvar call. At least, this is how it
worked in AS2 and the AS3 documentation implies how it should work.
Any thoughts are appreciated.

I thought I'd rekindle this one as I'm struggling with a
similar issue, We've recently switched to AS3 and are trying to
replicate a few of the things previously done in AS2. We previously
connected to a cfc using a WSDL service and then bound the data to
datagrids etc. It seems thats all gone in AS3 so I'm trying to
maintain the previous methodology (query from MySQL database -
returntype being 'query') and pass the data back to flash. The
loader.data remains as a string or rendered CF page (tags only).
Code at bottom of message:
Our AS2 effort seemed to be able to interpret the query as an
object/array and bind it to a datagrid quite easily - are there any
explanations out there that would help us do the same in AS3
Many thanks
MikeB

Similar Messages

  • PHP returning "undefined" variable to flash

    Hello Everyone, I am working on a touch screen POS login interface that takes in a four digit user pin and searches a database. It uses Flash, PHP and MYSQL. I need PHP to return the user name and access level. The AS3 code below is what I have so far, but it doesn't work correctly.
    "IntLogin" is the 4 digit pin that is sent to PHP when the user touches login on the GUI.
    function onLoginClick(e:MouseEvent):void
              keyLogin.gotoAndStop("KeyDn");
              var loader:URLLoader = new URLLoader();
              var request:URLRequest = new URLRequest("Login.php");
              var variables:URLVariables = new URLVariables();
              loader.dataFormat = URLLoaderDataFormat.VARIABLES;
              request.method = URLRequestMethod.POST;
              variables.login = intLogin;
              request.data = variables;
              trace(request.data = variables);
              loader.addEventListener(Event.COMPLETE, onComplete);
              loader.load(request);
               function onComplete(event:Event):void{
                        var loader:URLLoader = URLLoader(event.target);
                        var variables:URLVariables = new URLVariables(loader.data);
                        txtUser.text = variables.username;
    Next is the PHP code which works great in the browser when I implictly give $select a value, returning "username=Walker&access=1"
    However, when I run the program from Flash it returns an undefined variable and the end of the PHP file.
    <?php # Login.php
    require_once ('mysqli_connect.php');
    //Connect to the db
    if (!empty($_POST['login'])){
              $select = $_POST['login'];
              $sql = "SELECT Last_Name AS name, Access_Level AS level FROM Users WHERE User_ID = '$select'";
              $q = mysqli_query($dbc, $sql);
              if($q){
                        $row = mysqli_fetch_array($q, MYSQLI_ASSOC);
                        $name = $row['name'];
                        $access = $row['level'];
                        echo "username=$name";
      echo "&access=access";
    ?>
    I have have tried debugging the both the PHP and the AS code, but I am stuck. When I trace in AS3 I get the following:
    1445
    login=1445
    undefined
    $access";
    ?>
    Please if you anyone can help with this it would be greatly appreciated. I am on a strict timeline and I don't know what to do here.
    Thanks:)
    Jusmark

    You have to send it as a flash var
    Take a look at the code on my php webpage:
    http://www.spectacularstuff.com/php-test/inprogress/scrfix/home.php
    That is how I sent it to flash. Now, we want to receive it in
    flash. You need the following actionscript in AS3.
    // Display FlashVar onto webpage to ensure we are
    // receiving it
    var tf:TextField = new TextField();
    tf.autoSize = TextFieldAutoSize.LEFT;
    tf.border = false;
    tf.x = 50;
    tf.y = 10;
    addChild(tf);
    // Detect the FlashVar from the webpage
    try {
    var keyStr:String;
    var valueStr:String;
    var paramObj:Object =
    LoaderInfo(this.root.loaderInfo).parameters;
    for (keyStr in paramObj) {
    valueStr = String(paramObj[keyStr]);
    if (keyStr.indexOf(".") != -1){
    keyStr = keyStr.substring(0, keyStr.indexOf(".")); //now
    it's "home"
    // tf.appendText(keyStr);
    } catch (error:Error) {
    // tf.appendText(error);

  • Parsing PHP Vars in AS3

    I'm pulling in vars from a PHP file into AS3, which im very new at, and having a few general and what i assume easy questions:
    first of all, my php looks like this:
    <?php
    $first="VARDATA";
    echo "v1=$first";
    ?>
    my question is, why can't i:  echo"$first"  
    i have to: echo "v1=$first"
    here's the actionscript pulling in the data, I assume there's a parsing issue perhaps??
    var myLoader:URLLoader = new URLLoader();
    myLoader.dataFormat = URLLoaderDataFormat.TEXT;
    var myRequest:URLRequest=new URLRequest("thefile.php");
        myLoader.load(myRequest);
        myLoader.addEventListener(Event.COMPLETE,onCompleteHandler);
        var newValue: String;
        function onCompleteHandler(e:Event):void{
        var newvariable: URLVariables = new URLVariables(e.target.data);
        newValue = newvariable.values;

    YOu can echo whatever you like, but chances are you don't want to quote the $first variable like you are doing.
    The URLVariables class reads the data in name/value pairs (name=value), which is why you want to send v1=VARDATA

  • FB4, Data Services&PHP returned data is lost

    Hi,
    I set up an RPC call using the data services, all works fine so far. Fb built a dataType for me holding all the returned variables. Now I let Fb generate the communication forms for me. This results in a form where I put in the parameters and hit the button that triggers the call. And a second form that is supposed to show the results. Now whereas the call of the rpc works fine, the results are never shown. When I dump in the php what is supposed to be returned all looks fine.
    As far as I understand Fb sets up an RPCManager that is supposed to handle the result. But I do not understand how to trace the callback. (I used to use the HTTPService where I set up a callback event manually, this was easy to trace but I am kind of stuck with the RPCManager).
    Is there a possibility to track the callback function that is supposed to handle the return values of the rpc call? PHP returns an associative array, when I configure the Data service in Fb all fields are correctly identified. What could be a reason for the result form not to show anything? Using RPCs that return a single string only works fine!
    THX in advance.

    Just to add some infos:
    Configuring the service works fine: Fb shows that an object consisting of five strings is returned and this is exactly what happens.
    But when using this service the lastResult value is always NULL. That seems strange to me.
    old amfphp used to have a service browser is there anything comparable for the ZendFramework? I´d love to find out where the data is lost. Resp. what the difference is between the calls when configuring and the calls coming from the application...

  • Use of Return and Notify_url variables offered by PayPal

    I have been integrating PayPal into my application (ASP NET MVC) where I made some analysis about PayPal (went through their documentation about the integration). Created a PayPal sandbox account and can transfer the amount.What I want to know is about the `return` and `notify_url` variables. I have enabled `auto return` in my account and also enabled `PDT`. My form variable is like this:<input type="hidden" name="notify_url" value="http://localhost:xxx/xx/Notify">
    <input type="hidden" name="return" value="http://localhost:xx/xx/Return">As I have surfed in net, what they state about `Return` and `notify_url` is:> The "return" URL to which PayPal redirects buyers’ browser after they complete their payments. For example, specify a URL on your site that displays a “Thank you for your payment” page. Default is nothing is specified – PayPal redirects the browser to a PayPal webpage. Note, you must have "Auto Return" enabled in your Account Profile settings in order for this variable to work.
    >PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable `notify_url` you can send to PayPal.From the above quotes what I understand is that PayPal will post `IPN` variables to `notify action` once the payment done before auto redirecting to the page I set (I mean customer may go the application page or they may close the session).But only return action alone hitting not the `Notify_url`.Correct me if I misunderstood the concept and let me know if it was still Unclear.

    Yes, it's not present in the code I have posted but I have tried this as well.
    It didn't work, as expected, because soap/axis is on top of http and not https and because my proxy uses http as well (or at least that's what I have learned so far).
    In fact, I have tried all combinations between http.\*, https.\*, and Authenticator without success.
    I think the problem is more soap/axis related. The solution for axis2 seems somewhat 'trivial' (and well explained over the web) while it's not for axis1.
    Regards
    Rob
    Edited by: RobR on Nov 29, 2007 4:37 AM
    Edited by: RobR on Nov 29, 2007 9:56 AM

  • Report pl/sql function body returning query bind variable

    I really like using report with a function returning sql. I have been using something like this
    declare
    q varchar2(10000);
    begin
    q := 'select col1
    from mytable
    .... add a dynamic where clause ....
    return q;
    end;
    But I thought it would be nice to store the query in a bind variable so that I could show the where clause. I tried to create an item P123_Q and do the following:
    declare
    q varchar2(10000);
    begin
    q := 'select col1
    from mytable
    .... add a dynamic where clause ....
    :P123_Q := q;
    return q;
    end;
    But the parser treats :P123_Q as if it is a bind variable within flow 4000. I found a workaround but I'm wondering if there is a better way.
    My workaround is to set a preference in the query and then use a computation that sets P123_Q to the value of the preference:
    declare
    q varchar2(10000);
    begin
    q := 'select col1
    from mytable
    .... add a dynamic where clause l_q := l_q || ....
    HTMLDB_UTIL.SET_PREFERENCE(
    p_preference => 'Q',
    p_value => q,
    p_user => :APP_USER);;
    return q;
    end;
    Any thoughts on another way?
    thanks,
    Anton

    Anton,if htmldb_application.get_current_flow_sgid(:APP_ID) = htmldb_application.get_sgid then
      :P1_X := l_sql;
    end if;Scott

  • How to pass a function with the same argument multiple times and return values in variables?

    The problem I have is I created a function which really is some kind of database.  Basically a bunch of:
    if (a.value == "this number"){
    b.value = "this expression";
    Inside the form are 2 dropdown lists that return numerical values which I want to process through that function and put the return value inside separate variables.
    var a = this.getField("OPE003.EVEN.1.MIP");
    Mip(a);
    var result1 = Mip();
    I tried to overwriting *a* to process the second field
    a = this.getField("OPE003.EVEN.2.MIP");
    Mip(a);
    var result2 = Mip();
    result1 and result2 are put in an array, joined as a string.
    Doing so, I always get the last processing twice as the final result.
    Can I use a function as a batch processing tool that way?

    You are right, I changed the code to what you said but how do I pass another value through my fonction so I can get Result1 and Result2?
    is it
    var a = this.getField("OPE003.EVEN.1.MIP");
    var b = this.getField("OPE003.EVEN.2.MIP");
    var result1 = Mip(a);
    var result2 = Mip(b);
    var c = new Array[result1, result2]

  • PHP Code: Using a variable to name the file in an Include

    I have a series of case statements assigning a value to the
    variable $theme
    based on the current month. Then I have a set of files
    (january.txt,
    february.txt, etc.). The variable values are those file
    names:
    // get current month as a number
    $month = date('n');
    // select theme for the month
    switch($month) {
    case 3:
    $theme = 'march.txt';
    break;
    case 4:
    $theme = 'april.txt';
    break;
    [etc.]
    What is the correct syntax for a PHP Include that will use
    the current value
    of $themes for the filename?
    Thanks
    Walt

    <?php include('_inc/'.$theme); ?>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Walt F. Schaefer" <[email protected]> wrote in
    message
    news:gqutqv$qbf$[email protected]..
    >I have a series of case statements assigning a value to
    the variable $theme
    >based on the current month. Then I have a set of files
    (january.txt,
    >february.txt, etc.). The variable values are those file
    names:
    > // get current month as a number
    > $month = date('n');
    > // select theme for the month
    > switch($month) {
    > case 3:
    > $theme = 'march.txt';
    > break;
    > case 4:
    > $theme = 'april.txt';
    > break;
    > [etc.]
    > What is the correct syntax for a PHP Include that will
    use the current
    > value of $themes for the filename?
    >
    > Thanks
    >
    > --
    >
    > Walt
    >
    >
    >

  • How to use stored procedure with many return results and variable with perl

    Hi everybody,
    i´m writtting now a Perl programm, wich use a oracle stored procedure with more than 1 result and 1 variable(I have to return 2 variable fpr each result). I don´t now how I can get it.I already search the web but I didn´t find.
    My example:
    PROCEDURE get_projects_and_sub_projects (
    v_project_id IN INTEGER,
    v_project_c_id OUT INTEGER,
    v_project_id_find OUT VARCHAR2
    IS
    BEGIN
    SELECT c_id, proj_id
    INTO
    v_project_c_id,
    v_project_id_find
    FROM t_projet
    WHERE t_projet .ksa_pro_art_kbz = 'KU'
    AND t_projet.proj_id LIKE v_project_id || '%';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    v_project_c_id := NULL;
    v_project_id_find := NULL;
    WHEN OTHERS
    THEN
    kmessages.error (NULL,
    'get_projects_and_sub_projects',
    'Project-Name: ' || v_project_id,
    'Errornumber: '
    || SQLCODE
    || ' Error: '
    || SQLERRM,
    TRUE,
    TRUE
    raise_application_error (-20001,
    'Error '
    || SQLCODE
    || ' get_projects_and_sub_projects: '
    || SQLERRM,
    TRUE
    END get_projects_and_sub_projects;
    in Perl Program:
    sub get_projects_unterprojects_name($$){
    my ($db_handle, $proj_name_id) = @_; #$db_handle ist the DB Connection return value
    my $db_proj_c_id;
    my $db_proj_name;
    eval{ my $csr = $db_handle->prepare(q{
    BEGIN
    pro_doc_ber.get_projects_and_sub_projects(:proj_name_id, :db_proj_c_id, :db_proj_name);
    END;
    # parameter value
    $csr->bind_param(":proj_name_id", $proj_name_id);
    # return values
    $csr->bind_param_inout(":db_proj_c_id", \$db_proj_c_id, 11);
    $csr->bind_param_inout(":db_proj_name", \$db_proj_name, 20);
    $csr->execute(); };
    But this didn´t work. Could somebody give me some idea?
    Thank you
    Felx

    Some additional info would probably be helpful.
    What is your programming enviironment? Java?
    In any case I suspect that you will need to use the OCI to deal with specific Oracle types such as user defined object types -- thats not standard ANSI SQL.
    In Java I believe you need to use OPAQUE, there are some examples out there. I'm mostly a PL/SQL developer with some Java expereince so others here are more qualifed to answer your question more directly.

  • [DW 8.02 + PHP] how to use variables in advanced SQL queries

    Hi all,
    I can't find a way to use variables in an SQL query after
    updating
    dreamweaver 8.02.
    I always get error messages that says: 'missing variable
    type:myvariablename', undefined#myvariablename... and so on.
    What is the correct way to use variables?
    I usually set a variable in a PHP statement (example: <?
    $today=date('Y-m-d'); ?>)
    and then I compare this variable in the SQL query.
    What is the correct syntax for variable in DW 8.02 in
    advanced SQL
    queries?
    TIA
    tony

    sweetman wrote:
    > I'm editing a website created with DW 8.01 and MX
    Kollection.
    >
    > I updated DW to 8.02 and now I can't edit an existing
    SQL query.
    > I always get an error message 'Missing variable type'
    and I can't go
    > on.
    InterAKT released a new version of Kollection to cope with
    the 8.0.2
    changes. AFAIK, you should be able to download the updated
    version from
    your InterAKT account area.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • @RETURN function with variables

    Hello all:
    I've been doing some testing with the @ERROR function and have had no luck getting it to error out when using it within an IF statement that uses a variable (of any kind). All of the following examples validate and run, but none stop the script.
    Assume VAR QUIT = 1, SubVar QUIT2 is set to 1 and there is an environment variable named QUIT3 is set to 1;
    These all don't stop the script (or put the expected ERROR in the app log):
    "Actual"(
         IF(QUIT==1)
              @RETURN("Error!), ERROR
         ENDIF)
    "Actual"(
         IF(&QUIT2==1)
              @RETURN("Error!), ERROR
         ENDIF)
    "Actual"(
         IF($QUIT3==1)
              @RETURN("Error!), ERROR
         ENDIF)
    It seems like IF can't evaluate a numeric value in a variable.
    Your thoughts?

      Use technical account (or slice ) for storing variables values.
    For native using variables u need to do technical settings
       1)  turn off CPU Hyper Threading
       2)  turn calculation to  serial mode
    And all of this don't guarantee what calc will be correct.
    p..s
    ("Error!), or  ('Error!')

  • REF CURSOR not returned to "Output Variables"

    I have a poorly performing procedure that returns a Ref Cursor. I can retrieve the Ref Cursor via Crystal Reports, so I know that it is working. However, the data is not showing up in the "Output Variables" section on SQL Developer version 3.1.07.42.
    I have other procs that run much faster and the data shows up just fine for them.
    I'm wondering if the fact that the query runs in about 4 minutes is causing the results to be lost?
    Oracle 11.2.0.3.0 64 bit on AIX version 6.
    Sql Developer 3.1.07.42.
    Thanks.

    Can't reproduce. Test case:
    <code>
    create or replace
    package pivot
    as
    type rc is ref cursor;
    procedure tst4( c1 in out rc, c2 out rc, i out integer, c4 out rc );
    end;
    create or replace
    package body pivot
    as
    procedure tst4( c1 in out rc, c2 out rc, i out integer, c4 out rc ) is
    stmt1 long;
    stmt2 long;
    stmt3 long;
    stmt4 long;
    begin
    stmt1 := 'select 11 one, 12 two, ''a'' from dual union select 21 one, 22 two, ''b'' from dual';
    open c1 for stmt1;
    stmt2 := 'select 2 from dual';
    select count(1) into stmt4 from dual -- simulated delay
    connect by level < 40000000;
    open c2 for stmt2;
    i:=42;
    stmt4 := 'select level from dual connect by level < 7';
    open c4 for stmt4;
    end;
    end;

  • Return of the variables

    In a block PLSQL, where I attribute values for two variables (select columns into variables), if the clause where I will not be satisfied and not to return no line for this select, that values are attributed for the variables (of the clause into)?
    I ask this exactly because in one of my functions, the return is being = NULL, being attributed a value for the return variable, then in the first line of script.

    It follows below my function:
    CREATE OR REPLACE FUNCTION dbf_ssp_tramitado(a_entidade_for NUMBER,a_solicitacao NUMBER,a_tipo VARCHAR2,a_usuario VARCHAR2)
    RETURN VARCHAR2
    IS
    w_tramitado VARCHAR2(1);
    w_entidade_tram NUMBER(10);
    w_entidade_aux NUMBER(10);
    w_usuario_req VARCHAR2(16);
    w_tipo     VARCHAR2(1);
    BEGIN
    w_tramitado:='S';
    w_entidade_aux:=NULL;
    IF a_tipo = 'R' THEN
    SELECT i_entidades_req,i_usuarios_req INTO w_entidade_aux,w_usuario_req
    FROM bethadba.ssp_solicitacoes_suporte
    WHERE i_entidades_for = a_entidade_for AND
    i_solicitacoes = a_solicitacao;
    ELSE
    SELECT i_entidades_for,i_usuarios_req INTO w_entidade_aux,w_usuario_req
    FROM bethadba.ssp_solicitacoes_suporte
    WHERE i_entidades_for = a_entidade_for AND
    i_solicitacoes = a_solicitacao;
    END IF;
    w_entidade_tram := NULL;
    w_tipo := NULL;
    SELECT i_entidades_tram, tipo INTO w_entidade_tram, w_tipo
    FROM bethadba.ssp_tramites_solicitacoes, bethadba.ssp_status
    WHERE ssp_tramites_solicitacoes.i_entidades_for=ssp_status.i_entidades
    AND ssp_tramites_solicitacoes.i_status=ssp_status.i_status
    AND i_entidades_for = a_entidade_for
    AND i_solicitacoes = a_solicitacao
    AND upper(ssp_tramites_solicitacoes.visibilidade) IN('A',upper(a_tipo))
    AND ROWNUM < 2
    ORDER BY i_tramites DESC;
    IF 'X' = NVL(w_tipo, '') THEN w_tramitado := 'X';
    ELSIF w_entidade_tram IS NOT NULL THEN
    IF w_entidade_tram = NVL(w_entidade_aux,-1) THEN w_tramitado:='N';
    END IF;
    ELSIF a_tipo = 'R' THEN
    IF w_usuario_req = a_usuario THEN w_tramitado:='N';
    END IF;
    END IF;
    RETURN w_tramitado;
    END;
    In some cases, the command
    SELECT i_entidades_tram, tipo INTO w_entidade_tram, w_tipo
    FROM bethadba.ssp_tramites_solicitacoes, bethadba.ssp_status
    WHERE ssp_tramites_solicitacoes.i_entidades_for=ssp_status.i_entidades
    AND ssp_tramites_solicitacoes.i_status=ssp_status.i_status
    AND i_entidades_for = a_entidade_for
    AND i_solicitacoes = a_solicitacao
    AND upper(ssp_tramites_solicitacoes.visibilidade) IN('A',upper(a_tipo))
    AND ROWNUM < 2
    ORDER BY i_tramites DESC;
    does not return no line, and seems that no value for the variables is not attributed, and seems that more is not executed nothing of this point in ahead.

  • Php mailer, bcc and variable mailto

    still need help with php script below to add bcc and additionally can you vary to maito email from the form?
    /* Email Variables */
    $emailSubject = 'Processing Statement';
    $webMaster = '[email protected]';
    EOD;
    $headers = "From: $email\r\n";
    $headers .= "Content-type: text/html\r\n";
    $success = mail($webMaster, $emailSubject, $body,
    $headers);
    this set up does work now. try to add email address from the form and add cc & bcc

    There's really no reason to duplicate threads here. If someone knows the answer, they'll get it into your original post, since that one has more info to clarify what you are actually looking for.
    http://forums.adobe.com/thread/1294223?tstart=0

  • Using variable in connection string returns 0 for variable.

    hi all- I am pulling data from a visual forxpro database and the connection string is as follows: 
    Data Source=\\ServerName\FolderName\AR;User ID=Domain\svcAct;Provider=VFPOLEDB.1;Persist Security Info=True;
    I created a variable called CurrentARPath and stored the path
    \\ServerName\FolderName\AR
    I then tried using this variable in the Expression property of the connection string as follows:
    "Data Source="+(DT_WSTR, 20)@[User::CurrentARPath] + ";User ID=Domain\\svcAct;Provider=VFPOLEDB.1;Persist Security Info=True;"
    However, the above expression is evaluating the variable to 0 as shown below; this is causing the connection in connection manager to go down(offline) and the OLED data source is complaining.
    Data Source=0;User ID=Domain\svcAct;Provider=VFPOLEDB.1;Persist Security Info=True;
    any idea what i am doing wrong here? thanks in advance!

    What datatype is CurrentARPath? Are there any
    configurations on the connection string or variable?
    Which
    package protection level are you using?
    CurrentARPath data type - Char
    there are no configurations on the connection string. one thing that i should mention is that i have created a variable  called ArPath of type object and using it in the for each loop container. this variable gets populated using an execute SQL statement.
    i am then mapping the vale from ArPath to CurrentARPath in the loop container.
    Package protection level is default(encrypt sensitive)
    thanks for the help.

Maybe you are looking for

  • Blue screen error when I plug my iphone into my PC

    HELP!!! I just got an iPhone, and now when I try to plug it into my PC, my PC crashes and gives me a blue screen error. I have made sure I have the latest updates of itunes, and Windows, and I am just not sure what to do . . . Can somebody please wal

  • Apple TV loses connection to internet and can't reconnect without restart

    When I first purchased my ATV3 it had extremely slow buffering problems and then crashed. I had to do a full factory reset and software update. Then that problem went away. Recently it has a new problem. While renting a movie from itunes with the ATV

  • Fade to black, jpegs.

    hello all, I am new to FCE and am having trouble figuring out how to add a simple fade to black effect to a series of jpegs, Im shooting stop motion with my SLR and want to add a fade out to multiple shots- not just the very last one. At this point a

  • Mail using up memory and CPU

    Since yesterday my mail started using up my memory. It clocked 99,9% of the CPU and was using 2,2GB of Real Memory. Can anyone please suggest where to start looking for the problem. I have only recently 'converted' to Mac.

  • Fios Router (Coax Connected) and pfSense box, how to do this?

    Hello, I have a Actiontec M1424WR Rev. 1 and a HP Proliant DL380 G5 (Running pfSense) and would like to use the HP Proliant as the "router" yet still be able to use the Actiontec router for wireless operations. I would perfer not to have to run a eth