r less than $40/mo? Dedicated hosting is right out as
> we obviously don't have the budget for that. Any thoughts/suggestions
> would be very much appreciated. Thanks.
http://www.ocssolutions.com/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
with multiple php.ini files, one for
the cli PHP, one for the mod_php.
I'd cut out the middle man and add a call to error_reporting() at the
top of the script.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
http://www.kofler.cc/mysql/mssql2mysql.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
dle this easy enough:
RewriteEngine on
RewriteRule ^([a-z].*) /index.php?username=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]
$_GET[ 'username' ] will be available in your index.php when you pass
a url like:
www.mysite.com/joesoap
This can be expanded for more variables/matc
On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote:
> Image that there could be a string
>
> fred
> Fred
> FRED
>
> First of all I need to know that these are same which I can do with
> strtolower,
> but how could I tell
$a = array( 'fred', 'Fred
On 10/10/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> cute - but it doesn't always work e.g.:
>
> $a = array( "FrEDDie", "fREDdIE", "FReddie" );
> sort( $a );
> echo $a[ 0 ]; // we want the 2nd item from the unsort array
Works for the samp
y get to use 'bloody' in programming conversation.
The code I posted works with the sample data provided. Sorry if it
bothers you that I didn't test it with a full dictionary word list.
> *shrug* is rather blasee btw.
http://dictionary.reference.com/search?q=blasee
Blase? Wh
t;In range\n";
}
else
{
echo "Not in range\n";
}
?>
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On 10/5/05, Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Then do something like this...
>
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * *
> /usr/local/bin/inquiry_pull_test.php
Or more simply: */5
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
as
> it matches.
in_array()
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
end Optimizer would be helpful in
this area too:
http://pecl.php.net/package/APC
http://zend.com/store/products/zend-optimizer.php
I think putting each function in it's own file is a bit drastic.
There are simpler ways to gain performance.
--
Greg Donald
Zend Certified Engineer
My
o speed on md5 history and the current
hash collisions work being done:
http://en.wikipedia.org/wiki/Md5
Md5 has been adequate for 15 or so years, but now it's time to move on.
Disclaimer: There are only 5 or 6 people in the entire world who know
anything about encryption. I am not one
0m0.226s
real0m0.336s
user0m0.011s
sys 0m0.007s
real0m0.978s
user0m0.160s
sys 0m0.225s
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On 10/18/05, Oliver Grätz <[EMAIL PROTECTED]> wrote:
> Usually customers pay a fix fee for
> some free traffic and then must pay for traffic exceeding those limits.
> What they do with that traffic is none of your business.
You've obviously never been a hosting provider.
efined function: ldap_connect()
>
> What am I missing? TIA.
Did you uncomment (and properly define) the 'extension_dir' directive
in your php.ini?
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
Mark Nernberg wrote:
> This is a repost, as I have received no response thus far.
>
> Running FreeBSD 5.4/RELEASE on Sparc64 and Apache 2.0.55
>
> When attempting to install 4.4.0 or 5.0.5, from ports or from source, I am
> getting the following error: (This specific error is from 4.4.0 from port
same
time with no problems.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
On Fri, 28 Oct 2005, mbneto wrote:
is it possible to use sqlite with php 4.4 ? What do I have to do ?
I could not find and option in ./configure.
http://php.net/sqlite
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http
ou do it outside the class:
Foo::getMe();
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
name as the checkbox
field before the actual checkbox field. I store my 'false' value in
there. If the checkbox is checked the hidden field is overridden.
';
print_r( $_POST );
echo '';
}
echo <<
Blah?
EOF;
?>
--
Greg Donald
Zend Certified
and etc.
http://pear.php.net/package-info.php?package=Numbers_Words
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2 Nov 2005, John Nichel wrote:
Hmare you saying that it would be good to have an active moderator on
this list? ;)
:0
* [EMAIL PROTECTED]
/dev/null
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http
, just use the handy-dandy Perl module:
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2 Nov 2005, John Nichel wrote:
There has to be a way to do thisreset the internal STDIN pointer to the
begining but I'll be damned if I can find it.
reset ( STDIN );
returns an error.
You can use rewind() on an fopen()'d php://stdin.
--
Greg Donald
Zend Certifie
On Thu, 2005-11-03 at 10:32 +0600, viraj wrote:
> second point is, different organizations have different policies on
> validating email addresses
RFC822 Section 6.1 provides the standard (policy).
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
-
ndles.
http://php.net/manual/en/function.rewind.php
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ch works, but there is something wrong with my logic as the tree
comes back reversed:
> Level 3 (Bottom)
> Level 2
> Level 1 (Top)
Any suggestions on how to do this?
Thanks,
- Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but I'm
hopeful that once the data is an array, I can make use of a php
function to reverse or sort the array.
Another reader also recommended this article on php and recursion:
http://www.zend.com/zend/art/recursion.php
I'll post if I get any closer,
- Greg
On 11/14/05, Richard Lyn
ticle.
It does need some work fending off comment-spam, as the demo version
illustrates. However, it is very small and well-documented so you can
easily integrate an approval-based or captcha anti-spam defense.
- Greg
On 11/13/05, Guy Brom <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> An
ssign my data in the view for use in the
template after it's already ready already in the controller, pointless.)
A database-agnostic database abstraction layer capable of using database
meta data effectively. (Why am I still writing SQL?)
Ajax, built-in. (Cause all the cool kids are using it
but you have
to code it yourself.
Not really, it's builtin to Rubyonrails. Very simple to use:
http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 15 Nov 2005, Leonard Burton wrote:
I know that it is pretty darn impossible to come up with a regular
expression for validating emails.
Nah.. just depends on how closely you want to follow the RFC.
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
--
Greg Donald
Zend Certified
27;ve seen are written in Perl and do not run on
the server being exploited. I've seen a few written in Python, but
never have I seen one written in PHP or ASP.
Short tags have nothing to do with security.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.co
On Tue, 15 Nov 2005, Jim Moseby wrote:
It will be when you have to sort through 1,000,000 lines of code in 400
files to change '
for file in *.php; do
cp $file $file.tmp
sed -e "s/$file
rm $file.tmp
done
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://de
.
for file in *.php; do
cp $file $file.tmp
php -r 'echo preg_replace("/<\?php=\s*/i","",preg_replace("/<\?(?!php)/i","$file.tmp >$file
rm $file.tmp
done
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP
s a
standard technician/general class call sign, located in region 8
Michigan/Ohio/Kentucky, etc.)
_... .
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he wild. THis is because if it were to break PEAR, this would make it
difficult to grab any packages. Hwoever, if you would like, upgrading
via "pear upgrade --loose Archive_Tar" should work, or "pear upgrade
--force Archive_Tar"
You do not need to re-install from scratc
Colin Andrews wrote:
Thanks a ton-
So then that means that the only way to get rid of the warnings is to
change the
error reporting level?
No, report the warnings as a bug at pear.php.net/bugs
You can also hand-fix the source in the mean time, it's only 5-10 lines
of code, right?
hies who like to draft stuff in MS Word first.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
framework I've ever used.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 1 Dec 2005, Ahmed Saad wrote:
http://www.agavi.org
0.10rc is already in the svn
Do you still have to reassign the data in the view for use in the
template after having already created it once in the action? That is
quite the pain.
--
Greg Donald
Zend Certified Engineer
MySQL
OO fix. Not to mention I have
never once had a client ask for PHP specifically, much less PHP5. I
use PHP 5 because I want to stay current with my skills, not because I
need language functionality that's missing in PHP4. Same with Apache
2, PostgreSQL 8, and MySQL 5.
--
Greg Donald
Zend
ions setup for years:
http://dbsessions.destiney.com/
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a session
id/cookie, then pass it back with ab using -C.
And if those won't do:
http://opensourcetesting.org/performance.php
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hi -
It sounds like you're trying to implement something similar to "google
suggest" which uses ajax to allow a user to navigate through a large
list of entries. The "google suggest" method does use a lot of calls
to the database but its asynchronous which eliminates cumbersome page
loads.
http:/
a template)
2) try to optimize database use (only use it where necessary, and
optimize queries) and optimize page generation by using a cache if necessary
3) ask your host provider to install a bytecode cache like Zend
Optimizer or APC.
If they have installed one already, your best efforts with p
found this a couple of days ago on Digg:
http://www.csarven.ca/hiding-email-addresses
"A comprehensive list of methods on how to hide email addresses in
source code from spam bots. Includes; CSS, Javascript, Forms, Images,
Obfuscation, Authentication, Flash, Unicode, Encryption and other
methods.
> I doubt if this can be done, but it there a way to detect a spambot
> as compared to a SE indexing your site? They are both basically the
> same, right?
Yes, if you can assume that a spambot will be doing sneaky things to
hide its origin or identity. The "bad behavior" project has been
trying to
Has anyone developed a really good defense against email injection attacks?
I'm waging a prolonged campaign against these luser hordes on a number
of non-profit sites I help maintain. I've tried to secure all of the
feedback forms using the function below that I cobbled together from
various php s
> I'm trying to make sure my email form cannot be used for spam or
> injecting additional code and addresses in any way.
>
>// CHECK FOR SPAM ATTEMPTS AND REMOVE THEM
>
>
I had a similar problem with my contact form and went down a similar
path of trying to clean up the user-input with re
On 2/21/06, cKc Consultants <[EMAIL PROTECTED]> wrote:
> An email form that uses a simple server side php code to send the variable
> values managed to send:
Try looking for articles on 'email injection'. This is a really good
place to start for a description of the security risk and ways to
patc
php-mysql/apache_1.3.14'
make: *** [build] Error 2
Can someone give me some insight as to what I need to do? I have tried
compiling gd, libjpeg, etc. from sources and get worse results (PHP doesn't
see the ImageCreateFromJPEG function as well as most of the others that GD
should be includi
Please help - I got " Error message:
"Your PHP version does not have support for MySQL"
when I did http://x.x.x.x/install.php on windows 2003 with Php 5.04 and
MySQL 5.0.
Can anybody tell me what this is all about?
Thanks,
GMP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
quot;Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Greg,
>
> Wednesday, June 8, 2005, 3:58:03 PM, you wrote:
>
> GMP> Please help - I got " Error message:
> GMP> "Your PHP version does not have support for MySQL"
>
1401 - 1454 of 1454 matches
Mail list logo