php-windows Digest 15 Jul 2002 14:21:31 -0000 Issue 1242

Topics (messages 14763 through 14768):

Re: Quick request (ereg?)
        14763 by: Ross Fleming

HEAD METHOD
        14764 by: nimesh Kocheta

Re: SESSION QUESTION
        14765 by: Tomator

SNMP -> LOG
        14766 by: MAAS

CGI Error
        14767 by: David Elliott

fputs - need help!!
        14768 by: MAAS

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 ---
Oops! Obviously, I mean strip alphanumerics and spaces from a string. :D

> -----Original Message-----
> From: Ross Fleming [mailto:[EMAIL PROTECTED]]
> Sent: 15 July 2002 02:08
> To: PHP Windows mailing list
> Subject: [PHP-WIN] Quick request (ereg?)
> 
> 
> Hi folks, I'm looking for a quick & easy way to strip out all characters
> except alphanumerics and spaces.  Is there a function 
> specifically for this?
> 
> I know the answer probably lies with an ereg but unfortunately don't know
> enough about these RE's, would appreciate any Perl geniuses out there
> helping me :)
> 
> Cheers
> 
> Ross
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
HI everyone

I would like to know how do i access the data when it is passed using the
HEAD method

the senario is

I am connecting my application with another tool which is passing the data
using HEAD method , hence i need to write in my page the way to access the
data


hope to hear from u all soon




--- End Message ---
--- Begin Message ---
> Is there a bug in php4.2.1 dealing with sessions?  I am using $_SESSION to
> set my session variables and it will not work.  Can anyone offer examples
> that they have used that work?  I am going insane.

I had similar problem, so I realized that  $_SESSION["name"]=value starts
working after something like that (copied from PHP docs):

// hack to enable SESSION - my comment
if (!isset($HTTP_SESSION_VARS["count"])) $HTTP_SESSION_VARS["count"] = 0;
else $HTTP_SESSION_VARS["count"]=$HTTP_SESSION_VARS["count"]+1;

"count", however doesn't increment (funny?) but without above following line
wouldn't work:

    $_SESSION["id"]=1;

I asked few days ago why does it work this way, but nobody knew ("Session -
funny or magic?"). I don't know also, but it works on my server, so you can
try too.


--- End Message ---
--- Begin Message ---

Hi

I would like to collect data from snmpget and log it.
Anyone have a idea how to do this?

// maas, Sweden


--- End Message ---
--- Begin Message ---
Hi all,

I am getting this error.

==========8<=============================================================

CGI Error

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

FATAL:  emalloc():  Unable to allocate 1949066614 bytes

==========8<=============================================================

IIS server running 4.2.1

Help any one

-- 
 TTFN,                     _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| I'm sorry, for a moment I thought I had entered an alternate universe.  |


--- End Message ---
--- Begin Message ---

Hi

I use this line

fputs ($sysname_log, "$time - SystemName: $sysname\n");

I would like to get a log file, and everytime I refresh this page it will
make a new line and write
$the local time - SystemName: $sysname
So after a while it will look like this

$the local time - SystemName: $sysname
$the local time - SystemName: $sysname
$the local time - SystemName: $sysname

BUT, this is not working, I donīt get a new line, everything is on the same
line. Why??
I use WIN2K and IIS.




--- End Message ---

Reply via email to