Results 1 to 7 of 7

Thread: PHP in Visual Basic

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Posts
    12

    PHP in Visual Basic

    Anybody know how to do this?

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    you have to have a server and php installed.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Posts
    12
    fiddles...any other ideas?

  4. #4
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    I beleive it was asked before in this forum. try a search

  5. #5
    Lively Member
    Join Date
    Sep 2002
    Location
    Newfoundland
    Posts
    71
    try calling the PHP-CLI exe directly
    I do believe for the new PHP5.0.0b1 you would find it to be something like this:

    C:/path/to/php_folder/CLI/php.exe "C:/path/to/script.php"

    Older versions of PHP would probably use this:

    C:/path/to/php_folder/php-cli.exe "C:/path/to/script.php"


    Then, from VB, you could just pull a shell call like so

    Shell("C:/path/to/php_folder/php-cli.exe \"C:/path/to/script.php\"")


    I think that would work
    - Adam Lundrigan

  6. #6
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    where are you getting this

    php-cli.exe

    no exe file called that.

  7. #7
    Lively Member
    Join Date
    Sep 2002
    Location
    Newfoundland
    Posts
    71
    Sorry about that, I was thinking back to an older version of PHP. both recent versions of PHP (4.3.2 and 5.0.0b1) have a seperate PHP.exe file in the /cli folder that is tuned for handling command line use (CLI = Command Line Interface)

    Sorry about the confusion
    - Adam Lundrigan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width