[PHP] Some undefined function errors

2010-05-20 Thread Giancarlo Boaron
Hi all. Recently, I wrote an email about the problem I was having with some Postgres functions that when those functions were called, I received the following error: Call to undefined function function_name. After some answers, I decided to rebuild a brand new linux virtual machine with

Re: [PHP] Some undefined function errors

2010-05-20 Thread Giancarlo Boaron
miss read the question. It does seem that php is not picking up the pg module and cannot find the functions. I assume Postgresql is in fact installed at /usr/local/pgsql.  If you run phpinfo(); can you see that PG is installed? On 20/05/2010 10:46, Giancarlo Boaron wrote: ** I make

Re: [PHP] Some undefined function errors

2010-05-20 Thread Giancarlo Boaron
li...@cmsws.com escreveu: De: Jim Lucas li...@cmsws.com Assunto: Re: [PHP] Some undefined function errors Para: Giancarlo Boaron gboa...@yahoo.com.br Cc: pgsql-gene...@postgresql.org, php-general@lists.php.net, pgsql-nov...@postgresql.org Data: Quinta-feira, 20 de Maio de 2010, 13:04

[PHP] Problem with pg_prepare function

2010-04-23 Thread Giancarlo Boaron
Hi all. I'm receiving the following message when I try to use pg_prepare() function: Call to undefined function pg_prepare(). My application works very well with others pg_* commands... I already checked my configuration files and I have no more ideas about how to fix it. Any suggestions?

[PHP] auth-check_feature and different expires

2002-10-08 Thread Giancarlo
I was now trying the snapshot with the aim of providing a different expire for eg user kris (admin), than anoter user (not admin). So I defined the Example_Auth (eg the admin only showoff) with a lifetime=1, and a example_default_auth with a lifetime of 3 minutes. But when I am visiting, as

[PHP] own session_name gc

2002-10-07 Thread Giancarlo
The manual gives an example: function destroy ($id) { global $sess_save_path, $sess_session_name; $sess_file = $sess_save_path/sess_$id; return(unlink($sess_file)); } /* * WARNING - You will need to implement some * * sort of

[PHP] why manual says 'don't use session_register'?

2002-09-24 Thread Giancarlo Pinerolo
The manual has many cautions that say 'do not use session_regiister,, session_is_registered, session_unregister, when the ini setting is register_globals=off. But they still do work, it seems. Or how exactly do these function work differently than with reg_globals On? Can I still continue to

Re: [PHP] disabled cookies and sessions

2002-06-08 Thread Giancarlo Pinerolo
Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Chris Sechiatano declared You have to code the PHPSESSID into your URL if your browser has cookies disabled or else it won't work. No. As I said, i have php compiled with --enable-trans-sid Php

[PHP] Re: emulating --enable-trans-sid -- project idea?

2002-06-07 Thread Giancarlo Pinerolo
Justin French wrote: Hi all, About 2.30 in the morning I started kicking around an idea, based on the recent discussions on sessions, and what --enable-trans-sid did. From my understanding: + if there is no session cookie, set a cookie AND append a session ID to URLs on the

[PHP] Re: emulating --enable-trans-sid -- project idea?

2002-06-07 Thread Giancarlo Pinerolo
Justin French wrote: Hi all, About 2.30 in the morning I started kicking around an idea, based on the recent discussions on sessions, and what --enable-trans-sid did. From my understanding: + if there is no session cookie, set a cookie AND append a session ID to URLs on the

[PHP] the ?PHPSESSID=spoofme 'bug'

2002-06-07 Thread Giancarlo Pinerolo
Can I tell you more than what the subject says? proceeding: Close the browser, clean all your cookies, and open any page with that ?PHPSESSID=spoofme appended. And see what happens. 1) No cookies are left 2) a session 'spoofme' is created Do you need more? Javascript url injection ad cross

[PHP] Re: the ?PHPSESSID=spoofme 'bug'

2002-06-07 Thread Giancarlo Pinerolo
I myself wrote: Can I tell you more than what the subject says? proceeding: Close the browser, clean all your cookies, and open any page with that ?PHPSESSID=spoofme appended. And see what happens. 1) No cookies are left 2) a session 'spoofme' is created Do you need more?

[PHP] Re: the ?PHPSESSID=spoofme 'bug'

2002-06-07 Thread Giancarlo Pinerolo
Giancarlo Pinerolo wrote: I myself wrote: Can I tell you more than what the subject says? proceeding: Close the browser, clean all your cookies, and open any page with that ?PHPSESSID=spoofme appended. And see what happens. spoofme is not the exact term. ?PHPSESSID=hijackme

[PHP] session security

2002-06-02 Thread Giancarlo Pinerolo
that there is no policy on creating a new session? There so much fuzz about register_globals, and we let the user create the sessions they want? Shouldn't we check that's us who issued the ticket? How is it that I cannot find a decent reply to these questions? Giancarlo -- PHP General Mailing

[PHP] is session.use_trans_sid dangerous?

2002-05-31 Thread Giancarlo
that supposed to be an alternative for those clients with cookies disabled? Is it correct that does it work even if cookies are enabled? Is it correct that there is no check, nor a switch or a directive, that prevents from accepting a session we haven't issued? Thanks Giancarlo Pinerolo -- PHP General

[PHP] new session policy

2002-05-31 Thread Giancarlo
Is it possible that the PHP session features will accept as new any id not generated by the webserver itself? And where's the utility of that? Isn't it an enormous hole? Gian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] new session creation policy is trust user input ?

2002-05-31 Thread Giancarlo
What are the benefits of trusting any id provided by the user, when creating a new session? Why should we allow users to create their own session id, and maybe pass them around? Or being driven to some session faked/created by someone else? Can we control that a new session id has been

[PHP] Mysql Question...

2001-02-02 Thread Giancarlo
Is it possible know the date and the time of the last update of a table in a MYSQL Database? Bye!

[PHP] max size of array

2001-01-26 Thread Giancarlo
what is the max number of elements into an array?

[PHP] max size of array

2001-01-26 Thread Giancarlo
what is the max number of elements into an array?

[PHP] prova

2001-01-18 Thread Giancarlo
ciao -- 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] help me!! cookie and IIS

2001-01-18 Thread Giancarlo
i work with php3 and mysql in IIS webserver,my project in php work right on the localhost, but not in the other pc of the LAN, what can i do? the internet options enable Cookies. thank you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For