try this in php. put the executable in your apache/iis root dir or include
the path
$status1 = shell_exec("status.exe");
see here for more> http://www.php.net/manual/en/function.exec.php
'wo nurries'
noize
"Brennan Mann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROT
go here to see/hear what i mean http://203.79.117.34/help.php wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> how the hey do i enter a carriage return after shell_exec()
>
> heres the code that works:
>
> $status1 = shell_exec("status.exe");
>
> BUT, because the exe has a windows p
how the hey do i enter a carriage return after shell_exec()
heres the code that works:
$status1 = shell_exec("status.exe");
BUT, because the exe has a windows popup in it (because i havent registered
or craked the thing yet, no time or $) the thing wont run! so, ideas any1?
:-\
noize
--
I make register golbals on, but it doesn't solve the problems. The wird
thing is, i am using php nuke in my localhost, it can enter datas into
MySQL, the form and the script it's not diffrent than mine right
(phpnuke more complex). The form it self don't have any errors?? and how
about the PHP
i write this code, veru simple code about testing inserting into database
MySQL. I found a little trouble, wich is the data i inserted in the form
doesn't show up in the database, since i still new with PHP, i cannot solve
this problem,
what's wrong with my code??
thanks
";
echo ""
."Insert Tit
I'm fairly new to PHP myslef, but I think you need to call the post
variable from your form like this:
$_POST["first"], $_POST["last"] etc
At 10:48 AM 11/16/02, zeus wrote:
I make this script. I have a problem, the data entered in the form wont
insert into MYSQL, the database added new ro
I make this script. I have a problem, the data entered in the form wont
insert into MYSQL, the database added new row but with blank database.
Is there something wrong with the script? because i install phpnuke and
i can added new data into mysql.
Thanks, i need solve this problem A.S.A.P, with
i write this code, veru simple code about testing inserting into database
MySQL. I found a little trouble, wich is the data i inserted in the form
doesn't show up in the database, since i still new with PHP, i cannot solve
this problem,
what's wrong with my code??
thanks
";
echo ""
."Insert Tit
imho, the best documentation of the COM functionality is done by the
random people who post comments to the online documentation here:
http://www.php.net/manual/en/ref.com.php
About the return value, it might be an array, or it might just be a
reference to another COM object. Try this:
echo
I'm using the function ftp_get() in my ftp access. The problem is that I
can't tell if the file is downloaded or not. How can I resolve this problem?
The page that has this function gets the vars from an url ( ex.
www.mysite.com/hello.php?name=rui&pass=superfly) Another problem to concern
is the f
I think what you are looking for isn't a JavaScript popup, but a
"WWW-Authenticate" HTTP header, which is the standard broswer popup for
login and password. You can do that with this PHP code at the ABSOLUTE
top of every PHP page you want to secure:
header('WWW-Authenticate: Basic realm="my r
A.J.
A.J.
Dash`s solution says it all - you certainly don`t need Winmysqladmin to
start and stop mySQL - I just have a couple of shortcuts to batch files to
start and stop apache and mysql on the desktop. You don`t need the "start"
command in fact though it does no harm.
stop mySQL with
cd
php-windows Digest 15 Nov 2002 22:15:36 - Issue 1442
Topics (messages 16959 through 16976):
php - login and password
16959 by: Rui Monteiro
16976 by: Cam Dunstan
Re: set up mysql without winmysqladmin?
16960 by: Brian McGarvie
16961 by: Stephen Edmonds
Rui,
There are a hundred ways of doing this, popup windows are often simple
client side javascript routines, but most often, serious passwording
involves the use of databases. So get yourself a copy of mySQL and start
by familiarlising yourself with that and PHPs unrivalled set of db
connection
Hello,
how can I make a page open in Word instead of the browser?
If I just write:
header( "Content-type: application/msword" );
won't change anything, the page opens in explorer.
The file is generated on the fly,
so there is no real file to open, just the output from the webserver.
As far as I kno
Hello all,
I am having a little problem with return types from a COM object. Basically
(code follows) I get a collection back from the object and I can not figure
out a way to iterate through this collection. Posted is a snippet of test
code that I hope one of you can help me with.
DomainDNSNam
Make yourself a simple batch script:
amp.bat:
@echo off
start c:\path\to\apache\apache.exe
c:\path\to\mysql\bin\mysqld.exe --console
echo Press ^C to stop stuff
pause>NUL
c:\path\to\apache\apache.exe -k stop
or something (I'm guessing on the mysqld option). The start command may be
particularly o
On Fri, 15 Nov 2002 10:58:06 -0500, [EMAIL PROTECTED]
(Brennan Mann) wrote:
$param=escapeshellcmd($param);
system("program.exe $param");
>I am sorry. I forgot to add that the CGI uses the get method to receive
>data.
>For example "my_cgi.exe?=1000"
>The system("my_cgi.exe") call worked. But I st
to give an example ... just cos I'm nice like that:
$file1=fopen("http://myserver/cgi.exe?=1000","r";);
fpassthru($file1);
will get your webserver to run the cgi ... and then will simply output the
result back to the user.
if you need to - you could even add some authentication in there and pass
Open it using the fopen command - but do it as an HTTP open to the same
server your PHP is on.
Then you can pass the get string along with the open request ... the Apache
system (or whatever your using) should then execute the CGI with the get ...
and you get read the results using fpassthru or fr
I am sorry. I forgot to add that the CGI uses the get method to receive
data.
For example "my_cgi.exe?=1000"
The system("my_cgi.exe") call worked. But I still need to pass data to the
exe. Any suggestions?
Thanks again!
Brennan
"Brennan Mann" <[EMAIL PROTECTED]> wrote in message
news:20021115145
Try this:
echo `you_script_name.exe`;
or
system('you_script_name.exe')
>Hello everybody!
>
>I am new to PHP. I have several C and C++ programs that run as cgi(s).
>Currently, I am just using a form on a web page to call the cgi(s). I am
>running PHP on a Windows 2000 server with IIS. Can you c
Hello everybody!
I am new to PHP. I have several C and C++ programs that run as cgi(s).
Currently, I am just using a form on a web page to call the cgi(s). I am
running PHP on a Windows 2000 server with IIS. Can you call/invoke an exe
program from a PHP script? If so, could you please show an
> I try to help to you but I do not sure if it is a correct because I
> have study the problems but I do not have try it.
>
> For my porpose instead to use COM object I like to use C or C++
> external pgm.
>
> First of all, the DLL must be registred in Windows system. Mine was
> because it was prov
I'd like to use the tmpfile()-function, but how can I get hold
of the filename and directory?
Frode
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[Hello, I didn't subscribe to this list until the 11th, so I'm sorry I can't
reply to the original message.]
Rob -- I recently set up PHP on a standalone computer running Windows XP
Professional and IIS and I'd be happy to help. If you want to try two
things, please let me know how you get on..
Hello,
When I installed MySQL for the first time, he began
automatically when the windows began. However, a
beautiful day, when I was exploring the paste
c:\mysql\bin, I found the file winmysqladmin.exe. I
executed it to see what was. Cursed hour. Of this
moment in before, whenever the windows is
Unfortunately, I already tried this. I know that once you run
WinMySQLAdmin, it puts itself in the startup folder/systray. However, I
remember that in one of those PHP distros for windows (I forget which one),
that if you load up Apache, it was able to connect to MySQL and PHP without
loading th
On my Windows XP System, I only ran WinMySQLAdmin once. Now whenever my PC
loads, MySQL comes online with it. I suggest you try closing WinMySQLAdmin,
restarting, then seeing if you can access the database
Stephen
- Original Message -
From: "A. J. McLean" <[EMAIL PROTECTED]>
To: <[EMAIL P
I think it's only possible under nt/2k
http://www.mysql.com/doc/en/NT_start.html
"A. J. McLean" <[EMAIL PROTECTED]> wrote in message
news:20021114141034.48692.qmail@;pb1.pair.com...
> Is it possible to configure mysql to load up automatically whenever apache
> is run (without having to load up
I must say that I'm new at this php world.
There are some web sites that when you enter a page, a pop-up windows
appears requesting a login and password.
How can I make a form in php (login page) that searches for the login and
password of the page that is requested?
I really don't know where th
31 matches
Mail list logo