User Profile

Collapse

Profile Sidebar

Collapse
dmain1971
dmain1971
Last Activity: Apr 14 '07, 04:39 AM
Joined: Apr 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dmain1971
    replied to PHP Notice: Undefined variable: array_var
    in PHP
    Here is the rest of the error: "PHP Warning: Invalid argument supplied for foreach()", meaning the array I created....
    See more | Go to post

    Leave a comment:


  • dmain1971
    replied to PHP Notice: Undefined variable: array_var
    in PHP
    changed it again: public $detail = array(1 => 'A');

    same result. I have other arrays that work fine....
    See more | Go to post

    Leave a comment:


  • dmain1971
    replied to PHP Notice: Undefined variable: array_var
    in PHP
    --------------------------------------
    I have tried declaring it public with the same result.
    I tried creating it as private $detail = array(3); with the same result

    What am I missing?...
    See more | Go to post

    Leave a comment:


  • dmain1971
    started a topic PHP Notice: Undefined variable: array_var
    in PHP

    PHP Notice: Undefined variable: array_var

    I have a class with an empty array like so:

    private $detail = array();


    Then I have a function later on in the class:

    function get_array_value ()
    {
    $detail_info = ' ';
    foreach($detail as $key=>$value)
    {
    $detail_info .= CreateDetailEnt ry($value);
    }
    }

    when I create an instance of my class and try to use the function...
    See more | Go to post

  • dmain1971
    started a topic CGI Error - Header Problem
    in PHP

    CGI Error - Header Problem

    The specified CGI application misbehaved by not returning a complete set of HTTP headers.


    I get this message when running ona production server with IIS 6 but my dev machine running XP Pro with default IIs from Visual Studio does not have this problem.

    I have set up my website exactly the same on both machines and added the webservice extension to allow php.

    even if my code does nothing but return...
    See more | Go to post

  • dmain1971
    replied to PHP errors
    in PHP
    The php_snmp.dll should be part of the windows binaries or the windows zip so that is not actually the problem. The problem is all the dependencies (mods) that snmp needs (IP, TCP ...) so if you commentn out snmp then it will quit looking for the dependencies. I had the same problem when I installed the snmp extension from the windows binaries.

    Now at least I have it running on my local windows pro laptop. we'll see what happens...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...