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]
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
.
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
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
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
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]
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
;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
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
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
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]
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
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
.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
.
--
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]
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]
%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]
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
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]
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
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
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
,
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
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
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
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
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]
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
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]
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
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
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
, 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
.
--
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]
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]
://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
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
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
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
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
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
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]
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
43 matches
Mail list logo