php-windows Digest 30 Mar 2001 16:05:51 -0000 Issue 518 Topics (messages 6389 through 6392): Re: Regular expression under PHP for Win? Missing? 6389 by: Phillip Bow Re: Javascript 6390 by: Tom Mathews Re: Problems with the Header function 6391 by: Yasuo Ohgaki File Uploads 6392 by: PHPWIN 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] ----------------------------------------------------------------------
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 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 additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Thanks all, I was trying the . operator as a concatenator before - must have got my languages mixed up! Tom Tom Mathews wrote: > Window(IDent) > { > >msgWindow=window.open("ContentsWindow.php3?ID=IDent","displayWindow","menubar=no,width=500,height=300") > > } > > The IDent that is passed into the funtion is an integer, and that bit is > fine, but how do I dereference it in the querystring so that what gets > passed to the new window is along the lines of (say the value of IDent > is 6) > ContentsWindow.php3?ID=6 > > Thanks > > Tom > > ------------------------------------------------------------------------ > -- > PHP Windows 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]
According to RFC, Location header need to be absolute URI. (Most browsers accept relative URI, though.) Refer to RFC. -- Yasuo Ohgaki ""Hugo Alexandre Almeida Soares Dias"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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 not returning a complete set of > HTTP headers. The headers it did return are > > > Once more i say that this error only occurs sometimes and not always. I > don't send anykind of HTML before the Header function not even a blank > space. > > As i'm having a co-worker with this problem too, and he isn't registered in > the ML (YET) in the reply add as a CC [EMAIL PROTECTED] > > Thank you. > > > Hugo Dias > Web-programmer > MNI - Médicos na Internet > www.mni.pt > www.saudenainternet.pt > www.listamedica.com > MNI- Um mundo de médicos > > -- > PHP Windows 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] >
Hi was wondering if anyone had a quick code for: 1) Client Side to upload a simple text file on their system 2) Server side code to handle the text file and place it in the page Cheers Xon