Thread: plphp

Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Yeah, I thought the same thing... I guess there was a reason they went that route.

    I'm not too happy with postgres arrays. Hopefully a solution will present itself...
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Poland
    Posts
    57
    Rep Power
    12
    Yeah, I'm at this list as well.
    Yeah, that would make sense, since PHP cannot have a variable name start with a number. But, I would kind of prefer something like $arg[0] ... $arg[n].
    You can alway do sth. like that.
    $i = 0;
    while( ! empty( ${ "arg".$i } ) )
    $argv[ $i ] = ${ "arg".( $i++ ) };
    $argc = $i - 1;
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    373
    Rep Power
    12
    This seems like a great development!!

    I have worked a lot with Oracle's PL/SQL and I really like it a lot. I think plpgsql is really cool, but it lacks a lot of utilities, like the htp.p() functionality, html arrays in variables (owa_util.ident_arr), I'm not sure if you can mail stuff...

    (enter plphp and others)

    oh my! now we're talking...

    my main question about all this is Can I now have a stored procedure write a web page??? I think that's the whole idea of this pl, isn't it? Another question. Can you run UNIX system calls from a procedure written in C?
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo