Send an array to php

I have to send a large number of variable to php and want to
avoid having to repeatedly call the php script, so I thought the
way to do this would be to send an array. I generally use code
similar to the following to receive individual variables in php:
$count = mysql_real_escape_string($_GET["count"]);
Unfortunately, I don't know how to accept an array from Flex
into PHP. I realize that this is more of a php question than a Flex
question, but am hoping that someone has done this before. Here's
how I want to send the array from Flex:

These links might help:
link1
link2
link3

Similar Messages

  • Send Array to PHP with HTTPService

    How can I send an array via HTTPService to a PHP script
    please?
    If I do this:
    var params:Object=new Objsect();
    params.myData=myDataArray; //myDataArray is an Array var that
    I need to send
    myService.send(params);
    It will not pass on an array.
    How can I pass the Array to PHP?

    u can convert the array in to a string in FLEX and in PHP u can use the "split" command...
    here s sample program see if it helps u
    http://flexarraytransfer.blogspot.com/

  • How to send byte array of image with 300dpi.

    Hello fiends
                       i am making an application in which i have to send the byte array of an image with 300dpi.
    so i am using image snapshot class for that and use that code.
                        var snapshot:ImageSnapshot = ImageSnapshot.captureImage(cnvParent,300);
                        var bdata:String = ImageSnapshot.encodeImageAsBase64(snapshot);
    but when i send that bdata to php end using httpService.The size at other end of image increases surprisingly.i means it will increase its actual height and actual width.so is there any way to overcome this increase in size when i bitmapped image at 300 dpi?
    if there any way then please tell me.waiting for your reply.
    Thanks and Regards
        Vineet Osho

    Thanks david for such a quick reply.the link is really helpful.So we have to calculate the screendpi thruogh our code and then set the height and width of image.is there any simple way to sort out my problem.i just want to print my image at 300dpi but i am using image snapshot class so its taking the snap of my container(image) and save the image at 96 dpi which is dpi of my screen(monitor).so is there any way or any class in flex through which i got the image at its original dpi.i am not stick on 300 dpi but i m getting image from backend through xml at 300dpi.thats why i want the byte array i am sending should be at 300dpi.i am totally confused now.so please help me.
    Thanks and regards
      Vineet osho

  • Using LoadVars in SSAS to send data to a php file

    I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects:
    Here is main.asc:
    <code>
    var variables = new LoadVars();
    variables.username = "uname";
    variables.send(http://url.abc.com/test.php,POST)
    </code>
    I can't compile with the second line. FMS just says: Sending error message: Compilation error
    How do I send variables to a HTTP URL?

    However that should be fine..
    This is sample way to send data using LoadVars
    var my_lv = new LoadVars();
    my_lv.name= "myname";
    my_lv.send("http://server/test.php", "_blank", "POST");
    Try keeping url and and POST method within "quotes". Also, method [POST/GET] is third parameter, second is target where results must be loaded (if any)..

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

  • Sending novell command from PHP

    Hi,
    I am trying to unzip a file from php.
    I am trying to run a unzip command from phpm but the novell server won't take it.
    when i do: <?php exec("unzip DATA1:/zipfile.zip"); ?>
    i get: unable to find load file SYS:/TMP/UNZIP
    when i do: <?php exec("echo unzip DATA1:/zipfile.zip"); ?>
    i get: unable to find load file SYS:/TMP/ECHO
    when i do: <?php exec("echo unzip "); ?>
    i get: unzip.nlm load status KenelOnly
    Does someone know how to send a command from php to Novell correctly??
    Thank you,

    Have you tried specifying the path with something like
    <?php exec("sys:/system/unzip DATA1:/zipfile.zip"); ?>
    Wolfgang
    "Flex Travel - Higo Rocha Cidario" <[email protected]> wrote in message
    news:oE0uh.7409$[email protected]..
    > Hi,
    >
    > I am trying to unzip a file from php.
    > I am trying to run a unzip command from phpm but the novell server won't
    > take it.
    >
    > when i do: <?php exec("unzip DATA1:/zipfile.zip"); ?>
    > i get: unable to find load file SYS:/TMP/UNZIP
    >
    > when i do: <?php exec("echo unzip DATA1:/zipfile.zip"); ?>
    > i get: unable to find load file SYS:/TMP/ECHO
    >
    > when i do: <?php exec("echo unzip "); ?>
    > i get: unzip.nlm load status KenelOnly
    >
    > Does someone know how to send a command from php to Novell correctly??
    >
    > Thank you,
    >

  • Sending a array of integer to client

    Hi all,
    I'm new to socket programming and i had read many tutorials on sending files from server to client using DataOutputStream. Is it possible to send a array of integer out using DataOutputStream? If so any example or tutorial that i can read on? Thanks.

    Alternatively, can i convert the array of integer to byte and transfer to the client and covert it back to array of integer again?
    Can someone help me with this?
    Example:
    //I have a array of integer
    testArray = new int[10];
    int i;
    for(i=0;i<10;i++) {
    testArray[i] = i;
    //I need some code to send this array of integer to a client.

  • Passing Array to PHP

    Hi.
    I need to pass an array to php. But not by passing a string
    which will be split by a character (","). I was wondering if i can
    really pass an array to a php as an array not string.
    Thank you.

    You can pass arrays to PHP and from PHP to Flash if you use
    AMFPHP. It's a
    remoting replacement that I got hooked on long ago. It's most
    excellent.
    www.amfphp.org
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Sending an array of images via web service

    Hi!
    Is it possible to send an array of images using DataHandler[]?
    Thank you!
    Good Day!
    grazieee

    Hi Michael,
    Can I have an example of the JAX-RPC handler method?
    Thank you!!
    Good Day!
    grazieee..
    ================================================================
    "Michael Wooten" <[email protected]> wrote:
    >
    You can return a DataHandler[], but you can't currently pass one to a
    WLS (or WLW)
    web service opertion :-)
    For now, you should consider using a JAX-RPC Handler to achieve the same
    effect.
    Regards,
    Mike Wooten
    "grazieee" <[email protected]> wrote:
    Hi!
    Is it possible to send an array of images using DataHandler[]?
    Thank you!
    Good Day!
    grazieee

  • How do i send an array of clusters with variable size over TCP/IP?

    Hi,
            I'm trying to send an array of clusters with varible size over TCP/IP,. But I'm facing the following problems:
    1) I need to accept the size of array data from the user and increase the size dynamically.
    I'm doing this using the property node but how do I convey the new size to my TCP read?
    2) I need to wire an input to my 'bytes to read' of the TCP read.
    But the number of bytes to read changes dynamically
    How do I ensure  the correct number of bytes are read and reflected on the client side?
    3) Is there anyway I can use global varibles over a network such that their values are updated just as if they would on one computer?
     Will be a great help if someone posts a solution!
    Thank you...

    twilightfan wrote:
    Altenbach,
     ... xml string. ...number of columns that I'm varying using property node s... I solved these problems by using a local variable as the type input ...o TCP read is creating a problem.... second TCP read gets truncated data because
    its no longer just the first four bytes that specify the length of the data, it could be more as my array of cluster can be pretty huge.
    Instead of writing long and complicated sentences that make little sense, why don't you simply show us your code? 
    What does any of this have to do with xml strings???? I don't see how using a local variable as type input changes anything. The user cannot interact with "property nodes", just with controls. Please clarify. Once the array of clusters is flattened to a string you only have one size that describes the size of the data, no matter how huge it is (as long as it is within the limits of I32). Similarly, you read the string of that same defined length and form the array of clusters from it. How big are the strings? What is your definition of "huge"?
    Here's is my earlier code, but now dealing with an array of clusters. Not much of a change. Since you have columns, you want 2D. Add as many diensions you want, but make sure that the control, diagram constant, and indicator all match.
    The snipped shows for a 1D array, while the attached VI shows the same for a 2D array. Same difference.  
    Message Edited by altenbach on 01-31-2010 01:13 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FlattenArrayOfClusters.vi ‏12 KB
    ioclusters3MOD.png ‏25 KB

  • Send the array in querystring using jquery/javascript

    hi friends.
    var obj = [];
        obj[0] = {Guest:"Ramkumar", City: "Madurai", Mobile: "9578606320", Email: "[email protected]", Address:"first street" };
        obj[1] = {Guest:"Sathish", City: "Madurai", Mobile: "9578606320", Email: "[email protected]", Address:"first street" };
        obj[2] = {Guest:"Suresh", City: "Madurai", Mobile: "9578606320", Email: "[email protected]", Address:"first street" };
        obj[3] = {Guest:"Ganesh", City: "Madurai", Mobile: "9578606320", Email: "[email protected]", Address:"first street" };
        var x = JSON.stringify(obj);
        window.location = "view.html?Object=" + JSON.stingify(obj);
    I got the error :  "Internal Server Error."  
    pls tell how to send the array using querystring.. .

    This is not possible in the Small Basic programming language. It is better to look for another forum, e.g. for javascript.
    Jan [ WhTurner ] The Netherlands

  • Trouble with sending huge arrays via DataSocket​s.

    Hi,
    I am having trouble sending huge arrays via Data Sockets from my main vi on the server PC to the vi on the client PC.
    To further elaborate, in my main vi program I have created 3 arrays called Array1, Array2 and Array3 on my front Panel. By right clicking the mouse on each set of array and from the pop-up menu I selected Data Operations-> DataSocket Connection and I entered dstp://localhost/Array1 and clicked on Publish to broadcast the data from Array1. Similarly, I did the same for Array2 and Array3.
    Now, in my client vi program I have created three arrays on my front Panel to read (Subscribe) the data from the three arrays broadcasted via DataSockets from the server’s main vi program. To subsc
    ribe the data I did the similar process above and clicked on Subscribe to read the data (of course the IP address of the client PC will be different then the server PC so enter the hosts IP address). Once the data is received in the client arrays, I am using LV2 globals so that I can use these arrays on other sub-vi’s locally (instead of having each sub-vi get data from the server directly).
    I succeeded in doing this with two arrays, however when I added the third array the DataSockets would not work consistently. For example the refresh rate would get slower at times and sometimes 2 out of the 3 arrays would update. I don’t know if I have exceeded the limit on how much data DataSockets can broadcast, but I need to have some mechanism to broadcast 6 arrays (approx. 10000 elements for each array) of double digits precision.
    Has anyone come across this issue? Is there another way of broadcasting data more efficiently then DataSockets?
    I would appreciate any
    help that I can get.
    I have attached the files for this program in the zip file.
    First run the Server main program, testServeMainVI.vi, and then the client program, testClientMainVI.vi.
    Thanks
    Nish
    Attachments:
    beta2.zip ‏70 KB

    DataSocket can be a lossy communication. I like the advice to flatten the data to a string, but another option would be to buffer the communcation. The problem might be that the data is being overwritten on the server faster than it is being read. There is an example of buffered datasocket on NI web page: http://venus.ni.com/stage/we/niepd_web_display.DIS​PLAY_EPD4?p_guid=BA3F9DFED17F62C3E034080020E74861&​p_node=DZ52000_US&p_submitted=N&p_rank=&p_answer=&​p_source=Internal
    Also, I have played with the new built in buffered datasocket in LabVIEW 7.0. It is pretty slick. If buffers the data both on the server and the client side.

  • Beginner help to send an email from PHP

    I hope this isn't too easy to answer - I think I must be doing something fairly simple wrong.
    I want to send an email from a PHP page, using SOAP so the mail appears in the sender's sent items, as if it was done in the usual way.
    We're using Groupwise 8.02
    Using the example code in phpClient/phpClient.php I have got a list of folders/emails in my mailbox, so the authentication and access to Groupwise is obviously working. However, in that file there isn't a send mail example, so I copied the one from phpSOAP/client.php and it doesn't work.....the error seems to be 59920 which might be something to do with the session missing, but I find this hard to believe since the folders can be retrieved with the same object.
    Here is the code for mail sending I'm using:
    $mail = new Mail();
    $mail->subject = "php item";
    $dist = new Distribution();
    $from = new From();
    $from->displayName = "Paul Green";
    $from->email = "[email protected]";
    $dist->from = "[email protected]";;
    $dist->to = "Paul Green";
    $rlist = new RecipientList();
    $recip1 = new Recipient();
    $recip1->displayName = "Peter";
    $recip1->email = "[email protected]";
    $recip2 = new Recipient();
    $recip2->displayName = "Andy";
    $recip2->email = "[email protected]";
    $rlist->recipient = array ($recip1, $recip2);
    $dist->recipients = $rlist;
    $mail->distribution = $dist;
    $mp = new MessagePart();
    $mp->_ = "This is a test!";
    $mb = new MessageBody();
    $mb->part = $mp;
    $mail->message = $mb;
    $sir = new sendItemRequest();
    $sir->item = $mail;
    $sires = $gwservice->sendItemRequest($sir);
    Looking around, it seems to me that some of the objects haven't got the properties that the above code expects (eg the from object), so is the schema wrong somewhere?
    What I would like, but couldn't find, is some simple example code that works!
    Does anyone know the simplest way to send an email via SOAP?
    Many thanks in advance for any help anyone can give.
    Paul Green
    Barton Peveril College
    Eastleigh
    Hampshire
    UK

    The phpClient code was a proof of concept.
    I only hand fixed a few of the requests.
    If you use that code, you will need to go into each
    request you want to use and put in code to put in the
    session string. You need to do that in GroupWiseService.php.
    You may need to modify the individual files, ie Filter.php.
    The phpSOAP code works better / easier. You shouldn't have
    to modify that code. (You should be able to just use it.)
    That said, I only did a spot check. The code is as is. There
    is no support for it.
    Preston
    >>> On Friday, June 29, 2012 at 9:56 AM,
    PaulGreen77<[email protected]> wrote:
    > Thanks for the suggestions. I tried the phpClient code you suggested,
    > but it didn't work at all. I don't quite understand what you say about
    > setting the session header string; I think my code does this already.
    >
    > Early on in the code, after logging in, I have the following line
    > $gwservice‑>session = $lres['session'];
    > Doesn't this set the session as part of the Groupwise service?
    >
    > You said I need to manually set the session header string, but which
    > objects do i need to do it in? And can I do it as a parameter call, or
    > does it need to be done in GroupwiseService.php?
    >
    > I hope this doesn't make me sound too silly, but I am a bit of a novice
    > with OO programming!
    >
    > Another point: at various places in the code,
    > http://schemas.novell.com/2005/01/Gr...groupwise.wsdl is referred
    > to, but when I type this into a web browser, it says it can't be found?
    > Does this matter?
    >
    > I hope you can help me a bit further!
    >
    > Thanks.
    >
    > Paul
    >
    > Preston Stephenson;2203363 Wrote:
    >> If you can use php 3.x, use the phpSOAP example instead.
    >> ftp://sdk.provo.novell.com/ndk/gwsoa...rm/phpSOAP.ZIP
    >>
    >> It will handle setting the session string header automatically.
    >> If you use the phpClient example, you will have to go in to
    >> GroupwiseService.php
    >> and manually set the session header string in each request you want to
    >> use.
    >> See getFolderListRequest().
    >>
    >> Preston
    >>
    >> >>> On Friday, June 22, 2012 at 9:56 AM,
    >> PaulGreen77<PaulGreen77@no‑mx.forums.novell.com> wrote:
    >>
    >> > I hope this isn't too easy to answer ‑ I think I must be doing
    >> something
    >> > fairly simple wrong.
    >> > I want to send an email from a PHP page, using SOAP so the mail
    >> appears
    >> > in the sender's sent items, as if it was done in the usual way.
    >> > We're using Groupwise 8.02
    >> >
    >> > Using the example code in phpClient/phpClient.php I have got a list
    >> of
    >> > folders/emails in my mailbox, so the authentication and access to
    >> > Groupwise is obviously working. However, in that file there isn't a
    >> send
    >> > mail example, so I copied the one from phpSOAP/client.php and it
    >> doesn't
    >> > work.....the error seems to be 59920 which might be something to do
    >> with
    >> > the session missing, but I find this hard to believe since the
    >> folders
    >> > can be retrieved with the same object.
    >> >
    >> > Here is the code for mail sending I'm using:
    >> >
    >> > $mail = new Mail();
    >> > $mail‑>subject = "php item";
    >> > $dist = new Distribution();
    >> > $from = new From();
    >> > $from‑>displayName = "Paul Green";
    >> > $from‑>email = "[email protected]";
    >> > $dist‑>from = "[email protected]";;
    >> > $dist‑>to = "Paul Green";
    >> > $rlist = new RecipientList();
    >> > $recip1 = new Recipient();
    >> > $recip1‑>displayName = "Peter";
    >> > $recip1‑>email = "[email protected]";
    >> > $recip2 = new Recipient();
    >> > $recip2‑>displayName = "Andy";
    >> > $recip2‑>email = "[email protected]";
    >> > $rlist‑>recipient = array ($recip1, $recip2);
    >> > $dist‑>recipients = $rlist;
    >> > $mail‑>distribution = $dist;
    >> > $mp = new MessagePart();
    >> > $mp‑>_ = "This is a test!";
    >> > $mb = new MessageBody();
    >> > $mb‑>part = $mp;
    >> > $mail‑>message = $mb;
    >> > $sir = new sendItemRequest();
    >> > $sir‑>item = $mail;
    >> > $sires = $gwservice‑>sendItemRequest($sir);
    >> >
    >> > Looking around, it seems to me that some of the objects haven't got
    >> the
    >> > properties that the above code expects (eg the from object), so is
    >> the
    >> > schema wrong somewhere?
    >> > What I would like, but couldn't find, is some simple example code
    >> that
    >> > works!
    >> > Does anyone know the simplest way to send an email via SOAP?
    >> >
    >> > Many thanks in advance for any help anyone can give.
    >> >
    >> > Paul Green
    >> > Barton Peveril College
    >> > Eastleigh
    >> > Hampshire
    >> > UK

  • How to send Parameters FORM to PHP WEB Page with method POST (secure)?

    Hello everyone,
    i hope someone can help me to find a solution to this problem!
    i have to send "+precious+" parameters from an oracle form to php page, like username and password, with a secure method... i tried with WEB.SHOW_DOCUMENT procedure but it uses GET Method and when the web page open up you can read those parameters in the url...no good!
    some suggestion?
    Thank a lot in advance... FMicio

    The other way you have is to make a PJC java bean ...
    which uses HTTPClient library..
    for example:
    PostMethod post = new PostMethod("http://jakarata.apache.org/");
            NameValuePair[] data = {
              new NameValuePair("user", "joe"),
              new NameValuePair("password", "bloggs")
            post.setRequestBody(data);
            // execute method and handle any error responses.
            InputStream in = post.getResponseBodyAsStream();
            // handle response.I have done a multipart form data post to upload files to my db over httpClient.. and other things...
    Or with java.net.* api-s
    try {
        // Construct data
        String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
        data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
        // Send data
        URL url = new URL("http://hostname:80/cgi");
        URLConnection conn = url.openConnection();
        conn.setDoOutput(true);
        OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
        wr.write(data);
        wr.flush();
        // Get the response
        BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        String line;
        while ((line = rd.readLine()) != null) {
            // Process line...
        wr.close();
        rd.close();
    } catch (Exception e) {
    }Or you can call your web page (post data) from your database
    http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
    Edited by: Peterv6i on Mar 30, 2012 3:49 PM
    Edited by: Peterv6i on Mar 30, 2012 3:55 PM

  • Session arrays in php

    hello -
    im still having a problem. this array will set but only shows one record from the array. when there are 3 demo data sets.
    thanks in advance for your help.
    i want to store the variable id in an array and access that array through session id hyper link on the same page. so that when that hyper link is clicked the session id is passed to the next page.
    here is the page code:
    <?php
    if (!isset($_SESSION)) {
      session_start();
    ?>
    <?php require_once('conn.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $Id = $_SESSION['Id']; //get users id to pass to record
    $Name = $_SESSION['name']; // display users name
    $Group = $_SESSION['Group']; // access control group for moderators, members, users
    $maxRows_List = 10;
    $pageNum_List = 0;
    if (isset($_GET['pageNum_List'])) {
      $pageNum_List = $_GET['pageNum_List'];
    $startRow_List = $pageNum_List * $maxRows_List;
    mysql_select_db($database_List, $List);
    $query_List = "SELECT * WHERE b.UId1='$UserId'";
    $query_limit_List = sprintf("%s LIMIT %d, %d", $query_List, $startRow_List, $maxRows_List);
    $List = mysql_query($query_limit_List, $List) or die(mysql_error());
    $row_List = mysql_fetch_assoc($List);
    $List_Array = array();
    while ($row = mysql_fetch_array($List))
    foreach($row['Id'] as $i=>$val)
    $List_Array = $val;
    //return $List_Array;
    $_SESSION['Id'] = $List_Array;
    $myList_Array = $_SESSION['Id'];
    if (isset($_GET['totalRows_List'])) {
      $totalRows_List = $_GET['totalRows_List'];
    } else {
      $all_List = mysql_query($query_List);
      $totalRows_List = mysql_num_rows($all_List);
    $totalPages_List = ceil($totalRows_List/$maxRows_List)-1;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body  {
       font: 100% Verdana, Arial, Helvetica, sans-serif;
       background: #666666;
       margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
       padding: 0;
       text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
       color: #000000;
       background-color: #0E03D6;
    .thrColLiqHdr #container {
       width: 80%;  /* this will create a container 80% of the browser width */
       background: #FFFFFF;
       margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
       border: 1px solid #000000;
       text-align: left; /* this overrides the text-align: center on the body element. */
    .thrColLiqHdr #header {
       background: #FFFFFF;
       padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    .thrColLiqHdr #header h1 {
       margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
       padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    /* Tips for sidebars:
    1. Since we are working in percentages, it's best not to use side padding on the sidebars. It will be added to the width for standards compliant browsers creating an unknown actual width.
    2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColLiqHdr #sidebar1 p" rule.
    3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
    .thrColLiqHdr #sidebar1 {
       float: left; /* this element must precede in the source order any element you would like it be positioned next to */
       width: 22%; /* since this element is floated, a width must be given */
       background: #FFFFFF; /* the background color will be displayed for the length of the content in the column, but no further */
       padding: 15px 0; /* top and bottom padding create visual space within this div  */
    .thrColLiqHdr #sidebar2 {
       float: right; /* this element must precede in the source order any element you would like it be positioned next to */
       width: 23%; /* since this element is floated, a width must be given */
       background: #FFFFFF; /* the background color will be displayed for the length of the content in the column, but no further */
       padding: 15px 0; /* top and bottom padding create visual space within this div */
    .thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
       margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
       margin-right: 10px;
    /* Tips for mainContent:
    1. the space between the mainContent and sidebars is created with the left and right margins on the mainContent div.
    2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 300px or smaller (this includes images).
    3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
    .thrColLiqHdr #mainContent {
       margin: 0 24% 0 23.5%; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
    .thrColLiqHdr #footer {
       padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
       background:#FFFFFF;
    .thrColLiqHdr #footer p {
       margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
       padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
       float: right;
       margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
       float: left;
       margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
       clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #apDiv1 {
       position:absolute;
       left:206px;
       top:83px;
       width:151px;
       height:34px;
       z-index:1;
    #apDiv2 {
       position:absolute;
       left:363px;
       top:84px;
       width:519px;
       height:37px;
       z-index:2;
    -->
    </style><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .thrColLiqHdr #sidebar2, .thrColLiqHdr #sidebar1 { padding-top: 30px; }
    .thrColLiqHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColLiqHdr">
    <div id="container">
    <div id="header">
        <h1> </h1>
        <p> </p>
        <p> </p>
      <!-- end #header --></div>
      <div id="sidebar1">
      <h3>    </h3>
      <!-- show users ratings overall and per list -->
      <!-- end #sidebar1 --></div>
      <div id="sidebar2">
        <h3> </h3>
      <!-- display current viewers of user list in space and show count of number of views -->
      <!-- end #sidebar2 --></div>
      <div id="mainContent">
        <h1> </h1>
        <blockquote>
          <table border="1" cellpadding="1" cellspacing="1">
            <tr></tr>
            <caption align="center">
              List  Click to Edit
            </caption>
            <?php do { ?>
            <tr>
              <td><a href="list.php"><?php echo $myList_Array['Id']; ?></a></td> <-- this is the column that i want to have access the session id -->
              <td><?php echo $row_List['Subject'];?></td>
              <td><?php echo $row_List['Date']; ?></td>
            </tr>
            <?php } while($row_List = mysql_fetch_assoc($List));
          ?>
          </table>
          <h2> </h2>
          <p> </p>
        </blockquote>
    <!-- end #mainContent --></div>
       <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
      <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    </body>
    </html>
    <?php
    mysql_free_result($List);
    ?>

    thnks a lot!
    Michael Fesser wrote:
    > .oO(John Doe)
    >
    >
    >>wich is the <%Session.Timeout=n%> equivalent in
    PHP to increase the time
    >>specified in session.gc_maxlifetime?
    >
    >
    >
    http://www.php.net/ini_set
    >
    > Micha

Maybe you are looking for

  • Why does my screen keep flashing white when I use my front facing camera?

    I have an iPhone 4s running iOS 5.1. Whenever I use my front facing camera, the footage I take shows a white flash on the screen every second or so. It looks almost like the glare that you get from looking straight into a flashlight. This doesn't hap

  • Lumia 620 motherboard problem

    Hi, My My nokia lumia 620 was spread with rain water, i have drained it. It was working next 2 days and next day suddenly it stopped displaying/booting/getting on.  Gave for Service now they are telling mother board is gone and it cannot be repaired.

  • Error in host server but not in home PC

    I compiled the AppletButton.class(http://www.dedserius.com/~vanboers/OLDui/overview/example-1dot1/AppletButton.java) using jdk1.5.0_01 and call it from a HTML page without a Windowclass parameter so that testwindow opens. When I run the HTML page fro

  • PS CS6 Download and Serial No. not working - deactivation required?

    Hi Can someone please help me. I have CS6 but just changed computers to an iMac with no drive. I found the link to download the standalone program but it's not accepting my serial no. I did a bit of research and it looks like I had to de-activate cs6

  • Balance in transaction currency error in sap j1iin

    Hi, I am facing an error during creation of excise of 'balance in transaction currency error in sap j1iin'.But when we are creating EI in background the system is not getiing the error of Balance in transaction currency error. We have applied the Not