[PHP] PHP script in C SHELL

2003-06-25 Thread Marcos
ocal/apache/bin/pwauth"; if($cmd = popen ($pwauth, "w")) { fwrite($cmd, $pipe); $status=(pclose($cmd)>>8)&0xFF; } Thank's Marcos [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus syst

[PHP] about include

2001-02-28 Thread Marcos
user_dir= /usr/local/apache/htdocs ; extension_dir = ./ enable_dl = On after this, where should i put all my php files? can i put admin php files into other directories? any suggestions will be appreciated, thanks in advance, marcos lloret

[PHP] including html

2001-03-01 Thread Marcos
hi, i would like to put all the content from a html file into a php. (like working with SSI) index.php include ('info.html) is this right? regards, marcos [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] apache does not understand php3

2001-03-05 Thread Marcos
hi, i have installed php4. from my browser i can read php .. but not php3. what should i do? regards, marcos [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] searching over static pages...

2001-03-13 Thread Marcos
php), how can i search into those files and return the id from my database? any suggestion will be appreciated, thanks in advance, marcos [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] configure php-module over iis

2001-05-24 Thread Marcos
hi to @all, i would like to know how can i install php module over iis. i would like to know also how does php work on sql server. best regards, marcos

[PHP] php over netscape

2001-05-24 Thread Marcos
hi, i have to run php over Netscape Enterprise Server 3.6. is there any module to run it there? thanks in advance, marcos

[PHP] back from a search form

2001-06-26 Thread Marcos
page.       search.php --->  click into --->   news.php?id=1  and if i make  javascript:window.history.back(-1)  it shows me the blank page.   any ideas will be helpful,   thanks in advance,   marcos  

[PHP] PHP & JAVA: Odd Behavior

2001-08-03 Thread Marcos
k. While all the above is happening, if a go to the command prompt and type: "d:\php406\php d:\http\myprogram.php3", it works fine, every time. I ran out of options and, if anyone could help, I'll appreciate. Tks, Marcos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP & JAVA: Odd Behavior

2001-08-06 Thread Marcos
k. While all the above is happening, if a go to the command prompt and type: "d:\php406\php d:\http\myprogram.php3", it works fine, every time. I ran out of options and, if anyone could help, I'll appreciate. Tks, Marcos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Newbie: Can't get my PHP server to work

2002-11-26 Thread Marcos Bastian
Hello Everyone: First of all: I've been dealing with PHP for less than 24 hours, so please forgive me if my questions are too basic... I'm using Xitami on a Windows 2000 server. I installed PHP and it seems to be working fine, but then, I tried to add a few file management scripts: PHP Commander

[PHP] Time that db´s connection is keep alive

2001-07-17 Thread Marcos Mathias
People! Someone can tell me if PHP 4 closes their connections to the DB automatically at the end of the script? Or I need to use the mssql_close function each time my work is done? Best Regards! Marcos Mathias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] just 10 characters from a string

2001-08-31 Thread Marcos Lloret
hi to all, i have a long string (about 255 characters) and i would like to show only 10. how can i do it? thanks in advance, marcos

[PHP] select

2001-09-13 Thread Marcos Mathias
that supposed to happen or i am doing something wrong? Thanks and best regards! Marcos Mathias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] select in PHP + Sql Server

2001-09-13 Thread Marcos Mathias
that supposed to happen or i am doing something wrong? Thanks and best regards! Marcos Mathias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RES: [PHP] select in PHP + Sql Server

2001-09-13 Thread Marcos Mathias
); echo ($datetime . "" ); echo ($source . "" ); } []s Marcos -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Thursday, September 13, 2001 6:33 AM Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] Assunto: Re: [PHP] sel

[PHP] freetds problem???

2001-09-17 Thread Marcos Mathias
contains at least one index, any kind of the selects above works just fine. I think that error could be caused by the freetds. If i don't make myself clear, please email me at [EMAIL PROTECTED] Thank you very muck. Best Regards! Marcos Mathias -- PHP General Mailing List (http://www.p

Re: [PHP] Text Editor for Windows?

2007-02-16 Thread Sady Marcos
PDT - PHP Eclipse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: installing php 5.2.1

2007-03-29 Thread Sady Marcos
Change permissions... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pdo::lastInsertId() error with SQL Server

2007-03-29 Thread Sady Marcos
hey.. I am not obtaining use the function pdo::lastInsertId() with sql My code: $db = new PDO("mssql:host=host;dbname=database","user","password"); $sql = "INSERT INTO users(name,status) VALUES('username','1)"; $db->query($sql); $db->lastInsertId(); Error: SQLSTATE[IM001]: Driver does not suppo

[PHP] Re: PHP editor

2007-04-11 Thread Sady Marcos
Using with CVS, PHP Eclipse no doubt http://download.eclipse.org/tools/pdt/downloads/?release=S20070401-RC3 Unzip and execute eclipse.exe.. It's free... No CVS.. can use Zend Studio.. but isn't free... My choose is Eclipse.. ""Jonathan Kahan"" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAI

[PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
""; } For some strange reason, that echoes nothing. is_dir is returning false on every folder (dir) under photos, except for '.' and '..' dirs. Can someone explain this? Thanks ind advance. Marcos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
Yes, if i try to to echo the variable $entry outside the if is returns the expected directories list. I tried giving it the full path and it still doesn't work. On 6/25/05, Edward Vermillion <[EMAIL PROTECTED]> wrote: > > On Jun 25, 2005, at 8:34 AM, Marcos Mendonça wr

Re: [PHP] Strange is_dir() behavior

2005-07-01 Thread Marcos Mendonça
Well, i´ll check it out, but i think i don´t have that code anymore. Since it wasn´t working i did the same using opendir instead of dir. Thanx anyway. On 6/30/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Sat, June 25, 2005 8:54 am, Marcos Mendonça said: > > Yes, if i try

[PHP] Help with preg_replace

2005-07-04 Thread Marcos Mendonça
Hi list I need help to solve a preg_replace() problem. I have a snippet of html code that contains some links. I have an array thats contains all links inside that snippet of html code. What i need to do is replace all the links in the code by another on. So this is what i´m trying to do: //l

[PHP] php + wddx

2003-08-07 Thread Angelo Marcos Rigo
requeriments and tutorials to use the .net with my linux webserver just to use this c# function to authenticate the users Do i install wddx sdk on windows machine ? Do i install php on windows machine (for iis) ? Any help will be apreciated Ângelo Marcos Rigo -- PHP General Mailing List

[PHP] php wddx

2003-08-14 Thread Angelo Marcos Rigo
linux webserver just to use this c# function to authenticate the users Any help will be apreciated Ângelo Marcos Rigo Webmaster Colégio Anchieta Fone: (51) 3328.7455 Fax: (51) 3328.1120 Visite nosso site: http://www.colegioanchieta.g12.br -- PHP General Mailing List (http://www.php.net

[PHP] Help on Session and cockies

2002-06-06 Thread Marcos Lois Bermúdez
session_name? I use php-4.2.0 and apache-1.3.24 in a lunux box. Any help will be apreciated. Regards. Marcos Lois Bermúdez [EMAIL PROTECTED] IQC-Services. Carretera provincial 60 - 1 36210 Vigo - Pontevedra Tel: +34 986 281 830 Fax: +34 986

[PHP] view source with opera

2002-06-13 Thread Angelo Marcos Rigo
! how to fix this? Thank´s Ângelo Marcos Rigo Webmaster Colégio Anchieta http://www.colegioanchieta.g12.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Printer friendly version script

2002-06-13 Thread Angelo Marcos Rigo
Hi Anybody knows a good printer friendly version php script thank´s in advance Ângelo Marcos Rigo Webmaster Colégio Anchieta http://www.colegioanchieta.g12.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Crash Apache load php module DSO

2001-11-15 Thread Lloret Romero Marcos
hi, i have installed php406 over nt(sp6) with apache1.3.9. Apache crashes when i try to loadmodule php. it says something about DSO module. thanks, marcos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] stream_select problem with signals

2008-02-15 Thread Marcos Lois Bermúdez
I'm rewriting an API to access OneWire Net, i have a problem with select and signals. The class will support both types of sockets, trought BSD sockets and with streams. My problem is that when the PHP app is in socket select and a signal arrives it threat it as a error, so i can fix in socket_se

Re: [PHP] Re: stream_select problem with signals

2008-02-17 Thread Marcos Lois Bermúdez
Nathan Rixham escribió: socket_strerror(socket_last_error()) maybe? That i can see in PHP manual socket functions sre not bundled by default in PHP 5.3.0 and above, so if i'm using the stream implementation, how i can determine if a signal interrupt a stream_select call, the stream not will

[PHP] problem with stream_select and signals

2008-02-18 Thread Marcos Lois Bermúdez
There is any form of detect signal interrupting the stream_select call, some times a signal is not a error and there is other change to get the result, so if *_select tell me if its interruptded by signal. in socket_select i can determine if a signal interrupted the socket_select, but streams

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Marcos Thiago Merschamnn Fabis
> > Looked up on the manual about the chmod() function for PHP, nice but it > > wouldn't work if the ownership file permission is set, so that bring up a > > question. How do I view the file permission or folder permission to see if > > it have the neccessnary permission before proceeding. T

[PHP] problem with new mktime feature

2004-08-17 Thread Marcos Thiago M. Fabis
Hi everyone; I´m having a trouble with mktime. It is not generating negative values since the OS was updated to "Linux version 2.6.7 (gcc version 3.2.3)". I belive php uses mktime from glibc, and when this library was changed, mktime with this new "stupid feature" stoped generate va

Re: [PHP] multi-uploading

2004-08-17 Thread Marcos Thiago M. Fabis
Maybe this help. http://www.phpclasses.org/browse/package/1708.html [s] Mt - Original Message - From: "Brad Ciszewski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 17, 2004 5:18 PM Subject: [PHP] multi-uploading > I am having troubles with a script

[PHP] Is javascript enable?

2004-08-25 Thread Marcos Thiago M. Fabis
hello; does someone know how can i check if javascript is enabled in client´s browser using only PHP ? thnx in advance! [s] Mt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is javascript enable?

2004-08-25 Thread Marcos Thiago M. Fabis
user has enabled it in the browser. Anyone else ? = ) [s] - Original Message - From: "ramil" <[EMAIL PROTECTED]> To: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 9:36 AM Subject: Re: [PHP] Is

Re: [PHP] Is javascript enable?

2004-08-25 Thread Marcos Thiago M. Fabis
hi John; i saw that solution in one of the google results, but this way i´ll be still using javascript and i´ll need one user action. i realy wanted only a header exchange or something like. [s] Mt - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To:

Re: [PHP] Is javascript enable?

2004-08-25 Thread Marcos Thiago M. Fabis
- Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 3:44 PM Subject: Re: [PHP] Is javascript enable? > From: "Marcos Thiago M. Fabi

Re: [PHP] Is javascript enable?

2004-08-25 Thread Marcos Thiago M. Fabis
can´t see how at this time! [s] Mt - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 4:31 PM Subject: Re: [PHP] Is javascript ena

Re: [PHP] Is javascript enable?

2004-08-26 Thread Marcos Thiago M. Fabis
>From: "Thomas Goyne" <[EMAIL PROTECTED]> > > It is quite literally impossible to enforce security with JS. Anything > you try to do I could get around with Proxomitron and/or Opera. > -- > Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ So far, i´m forced to agree wi

[PHP] PHP Oficial Certification

2004-08-26 Thread Marcos Thiago M. Fabis
I just saw that: http://www.phparch.com/cert/