$_REQUEST / $_SESSION

Hope someone can help with this, as I'm from a design rather
than coding background.
Basically I've just about finished off integrating an
ecommerce site with Protx, whereby some customer data is collected
on the main site (contact info mainly) before being passed to
protx's payment gateway.
In the first instance, the Protx script collects various
fields, by way of $_REQUEST - eg :
$ThisVendorTxCode = $_REQUEST['VendorTxCode'];
$ThisAmount = $_REQUEST['Amount'];
$ThisCurrency = $_REQUEST['Currency'];
$ThisDescription = $_REQUEST['Description'];
$ThisCustomerEmail = $_REQUEST['CustomerEmaill'];
etc.
However, the customer is required to log in with an email
address before ordering, so their email address is held in a
session.
So what I thought was all I needed to do was replace another
form text field 'CustomerEmail' in the form, and
$ThisDescription = $_REQUEST['CustomerEmail'];
on the following confirmation page, with just
$ThisCustomerEmail = $_SESSION['Email'];
on the confirmation page, and that from then on, it would be
fed through just as the $_REQUEST['CustomerEmail']; would.
But it seems not.
Am I barking up the right tree here, or is there some
fundamental reason why this isn't working?
Hope that makes sense!
Cheers.

I do - yes.
In the end, I looked at my pages that let a user edit and
view their profile, and did what I did there - ie create a
recordset, and pull in the email address from the record. Which
achieves the same result.
Although I'm still not sure why the session variables
themselves wouldn't display. They're there in the applications >
bindings panel of DW OK, so I thought all I really had to do was
drag and drop.....

Similar Messages

  • Accessing PHP variables (especially _SESSION)

    Hi,
    since CaioToOn! suggested here that I should use $_SESSION and I need to do this anyway, I spent the last 1+ hours trying to figure out how to do that. Sadly, I could not really figure it out except that there seems to be an issue with the session ID and that it has to be passed along to the swf file.
    Can somebody please tell me how to read/write from/to PHP variables (not $_GET)?
    P.S.: Here a simple example code (test.php and then the testintro.fla AS code):
    <? session_start();
    $_SESSION["intro"] = 0;     // has the intro been played?
    ...     // code for including the swf
    ?>
    if(intro == 0)
         myclip.gotoAndPlay(2);   // play intro
         intro = 1;
    else
    { myclip.gotoAndPlay(24); }     // skip the intro and go straight to the end

    none of those reasons would require php to embed a swf.
    normally, with flash, you could use a session variable to pass data from html to the swf.  you set your session variable's data with a html form or something similar and then use flashvars to pass that info to your embedded swf(s).
    you can also pass html data to an embedded swf using javascript and the externalinterface class.

  • Is there any PHP print_r($_REQUEST) equivalent in Servlet??

    Hi friends,
    Is there any PHP print_r($_REQUEST) equivalent in Servlet??

    The system.out calls will print to the server logs, just read them. It's somewhere in a straightforward named folder in the appserver root folder, like /logs. I thought it were for debugging purposes.
    At least, Servlets are not meant to output HTML. Use JSP for that. It's a view technology providing a template for HTML.
    Replace your servlet's code by:public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException {
        // Do some preprocessing logic here?
        // Forward request to page.jsp.
        request.getRequestDispatcher("page.jsp").forward(request, response);
    }and create a `page.jsp` which look like this:<!doctype html>
    <html lang="en">
        <head>
            <title>Show post key-value</title>
            <style>
                body { background: #fdf5e6; }
                h1 { text-align: center; }
            </style>
        </head>
        <body>
            <h1>Show post key-value</h1>
            <ul>
                <li><strong>param1</strong>: ${param.param1}</li>
                <li><strong>param2</strong>: ${param.param2}</li>
                <li><strong>param3</strong>: ${param.param3}</li>
            </ul>
        </body>
    </html>Or if you don't know the parameter names beforehand, then make use of [JSTL's c:forEach|http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/forEach.html] (to install JSTL, just drop [jstl-1.2.jar|http://download.java.net/maven/1/jstl/jars/jstl-1.2.jar] in /WEB-INF/lib):<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <!doctype html>
    <html lang="en">
        <head>
            <title>Show post key-value</title>
            <style>
                body { background: #fdf5e6; }
                h1 { text-align: center; }
            </style>
        </head>
        <body>
            <h1>Show post key-value</h1>
            <ul>
                <c:forEach items="${param}" var="p">
                    <li><strong>${p.key}</strong>: ${p.value}</li>
                </c:forEach>
            </ul>
        </body>
    </html>That said, please throw away the ancient HTML/CSS/JSP/Servlet tutorials/books you're reading and go get a more recent one. The coding practices you're showing off are discouraged over a decade.

  • FF loses $_SESSION data

    Hello, I set an session variable in my index.php, say
    session_start(); $_SESSION['test']='hello';
    I call another skript on the server via AJAX that includes something like:
    session_start(); echo ($_SESSION['test']);
    This will result in the output of "hello" for some time.
    I have a timer running to call the AJAX function every 20secs and sometimes after a few minutes, sometimes after a few hours, FF loses the session variable.
    In other words, $_SESSION['test'] is not set anymore.
    I can echo session_id(); and verify, that the session is still runing, so does the session cookie, but the complete $_SESSION array is lost.
    Any ideas?
    Regards, Chris.

    It is my understanding that the browser's role is limited to sending the cookie. If the associated session gets messed up, that sounds like a server/PHP problem...
    Do your logs show any unexpected requests for another script that could possibly affect $_SESSION['test']?
    Edit: just noticed this post is a week old! This forum focuses on end-user support. You can find more web development help on the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. Separate forum, separate registration.

  • Trouble with Login Redirect [$_SESSION['PrevUrl']

    I'm using the DW functionality to confirm that a user is logged in before allowing access to a page. Everything works except successfully redirecting to the previous URL. Here's the situation:
    User accesses a page with a url such as "addtocookbook.php?recipeid=6".
    Since the user is not logged in, they are redirected to"login.php".
    After successfully logging in, the user is redirected to "addtocookbook.php" without the "recipe=6".
    My login page does attempt to direct the user to the previous url (if it exists). I'm not sure if there is a simple way to make the variable $_SESSION['PrevUrl'], used by DW to redirect,  store the entire url.
    Any help is appreciated.
    Elie Chocron

    The problem lies with some obsolete code in the Restrict access to page server behavior. Fortunately, the fix is quite simple.
    The affected section of code is as follows:
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
      $MM_referrer .= "?" . $QUERY_STRING;
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    All that is necessary is to replace the three instances of $QUERY_STRING like this:
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    The redirect will then work correctly.

  • Spry and PHP $_SESSION

    Hi, I've declared some PHP session variables in my index.php
    however when i call Spry.Utils.updateContent to load in a new php
    fragment within a div, the $_SESSION vars arent accessable within
    that new php fragment, going to a new page can access the session
    vars but it seems AJAX calls cant. Is there any way around this?
    Cheers.

    Ok so through further experiment, Its nothing to do with Spry
    or AJAX.
    To pass session variables between php fragments loaded via
    Spry/AJAX you simply need to make sure youve started your session
    again in the new php fragment. Then you can access all the session
    vars from the main document.

  • F4_if_ table _value _request

    Hi all,
    I am working on F4 int table vaue request, but he values are populating in f4 but automaticallly another screen is disabling that f4  screen.
    How to resolve this issue .
    will any body help me on this .
    Regards,
    Madhavi

    see the following examle:
    DATA: W_PROGNAME LIKE SY-REPID,
      W_SCR_NUM LIKE SY-DYNNR .
      DATA: RETURN_VALUES LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.
      DATA: ITAB_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
      T_DYNPFIELDS LIKE DYNPREAD.
      DATA: T_DYNAME LIKE D020S-PROG,
      T_DYNUMB LIKE D020S-DNUM.
      DATA: BEGIN OF INT_F4 OCCURS 0,
            KUNNR TYPE VBAK-KUNNR,
            VBELN TYPE VBAK-VBELN,
            AUDAT TYPE VBAK-AUDAT,
            END OF INT_F4.
    SELECT KUNNR VBELN AUDAT
       INTO  TABLE INT_F4
       FROM VBAK
       UP TO 10 ROWS.
      CLEAR INT_F4.
    ****function module to get pop-up window of f4.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'VBELN'
          DYNPPROG        = W_PROGNAME
          DYNPNR          = W_SCR_NUM
          DYNPROFIELD     = 'KUNNR'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = INT_F4
          RETURN_TAB      = RETURN_VALUES
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE .
        KUNNR = RETURN_VALUES-FIELDVAL.
      ENDIF.

  • Loadrunner - web_custom​_request

    Subject: Substituting Body value by a parameter fails the web_custom_request function.
    Details: The parameter p_Search_Queries contains the exact same value as the value of the Body contained in line 75, 76, 77. But Substituting Body value by the parameter line 79 fails the web_custom_request function.
        web_custom_request("GetSearchResult", 
            "URL=http://{p_URL}/Search/Search.aspx/GetSearchResult", 
            "Method=POST", 
            "TargetFrame=", 
            "Resource=0", 
            "RecContentType=application/json", 
            "Referer=http://{p_URL}/Search/Search.aspx", 
            "Snapshot=t5.inf", 
            "Mode=HTML", 
            "EncType=application/json; charset=UTF-8", 
            "Body={\"searchCriteriaForm\":{\"SecurityType\":\"ALL\",\​"Cusip\":\"\",\"State\":\"\",\"MaturityDateBegin\"​:\"\",\"MaturityDateEnd\":\"\",\"IncludeMaturedSec​urities\":false,\"ClosingDateBegin\":\"\",\"Closin​gDateEnd\":\"\",\"PostingDateBegin\":\"\",\"Postin​gDateEnd\":\"\",\"DatedDateBegin\":\"\",\"DatedDat​eEnd\":\"\",\"InterestRateBegin\":\"\",\"InterestR​ateEnd\":\"\",\"Purpose\":\"\",\"SecuredBy\":\"\",​\"RateType\":\"\",\"Insured\":\"\",\"Taxable\":\"\​",\"Callable\":\"\",\"CallDateBegin\":\"\",\""
            "CallDateEnd\":\"\",\"CallPriceBegin\":\"\",\"Call​PriceEnd\":\"\",\"CusipGroupId\":\"\",\"FitchOpera​tor\":\"\",\"FitchRatingCode\":\"\",\"SNPOperator\​":\"\",\"SNPRatingCode\":\"\",\"KrollOperator\":\"​\",\"KrollRatingCode\":\"\",\"IssuerName\":\"\",\"​IssueDescription\":\"\",\"PMDisclosure\":false,\"A​RDisclosure\":false,\"ShortDisclosure\":false,\"Ev​entDisclosures\":[],\"TradeDateBegin\":\"\",\"Trad​eDateEnd\":\"\",\"TradePriceBegin\":\"\",\"TradePr​iceEnd\":\"\",\"TradeYieldBegin\":\"\",\""
            "TradeYieldEnd\":\"\",\"TradeAmountBegin\":\"\",\"​TradeAmountEnd\":\"\",\"TradeType\":\"\",\"TradeSp​ecialCondition\":\"\",\"FinancialDisclosures\":[],​\"ABSDisclosures\":false}}", 
    //        lr_eval_string("{p_Search_Queries}"),
    //        "Body={p_Search_Queries}",
            LAST);

    Subject: Substituting Body value by a parameter fails the web_custom_request function.
    Details: The parameter p_Search_Queries contains the exact same value as the value of the Body contained in line 75, 76, 77. But Substituting Body value by the parameter line 79 fails the web_custom_request function.
        web_custom_request("GetSearchResult", 
            "URL=http://{p_URL}/Search/Search.aspx/GetSearchResult", 
            "Method=POST", 
            "TargetFrame=", 
            "Resource=0", 
            "RecContentType=application/json", 
            "Referer=http://{p_URL}/Search/Search.aspx", 
            "Snapshot=t5.inf", 
            "Mode=HTML", 
            "EncType=application/json; charset=UTF-8", 
            "Body={\"searchCriteriaForm\":{\"SecurityType\":\"ALL\",\​"Cusip\":\"\",\"State\":\"\",\"MaturityDateBegin\"​:\"\",\"MaturityDateEnd\":\"\",\"IncludeMaturedSec​urities\":false,\"ClosingDateBegin\":\"\",\"Closin​gDateEnd\":\"\",\"PostingDateBegin\":\"\",\"Postin​gDateEnd\":\"\",\"DatedDateBegin\":\"\",\"DatedDat​eEnd\":\"\",\"InterestRateBegin\":\"\",\"InterestR​ateEnd\":\"\",\"Purpose\":\"\",\"SecuredBy\":\"\",​\"RateType\":\"\",\"Insured\":\"\",\"Taxable\":\"\​",\"Callable\":\"\",\"CallDateBegin\":\"\",\""
            "CallDateEnd\":\"\",\"CallPriceBegin\":\"\",\"Call​PriceEnd\":\"\",\"CusipGroupId\":\"\",\"FitchOpera​tor\":\"\",\"FitchRatingCode\":\"\",\"SNPOperator\​":\"\",\"SNPRatingCode\":\"\",\"KrollOperator\":\"​\",\"KrollRatingCode\":\"\",\"IssuerName\":\"\",\"​IssueDescription\":\"\",\"PMDisclosure\":false,\"A​RDisclosure\":false,\"ShortDisclosure\":false,\"Ev​entDisclosures\":[],\"TradeDateBegin\":\"\",\"Trad​eDateEnd\":\"\",\"TradePriceBegin\":\"\",\"TradePr​iceEnd\":\"\",\"TradeYieldBegin\":\"\",\""
            "TradeYieldEnd\":\"\",\"TradeAmountBegin\":\"\",\"​TradeAmountEnd\":\"\",\"TradeType\":\"\",\"TradeSp​ecialCondition\":\"\",\"FinancialDisclosures\":[],​\"ABSDisclosures\":false}}", 
    //        lr_eval_string("{p_Search_Queries}"),
    //        "Body={p_Search_Queries}",
            LAST);

  • FileReference doesn't work with PHP Globals

    <help>,
    Ok so this is my problem. I have a flash movie that allows
    users to uploads two images to a server. What I'm trying to do is
    have the uploaded images go directly to their user's directory. I
    need the upload.php file to figure out which person is uploading an
    image. The php page that handles the file uploads will not read in
    any global variables (i.e. POST, GET, SESSION, COOKIE). Also
    FileReference.upload() doesn't allow you to send any GET / POST
    vars along with it (as far as I have tested and read about). I've
    been working on this for four days now and have concluded it's
    something to do with the Flash FileReference calling the php page.
    I believe for some reason when FileReference calls the php page the
    web server doesn't like/allow/understand how the page is called so
    it denies any global var requests. I know its flash because it
    works if I use an html front end with the same php uploader page.
    So the goal for you 'out of the box' thinkers is to get one
    single darn global variable pulled into the php upload page. The
    ONLY way I can think of doing this is when every time a user
    creates an account and their folder is created, it copies the php
    upload file their directory. Then in flash when a user needs to
    upload its calls the upload file in each persons upload directory.
    Needless to say I do not want to do it this way but I'm running out
    of ideas.
    P.S. someone has suggested uploading the images to a temp
    file name and then immediatly move the image to the users folder
    but I I'm tentive to do it that way since you could get two people
    uploading at the same time and one person would get the second
    person's image and the second person would get an error.
    <!--- actionscript code
    this._fileRef.upload("upload.php"); <---- works
    this._fileRef.upload("upload.php?user_id=4"); <---- does
    not work
    //-->
    <?php
    session_start();
    $user_id = $_SESSION['user_id']; // Does not work
    $user_id = $_COOKIE['user_id']; // Does not work
    $user_id = $_GET['user_id']; // Does not work
    $user_id = $_POST['user_id']; // Can't do with FileReference
    class
    ?>
    </help>

    This may help. You can pass some URL encoded data with the
    FileReference
    upload method.
    file_fr.upload("upload.php?testvar=Hello World " +Date());
    Then this is a demo on how you can see that data, which you
    would need to
    rework to use to set the path.
    <?php
    if ($_FILES['Filedata']['name']) {
    $uploadDir = "images/";
    $uploadFile = $uploadDir .
    basename($_FILES['Filedata']['name']);
    move_uploaded_file($_FILES['Filedata']['tmp_name'],
    $uploadFile);
    $filename = "output.txt";
    $fp = fopen( $filename,"w+");
    fwrite ( $fp, "Test" );
    fwrite ( $fp, $_REQUEST['testvar'] );
    fclose( $fp );
    ?>
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "Webmaster Pete" <[email protected]> wrote
    in message
    news:[email protected]...
    > <help>,
    >
    > Ok so this is my problem. I have a flash movie that
    allows users to
    > uploads
    > two images to a server. What I'm trying to do is have
    the uploaded images
    > go
    > directly to their user's directory. I need the
    upload.php file to figure
    > out
    > which person is uploading an image. The php page that
    handles the file
    > uploads
    > will not read in any global variables (i.e. POST, GET,
    SESSION, COOKIE).
    > Also
    > FileReference.upload() doesn't allow you to send any GET
    / POST vars
    > along
    > with it (as far as I have tested and read about). I've
    been working on
    > this for
    > four days now and have concluded it's something to do
    with the Flash
    > FileReference calling the php page. I believe for some
    reason when
    > FileReference calls the php page the web server doesn't
    > like/allow/understand
    > how the page is called so it denies any global var
    requests. I know its
    > flash
    > because it works if I use an html front end with the
    same php uploader
    > page.
    >
    > So the goal for you 'out of the box' thinkers is to get
    one single darn
    > global variable pulled into the php upload page. The
    ONLY way I can think
    > of
    > doing this is when every time a user creates an account
    and their folder
    > is
    > created, it copies the php upload file their directory.
    Then in flash when
    > a
    > user needs to upload its calls the upload file in each
    persons upload
    > directory. Needless to say I do not want to do it this
    way but I'm running
    > out
    > of ideas.
    >
    > P.S. someone has suggested uploading the images to a
    temp file name and
    > then
    > immediatly move the image to the users folder but I I'm
    tentive to do it
    > that
    > way since you could get two people uploading at the same
    time and one
    > person
    > would get the second person's image and the second
    person would get an
    > error.
    >
    > <!--- actionscript code
    > this._fileRef.upload("upload.php"); <---- works
    > this._fileRef.upload("upload.php?user_id=4"); <----
    does not work
    > //-->
    >
    > <?php
    > session_start();
    > $user_id = $_SESSION['user_id']; // Does not work
    > $user_id = $_COOKIE['user_id']; // Does not work
    > $user_id = $_GET['user_id']; // Does not work
    > $user_id = $_POST['user_id']; // Can't do with
    FileReference
    > class
    > ?>
    >
    > </help>
    >

  • [DW-8]No me funciona la funcion captcha

    Hola, estoy probando poniendo captcha en mi web, pero estoy
    haciendo pruebas
    y no me funciona, lo que hago es el en form, es llamar a una
    funcion
    Comprobar que tiene en esa misma pagina, pero no me funciona,
    os pongo el
    codigo asi se ve mejor
    <body>
    <?php
    function Comprobar(){
    if ($_SESSION['captcha_code']==$_REQUEST['codigo'])
    echo "alert('SI')";
    else
    echo "alert('NO')";
    ?>
    <form id="form1" name="form1" method="post"
    action="<?php Comprobar(); ?>">
    <p>CODIGO:
    <?php $captcha = new
    CaptchaImage(110,30,5,'FFFFFF','000000','FFFFFF');
    ?></p>
    <p>REPETIR:
    <label>
    <input name="codigo" type="text" id="codigo" />
    </label>
    </p>
    <p>
    <label>
    <input type="submit" name="Submit" value="Enviar" />
    </label>
    </p>
    </form>
    Preferiria que para validar sea en la misma pagina, ya que
    tengo unos
    cuantos formularios distintos para vlidar

    This is a multi-part message in MIME format.
    ------=_NextPart_000_004F_01C8CA20.5E9CAEB0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Te recomiendo este script..
    http://www.archreality.com/jcap/
    Saludos
    Daniel Naranjo
    Lo Ultimo Group, C.A.=20
    (+58) 414 7962406 / 416 2917532 / 295 6117632=20
    www.loultimoenlaWEB.com
    www.loultimoenHosting.com
    www.loultimoenViajes.com
    "Sergio" <[email protected]> escribi=F3 en el mensaje
    =
    news:[email protected]...
    Hola, estoy probando poniendo captcha en mi web, pero estoy
    haciendo =
    pruebas=20
    y no me funciona, lo que hago es el en form, es llamar a una
    funcion=20
    Comprobar que tiene en esa misma pagina, pero no me
    funciona, os pongo =
    el=20
    codigo asi se ve mejor
    <body>
    <?php
    function Comprobar(){
    if ($_SESSION['captcha_code']=3D=3D$_REQUEST['codigo'])
    echo "alert('SI')";
    else
    echo "alert('NO')";
    ?>
    <form id=3D"form1" name=3D"form1" method=3D"post"
    action=3D"<?php =
    Comprobar(); ?>">
    <p>CODIGO:
    <?php $captcha =3D new =
    CaptchaImage(110,30,5,'FFFFFF','000000','FFFFFF');=20
    ?></p>
    <p>REPETIR:
    <label>
    <input name=3D"codigo" type=3D"text" id=3D"codigo" />
    </label>
    </p>
    <p>
    <label>
    <input type=3D"submit" name=3D"Submit" value=3D"Enviar"
    />
    </label>
    </p>
    </form>
    Preferiria que para validar sea en la misma pagina, ya que
    tengo unos=20
    cuantos formularios distintos para vlidar=20
    ------=_NextPart_000_004F_01C8CA20.5E9CAEB0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16640"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DVerdana size=3D2>Te recomiendo
    este =
    script..</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2><A=20
    href=3D"
    /</A></FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>Saludos</FONT></DIV>
    <DIV>
    <P></P>
    <P><FONT face=3D"Arial, Helvetica, sans-serif"
    size=3D2><STRONG>Daniel=20
    Naranjo</STRONG><BR>Lo Ultimo Group, C.A.
    </FONT><BR><FONT=20
    face=3D"Arial, Helvetica, sans-serif" size=3D1>(+58) 414
    7962406 / 416 =
    2917532 / 295=20
    6117632 <BR><U><A=20
    href=3D"
    R><U><A=20
    href=3D"
    U><BR><U><A=20
    href=3D"
    <BR></FONT></P></DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Sergio" &lt;<A =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;=20
    escribi=F3 en el mensaje <A=20
    =
    href=3D"news:[email protected]">news:g2gush$e5q$1@forums=
    .macromedia.com</A>...</DIV>Hola,=20
    estoy probando poniendo captcha en mi web, pero estoy
    haciendo pruebas =
    <BR>y=20
    no me funciona, lo que hago es el en form, es llamar a una
    funcion=20
    <BR>Comprobar que tiene en esa misma pagina, pero no
    me funciona, os =
    pongo el=20
    <BR>codigo asi se ve=20
    mejor<BR><BR>.....<BR>&lt;body&gt;<BR>&lt;?php<BR>function
    =
    Comprobar(){<BR>if=20
    ($_SESSION['captcha_code']=3D=3D$_REQUEST['codigo'])<BR>echo=20
    "alert('SI')";<BR>else<BR>echo =
    "alert('NO')";<BR>}<BR>?&gt;<BR>&lt;form=20
    id=3D"form1" name=3D"form1" method=3D"post"
    action=3D"&lt;?php =
    Comprobar();=20
    ?&gt;"&gt;<BR>&lt;p&gt;CODIGO:<BR>&lt;?php
    $captcha =3D new=20
    CaptchaImage(110,30,5,'FFFFFF','000000','FFFFFF');=20
    <BR>?&gt;&lt;/p&gt;<BR>&lt;p&gt;REPETIR:<BR>&lt;label&gt;<BR>&lt;input
    =
    name=3D"codigo" type=3D"text" id=3D"codigo"=20
    =
    /&gt;<BR>&lt;/label&gt;<BR>&lt;/p&gt;<BR>&lt;p&gt;<BR>&lt;label&gt;<BR>&l=
    t;input=20
    type=3D"submit" name=3D"Submit" value=3D"Enviar"=20
    =
    /&gt;<BR>&lt;/label&gt;<BR>&lt;/p&gt;<BR>&lt;/form&gt;<BR>....<BR><BR>Pre=
    feriria=20
    que para validar sea en la misma pagina, ya que tengo unos
    <BR>cuantos =
    formularios distintos para vlidar
    <BR></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_004F_01C8CA20.5E9CAEB0--

  • Session Variables Help

    Hi, all. I posted questions before when I was stuck, and you
    all were very friendly and helpful. I am having difficulty
    understanding how to create, POST() to, and then REQUEST()
    information stored in session variables using Dreamweaver. I am
    developing the pages using PHP, and have a MySQL database uploaded
    and working. Displaying, editing, and adding to the database is
    ongoing, as I type!
    Adobe has thankfully started the session for me with the
    <?php if(!isset($_SESSION)) { session_start(); } ... because I
    have a log in/log out server behavior on the pages.
    I need to add two pieces of information collected from the
    page, one value of which is inputted by the user on a form, and the
    other value is obtained from values from the part of the recordset
    shown on the page. What I expect I need is something like a
    2-dimensional array to store both sets as a pair, but while I
    expect I can do this, I am really not sure. The documentation ends
    before fully explaining this part.
    An example of what I am trying to do is a product detail page
    from an on-line store catalog, with an "add to cart" button. The
    person has navigated to that page, shows the information for
    productID=1497 with an input field for quantity, so a person can
    order more than one of that product if they choose, and an "add to
    cart" button which would write the productID and quantity values to
    the session variable. Is there a simple and easy to use Dreamweaver
    feature I am missing that can do this?
    If I need to code this myself, are there good resources for
    figuring this out? What I've found thus far is either too basic, or
    too advanced. I've been using Dreamweaver's Insert>Date
    Objects> menu to get everything done thus far.
    Of course, once the session variables are created I will need
    to $_REQUEST() the information on a later page and display it on
    one of Dreamweaver's dynamic tables. I hope that once I understand
    how to $_POST() the values to the session variable, $_REQUEST()ing
    the information on another page will be apparent.
    Also, please don't assume I know anything more than what I
    wrote in my post. I may be an old school programmer, think punch
    cards and FORTRAN, but I can get lost easily on things most people
    nowadays think are pretty basic.

    I got it fixed. It took two weeks to figure out the solution,
    but...
    It all boils down to the fact that you can get away with
    sloppy programming if your MySQL database is located on 'localhost'
    that you can't get away with if it is located remotely.
    Basically, you need to activate the database before you make
    a mysql_query. My bad. Problem solved. And now that I know I need
    to do this, problem never rediscovered.
    ~ Scott
    oldcountrypeddler.com

  • About php problem

    for example :
    first php code:(login.php)
    <?php
    session_unset();
    ?>
    <html>
    <head>
    <title>Please Log In</title>
    </head>
    <body>
    <form method="post" action="movie1.php">
    <p>Enter your username:
    <input type="text" name="user">
    </p>
    <p>Enter your password:
    <input type="password" name="pass">
    </p>
    <p>
    <input type="submit" name="Submit" value="Submit">
    </p>
    </form>
    </body>
    </html>
    </body>
    </html>
    second php code:(movie1.php)
    <?php
    //delete this line: setcookie('username','Joe', time()+60);
    session_start();
    $_SESSION['username'] = $_POST['user'];
    $_SESSION['uerpass'] = $_POST['pass'];
    $_SESSION['authuser'] = 0;
    //Check username and password information
    if (($_SESSION['username'] == 'Joe') and
    ($_SESSION['userpass'] == '12345')) {
    $_SESSION['authuser'] = 1;
    } else {
    echo "Sorry, but you don't have permission to view this
    page,you loser!";
    exit();
    ?>
    <html>
    <head>
    <title>Find my Favorite Movie!</title>
    </head>
    <body>
    <?php
    $myfavmovie = urlencode("Life of Brian");
    echo "<a href='moviesite.php?favmovie=$myfavmovie'>";
    echo "Click here to see information about my favorite movie!";
    echo "</a>";
    ?>
    </body>
    </html>
    the last php code:(moviesite.php)
    <?php
    session_start();
    //check to see if user has logged in with a valid password
    if ($_SESSION['authuser'] != 1) {
    echo "Sorry, but you don't have permission to view this
    page, you loser!";
    exit();
    ?>
    <html>
    <head>
    <title>My Movie Site - <?php echo $_REQUEST['favmovie']; ?></title>
    </head>
    <body>
    <?php
    echo "Welcome to our site. ";
    // delete this line: echo $_COOKIE['username'];
    echo $_SESSION['username'];
    echo "! <br>";
    echo "My favorite movie is ";
    echo $_REQUEST['favmovie'];
    echo "<br>";
    $mvovierate = 5;
    echo "My movie rating for this movie is: ";
    echo $movierate;
    ?>
    </body>
    </html>
    </body>
    </html>
    i[b] want to use session to create user privilege to visit and to run sql code.
    who can test them and help me find that error which cause them not to work.
    thanks

    thanks a lot!
    many questions have been solveted by you!
    thank you very much!

  • What is happening in safari/firefox?

    the problem is, whenever i successfully login in to my site
    in safari or firefox, the sites display completely cocks up.
    the link is
    http://www.bwise-webdevelopment.co.uk/index2.php
    i have set up a domain password for you to test, domain is
    adobetest.co.uk, the password is adobe
    the php code is :
    <?php
    if(isset($_POST['Submit'])) //if submit button is pressed for
    a new login
    unset($_SESSION['sesdomain']);
    unset($_SESSION['sescompany']);
    unset($_SESSION['sessite']);
    unset($_SESSION['sesemail']);
    unset($_SESSION['sescmspassword']);
    $server = "localhost";
    $user = "xxxx";
    $password = "xxxx";
    $database = "xxxx";
    $gotdomain = $_POST['Domain'];
    $gotpass = $_POST['Password'];
    $db_handle = mysql_connect($server, $user, $password);
    $db_found = mysql_select_db($database, $db_handle);
    $sql = "select * from clients WHERE domain = '$gotdomain' AND
    password = '$gotpass'"; //match up data to login/password
    $result = mysql_query($sql);
    while ($db_field = mysql_fetch_assoc($result))
    $_SESSION['sescompany'] = $db_field['company'];
    $_SESSION['sessite'] = $db_field['website'];
    $_SESSION['sesemail'] = $db_field['email'];
    $_SESSION['sescmspass'] = $db_field['CMSPassword'];
    $count=mysql_num_rows($result); //find if row is returned
    unset($_POST['Domain']);
    if($count==1) //if a record of username/password is found
    $_SESSION['sesdomain'] = $gotdomain;
    $strwelcolm = "welcolm ".$_SESSION['sesdomain'];
    echo "<div id = 'logintext'>" .$strwelcolm.
    "</div>";
    else
    $strwelcolm = "invalid username/password"; //if
    username/password is not found
    echo "<div id = 'logintext'>" .$strwelcolm.
    "</div>";
    if($_SESSION['sesdomain']) //if submit button is not pressed,
    check if a valid username/password has been entered
    $strwelcolm = "welcolm ".$_SESSION['sesdomain'];
    echo "<div id = 'logintext'>" .$strwelcolm.
    "</div>";
    ?>
    the site, php etc works fine in explorer. if i login
    successfully, it cocks up. if i go to another page, everything
    looks fine in all browsers.
    hope you can help

    Hi there,
    I'm having output issues also. I created a site with CSS and
    Dreamweaver. I added a contact us button on the pages, but somehow
    it is shifting off the page in IE. It works fine on my Mac, but
    content is shifted in IE and Firefox on a PC.
    Please could you take a look at my code and steer me in the
    right direction. I'm not the greatest with CSS and am learning
    there are probably comments that need to added to my HTML to combat
    browser issues.
    Here are the links to look at the site and CSS code:
    http://tallowahmedia.com/dissertationgenius/aboutus.html
    http://tallowahmedia.com/dissertationgenius/aboutus_css.html
    Cheers!!

  • Error while executing Report migrated from 6i to 11g

    Hello,
    We have migrated forms & reports from 6i to 11g.
    Most of the reports work fine but we are having issue with very few reports.
    Let me explain the issue here:
    We have a Form that Runs a report.
    The Report has a PLL which loads a C library and calls a C Function. [using ORA_FFI]
    The C Function which is called has embedded SQL in it.
    The Report Server Engine crashes on encountering the first Executable SQL statement. [A Select or Insert]
    Need help to resolve this as we have tried a lot of things and not been successful.
    Below is a gist of the errors we see in teh Report server logs:
    "console~rep_test~1.log"
    Nov 14, 2012 7:37:11 AM com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
    WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 190.10.97.30; port: 57343"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2200)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2221)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:205)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:218)
    at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:101)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
    at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:198)
    at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1748)
    at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1330)
    at oracle.reports.server.JobManager.runJobLocal(JobManager.java:2238)
    at oracle.reports.server.JobManager.dispatch(JobManager.java:1467)
    at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1537)
    at oracle.reports.server.ConnectionPOA._invoke(ConnectionPOA.java:460)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
    at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
    at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500)
    Caused by: java.net.ConnectException: Connection refused
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:60)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:188)
    ... 23 more
    ===============================================================================================================================
    "rwserver_diagnostic.log"
    [2012-11-14T07:37:10.969+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 12] [ecid: 0000Jf_MXxPFg4^kxS3j7k1GbGIR000003,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] EngineManager:updateEngineState Engine rwEng-0 status is 3
    [2012-11-14T07:37:10.969+01:00] [reports] [NOTIFICATION:16] [REP-56004] [oracle.reports.server] [tid: 12] [ecid: 0000Jf_MXxPFg4^kxS3j7k1GbGIR000003,0] EngineInfo:setState Engine rwEng-0 state is: Running
    [2012-11-14T07:37:11.294+01:00] [reports] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [URI: /reports/rwservlet/showjobs] REP-50125 : org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe [[
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2400)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2418)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:354)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(SocketOrChannelConnectionImpl.java:1124)
    at com.sun.corba.se.impl.transport.SelectorImpl.run(SelectorImpl.java:289)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 211 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2484)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2502)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:116)
    at com.sun.corba.se.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:150)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:314)
    ... 2 more
    Caused by: java.io.IOException: End-of-stream
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:602)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:521)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:112)
    ... 4 more
    [2012-11-14T07:37:11.296+01:00] [reports] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [URI: /reports/rwservlet/showjobs] REP-50125 : org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No [[
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2200)
    at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2221)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:205)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:218)
    at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:101)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:118)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
    at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:198)
    at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1748)
    at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1330)
    at oracle.reports.server.JobManager.runJobLocal(JobManager.java:2238)
    at oracle.reports.server.JobManager.dispatch(JobManager.java:1467)
    at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1537)
    at oracle.reports.server.ConnectionPOA._invoke(ConnectionPOA.java:460)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
    at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
    at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500)
    Caused by: java.net.ConnectException: Connection refused
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:60)
    at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:188)
    ... 23 more
    [2012-11-14T07:37:11.297+01:00] [reports] [NOTIFICATION:16] [REP-56004] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [URI: /reports/rwservlet/showjobs] EngineInfo:setState Engine rwEng-0 state is: Shutdown
    [2012-11-14T07:37:11.297+01:00] [reports] [TRACE:32] [REP-56047] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] EngineManager:remove Reports Server shut down engine rwEng-0.
    [2012-11-14T07:37:11.297+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobManager:start Using Maximum Job Retry value = 0
    [2012-11-14T07:37:11.297+01:00] [reports] [NOTIFICATION:16] [REP-56016] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [URI: /reports/rwservlet/showjobs] JobManager:updateJobStatus Job 1658 status is: The report terminated with error: [[
    REP-56048: Engine rwEng-0 crashed., job Id: 1658.
    [2012-11-14T07:37:11.297+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobObject:writeLongUTF Number of Break Index values=1
    [2012-11-14T07:37:11.298+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobObject:writeLongUTF String= Engine rwEng-0 crashed., job Id: 1658 strlen=37
    [2012-11-14T07:37:11.298+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobManager:notifyWaitingJobs Master job 1658 notify its duplicated jobs.
    [2012-11-14T07:37:11.299+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobManager:updateJobStatus Finished updating job: 1658
    [2012-11-14T07:37:11.299+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] JobManager:runJobInEngine Encounted exception in job 1658
    [2012-11-14T07:37:11.299+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 17] [ecid: 004nX0QrTwUFg4^kxS3j7k0005WT000k^s,0:1:0x5f5e639:100000000] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] [URI: /reports/rwservlet/showjobs] ConnectionImpl:runJob jobid = 1658 Failed with exceptionoracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    [2012-11-14T07:37:11.318+01:00] [reports] [NOTIFICATION:16] [REP-56013] [oracle.reports.server] [tid: 12] [ecid: 0000Jf_MXxPFg4^kxS3j7k1GbGIR000003,0] ConnectionManager:release Connection 239 is released.
    [2012-11-14T07:37:11.382+01:00] [reports] [NOTIFICATION:16] [REP-56020] [oracle.reports.server] [tid: 13] [ecid: 0000Jf_MXxSFg4^kxS3j7k1GbGIR000004,0] EngineManager:spawnEngine Launching engine rwEng-0.
    [2012-11-14T07:37:11.382+01:00] [reports] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 13] [ecid: 0000Jf_MXxSFg4^kxS3j7k1GbGIR000004,0] EngineManager:spawnEngine OS Name = Linux : OS Arch = amd64
    [2012-11-14T07:37:11.383+01:00] [reports] [TRACE:16] [] [oracle.reports.server] [tid: 13] [ecid: 0000Jf_MXxSFg4^kxS3j7k1GbGIR000004,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [SRC_METHOD: writeln] EngineManager:spawnEngine Start engine command line = /utility/app/oracle/product/fmwfr/formsreports1/config/reports/bin/rwengine.sh -server -cp /utility/app/oracle/product/fmwfr/formsreports/reports/jlib/rwrun.jar -Dcomponent.path=rep_test -Doracle.reports.component=rwEng-0 -Dinprocess.server=false -Duser.language=it -Duser.region=IT -Xms512m -Xmx512m -Xss512k oracle.reports.engine.RWEngine name=rwEng-0 server=rep_test ORACLE_HOME=/utility/app/oracle/product/fmwfr/formsreports engineimplclass=oracle.reports.engine.EngineImpl cacheDir=/utility/app/oracle/product/fmwfr/formsreports1/reports/cache diagnosis="yes" keepConnection="yes" server_ior="/test/orafood/tmp/rep_test_129261664_1352875031383"
    [2012-11-14T07:37:11.386+01:00] [reports] [NOTIFICATION:16] [REP-56021] [oracle.reports.server] [tid: 13] [ecid: 0000Jf_MXxSFg4^kxS3j7k1GbGIR000004,0] EngineManager:spawnEngine Engine rwEng-0 has been launched.
    ====================================================================================================================
    Regards,
    KVS
    I can post the other logs if it helps.

    Hi Rajesh,
    If you just want to execute the report in web, you can do one thing.
    Go to Query designer of your relevent system.
    Open the Query which you want to execute in Web.
    Then in the Query tab(first one) in the drop down list you have the Option  'execute'./ the 5th Icon  in the Query designer screen.On clicking this it will open a new window( Internet Explorer) and prompts for your system credentials.
    Upon providing them  the query start executing if it deosn't have any selections, else selection screen appears.
    You can save the link and can use this when ever you want to execute the query.Use it in the BW system environment's Intrenet explorer only.
    Hope this helps.
    Regards,
    Ganesh Thota

  • Error while creating temporary table

    Hi All,
    I am trying to integrate ODI and BAM . I have followed all the steps given in the guide.While creating interface i am getting the error while LKM is working.
    I am using LKM SQL to SQL and IKM Oracle BAM Insert ( as the inserted data should be captured after inserting).
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bam_odi.htm
    Please use this link for clarification.For me drop work table and create work table failed (C$ -work table). Anyone have any idea about this could you help me?
    Thanks in advance,
    Gnanaprakasam

    It seems the table(MMMORDERFILE_C$_REQUEST ) already exist in the work schema,so cant able to create and throw an error. can you tell me which KM you are using?

Maybe you are looking for

  • How to set a default value as current month in already created variable of 0fiscper

    Hi Guys, In my report currently we are using a variable for 0fiscper which is mandatory and selection option. Now there is a requirement to set current month as default value in that variable. Please let me know how can I do that. Thanks. Dolly

  • IPhone transfer to iPad 2?

    Just bought an iPad 2. When I first sync it with iTunes, will all of my content from my iPhone transfer over to the iPad (apps, contacts, mail settings, etc.)?

  • Condition triggers even though SY-SUBRC = 4 in the routine

    Hi Experts, I have Z condition type which triggers automatically based on the condition records. Now we have added a Requirement->Pricing->Routine in which we are making sy-subrc = 4 based on some condition. However I see still the condition is trigg

  • How to Configure SNMP Counter Monitors

    Hi there, I want to receive a SNMP trap if attributes of the SNMP Agent (JMX MBeans) change in WLS 6.1. I'm playing around with the PetStore example that is part of the package. I enabled SNMP and configured localhost as a TrapHost, great ! Now I wan

  • Enhancement for QA01 (Inspection Lot)

    For creation of new inspection lot via QA01; upon saving, user wants to disable printing of the inspection lot form (sapscript using standard print program 'RQEEAS20') when the system status 'QALS-KZSKIPLOT' = 'X'. May I know how should I go about to