Re: [PHP] Some undefined function errors

2010-05-20 Thread Giancarlo Boaron
u. --- Em qui, 20/5/10, Jim Lucas escreveu: > De: Jim Lucas > Assunto: Re: [PHP] Some undefined function errors > Para: "Giancarlo Boaron" > Cc: pgsql-gene...@postgresql.org, php-general@lists.php.net, > pgsql-nov...@postgresql.org > Data: Quinta-feira,

Re: [PHP] Some undefined function errors

2010-05-20 Thread Giancarlo Boaron
3 >   Sorry I 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? > &g

[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 ". After some answers, I decided to rebuild a brand new linux virtual machine with Apache + PHP + Po

[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? T

[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 ad

[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 us

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] 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.

[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] 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 site

[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

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

2002-06-06 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

[PHP] session security

2002-06-02 Thread Giancarlo Pinerolo
t possible 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] 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 effectivel

[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] is session.use_trans_sid dangerous?

2002-05-31 Thread Giancarlo
x27;t 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] 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] Mysql Question

2001-02-02 Thread Giancarlo
Can i know the date of the last table update in a Mysql database? Thank you!!

[PHP] array size

2001-01-26 Thread Giancarlo
how many elements i can insert in an array? thank you!

[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] 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 additiona

[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]