Re: [PHP] ini-options
I should have added: "... that worked before PHP4". But thanks, see my previous post to this. Philip Olson wrote: > > > if only there were, 'get_magic_quotes_sysbase();' > > happy birthday ;) > > function get_magic_quotes_sybase() > { > if (!ini_get('magic_quotes_sybase')) { > return 0; > } else { > return 1; > } > } > > feature requests can be submitted at: > > http://bugs.php.net/ > > regards, > Philip Olson -- If You want to buy computer parts, see the reviews at: http://www.cnet.com/ **OR EVEN BETTER COMPILATIONS**!! http://sysopt.earthweb.com/userreviews/products/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ini-options
> if only there were, 'get_magic_quotes_sysbase();' happy birthday ;) function get_magic_quotes_sybase() { if (!ini_get('magic_quotes_sybase')) { return 0; } else { return 1; } } feature requests can be submitted at: http://bugs.php.net/ regards, Philip Olson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ini-options
What version was magic_quotes_sybase added? -- - Joy is just a thing (to be).. raised on, Love is just the way to Live and Die, John Denver. - He lost a friend, but kept his Memory (also John Denver), Thank you...John Corones...my friend always. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ini-options
if only there were, 'get_magic_quotes_sysbase();' Jason Wong wrote: >On Thursday 23 May 2002 11:49, Dennis Gearon wrote: >> Is there any way before PHP4 to read: >> magic_quotes_xxx >> settings so that I know what is happening to data escaping? > >get_magic_quotes_gpc() & get_magic_quotes_runtime() seems to run on most >versions of php. > >-- >Jason Wong -> Gremlins Associates -> www.gremlins.com.hk >Open Source Software Systems Integrators >* Web Design & Hosting * Internet & Intranet Applications Development * -- - Joy is just a thing (to be).. raised on, Love is just the way to Live and Die, John Denver. - He lost a friend, but kept his Memory (also John Denver), Thank you...John Corones...my friend always. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ini-options
On Thursday 23 May 2002 11:49, Dennis Gearon wrote: > Is there any way before PHP4 to read: > magic_quotes_xxx > settings so that I know what is happening to data escaping? get_magic_quotes_gpc() & get_magic_quotes_runtime() seems to run on most versions of php. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* "If the King's English was good enough for Jesus, it's good enough for me!" -- "Ma" Ferguson, Governor of Texas (circa 1920) */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ini-options
Is there any way before PHP4 to read: magic_quotes_xxx settings so that I know what is happening to data escaping? -- - Joy is just a thing (to be).. raised on, Love is just the way to Live and Die, John Denver. - He lost a friend, but kept his Memory (also John Denver), Thank you...John Corones...my friend always. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php