[PHP-WIN] time

2001-03-29 Thread 0000051
hi I am having problem writing the code to set the time( it's in second ) in format like (xx h' xx m' xx s) Time is the field in the access db. It's not the real time(clock). example $cur= odbc_exec( $cnx, "select domain_name,user_name,full_name,time_spent from users" ); echo "DomenUser nameN

php-windows Digest 29 Mar 2001 11:14:52 -0000 Issue 516

2001-03-29 Thread php-windows-digest-help
php-windows Digest 29 Mar 2001 11:14:52 - Issue 516 Topics (messages 6359 through 6365): Help w/ exec()!! 6359 by: SHAWN Re: HELP!!! (PHP-WINDOWS98-APACHE) 6360 by: Bhala 6361 by: OoCobra97.aol.com 6364 by: Patrick Re: PHP and Filesystem 6362 by: Ma

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
First, if you're trying to get just the name of a file in a url, use basename(). Then remove stripslahes as it corrupts binary data. This would result in the following code that I've *TESTED* with some image urls and modified to print a nicely formated progress; I've also renamed some variables...

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
Some lines were wrapped on my previous msg; this one fixes that, so you can simply copy/paste the block of code into a file... Bye, Madruga -Original Message- From: Fernando Madruga [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 29 de Março de 2001 13:34 To: Thomas W. Badera; [EMAIL PR

RE: [PHP-WIN] PHP and Filesystem - Solution Fixed

2001-03-29 Thread Fernando Madruga
You may want to add the following line just after 'mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 29 de Março de 2001 13:39 To: Thomas W. Badera; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] PHP and Filesystem - Solution Some lines were wrapped on my previous msg; this one fixes that, so you can simp

[PHP-WIN] IMAP

2001-03-29 Thread Ben Cairns
I am trying to check the number of new messages in an IMAP mailbox, I ma using this code but it doesn't seem to work, the username, password, host etc are correct, but still no cigar...any ideas? Thanks $mbox = imap_open("{your.imap.host}","username","password",OP_HALFOPEN) || die("can't

[PHP-WIN] Coding Ping and Traceroute in PHP

2001-03-29 Thread Vinay
Hello Everybody, I am looking to make simple function that could show similar results as Ping and Traceroute. I cannot execute these command thrrough exec methiod cose i dont have thos function. SO i want to try it in different way. Can anyone sugggest me as how to code that. Waiting for reply

[PHP-WIN] Insert query in Oracle database using php and COM

2001-03-29 Thread Julian
i did this : $oConn = new COM("ADODB.Connection"); $oConn ->ConectionString = <<<>>> ; the next command works fine: $oConn->Execute( "insert into Paciente (nid,nombre,Apell1,Apell2,Sexo,NHisto,FNac) values (10042,'wfcwsfvwsvcsw','ewfrewfrew','dsfdsfsf','Hombre','121219',to_date

[PHP-WIN] Javascript

2001-03-29 Thread Tom Mathews
Before you shout at me, I know that this isn't the right place for this question, but you're all always so helpful that I thought I'd ask anyway (grovel grovel..) I'm playing around with php and javascript again, passing variables from one to the other. I've got stuck on something too basic to me

RE: [PHP-WIN] Javascript

2001-03-29 Thread Fernando Madruga
Have you tried the string concatenation operator? e.g.: msgWindow=window.open( "ContentsWindow.php3?ID=" . IDent, "displayWindow","menubar=no,width=500,height=300") I don't know if it's '.' or '&' or whatever: just check your docs on javascript and look for string concatenation. HTH, Madrug

Re: [PHP-WIN] windows COM object +PHP

2001-03-29 Thread Alain Samoun
Try this tutorial, some say it's good ;) http://www.phpbuilder.com/columns/alain20001003.php3 Alain On Thu, Mar 29, 2001 at 12:38:28AM -0600, Glenn wrote: > Hallo! > > I have read the PHP manual but I can't get PHP load a COM object. > Can anybody help me :-) > > Best regards. > //Glenn > > __

RE: [PHP-WIN] IMAP

2001-03-29 Thread Fernando Madruga
I'v tried that piece of code on my exchange based imap and it failed; I then tried it on my external, unix based, mail account and it worked perfectly, after I used /pop3:110 after the server name, e.g.: "{milu.ipn.pt/pop3:110}INBOX"... Are you trying to use it with an MS Exchange Server? Bye,

Re: [PHP-WIN] %V for strftime does not work under Windows NT

2001-03-29 Thread Herbert Groot Jebbink
Fernando Madruga wrote: >$curloc = setlocale( "LC_ALL", "" ); > echo "Current Locale = $curloc\n"; > ?> Current Locale = English_United States.1252 As fas as I can see it is the Windows implementation, it works on Linux, IRIX, AIX. hgj > > I believe it must be some implementation issu

Re: [PHP-WIN] HELP!!! (PHP-WINDOWS98-APACHE)

2001-03-29 Thread Bhala
I think my problem is that I am trying to run PHP not in CGI mode or what everI think I need the php4apache.dll thing tho & for some resion I dont have it. =\ <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello again, > Ok, I began thinking about your prob

RE: [PHP-WIN] Javascript

2001-03-29 Thread Michael Rudel
msgWindow=window.open("ContentsWindow.php3?ID="+IDent,"displayWindow","menubar=no,width=500,height=300") Greetinx, Mike > -Original Message- > From: Tom Mathews [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 6:05 PM > To: PHP Windows lista > Subject: [PHP-WIN] Javascript >

[PHP-WIN] ob_gzhandler

2001-03-29 Thread Schulz, Evan
First off, has the issue with the big memory problem with ob_gzhandler in 4.0.4 been fixed in PL1? (There isn't a changelog for PL1) Secondly, what level of compression does ob_gzhandler use by default (1-9)? Is there any way to specify it? Thanks, Evan -- PHP Windows Mailing List (http://www

[PHP-WIN] Extensions directory trouble for CURL and Sablotron

2001-03-29 Thread Justin Baird
I am running PHP 4.04 on IIS 4.0/NT 4 sp 4 as a CGI. I am trying to run the CURL, DOMXML, Java, PDF, and Sablotron extensions. As of right now everything but CURL and Sablotron work. The .ini reads as follows extension_dir = c:/php4/extensions/ I have tried c:/php4/extensions c:\php4\extensi

[PHP-WIN] PHP & IIS5 problem

2001-03-29 Thread anderzzo
I've installed PHP on my Win2000 Server with IIS5 and it worked fine in a week until today! All I get when I try to reach a .php page is, The page can't be found! In the systemlog, it says that the WWW publishing service has been unexpected ended. (don't know the exact translation for that :) Ev

[PHP-WIN] Addition to previous post

2001-03-29 Thread Justin Baird
I tried changing a random .dll to php_sablot.dll. The system loaded the module but of course died when it realized that it was the wrong library. When I switched back to the real php_sablot.dll it gave me the module cannot be found error. This is a completely unexplainable error in my eyes but I

[PHP-WIN] Problems with the Header function

2001-03-29 Thread Hugo Alexandre Almeida Soares Dias
Hi there, I'm using PHP with Windows 2k Adv. Server (IIS). I'ma having a problem in some executions of the function Header. Sometimes it returns me an error. I.E. header("Location: alertas.php?erro=3&ti&tip=$tip"); exit; i got this error: CGI Error The specified CGI application misbehaved by

[PHP-WIN] array in Session-Vars?

2001-03-29 Thread Thomas Häger
Hi all, i need to use an array in a session variable. On a page i fill the Sessionvar : $HTTP_SESSION_VARS["xy"] []=$whatever (The var is registered with session_register("xy")) I mean that the entry would made at the end of the array, is it not so? But evrey time i proove the entries wi

[PHP-WIN] PHP & IIS5

2001-03-29 Thread anderzzo
I've installed PHP on my Win2000 Server with IIS5 and it worked fine in a week until today! All I get when I try to reach a .php page is, The page can't be found! In the systemlog, it says that the WWW publishing service has been unexpected ended. (don't know the exact translation for that :) Ev

Re: [PHP-WIN] Addition to previous post

2001-03-29 Thread Pablo Vera
Thursday, March 29, 2001, 2:44:45 PM, Justin wrote: JB> I tried changing a random .dll to php_sablot.dll. The system loaded the JB> module but of course died when it realized that it was the wrong library. JB> When I switched back to the real php_sablot.dll it gave me the module cannot JB> be f

[PHP-WIN] How do I know if my Apache is crushing or not?

2001-03-29 Thread Yasuo Ohgaki
Under UNIX, there will be core file and can use gdb what program creates core file. What about under Windows 2000? How do I know if my Apache is crushed or not? Thanks in advance. -- Yasuo Ohgaki -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-WIN] Regular expression under PHP for Win? Missing?

2001-03-29 Thread Yasuo Ohgaki
Hello all, I would like to know standard regular expression functions (ereg(), eregi(), etc) are missing in PHP for Windows? (I use PHP4.0.5RC1 from www.php4win.de) Thanks -- Yasuo Ohgaki -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

php-windows Digest 30 Mar 2001 00:13:15 -0000 Issue 517

2001-03-29 Thread php-windows-digest-help
php-windows Digest 30 Mar 2001 00:13:15 - Issue 517 Topics (messages 6366 through 6388): Re: PHP and Filesystem - Solution 6366 by: Fernando Madruga 6367 by: Fernando Madruga Re: PHP and Filesystem - Solution Fixed 6368 by: Fernando Madruga IMAP 6369 by: Be

Re: [PHP-WIN] Regular expression under PHP for Win? Missing?

2001-03-29 Thread Phillip Bow
If those aren't there(I am pretty sure they are) then the preg commands should work. I know I am using one form or another on my site. -- phill ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message 9a0j2q$5vn$[EMAIL PROTECTED]">news:9a0j2q$5vn$[EMAIL PROTECTED]... > Hello all, > > I would like to