php-windows Digest 28 Jul 2005 08:37:38 -0000 Issue 2741

Topics (messages 26240 through 26245):

Re: Run a program
        26240 by: Mike

Enabling File I/O functions on a shared host
        26241 by: Jim MacDiarmid

Re: Very Basic question: What IDE/tools I need to begin using PHP?
        26242 by: CrAzY mEx

can I use Apache v 2 with PHP?
        26243 by: Taksam

Has anybody used amfphp?  (open flash remoting + php)
        26244 by: Taksam
        26245 by: Mark Rees

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
YOu will need put the .DLL´s into php CLI folder.

Mike


Jacob Waller said the following on 27-07-2005 08:22:
Hi!

Jon wrote:
"Jacob,
echo your command and make sure that it is calling shell_exec(); correctly"

Ehm... I'm not sure if I get what you mean, Jon. Could you please explain this further?

Yong wrote:
"just run D:/usr/bin/php.exe -q script.php arg1 arg2 in the command window.
It's no need using shell."

I'm not sure, but I think I do have to run it through bash, because the program (fontforge) isn't really made for Windows, so it uses Cygwin (some kind of Linux-like environment) to be able to run on Windows. This is why I have to (I think) use the Cygwin bash to be able to run it.

I've discovered something curious - the command doesn't not only work when I run it from the Run-dialog, but also when I run it from the PHP CLI! However, when I run exactly the same script with the PHP CGI it does NOT work. How is that possible? I hope you're able to help me, 'cause my poor brain isn't capable of taking it anymore ;)
/Jacob


----- Original Message -----
From: ""Jacob Waller"" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[email protected]>
Sent: Monday, July 25, 2005 6:11 PM
Subject: Run a program


Hi!
I'd like to be able to run a program from a php-script. I've tried running
the following command, and it works when I run it from the Run-dialog:
D:\Cygwin\bin\bash.exe --login -i script.sh arg1 arg2
(the shell script runs another program (fontforge) which too runs a script)

However, when I try to run the same command from a php-script nothing
happens. Or rather, bash starts, but it doesn't do what it does when i run
the same command from the Run-dialog. I'm not even sure if I'm using the
right php-command and syntax. Could you please tell me how to do?
I'm on Win XP Home if that matters...
Thanks in advance! /Jacob



=================================
Este Sistema executa REVERSE DNS LOOKUP em HELO/EHLO DOMAIN.
Esteja certo de enviar email via Dominio Real.


==================================

Listas via WEB/Email simultâneamente "Poemas - Poesias - De bem com a vida" - Gosta de romantismo ?
"Firefox" - Tudo a respeito deste excelente browser
"Thunderbird" - Melhor que tudo. Melhor que o Outlook
"Estórias interativas" - Crie sua estória e os outros continuam
"Tudo sobre Sexo - Amor - Dúvidas - Dicas em relacionamentos"
http://www.netforum.com.br/gust/index.php


Está procurando / Ofertando emprego ?
Envie email para [EMAIL PROTECTED]
No assunto ponha: SUBSCRIBE VAGAS
Siga as instruções, e após isto para enviar mensagem
para a lista envie para: [EMAIL PROTECTED]

Este email passou por www.netforum.com.br e submetido
a rigoroso teste de anti-virus e é 100% livre de SPAM.

Se você está procurando relacionamentos, não deixe de
visitar: http://www.netforum.com.br
Quem sabe você encontra um bom relacionamento.

Quer ter seu FotoBlog Pessoal ? Crie seu Álbum Público
ou Privativo. Deixe os outros verem e comentarem.
Igual a este você nunca viu !!
http://www.netforum.com.br http://www.marulo.net


Gosta de imagens? Visite a galeria de imagens
em 3D. Você pode enviar postais, comentar, votar e fazer
downloads.

http://www.netforum.com.br

--- End Message ---
--- Begin Message ---
I'm using a shared host for some web applications I'm doing. These
applications (including PEAR) use file i/o functions such as fread(). At the
moment, my shared host has these functions disabled. Since the fread is
disabled it's causing the browser-based PEAR front end not to display the
images and icons. I'd also like to be able to read and write my own files. I
was wondering if there was a way to enable these I/O functions myself using
ini_set or some other way since I don't have direct access to the php.ini
file? 

Thanks,
Jim 

--- End Message ---
--- Begin Message ---
I recommend SciTE
(www.scintilla.org/SciTE.html<http://www.scintilla.org/SciTE.html>).
It can debug PHP scripts. Just go to Tools >> Go or press F5.

On 7/26/05, Taksam <[EMAIL PROTECTED]> wrote:
> 
> Hi everybody, I am learning PHP, and have this very basic question:
> 
> What software/tools I need to begin?
> What is the best IDE I can use? (in windows) Please tell me about 
> FULL-IDEs, not just "super text editors that can syntax-highlight PHP code". 
> I want to debug, deploy... ALL!
> 
> I have just downloaded Zend Studio Client AND Zend Studio Server. Is that 
> all I need to begin?...
> 
> Tak
> 
> Jacob Waller <[EMAIL PROTECTED]> wrote:
> Hi!
> I'd like to be able to run a program from a php-script. I've tried running
> the following command, and it works when I run it from the Run-dialog:
> D:\Cygwin\bin\bash.exe --login -i script.sh arg1 arg2
> (the shell script runs another program (fontforge) which too runs a 
> script)
> 
> However, when I try to run the same command from a php-script nothing
> happens. Or rather, bash starts, but it doesn't do what it does when i run
> the same command from the Run-dialog. I'm not even sure if I'm using the
> right php-command and syntax. Could you please tell me how to do?
> I'm on Win XP Home if that matters...
> Thanks in advance! /Jacob
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> ---------------------------------
> Start your day with Yahoo! - make it your home page
>

--- End Message ---
--- Begin Message ---
Hello everybody: 



I finally installed Apache 1.3.3 and PHP 5.0.4 engine and made my first PHP 
page and it works! thanks for your help! And didn't use an IDE, just UltraEdit 
:) but, I WILL use and IDE someday anyway.



Now, my question is: can I use Apache version 2 with PHP? And, even if I can 
use it in my development environment... is it safe to use Apache 2+PHP in a 
production environment?



Fist of all, thanks for your answers, I am new with PHP, but I've been using 
Java for the last 5 years, so, it's very interesting to compare both.



Tak (learning PHP in turbo-mode)


                
---------------------------------
 Start your day with Yahoo! - make it your home page 

--- End Message ---
--- Begin Message ---
Anybody used OpenAMF+PHP? ( http://www.amfphp.org/ )

It is an open-source Flash Remoting gateway. I already used it with Java and 
works OK. Just wanted to know if somebody here used it with PHP and would like 
to know if they recommend it or not.



Tak

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--- End Message ---
--- Begin Message ---
"Taksam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Anybody used OpenAMF+PHP? ( http://www.amfphp.org/ )
>
> It is an open-source Flash Remoting gateway. I already used it with Java
and works OK. Just wanted to know if somebody here used it with PHP and
would like to know if they recommend it or not.
>

Please don't cross-post on php.general and this list

>
>
> Tak
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

--- End Message ---

Reply via email to