Hi NG!
I am using a couple of local scripts without webserver.
Is there a way to make the script open a filebrowse prompt, so that the user
can select some file as input?
--
Freundliche Grüße,
Franz Marksteiner 9 1518
Franz Marksteiner wrote:
Hi NG!
I am using a couple of local scripts without webserver.
Is there a way to make the script open a filebrowse prompt, so that the
user can select some file as input?
Not without some type of GUI.
Make life easy on yourself. Install WAMP on your system and get a
webserver.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
Jerry Stuckle wrote:
Franz Marksteiner wrote:
>Hi NG!
I am using a couple of local scripts without webserver. Is there a way to make the script open a filebrowse prompt, so that the user can select some file as input?
Not without some type of GUI.
Make life easy on yourself. Install WAMP on your system and get a
webserver.
I thought since I can call system commands, there should be a way to browse
for a file...
--
Freundliche Grüße,
Franz Marksteiner
Franz Marksteiner wrote:
Jerry Stuckle wrote:
>Franz Marksteiner wrote:
>>Hi NG!
I am using a couple of local scripts without webserver. Is there a way to make the script open a filebrowse prompt, so that the user can select some file as input? Not without some type of GUI.
Make life easy on yourself. Install WAMP on your system and get a webserver.
I thought since I can call system commands, there should be a way to
browse for a file...
So which system command gives a filebrowse prompt?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
Jerry Stuckle wrote:
Franz Marksteiner wrote:
>Jerry Stuckle wrote:
>>Franz Marksteiner wrote: Hi NG!
I am using a couple of local scripts without webserver. Is there a way to make the script open a filebrowse prompt, so that the user can select some file as input?
Not without some type of GUI.
Make life easy on yourself. Install WAMP on your system and get a webserver.
I thought since I can call system commands, there should be a way to browse for a file...
So which system command gives a filebrowse prompt?
If I knew it I wouldn`t ask ...
But when selecting a file within an HTML form, the filebrowser is a local
application.
--
Freundliche Grüße,
Franz Marksteiner
Franz Marksteiner wrote:
Jerry Stuckle wrote:
>Franz Marksteiner wrote:
>>Jerry Stuckle wrote: Franz Marksteiner wrote: Hi NG! > I am using a couple of local scripts without webserver. Is there a way to make the script open a filebrowse prompt, so that the user can select some file as input? >
Not without some type of GUI.
Make life easy on yourself. Install WAMP on your system and get a webserver.
I thought since I can call system commands, there should be a way to browse for a file... So which system command gives a filebrowse prompt?
If I knew it I wouldn`t ask ...
But when selecting a file within an HTML form, the filebrowser is a
local application.
That's because there isn't one for command line applications. Strictly
command line.
And yes, the browser is a local application - but it's being served from
a webserver, which is what's executing the PHP code. If you want to use
the features of the browser, you need a server to handle the PHP end.
The server can be local.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
Jerry Stuckle wrote:
Franz Marksteiner wrote:
>Jerry Stuckle wrote:
>>Franz Marksteiner wrote: Jerry Stuckle wrote: Franz Marksteiner wrote: >Hi NG! >> >I am using a couple of local scripts without webserver. >Is there a way to make the script open a filebrowse prompt, so that >the user can select some file as input? >> > Not without some type of GUI. > Make life easy on yourself. Install WAMP on your system and get a webserver.
I thought since I can call system commands, there should be a way to browse for a file...
So which system command gives a filebrowse prompt?
If I knew it I wouldn`t ask ... But when selecting a file within an HTML form, the filebrowser is a local application.
That's because there isn't one for command line applications. Strictly
command line.
I meant "strictly text". :-)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
"Franz Marksteiner" <fr**************@gmail.comwrote in message
news:fr*************@news.t-online.com...
Hi NG!
I am using a couple of local scripts without webserver.
Is there a way to make the script open a filebrowse prompt, so that
the user can select some file as input?
Hi Franz,
maybe this works for you; http://gtk.php.net/faq.php
R.
Richard wrote:
"Franz Marksteiner" <fr**************@gmail.comwrote in message
news:fr*************@news.t-online.com...
>Hi NG!
I am using a couple of local scripts without webserver. Is there a way to make the script open a filebrowse prompt, so that the user can select some file as input?
Hi Franz,
maybe this works for you;
http://gtk.php.net/faq.php
Hi Richard,
I already bumped into this. Looks a little overhead, but it`s still on my
ToReviewList ;-)
I appreciate the effort!
--
Freundliche Grüße,
Franz Marksteiner
Greetings, Franz Marksteiner.
In reply to Your message dated Thursday, March 20, 2008, 18:36:11,
I am using a couple of local scripts without webserver.
Is there a way to make the script open a filebrowse prompt, so that the user
can select some file as input?
<?php
dl('php_win32std');
$res = win_browse_file(true, null, null, null, array('Text files (*.txt)' ='*.txt'));
print_r($res);
?>
Be aware of the fact that result of the function will be in ANSI encoding.
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Vestergaard |
last post by:
Hi
Probably a simple question but I have not been able to find out how:
I want my python script to generate a path based on some simple lookups and
then change my path so that when the script...
|
by: Enno Middelberg |
last post by:
Hi all,
I am using mpeg_encode under Linux to generate little movies. The
parameter file is generated by a Python script, the last line of which is
os.system('mpeg_encode mpeg.par')
When I...
|
by: Petesman |
last post by:
I am trying to make a prompt that will ask the user for some input...
If I just use var input = prompt("dafa") everything works fine but the
box is put in the top left corner of the window. I need...
|
by: J.P. Cummins |
last post by:
In my ASP.NET application, I wish to have a page for administrators to
edit items in a list. Preferably, I would like to use the javascript
prompt for the 'rename' function, and a javascript alert...
|
by: joemac |
last post by:
I'm just starting out with javascript and the following is not working
as it should. The expected prompt dialog box never appears.
<head>
<script language="JavaScript"><!--
var name;...
|
by: lisaj |
last post by:
I'm having huge difficulties producing a script for this:
Write a javascript programme that will prompt for, and accept from the user, an input string which contains at least 8 characters. It...
|
by: TokyoJ |
last post by:
I use a popup / prompt requesting the visitor to enter a USERNAME so after the user clicks SUBMIT on the prompt all the pages in the site should greet the user with Hi, USERNAME.
But there are two...
|
by: hcross |
last post by:
This project is a web based html and Javascript site. I am working on mac at the moment. This script works except for attempting to open new window once complete.
As you can see, i am new to...
|
by: johanot |
last post by:
HELP. :)
I found a usefull script at isascripts.org. The script fills a computerset with names and IP-adresses. I'm running IIS and ISA server on the same machine and I would like to let the...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
| |