Re: [PHP-GTK] how to use shortcuts on windows

[email protected] (Dinesh) Wed, 08 Aug 2001 11:39:32 +0200
Newsgroups php.gtk
Message-ID <[email protected]>
See these sample:

C:\php4\php_win.exe c:\php4\Softdy_FTP_chat\Ressources\chat.php
C:\php4-0-7-dev\php_win.exe c:\php4\Softdy_FTP_tools\ressources\dinsoft.php

No spaces in your PATH or it will not works.

Joris Kluivers a écrit :

> Hi all,
>
> i've installed php in D:\Program Files\nusphere\apache\php
> and i have my gtk programs in D:\phpprog
>
> if i want to start any phpgtk applications i use the ms-dos promt.
> first i move to D:\Program Files\nusphere\apache\php
> then i type php -q D:\phpprog\scriptname.php
>
> this works fine
>
> but when i want to use shortcuts in windows this doesn't work
> in the shortcut properties window i have
> "D:\progra~2\nusphere\apache\php\php.exe" -q D:\phpprog\scriptname.php
> but this doesn't work, a ms-dos promt opens but closes itself almost at the same time
>
> when i type php -q D:\phpprog\scriptname.php in the ms-dos promt at any location (for example D:\)
> i get an error message (cant find php_gd.dll and some more libraries). So i guess it has something to do with PHP_BIN, but i don't know what. Can you help me?
>
> Joris