[PHP] php as cgi script

2003-11-28 Thread Ivone Uribe
Hello all! I have this problem: I need to run a php (http://xx.yy.zz/cgi-bin/pruebacgi.php) that contains that line #!/usr/local/bin/php -q I get it an error from my apache log: malformed header from script. Bad header= php [options] -r : /www/cgi-bin/pruebacgi.php I hope someone can help

Re: [PHP] php as cgi script

2003-11-28 Thread Ivone Uribe
in PERL - not in PHP. > > To run php as cgi you need to install the php cgi > version (as opposed to > the apache modular installation.) That will allow > you to run cgi > scripts on the command line. > > http://www.php.net/manual/en/install.commandline.php > >

Re: [PHP] php as cgi script

2003-11-28 Thread Ivone Uribe
Thanks very much to all, Ok, I understand now.. so I need to install php as a cgi oppose to the module apache. Do you have some good page that can help me to configure and compile correctly the php as cgi? Thanks in advance, Kisses, Ivone --- Kelly Hallman <[EMAIL PROTECTED]> wrote: > On Fri, 28

[PHP] run a command on a remote host

2003-12-09 Thread Ivone Uribe
How can I run a command on a remote host wiht php? I'm trying this line but nothing happen. passthru("rsh rubella /export/dat0/users/augur-se/bin/.upnotify -s 1045073262-82425_net2.nextelinternational.com -u http://wap.peru.com -a -y D--- -i Location -n"); I try exec and system, too But if I run

Re: [PHP] run a command on a remote host

2003-12-10 Thread Ivone Uribe
gt; error_log? I'm not > incredibly well versed in rsh, but you couls > potentially run into some > issues with the -l option too. Check your error_log > though, if it > doesn't spell out what's wrong to you, it should > atleast give some > information that someon

RE: [PHP] run a command on a remote host

2003-12-10 Thread Ivone Uribe
ns that might > be available. rsh, > rexec, rpc and ssh are defined best in Unix > references, but many are also > available if your php server is windows based. > > good luck, > > Warren Vail > > > -Original Message- > From: Nathan Taylor [mailto:[EMAIL

[PHP] php compile error with mysql undefined reference to `mysql_real_escape_string'

2003-12-14 Thread Ivone Uribe
Hi all! I'm installing php4.3.3, apache 1.3.28 with mysql3.22.32 I'm using this option --with-mysql=/usr/local/mysql But when I compile the php code, I get this error: ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding': /root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118: undef

[PHP] php compile error with mysql undefined reference to `mysql_real_escape_string'

2003-12-15 Thread Ivone Uribe
Hi all! I'm installing php4.3.3, apache 1.3.28 with mysql3.22.32 I'm using this option --with-mysql=/usr/local/mysql But when I compile the php code, I get this error: ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding': /root/fuente/archivos/php-4.3.3/ext/mysql/php_mysql.c:1118: undef

[PHP] PHP and MSSQL-Server

2004-03-24 Thread Ivone Uribe
Hi all! I know that I can use php with mssql-server, but it isn't common as using php with mysql. So, I want to know is someone is using this structure, and is it stable? don't you have any kind of problems? Thanks and Regards, Ivone __ Do you Yahoo!? Yahoo! Finan

Re: [PHP] PHP and MSSQL-Server

2004-03-24 Thread Ivone Uribe
Sorry,I forget to mention that I have a linux Red Hat 7.3 and PHP 4, and a SQL Server 2000. Regard and Thanks a lot! --- Ivone Uribe <[EMAIL PROTECTED]> wrote: > Hi all! > I know that I can use php with mssql-server, but it > isn't common as using php with mysql. > So, I

[PHP] php and ms sql server

2004-03-25 Thread Ivone Uribe
Hi all! I need some recommendations from someone who is using php with ms sql. Is it stable? Is it run without any kind of problems? Do you recommend to use php and ms sql server? I have a linux Red Hat 7.3 and PHP 4, and a SQL Server 2000. Thanks a lot and Regards, Ivone ___