[PHP] PHP session logger

2002-12-26 Thread Francisco Vaucher
Hi to all,
 
i'm trying to find a logger to watch the files in
/tmp/session_xxx
 
any help?

Francisco M. Vaucher


 



RE: [PHP] PHP session logger

2002-12-26 Thread Francisco Vaucher
You have all the /tmp/session_xxx files that contain info about the
sessions variables... Well, I need a logger to watch them... nothing else


Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:[EMAIL PROTECTED]


-Mensaje original-
De: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 26 de diciembre de 2002 12:18
Para: Francisco Vaucher; [EMAIL PROTECTED]
Asunto: Re: [PHP] PHP session logger


 i'm trying to find a logger to watch the files in
 /tmp/session_xxx

Watch them do what?

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] function()

2002-11-05 Thread Francisco Vaucher
Hi to all,
 
I have a problem with function() and some variables.
 
The issue is this
 
I declare the function, suppose:
 
function test_func($param1) {
echo $param1;
}
 
when I call the function like;
 
?php test_func(123)?
 
works OK!
 
But if I try something like this:
 
?php
 
test_func(123);
echo $param;
 
?
 
This doesn't work. I need to get some variables values out of the function.
Is there a way to make te variables defined in the function 'global' ? So I
can use them after the function call.
 
Thanks in advance!!
 
regards,
 
f.



[PHP] array()

2002-11-05 Thread Francisco Vaucher
Hi people,
 
is there a way to retrieve an array from a function ?
 
like:
 
?php
 
test_func($param1, $param2) {
 
//code
 
$test = array (ASD = Test1, ASDF = Test2);
return $test;
}
 
//outiside de function
echo $test; //  - the array
 
?
 
This doesn't work. So, any clue ?
 
Regards and tks in advance!
 
f.



RE: [PHP] array()

2002-11-05 Thread Francisco Vaucher
Yeah, whatever,

I looked o_O in the manual and i didn't find the answer. I wrote here and
also didn't find the answer...

Sorry if we aren't all perfect, and dedicated as you are...

Have a 'crappy day'


Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:fvaucher;tycoint.com


-Mensaje original-
De: John Nichel [mailto:jnichel;by-tor.com]
Enviado el: martes, 05 de noviembre de 2002 15:20
Para: Francisco Vaucher
CC: [EMAIL PROTECTED]
Asunto: Re: [PHP] array()


Part of the ugh thing is because I'm having a crappy day.  However, 
the main part of the ugh thing is because of people not doing any 
research before posting a question here.  It has nothing to do with my 
wanting to answer the question or not, I enjoy helping out here, and I 
have gotten answers to many of my questions, but the people on this list 
don't come here to hold your hand.  The answer to your question is WELL 
documented in the manual.

Francisco Vaucher wrote:
 hey, don't answer if you don't want to...
 
 leave the 'ugh' thing...
 
 
 
 
 
 John Nichel wrote:
  Ugh.  Read the in the manual about variable scope, and how to call a
  function.  It's all there.  To get you started...
 
  print_r ( test_func() );
 
  Francisco Vaucher wrote:
 
  Hi people,
 
  is there a way to retrieve an array from a function ?
 
  like:
 
  ?php
 
  test_func($param1, $param2) {
 
  //code
 
  $test = array (ASD = Test1, ASDF = Test2);
  return $test;
  }
 
  //outiside de function
  echo $test; //  - the array
 
  ?
 
  This doesn't work. So, any clue ?
 
  Regards and tks in advance!
 
  f.
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Get HTML data from an URL

2002-10-28 Thread Francisco Vaucher
Hi people,
 
I need to know if there is a way to get HTML data from an URL.
 
i.e.

I need to get to stock values from the page of wall street. So I think that
I can use some code to connect to that URL and get the data. It's this
possibly ?
 
Regards, and thanks in advance!
 
f.



[PHP] String manipulation

2002-10-24 Thread Francisco Vaucher

Hi to all (again ;-)

I need one or more PHP functions to handle a form input.

i.e. you write: [EMAIL PROTECTED]

I have to check that after the '@' comes 'test.com'. I think this is easy,

Any help on this ?

regards in advance...

f.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] String manipulation

2002-10-24 Thread Francisco Vaucher

Yes I know, but what I need is to check after the @.

I think that regexp it's going to work fine. Erwin wrote something that i
think it's going to work.

Thanks!

-Mensaje original-
De: Justin French [mailto:justin;indent.com.au]
Enviado el: jueves, 24 de octubre de 2002 11:29
Para: Francisco Vaucher; '[EMAIL PROTECTED]'
Asunto: Re: [PHP] String manipulation


Well, what you really trying to do?  Validate the format of an email
address?  If so, what you really should be doing is looking for an existing
library of code which validates email address formats against the RFC
standard.

phpclasses.org is bound to have some, but I really like this one:

http://killersoft.com/modules.php?op=modloadname=Newsfile=articlesid=2


For your EXACT problem (making sure 'test.com' comes after the @), you could
use regular expressions... BUT [EMAIL PROTECTED] IS a valid email address,
so you'd be running into problems pretty quick :)


I looked into HEAPS of regexp's that claim to validate email address'...
HEAPS of them had problems that would bounce VALIDly formatted email
address... the killersoft one is the best I found...



Justin


on 25/10/02 12:12 AM, Francisco Vaucher ([EMAIL PROTECTED]) wrote:

 
 Hi to all (again ;-)
 
 I need one or more PHP functions to handle a form input.
 
 i.e. you write: [EMAIL PROTECTED]
 
 I have to check that after the '@' comes 'test.com'. I think this is easy,
 
 Any help on this ?
 
 regards in advance...
 
 f.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Paging HOWTO for PHP n' MYSQL

2002-10-02 Thread Francisco Vaucher

Hi people,

i've been searching for a while in google and vivisimo for docs that treats
paging techniques for php and mysql. And so far i seek nothing. I always get
stuck with empty documents (if you know what I mean).

Can U give me a hand with this. If you already have a doc of this nature, or
the URL to get one ?

Regards, and thanks in advance...

Francisco M. Vaucher

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] GET POST Problem

2002-10-01 Thread Francisco Vaucher

Hi (I'm sending this again becasue i didn't find a solution yet)
 
I have a problem when i'm sending form data. The issue happens when I build
a mysql query with some form input data. I send the info and I get 'n'
results from mysql server. With this I build a list that has links to the
records that match
the query. Next step I display one of the items on my query. OK, now here is
where I have the problem. When I go back, the IE gives me an error that
can't show the page because it was made up with form data and if I want to
see the page again, i have to make a refresh. IE wount send the information
itself.
 
I'm running an Apache Server under RH 7.2. and PHP 4.2.0/1
 
With IIS I don't have this problem.
 
Anyone have an idea for this issue ? I think that is a directive in the
php.ini file. But I don't know wich one is.
 
Help would be appreciated
 
Thanks

Francisco M. Vaucher



RE: [PHP] GET POST Problem

2002-10-01 Thread Francisco Vaucher

You mean using GET Method to retrieve the info ? I don't know. I'll have to
check it. But is strange. I'm going to test it from a linux box with
Konqueror, or Netscape to see if it's a browser problem or a server problem.
Maybe the IIS send the info by it self.

I'm going to try that,

tks


Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:[EMAIL PROTECTED]


-Mensaje original-
De: Matt Schroebel [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 01 de octubre de 2002 8:42
Para: Francisco Vaucher
Asunto: RE: [PHP] GET POST Problem


I think that's standard browser behavior with IE and POST date.  Each
browser handles it different.  Since it's a client issue, I don't
understand how IIS would have anything to do with it.  Are you sure
you're IIS example wasn't using GET?

 -Original Message-
 From: Francisco Vaucher [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 01, 2002 7:29 AM
 To: PHP List (E-mail)
 Subject: [PHP] GET POST Problem
 
 
 Hi (I'm sending this again becasue i didn't find a solution yet)
  
 I have a problem when i'm sending form data. The issue 
 happens when I build
 a mysql query with some form input data. I send the info and I get 'n'
 results from mysql server. With this I build a list that has 
 links to the
 records that match
 the query. Next step I display one of the items on my query. 
 OK, now here is
 where I have the problem. When I go back, the IE gives me an 
 error that
 can't show the page because it was made up with form data 
 and if I want to
 see the page again, i have to make a refresh. IE wount send 
 the information
 itself.
  
 I'm running an Apache Server under RH 7.2. and PHP 4.2.0/1
  
 With IIS I don't have this problem.
  
 Anyone have an idea for this issue ? I think that is a 
 directive in the
 php.ini file. But I don't know wich one is.
  
 Help would be appreciated
  
 Thanks
 
 Francisco M. Vaucher
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP with Oracle

2002-10-01 Thread Francisco Vaucher


Have you tried to check the access permissons ? Maybe the Oracle/PHP
user/app doesn't have the right permissons in that directory.

Regards,


Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:[EMAIL PROTECTED]


-Mensaje original-
De: Jadiel Flores [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 01 de octubre de 2002 12:51
Para: [EMAIL PROTECTED]
Asunto: [PHP] PHP with Oracle


Hi guys, I'm having some problems here, I have to do an application using 
Oracle in Windows, I enabled the extension php_oci8.dll but I'm receiving 
this error:

Warning: Unable to load dynamic library 'C:\PHP\extensions/php_oci8.dll' - 
Access is denied. in Unknown on line 0

The dll is in the directory but I have no idea why php can't load it.

Any suggestion??


Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTED]
(52-55) 52-29-80-34



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher

Hi,
 
I have a problem when i'm sending form data. The issue happens when I build
a mysql query with some form input data. I send the info and I get 'n'
results. With this I build a list that has links to the records that match
the query. Next step I display one of the items on my query. OK, now here is
where I have the problem. When I go back, the IE gives me an error that
can't show the page because it was made up with form data and if I want to
see the page again, i have to make a refresh. IE wount send the information
itself.
 
I'm running an Apache Server under RH 7.2.
 
With IIS I don't have this problem.
 
Anyone have an idea for this issue ? I think that is a directive in the
php.ini file. But I don't know wich one is.
 
Help would be apreciated
 
Thanks

Francisco M. Vaucher
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 




RE: [PHP] GET - POST problem

2002-09-30 Thread Francisco Vaucher


OK. That would be a solution. I've been working with this one, but I can't
send back the information. Maybe i'm doing something wrong (I really think
this).

What I've been wondering if this is a common problem ¿?


Francisco M. Vaucher
Departamento IT
Tyco / ADT Security Services
Buenos Aires - Argentina
mailto:[EMAIL PROTECTED]


-Mensaje original-
De: Kevin Stone [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 30 de septiembre de 2002 17:45
Para: Francisco Vaucher; [EMAIL PROTECTED]
Asunto: Re: [PHP] GET - POST problem


I can think of at least two solutions...

1) Open the item queries in a new window (target=_new) leaving the list
page open and unmodified.

2) Send NoCache headers and use a PHP session or cookie to store the Form
data and resubmit when the back button is pressed.

-Kevin

- Original Message -
From: Francisco Vaucher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 1:11 PM
Subject: [PHP] GET - POST problem


 Hi,

 I have a problem when i'm sending form data. The issue happens when I
build
 a mysql query with some form input data. I send the info and I get 'n'
 results. With this I build a list that has links to the records that match
 the query. Next step I display one of the items on my query. OK, now here
is
 where I have the problem. When I go back, the IE gives me an error that
 can't show the page because it was made up with form data and if I want
to
 see the page again, i have to make a refresh. IE wount send the
information
 itself.

 I'm running an Apache Server under RH 7.2.

 With IIS I don't have this problem.

 Anyone have an idea for this issue ? I think that is a directive in the
 php.ini file. But I don't know wich one is.

 Help would be apreciated

 Thanks

 Francisco M. Vaucher
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php