Re: [PHP] How to turn off warnings ???

2001-04-25 Thread ahmad varoqua

::-Original Message-
::From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
::Sent: Tuesday, April 24, 2001 12:57 AM
::To: Php-General
::Subject: Re: [PHP] How to turn off warnings ???
::
::
::On Monday 23 April 2001 23:50, Roee Rubin wrote:

::> Whenever I try to execute some code I receive 'warnings', that
::> basically clutter up the screen. Since I am assuming that these are not
::> fatal - is there  any way to turn them off?
::
::Warnings are not fatal as such, but they often give hints that you have a
::bug somewhere. Correct your code.
::
::--
::Christian Reiniger
::LGDC Webmaster (http://sunsite.dk/lgdc/)
::
::...1000100011010101101010110100111010113...
::

Hello, I too am a novice and have the same problems with "warning: undefined
variable" or "undefined index" when I have display errors 'on'.  The scripts
work fine and I have reg_globals 'off' (I've been following that thread
closely as well!) .  How critical are these warnings? Is it overenthusiam on
php's error tracking?  You say to 'correct the code' and I believe you, but
what should I do?  I want my code to be as clean as possible.   I've been
enlightened to A LOT of things in the short time I've been on this list and
any input is greatly appreciated!!

tia,

ahmad



-- 
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] sessions and reg_globals=off

2001-05-03 Thread ahmad varoqua

Hello, I'm having a problem getting sessions to work with
register_globals=off.  The following 2 files work fine if reg_globals=on but
not when off.  When I look at the session file it reads like this:

!varA|!varB|

and not like it should:

varA|s:4:"funk";varB|s:4:"that";


//-sess01.php




first name:

last name:




//sess02.php



What do I have to do to make this work with register_globals off?  Thank you
very much for help.  (If I get some time/answers I think I'm gonna design a
page that shows sample scripts that work with reg_globals=on and their
equivalents with reg_globals=off; this might be beneficial for some
newbies--such as myself.  If anybody would like to contribute, please email
me and you'll be duly credited if such a project comes to fruition. Thanx!)

--ahmad.


-- 
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] PHP and SMS

2001-08-13 Thread ahmad varoqua

Hello everyone,

Has anyone used php to implement SMS (short message service) on a site?  I
found something on simplewire.com but I was wondering what other options are
available?  I couldn't find anything in the archives or on php.net so I
appreciate any help or leads in this area.  --ahmad


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