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. $$
personal
preference, which is usually influenced by someone else's overarching
dogmatic philosophy being impressed on them.
Good thing there aren't folks like that in programming! Right?!?
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you
. 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
the first a couple hundred or thousand
times, I would bet your page would drag to a halt while it loads...
--
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. $$
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. $$
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 you have is a hammer, you tend to see
every problem as a nail. $$
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
65 matches
Mail list logo