things.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote:
I feel ya brotha! I think Stut might be having a bad day...
Bad day?? Did you read the same posts I read?
Cheers,
Rob.
Sure I did. Let's not take this too seriously, ok?
--
Jared
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 20:26 -0500, Jared Farrish wrote:
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote:
I feel ya brotha! I think Stut might be having a bad day...
Bad day
it:
- http://us2.php.net/manual/en/features.persistent-connections.php
- http://us2.php.net/manual/en/function.mysql-connect.php
- http://us2.php.net/manual/en/function.mysql-query.php
- http://us2.php.net/manual/en/function.is-resource.php
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
to a Brit or someone who understands Commonwealth English would know
(I was aware of what it meant in CE, I just woudn't have imagined to apply
it here, since it looks to be descriptive).
Kind've like an elephant trainer calling her elephant's trunk a boot.
--
Jared Farrish
Intermediate Web Developer
== '' == ??). This makes a
whole lot more sense in C++ or something other strong-typed language.
Thus, code to what you need, but have high standards (by knowing what you
need)!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
the call, though.
http://en.wikipedia.org/wiki/Lynx_(web_browser)
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Hi Jared,
Hi Rich!
If you do put a return; at the end of all of your functions, I'm
curious as to why? If a function doesn't actually return a value
(which is highly possible) then it isn't /required/, but that doesn't
stop me from doing it. I *do* put 'return;' at the end of all
functions
. Depends on
coding style, preference, and the situational need.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
-php).
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/30/07, Richard Lynch [EMAIL PROTECTED] wrote: If they can get the first
cookie, they can get the second just as easily.
I thought this said just as weasily at first, and I thought, Ain't that
the truth...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only
On 5/30/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, May 30, 2007 12:33 pm, Jared Farrish wrote:
preg_match(^ldap(s)?://[a-zA-Z0-9-]+\.[a-zA-Z.]{2,5}$,$this-server)
You are missing the start/end delimiters is your first problem...
Which ones? I've got the starter ^ and the closer
not printing a zero,
shouldn't that mean it's returning false?
preg_match(/^ldap(s)?:\/\/([a-zA-Z0-9-])+\.[a-zA-Z.]{2,5}$/,$this-server)
Now when I add the slashes, I get zero, even though I give it a real value
that should return 1. *sigh*
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
on
a way to LIMIT the matches effectively. If that doesn't work, hey, this is a
PHP list...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/30/07, Jared Farrish [EMAIL PROTECTED] wrote:
$lastname = strpos('Rogers',0,2);
$firstname = strpos('Timothy',0,2);
$select = SELECT `uid`,`LastName`,`FirstName`
FROM `users`
WHERE LastName='$lastname%'
AND FirstName='$firstname%';
Strike
interesting. I'll have to check
it out.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
the email address existed (although
it doesn't mean it isn't someone in the database that isn't already in
there).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
allow them?
I hadn't gotten far enough to strtolower(), but that's a good point, I
hadn't actually considered it yet.
Just my thoughts
Hey, I appreciate it!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem
On 5/30/07, Afan Pasalic [EMAIL PROTECTED] wrote:
email has to match in total. [EMAIL PROTECTED] and [EMAIL PROTECTED]
are NOT the same in my case.
thanks jared,
If you can match a person by their email, why not just SELECT by email only
(and return the persons information)?
Consider
if my regex is going to be that great in
practice.
This would be in addition to the program Richard alluded to in the code
checker.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
, ie, practical usage.
Does it mean match anything that, say, *starts* with a pattern but ends with
whatever (.)???
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
hash key that can be used
to validate the actual key against a footprint for a visitor (from
$_SERVER). Salt in a date/timestamp and SHA1 or other, and I feel like
that's a pretty good way to check against a visitor. I just think it feels
flimsy to validate a user on a SESSION key only.
--
Jared
out there would have done it, including PHP?
I certainly don't think you're implying I thought I had given some new,
better way of doing sessions that nobody had given before? Curious
statement.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have
with security, there's some known
benefit to discussing it!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
That's not what I'm saying. My basic question is why send the secondary
hash key to the client when it doesn't need it? Use the authentication
key to identify the users data, then get the secondary hash key from
that data. The browser never needs to see the hash, and from a purist
security point
On 5/29/07, Jared Farrish [EMAIL PROTECTED] wrote:
I do think the stated best practice of SESSIONS, at this point, probably
does need to be described to be further useful as a topic of discussion.
I've been a little unclear in some things, so I get the feeling we've got
the same point of view
when that history occurred...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
to an instantiated object should
work), and/or make it work entirely on it's own without $this.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
). What you want is access to their redirect
page log.
You also might look into Urchin and the ISP's that support it.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Does any have any references or an example to show me?
Well, I think we need a description of the error or the invalid response
you're having. It could be a file-size issue (your php.ini configuration
won't allow file sizes 8mb's, for instance).
Have you googled it?
--
Jared Farrish
(consumeFormChecks($_POST['form']['checks']));
}else {
echo('h4Please select some random checkboxes above' .
' and submit the form/h4');
}
?
/pre
/code
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/28/07, Jared Farrish [EMAIL PROTECTED] wrote:
$tr = $i % 5 === 0 ? Array('','') : Array('tr','/tr');
Ignore this line, it was from an earlier iteration of that function.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have
, keep in
mind PHP is quite a bit different from other languages (such as C#) in the
way it implements some details of objects, and that PHP4 and PHP5 are quite
significantly different versions, vis-a-vis objects and classes.
Good luck!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham
is destroyed and the temp file where it is stored is
deleted from the harddrive. Do not store sensitive information or use a
SESSION id to authenticate a user.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem
, eg, 'item','item2'
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
/lem.json.js
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
be the
best
for me
WAMPP makes apache and php installation stupid easy (MySQL too, but you
don't seem to need it). Maybe, you might install WAMPP, uninstall MySQL, and
install PostgreSQL... Never done it, but with some fiddling, it should work.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
to do what is done above (such as replacing the last foreach loop with
an implode() call). There are some strictly unnecessary things done above,
in other words, but I left them in to show what really is happening (and
needs to be done).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
this ?
This is called pagination, and is well-discussed and documented on the web:
http://www.google.com/search?q=php+pagination
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
with a more appropriate title.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
multiple people at one time :) But I'm still learning about that.
I sure hope you're testing on test data, and not live data...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
. This way, the data is rebuilt each go around, but the
overhead is pushed to another machine, similar to a SOAP service (which is
another...). Pass a variable id to the CLI script...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend
a href=download.php?id=?=$id;??=$name;?/a br
Is there a valid $id being passed through a query ($_GET) variable, like
so?:
http://www.filecircus.com/somewhere/outthere/gimme.php?id=badphoto103
What happens when you click on that?
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
speaks Italian.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
version of a resource name alias.
If, after determing that Apache is running with the right permissions for
the owned processes to connect to and use a network shared resource, then
it's probably an Apache UID conflict (is PHP in safe mode?).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
on the list, is it accurate to characterize PHP
as relying on Apache for file manipulation? Is it accurately described as:
Process Request-PHP-Apache-[File System Poof!]-Apache-PHP-Process
??? Just making sure I have this characterization correct.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
implement your
sanitization once and use it for all database interactions.
Google: http://www.google.com/search?q=php+sanitize+sql+statement
PHP.net: http://www.php.net/manual/en/security.database.sql-injection.php
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
, maybe you manage that...
On 5/24/07, Jared Farrish [EMAIL PROTECTED] wrote:
I'm not sure exactly what kind of sanitization you think you're doing, but
if all you do is check to see if it's empty (empty() implements isset(),
empty() checks to see if it's set, then if it evaluates to an empty
Inman is a modestly-famous web designer/developer who uses MediaTemple
for his website:
http://www.shauninman.com/
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
://news.php.net/php.general/255542
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
/
This will give you most of what you're looking for. Think XAMPP for a
localhost install to run tests, and MySQL for a database backend (part of
XAMPP):
http://www.apachefriends.org/en/xampp.html
It will take time. Good luck!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow
processes (such as Apache using an executable)... The whole apache GUID mess
seems like cryptic middle ages eye gouging...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
.: Could you use descriptive subjects; include doesn't really say
much...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
superficially can help later.
What I suspect you need is a book on LAMP (www.oreilly.com).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
script upload file mysql database
You can thank me later.
*snap*
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
got a chuckle. :D
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
()) {
echo(pMay we suggest $suggest?/p);
} else {
echo(pState not found./p);
}
?
/code
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Also, Indiana and Connecticut were misspelled.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
;
/code
$e is equivalent to $d, where c would print literally $a$b, since you told
the parser using the single quotes to leave the string alone.
Likewise, var $f = $a.-$b$c-.'$e'; would print test-test2$a$b-$e;
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
probably a permissions thing, though.
FWIW
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Oh yeah, and tijnema has a good point:
\\compname-x\\offsite\\db\\test.dbf
Btw, what does top post mean?
On 5/23/07, Jared Farrish [EMAIL PROTECTED] wrote:
Other than permissions, you might be referencing the folder by the local
network mapping drive initial, instead of the actual path:
X
it is a
permissions issue. I have Full Control given to the system all this is on.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
style=color: #0a0;true/b':
'b style=color: #a00;false/b').
/div\n
);
}
echo(/pre\n);
?
/code
Thanks!
On 5/22/07, Jared Farrish [EMAIL PROTECTED] wrote:
Thank everyone for their suggestion. I would like to see a __static()
version of __call
://marc.info/?l=php-generalm=114558851102060w=2
). But I would LIKE for it to work (currently, the above code doesn't).
Anybody have any insight on how I might get this to work?
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend
insight on how I might get this to work?
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
if
there are no matches or if an error occurred.
I need to distinguish between no matches and an error, so I can present
a meaningful message to the user. Any suggestions on how to do this?
Thanks,
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
auto_increment_offset, and
auto_increment_increment is set to the number of servers you have.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
ReflectionClass
getConstant
getConstants
hasConstant
http://www.ren.dotgeek.org/classbrowser/class.php?class=ReflectionClass
Jared
-Original Message-
From: Arnaldo Gandol [mailto:[EMAIL PROTECTED]
Sent: 07 March 2006 21:03
To: php-general@lists.php.net
Subject: [PHP] class
wants to use.
Hi,
Javascripts' Date object has a getTimezoneOffset() method, which returns the
difference between local time and universal time in
minutes.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Only way I know is to import them into the global scope with define()
If (!defined(PDO_FETCH_ASSOC))
define('PDO_FETCH_ASSOC', PDO::FETCH_ASSOC);
As for further differences, I'm not aware of any.
Jared
According to documentation, PDO globals constants in 5.0.3+
were changed
There are variants of base64, which replace the + / characters with something
less likely to cause problems.
http://en.wikipedia.org/wiki/Base64
Jared
sorry Ive done it again, for anyones interest, you might have
to urlencode the string twice for mod_rewrite to accept
encrypted
Why are you passing the POST array? As it's superglobal why
not just work directly on it within the function?
Passing it has distinct advantages, like being able to test the function.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
RewriteRule ^feeds/(.*)$ refer.php?$1 [L,QSA]
Any ideas what it could be doing ? The strings are also
quite random,
so it will work sometimes for a particular url then other
times not ?
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi,
As your using MySQL5, I'd recommend putting all the Nested Set code in
stored procedures, that way the client doesn't need
to know about anything about the method, and the left, right columns never need
to be retrieved.
Jared
I've been searching the web for the past few hours
');
fclose($stream);
$stream = $zip-create('alpha.txt');
fputs($stream, 'abcdefghijklmnopqrstuvwxyz');
fclose($stream);
$zip-close();
unset($zip);
I get an application exception on PHP shutdown, though the zip file is
valid with 2 files.
Jared
--
PHP General Mailing List (http
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 14:17
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Debugging custom streams
Jared Williams wrote:
Hi,
Short version, is there any way of listing all open
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 10 February 2006 14:17
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] Debugging custom streams
Jared Williams wrote:
Hi,
Short version, is there any way of listing all open
Ahha, after some rethinking, I've dropped the append custom stream, as its not
really required.
And instead of using a custom in memory stream for handling the central
directory stream, just using tmpfile(), the application
error has disappeared.
Jared
Jared Williams wrote:
Hi
be created.
As only when a stream is closed that you can determine the size and crc, to
write to zip headers.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sitepoints' PAD
http://www.sitepoint.com/forums/forumdisplay.php?f=147
Jared
What would be the definitive PHP chat community to join for
someone who likes to discuss how things *should* be done, or
would be done
*properly* as opposed to the ol' How do I ...-style discussions?
I've
attributes.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone have any opinions or suggestions on cheap/free load
testing tools for dynamic sites?
Microsoft WAST
http://www.microsoft.com/technet/archive/itsolutions/intranet/downloads/webstres.mspx
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Take a look at
http://www.big-boards.com/
Jared
Hi,
Im looking for a good forum thats supports high load. (Now
between 300-2.000 active sessions, much more in next 2 years)
I have heard about vBulletin and PhpBB. At the moment I think
vBulletin is the best choice, because I know
= array_rand($openFile);
$random_image = $openFile[$r];
echo img src='$random_image' height='170' width='100'/img;
unset($openFile[$r]);
}
?
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
titleTemplate/title
/head
body
h1Test/h1
/body
/html
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi,
Does PHPs XmlReader support Xinclude ? Seems libxml does reading this
post
http://mail.gnome.org/archives/xml/2004-February/msg00190.html , but the
corresponding constant seems missing in PHP
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Anyone know to get IE6 to return POST data from a textarea
when the text is pasted in?
Works fine for Mozilla, etc.
print_r($_POST) shows several input... and text ...
values just fine.
If it doesn't have a name attribute, or is disabled IE won't include it in the
post.
Jared
-Original Message-
From: Rob Richards [mailto:[EMAIL PROTECTED]
Sent: 07 December 2005 04:21
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: XmlWriter::writeDTD bug...
Jared Williams wrote:
Hi,
$writer = new XmlWriter();
...
$writer
Jared Williams wrote:
Hi,
$writer = new XmlWriter();
...
$writer-writeDtd('html', '-//W3C//DTD XHTML 1.0 Strict//EN',
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd');
produces no whitespace between the public system ids like...
!DOCTYPE
Jared Williams wrote:
PS.
Yeah, thought it was libxml, hence didn't file a pecl
bug report. But
there does seem a problem with this method as can't just have a
publicId or a systemId, libxml function uses NULL as a
parameter to specify which id you don't want to use. Which
Hi,
Why not
for ($i = 0; $i 100/100; ++$i)
{
for ($j = 0; $j 100; ++$j)
{
// do something standard
}
// do something special for this occurence
}
Jared
-Original Message-
From: Steve McGill [mailto:[EMAIL PROTECTED]
Sent: 06 December 2005 10:18
XHTML 1.0
Strict//ENhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
Has anyone got a workaround for this problem?
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Just been looking over some code, and saw
if (strlen($data) !== file_put_contents($filename, $data))
where $data is UTF8, so wondering if this is going to break in PHP6, if
so what should be the equivalent code?
Jared
--
PHP General Mailing
Jared Williams wrote:
Hi,
Just been looking over some code, and saw
if (strlen($data) !== file_put_contents($filename, $data))
where $data is UTF8, so wondering if this is going to
break in PHP6, if so what should be the equivalent code
understanding, but its
filtering out all files in any of the subdirectories.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the tree and rendering into a nested list only takes 1 query.
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html for details.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reasons) for not using a hash in such a way?
Wouldn't apc_fetch($qry) do much the same thing?
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, but whilst PHP
has the method, doesnt seem todo anything. :/
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jared Williams wrote:
There is no real standard for creating DTDs on the fly, and
therefore libxml/DOM doesn't have any methods afaik.
The one method DOMElement::setIDAttribute() should work I
think, but
whilst PHP has the method, doesnt seem todo anything. :/
DocumentType
(IIRC), and MySQL supports it.
INSERT INTO table(a,b) VALUES (1,1), (2,2), (3,3), ... ,(n, n)
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 172 matches
Mail list logo