|
-
Jun 28th, 2003, 08:36 PM
#1
Thread Starter
New Member
PHP in Visual Basic
Anybody know how to do this?
-
Jun 29th, 2003, 01:40 AM
#2
Frenzied Member
you have to have a server and php installed.
-
Jun 29th, 2003, 11:42 AM
#3
Thread Starter
New Member
fiddles...any other ideas?
-
Jun 29th, 2003, 03:24 PM
#4
Frenzied Member
I beleive it was asked before in this forum. try a search
-
Jul 3rd, 2003, 09:07 PM
#5
Lively Member
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
-
Jul 4th, 2003, 10:43 AM
#6
Frenzied Member
where are you getting this
php-cli.exe
no exe file called that.
-
Jul 4th, 2003, 12:07 PM
#7
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|