[PHP] Read a var from stdin

2002-05-18 Thread Rafael Perazzo
Is there any way to ask the user to type the value of a variable from stdin ? (like read in Pascal, or scanf in C). I'm using PHP from command line. Thanks Rafael Perazzo __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience

Re: [PHP] creating MySQL Users

2002-03-29 Thread Rafael Perazzo
Try this query : $query = "GRANT SELECT,INSERT,UPDATE,DELETE,ALTER "; $query .= "ON $username "; $query .= "TO $username@localhost "; $query .= "IDENTIFIED BY '$password';"; Make sure that you put a blank space after each strin

[PHP] Attachments with mail() function

2002-01-29 Thread Rafael Perazzo B Mota
How can I send a simple file as attachment using the mail function ? Can anyone give me a simple example ? Thanks Rafael Perazzo _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General

[PHP] Re:[PHP] Changeing Dates.

2002-01-26 Thread Rafael Perazzo B Mota
ecs s"; //var to be returned return ret; } This funcion gets the date in the format you have and converts into a string the way you want. I hope this help. Rafael Perazzo "Philip J. Newman" <[EMAIL PROTECTED]> wrote on 26/01/02 14:35:30: > >I have had no

[PHP] PHP IDE

2002-01-25 Thread Rafael Perazzo B Mota
Who knows a good Php IDE for linux, like PHP Code ? Rafael Perazzo _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Php.ini file missing

2002-01-13 Thread Rafael Perazzo
if it's working. If this do not work, write again, I'll be very happy to help the php community. Rafael Perazzo __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP General Mailing

Re: [PHP] Development environment

2002-01-12 Thread Rafael Perazzo
I know two good IDEs for PHP: PhpEdit -> http://www.phpedit.com PhpCode -> http://www.phpide.de Have fun!! Rafael Perazzo --- Morten Nielsen <[EMAIL PROTECTED]> wrote: > Hi, > > Can anybody recommend a good development > environment? It should support PHP, > HTML

[PHP] Apostrophes and text fileds forms

2002-01-08 Thread Rafael Perazzo
>You need to apply addSlashes() to the text fields >before entering >them into the database. >Jason What is an addSlash ? How can I appy addSlashes ? Can anyone give me an example ? Thanks Rafael Perazzo __ Do You Yahoo!? Sen

[PHP] PHP] apostrophe's in PHP & MySQL

2002-01-08 Thread Rafael Perazzo
I have the same problem with the apostrophes in text fields form object. When I try to enter a string that contains ' the data is not entered in the database. I use PHP 4 and Mysql 3.23. How can I avoid this problem ? __ Do You Yahoo!? Send FREE v