Trick to run remote php/gtk scripts on local machine...Comments please...

From: Date: Thu, 06 Sep 2001 18:17:40 +0000
Subject: Trick to run remote php/gtk scripts on local machine...Comments please...
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-57@lists.php.net to get a copy of this message
L.S. I used a trick to run php/gtk(win32) scripts from a remote webserver. It works only for simple scripts. 1. Tell windows that you want to open al files with extension ".pap" with php.exe. - create an empty file "test.pap". - Doubleclick on the file - Windows does not recognise the ".php" extension. It will ask you to assign a default program for files with the ".pap" extension. - Select php.exe as the default handler for these files. 2. Rename the php/gtk scripts from ".php" to ".pap" 3. Open the script in your browser. Windows will ask you "Open" or "Save". Select the "Open" option. 4. Voila...Your local php.exe will execute the remote script. Vriendelijke groeten, Rein Velt

« previous php.gtk.general (#57) next »