Re: [PHP] imap_createmailbox

2001-01-22 Thread Ignacio Vazquez-Abrams
t actually create any new accounts; it just creates new folders under the account it's logged in as. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] Date/Time Formatting

2001-01-19 Thread Ignacio Vazquez-Abrams
ATE_FORMAT() function to change the output. You'll have to use substr() in PHP to chop up the input string and rearrange it for MySQL. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] but what if.. Function / String Problem

2001-01-19 Thread Ignacio Vazquez-Abrams
. Yeah, I didn't think so. But I knew that '' behaves differently than "". I just wasn't sure of the exact details of the differences. Chris Single quotes also don't do escaping (i.e., "\n", "\r", etc.). -- Ignacio Vazquez-Abrams [EMAIL PROTECT

Re: [PHP] session_start problem

2001-01-19 Thread Ignacio Vazquez-Abrams
act LOGOUT do i do something wrong ? can i put this message somehow off ? everything else work fine.. sessions and so.. just this two lines are a bit disturbing me... markus Are you using quotes in your A tags? -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP Genera

Re: [PHP] problem with file upload

2001-01-19 Thread Ignacio Vazquez-Abrams
01! | Start here: http://www.zend.com| http://l-i-e.com/artists.htm Actually, the patch went in today. Pick up the CVS tomorrow and you should be laughing. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] question on time-based function

2001-01-19 Thread Ignacio Vazquez-Abrams
Scheduler. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

RE: [PHP] Profanity Filter

2001-01-19 Thread Ignacio Vazquez-Abrams
On Fri, 19 Jan 2001, DanO wrote: why use a DB? just create an array of dirty words then loop your input thru it with a regex. DanO Because a DB would probably be faster than creating an array and looping through it with a regex. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP

Re: [PHP] Profanity Filter

2001-01-19 Thread Ignacio Vazquez-Abrams
;BAD WORD"; echo "I'M TELLING"; } } -Sterling That method suffers from the dictionary problem that Egan brought up. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] Profanity Filter

2001-01-19 Thread Ignacio Vazquez-Abrams
On Fri, 19 Jan 2001, Ignacio Vazquez-Abrams wrote: On Fri, 19 Jan 2001, Sterling Hughes wrote: I'm saying use the same method, but use an array and avoid the strpos() function: $words = preg_split("//", $data); foreach ($words as $word) { if (in_array($pr

Re: [PHP] question (as if anything else would be in an email to thelist...)

2001-01-19 Thread Ignacio Vazquez-Abrams
ptionbr\n"; }//end while echo "/td/selectinput type=\"hidden\" name=\"value[$locidnum]\"/trtr\n"; --END--- -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

Re: [PHP] Profanity Filter

2001-01-19 Thread Ignacio Vazquez-Abrams
f***" and "eats***anddie" because of the lack of spaces. That's why I had to use strpos(). -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] Profanity Filter

2001-01-19 Thread Ignacio Vazquez-Abrams
Okay, now I'm confused. What do you mean by "take em away"? BTW, I dug through the PHP source, and strpos() with any length search is as efficient as the underlying system's memcmp() implementation. It doesn't do any special cases for single-character searches. -- Ignacio Vazquez-Abra

Re: [PHP] Question about new features of PHP4!

2001-01-19 Thread Ignacio Vazquez-Abrams
es it mean? It's the web page that the browser was just at. 2. If I have question about mySQL, where can I raise question? Is there any newsgroup which is specially for mysql? Try http://www.mysql.com/. Thanks very much!! -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Ma

Re: [PHP] does chdir() change include_path on the fly? HELP

2001-01-19 Thread Ignacio Vazquez-Abrams
.php looks for blah3.php and blah4.php in www.blah.com/blahdir will chdir() fix this? or is there another way? Thanks!! - Noah Two solutions come to mind: 1) Use a variable to store the directory you want to include from. 2) Use absolute paths. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED

Re: [PHP] PHP Editors

2001-01-18 Thread Ignacio Vazquez-Abrams
. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] isset inside echo?

2001-01-18 Thread Ignacio Vazquez-Abrams
m isset() is a proper function, so yes. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] find out if a number is a multiple of three

2001-01-18 Thread Ignacio Vazquez-Abrams
%3)) print("$number is divisible by 3!"); -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] Clear an array

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Brandon Orther wrote: How can I clear an array of all it's values. Thank you, Brandon Orther $array=Array(); -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Clearing a variable

2001-01-18 Thread Ignacio Vazquez-Abrams
unset($var); -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
cc=implode(",", array_flip($cb)); // by the way this: $acc=.$key would be a valid command? like the c++ $a =+ $b Other way: $acc.=$key, $a+=b Rom -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: Even shorter: $acc=implode(",", array_flip($cb)); Assuming, of course, that the original values are unique (oops!). -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: Even shorter: $acc=implode(",", array_flip($cb)); Assuming, of course, that the original values are unique (oops!). Oh wait: $acc=implode(",&q

Re: [PHP] How to get userID/password from the browser session

2001-01-18 Thread Ignacio Vazquez-Abrams
, especially in PHP? Thank you very much in advance. David $HTTP_SERVER_VARS["PHP_AUTH_USER"] and $HTTP_SERVER_VARS["PHP_AUTH_PASSWD"], IIRC. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] Can a PHP program recieve an e-mail and write it to afile???

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Chris Hayes wrote: Date sent:Thu, 18 Jan 2001 15:20:24 -0500 (EST) From: Ignacio Vazquez-Abrams [EMAIL PROTECTED] To: Jeremy Bowen [EMAIL PROTECTED] Copies to:[EMAIL PROTECTED] Subject: Re: [PHP

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-18 Thread Ignacio Vazquez-Abrams
better for tables and fluff like that. Mind you, the two do work together somewhat well (for an MS product), all things considered... -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] (PHP+Linux+Apache+MySQL)+(Windows+Explorer)

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Andrs de la Varga wrote: Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine to develope stand alone? Andrs de la Varga http://www.vmware.com/ -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Rounding a number up if the number is anything more thana whole number

2001-01-17 Thread Ignacio Vazquez-Abrams
ceil() -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] Mailto: tag, how do I insert line breaks..?

2001-01-17 Thread Ignacio Vazquez-Abrams
David RFC 2368 says that you use "%0D%0A" for newlines and "%20" for spaces (Section 5: Encoding). Remember: the RFCs are your friends :) -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] Weird nested while loop problem

2001-01-17 Thread Ignacio Vazquez-Abrams
nks again for your help so far! Maurice -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] Register globals when option is turned on

2001-01-17 Thread Ignacio Vazquez-Abrams
I thought of making a check in the "config.inc.php" if the option is set, and if not, set it. Is there a function that I can call? - Carsten Ugh. Don't do it that way. Instead use Directory, Location, or .htaccess to turn it on for phpMyAdmin. -- Ignacio Vazquez-Abrams [EMAIL

Re: [PHP] Levels of Access

2001-01-17 Thread Ignacio Vazquez-Abrams
of a certain group? That way in order to open an access lock for a user, all you have to do is add them to the group. You could even make the security levels groups themselves. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] LDAP access to MS Exchange server

2001-01-17 Thread Ignacio Vazquez-Abrams
AP but I was assuming I could perform some kind of search to determine the schema and then access information based on that. Is this true, or do I need to know the layout to get to the data? Any help will be appreciated. Regards, Jonathan coker Your filter is definitely wrong. Take the or

Re: [PHP] mysql_fetch_row() and mysql_fetch_array()?

2001-01-17 Thread Ignacio Vazquez-Abrams
, but when I changed it to: $row = mysql_fetch_array($result) ... it worked just fine. So what is the difference? /Jimmy mysql_fetch_row() uses numeric indices, whereas mysql_fetch_array() can also provide string indices. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] xmltree() function - what PHP version?

2001-01-16 Thread Ignacio Vazquez-Abrams
. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

RE: [PHP] Working out the name of the day given a date

2001-01-16 Thread Ignacio Vazquez-Abrams
that it's a lowercase 'L', and not in fact the numeral '1'. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] Variables in 'friendly' urls

2001-01-16 Thread Ignacio Vazquez-Abrams
://www.example.com/team/tigers and it could automagically get converted to http://www.example.com/profile.php3 with $team set to "tigers". -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] Images ???

2001-01-16 Thread Ignacio Vazquez-Abrams
copied images in a page that already have other information(ex: the name of the user, for that I'm using sessions), so can I do it, is it possible ? Thanks Miguel Loureiro That's what databases are for. Store the image data and the image mimetype when the image is uploaded. -- Ignacio Vazquez

Re: [PHP] How to escape from a function?

2001-01-16 Thread Ignacio Vazquez-Abrams
he above usage is basically a cheat-type shortcut for: if (!($db=mysql_connect("localhost","root","password"))) die ("could not connect"); -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Database Connections - permanent or something else?

2001-01-16 Thread Ignacio Vazquez-Abrams
in that they don't need to open the connection each time. Unless you have an overwhelming need to limit concurrent connections to your MySQL server, you should probably be using persistent connections. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] returning an array

2001-01-11 Thread Ignacio Vazquez-Abrams
rray ($var[]);' ? I tried it, and it yelled at me, so I know that the above syntax is wrong, but is there an "easier" way? Thanks! -Jim Have you tried 'return ($var)'? -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] serialized respresentations of variables

2001-01-11 Thread Ignacio Vazquez-Abrams
Actually, "i" represents "Integer", "b" represents "Boolean", and "n" represents "Null". Don't ask me about the last one; I only saw it once and I don't know how it got there. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP Gene

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Ignacio Vazquez-Abrams
emacs sucks! vi forever! :P -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- 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]

Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Ignacio Vazquez-Abrams
ind server or DNS Error (The page cannot be displayed), and none of the page displays. Does anyone know what's wrong? Try: $logo = pdf_open_png($pdf, "{$CFG-imagedir}/logo.png"); At least, I assume that's what you mean... -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP Genera