Re: [PHP] Delay?

2005-06-02 Thread Greg Donald
On 6/2/05, GamblerZG <[EMAIL PROTECTED]> wrote: > I don't understand why everyone like these mailing lists so much. > Web-forums more convenient. What's keeping you.. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.ph

Re: [PHP] Newbie - Request interface for PHP 5 website

2005-06-03 Thread Greg Donald
you from writing tons of include statements. -- Greg Donald Zend Certified Engineer http://destiney.com/

Re: [PHP] what do you guys use for reporting?

2005-06-03 Thread Greg Donald
eporting` Language. It's really good for making report files in most any format you want. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Site Design Strategy

2005-06-03 Thread Greg Donald
> this document will get "included" as the content in my "shell". You might look into Apache's mod_rewrite to help clean those URLs up. Search engines love nice clean URLs if that sort of thing matters to you. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Site Design Strategy

2005-06-03 Thread Greg Donald
en_spaw/en_spaw_intro > > it might help > > hope it does. There's no need to reply to me directly since I'm on the list. Besides that I'm not the requester. Try using a threaded email client, it is a mailing list after all. -- Greg Donald Zend Certified Engineer h

Re: [PHP] Site Design Strategy

2005-06-03 Thread Greg Donald
th answers/opinions to the original poster but then you replied to me as if I were the one asking the question. Just a matter of paying attention to what's going on I guess. A threaded email client helps in that regard is why I suggested it. Do what you want, I dunno why I even made any

Re: [PHP] Delay?

2005-06-03 Thread Greg Donald
wers questions. Using x for free then complaining that it's not y benefits no one. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] linux php editor

2005-06-06 Thread Greg Donald
On 6/6/05, Clive Zagno <[EMAIL PROTECTED]> wrote: > what php GUI editors do you recommend. > any other recommendations, thanks vim -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] linux php editor

2005-06-06 Thread Greg Donald
On 6/6/05, John Nichel <[EMAIL PROTECTED]> wrote: > You newbies and your fancy editors. Back in my day, you got vi, and you > were happy with it. ;) # dd if=/dev/tty of=/dev/hda1 -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.

Re: [PHP] linux php editor... Quanta +... The best!

2005-06-06 Thread Greg Donald
On 6/6/05, Robert Cummings <[EMAIL PROTECTED]> wrote: > I didn't know the mailing list was a popularity contest :/ It's not? Man.. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The "goto" discussion on the Internals List

2005-06-06 Thread Greg Donald
to your spec, even for a shared account. I'm not affiliated with them in any way, found them using Google. > That's really frustrating because I find 5.x's current features so > compelling and useful. I find a great many of the new 5.0 features get emulated using PHP4

Re: [PHP] linux php editor

2005-06-07 Thread Greg Donald
On 6/7/05, Miguel Guirao <[EMAIL PROTECTED]> wrote: > > Try NVU, from www.nvu.org I don't see any sort of text editor there. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Objects and Performance

2005-06-08 Thread Greg Donald
; pros and cons of this approach in PHP? > > I am particularly very concerned about performance. Are object methods slower > than functions in php? Definitely not scientific but have a look: http://destiney.com/Benchmarks -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP

Re: [PHP] Objects and Performance

2005-06-09 Thread Greg Donald
my opinion. The overhead involved in bringing a web-based object into existence for the extremely short period of time it will live can never justify the 'maintainability' and 'readability' arguments I'm always hearing preached. I've never seen any OO PHP code that was easier to read or maintain for that matter. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The "goto" discussion on the Internals List

2005-06-09 Thread Greg Donald
On 6/9/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > whats your take on ifsetor()?, personally I would like to see it. I think > its a great way to teach newbies about checking vars before use (if nothing > else) That and error_reporting( E_ALL ); -- Greg Donald Zend Certifie

Re: [PHP] Objects and Performance

2005-06-09 Thread Greg Donald
under a deadline, you don't always have that luxury. Exactly why I always write procedural style. It's much faster to code, to run, and to debug. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: reverse MD5 ???

2005-06-10 Thread Greg Donald
an attack to find random collisions for the MD5 compression function. It took just a few hours on a customary PC. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions

2005-06-15 Thread Greg Donald
the > session id is being passed around just fine. You have two options: 1) Pass the session name and id between pages. Link EOF; ?> 2) Use transparent sessions (cookie based). ini_set("session.use_trans_sid", 1); -- Greg Donald Zend Certified Engineer http://des

Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Greg Donald
ourself a phpinfo() page. Your PHP configuration will be at the top of the page. You can use that configure line to build/upgrade to a newer PHP. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Greg Donald
On 6/15/05, Brian Dunning <[EMAIL PROTECTED]> wrote: > On Jun 15, 2005, at 2:28 PM, Greg Donald wrote: > > > Make yourself a phpinfo() page. Your PHP configuration will be at the > > top of the page. You can use that configure line to build/upgrade to > > a newe

Re: [PHP] Newbie Setup...

2005-06-16 Thread Greg Donald
nitial install in c:\php. That will get you a ton of extra extensions you may or may not want. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Greg Donald
On 6/21/05, Al <[EMAIL PROTECTED]> wrote: > Why bother. > > http://news.netcraft.com/archives/web_server_survey.html http://www.securityspace.com/s_survey/data/200504/index.html http://www.securityspace.com/s_survey/data/man.200504/apachemods.html -- Greg Donald Zend Certified

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Greg Donald
much harm there. Lighttpd may be one to watch however: http://www.lighttpd.net/ -- 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

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Greg Donald
t; > mod_perl or .NET users don't have that choice. .NET code runs on Apache via mod_mono. http://www.mono-project.com/ASP.NET -- 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

Re: [PHP] Re: PHP web archeticture

2005-06-26 Thread Greg Donald
w.rubyonrails.org/ -- 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

Re: [PHP] Display picture from MySQL

2005-06-27 Thread Greg Donald
tiney.com/Scripts -- 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

Re: [PHP] programatically determining path to php.ini ?

2005-06-29 Thread Greg Donald
7;system( "php -i|grep ini" );' Configuration File (php.ini) Path => /etc/php.ini -- 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

Re: [PHP] PHP search

2005-06-30 Thread Greg Donald
On 6/30/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > Use htdig to index your site. Here's a nice tutorial on how to wrap ht://Dig results with PHP for custom layouts and formatting: http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer MySQL Core

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Greg Donald
On 7/1/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > Hey it's not my fault that this stupid list needs a reply all! My reply-to-all button is right next to my reply button. Sounds like the pebkac to me. -- Greg Donald Zend Certified Engineer MySQL Core Certification http:

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Greg Donald
On 7/1/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > But I guess you get what you pay for:-) Feel free to go away if the deal isn't working for you. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://ww

Re: [PHP] WebHosting suggestions

2005-07-02 Thread Greg Donald
ad xeon box while there. Very security minded setup too. $6.95/month and up. http://geekhosting.com - Super cheap. $1.95/month and up. I'm not affiliated with any of those companies btw, I used their services and thought they were good. YMMV. -- Greg Donald Zend Certified Engineer MySQ

Re: [PHP] maximum execution time error

2005-07-05 Thread Greg Donald
On 7/5/05, James <[EMAIL PROTECTED]> wrote: > Is there a way to, on a script by script basis, change the maximum > allowed time that a script is allowed to run? ini_set() http://php.net/manual/en/ref.info.php#ini.max-execution-time -- Greg Donald Zend Certified Enginee

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Greg Donald
way. Just clean out the stuff you don't want and be done with it. define( 'ALLOWED_TAGS', '' ); $string = strip_tags( $string, ALLOWED_TAGS ); Cleaning an tag can be accomplished just as easily as cleaning a [url] tag. -- Greg Donald Zend Certified Engineer MySQL

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Greg Donald
On 7/8/05, Ryan A <[EMAIL PROTECTED]> wrote: > The problem with this approach is if people dont close their tags properly Nothing makes it impossible for me to hand type and not close one of those tags. [i]blah -- Greg Donald Zend Certified Engineer MySQL Core Certifica

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Greg Donald
On 7/8/05, Ryan A <[EMAIL PROTECTED]> wrote: > Yep, but this has no way of breaking my html If [/i] is missing, it'd be the same as being missing. I can just as easily clean out any missing tags as I can any missing [/i] tags. -- Greg Donald Zend Certified Engin

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Greg Donald
a good preview function comes in handy. -- 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

Re: Re[2]: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-09 Thread Greg Donald
On 7/9/05, Richard Davey <[EMAIL PROTECTED]> wrote: > I have to say I disagree, because with all modern BBcode parsers it > would never get to that stage. The same regular expression magic that keeps you from forgetting your [/i] can just as easily keep you from forgetting your

Re: Re[2]: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-11 Thread Greg Donald
On 7/11/05, Richard Davey <[EMAIL PROTECTED]> wrote: > I gave several valid good usability reasons, that I've yet to see > anyone provide a coherent reason not to use. Misuse of CPU cycles. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com

Re: [PHP] zlib.output_compression

2005-07-11 Thread Greg Donald
realy is not > compresed (is send only like text/html) It's likely the browser is uncomressing it before you ever see it. I would telnet to port 80 and make an HTTP request to see for sure. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP Genera

Re: [PHP] constructors in PHP

2005-07-11 Thread Greg Donald
nstruct() in /home/greg/class.php on line 13 Fatal error: Cannot redeclare __construct() in /home/greg/class.php on line 13 -- 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

Re: Re[4]: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-11 Thread Greg Donald
iew function. Even after that, if the user goofs up I allow a specific time span in which to edit the post to correct the goof. -- 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

Re: [PHP] constructors in PHP

2005-07-11 Thread Greg Donald
On 7/11/05, Alessandro Rosa <[EMAIL PROTECTED]> wrote: > But, right because PHP is weakly typed, multiple constructors could be > handled easier, I suppose ... isn't true? The sky is the limit with the function handling functions: http://php.net/manual/en/ref.funchand.php --

Re: [PHP] sockets

2005-07-12 Thread Greg Donald
ular php script then start it up from a DOS prompt like: c:\PHP\php.exe -f yoursocketfile.php or if you are using a *nix setup run it just as it is, making sure the first line points to your php binary, for example mine is /usr/bin/php. Chmod it so it's executable. -- Greg Donald Zend Cert

Re: [PHP] sockets

2005-07-12 Thread Greg Donald
On 7/12/05, Ahmed Saad <[EMAIL PROTECTED]> wrote: > yeah the manual is completely drak when it comes to php CLI binary `php -h` tells you all the command line options.. and all the basic fuctionality is covered in the manual online. Seems complete to me. -- Greg Donald Zend Certified

Re: [PHP] My Project

2005-07-19 Thread Greg Donald
On 7/19/05, Mikey <[EMAIL PROTECTED]> wrote: > $money = $money - 10; Make sure you protect it against multiple browser sessions. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] AJAX & PHP

2005-07-23 Thread Greg Donald
ly crashes Firefox in Linux. Works fine here, Firefox 1.04 on Debian GNU/Linux 3.1. -- 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

[PHP] Full time PHP/MySQL position available

2005-07-25 Thread Greg Donald
local candidates will be considered. Thanks, -- 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

Re: [PHP] Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-01 Thread Greg Donald
t my proyects only on > kernel 2.4.x ! Any exotic security patches been applied to the kernel that is having issues? I have PHP5, Apache2 on a 2.6.8 kernel with no issues. It may be that you have a non-thread-safe library added to your Apache/PHP setup. Apache 1.3.x is still the Apach

Re: [PHP] Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-01 Thread Greg Donald
' > '--with-opennssl' '--with-zlib' '--with-bz2' '--enable-calendar' > '--with-curl' '--with-curlwarppers' '--enable-ftp' '--with-gettext' --with-curlwrappers, I doubt that's your segfault issue though.

Re: [PHP] Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db

2005-08-10 Thread Greg Donald
ounds like you want Nagios. http://www.nagios.org/ -- 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

Re: [PHP] IP & Geographical

2005-08-11 Thread Greg Donald
e > heard of it done. http://sourceforge.net/projects/geoip/ -- 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

Re: [PHP] IP & Geographical

2005-08-11 Thread Greg Donald
On 8/11/05, Greg Donald <[EMAIL PROTECTED]> wrote: > http://sourceforge.net/projects/geoip/ Actually, here's a better URL: http://freshmeat.net/projects/geoip/ -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] 'God' has spoken... :-)

2005-08-14 Thread Greg Donald
On 8/14/05, Sebastian <[EMAIL PROTECTED]> wrote: > now if they say php5 is 20% faster than php4 than i would upgrade > overnight ;) Who is 'they' ? Go write a benchmark and see for yourself. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destine

Re: [PHP] previous + next buttons, no DB

2005-08-18 Thread Greg Donald
On 8/18/05, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: > Since I don't have a list of > images in any kind of array (such as a result from DB query) Sure you do. #!/usr/bin/php read() ) ) { $a[] = $e; } $d->close(); print_r( $a ); ?> -- Greg Donald Zend Certif

Re: [PHP] build sql query struture and values from form fields

2005-08-20 Thread Greg Donald
$k = implode( ',', array_keys( $_POST ) ); $v = implode( ',', array_values( $_POST ) ); $sql = "INSERT INTO db ( $k ) VALUES ( $v )"; I'd never do something like this though, just begs for SQL injection. -- 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

Re: [PHP] how to know when a php library is installed

2005-08-21 Thread Greg Donald
On 8/21/05, Lizet Pena de Sola <[EMAIL PROTECTED]> wrote: > I need to test whether a library is installed with php or not. extension_loaded(); -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] support for database interaction

2005-08-21 Thread Greg Donald
s? > > I think the functions to make this done should be execute a program with > some function, passes values and receive values from the 'shell' > > any idea? http://pecl.php.net/support.php#tutorials -- 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

Re: [PHP] Subscribing with GMail accounts

2005-08-29 Thread Greg Donald
On 8/29/05, Stuart Murray-Smith <[EMAIL PROTECTED]> wrote: > I've googled... how is it that no PHP list-server email goes to any of > my gmail accounts? > > This email is in itself a test ;-) so I might not even get your reply(ies). Works fine here. -- Greg Donald

Re: [PHP] ZCE Reccommendations

2005-08-31 Thread Greg Donald
On 8/31/05, hitek <[EMAIL PROTECTED]> wrote: > For the record, I passed :) Congrats. -- 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

[PHP] install-pear.phar errors

2005-09-07 Thread Greg Donald
-- 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

Re: [PHP] Best way to update PHP on RH 9

2005-09-11 Thread Greg Donald
2) Rip out your PHP rpms and install PHP from source. I don't use rpm based distros much anymore, but I usually go for option #2 anyway. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] It's A Windows World

2005-09-18 Thread Greg Donald
it's very much a PHP world: http://www.securityspace.com/s_survey/data/man.200508/apachemods.html -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Opensource webshop

2005-09-22 Thread Greg Donald
urce PHP carts already out there. Not to mention the ones written in Perl. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Is PHP the language for me???

2005-09-23 Thread Greg Donald
that. Toss this in a web directory and pull it up in a browser. read() ) ) { if( $entry != '.' && $entry != '..' && !is_dir( $entry ) ) { $files[] = $entry; } } sort( $files ); foreach( $files as $file ) { echo <<$file

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread Greg Donald
this > task? While learning Rubyonrails recently I discovered Yaml. It's sorta like .ini files on steroids. There's a PHP implementation available here: http://whytheluckystiff.net/syck/ And the main site is here: http://yaml.org/ -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Making MYSQL's RAND() more random

2005-10-03 Thread Greg Donald
random numbers that is portable between platforms for the same MySQL version. You might try pulling the results into a PHP array and then use PHP's random functions instead. I always got good randomness with mt_rand(). -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] PHP5 Webhost

2005-10-04 Thread Greg Donald
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/

Re: [PHP] Scripts not working outside of Zend Studio

2005-10-05 Thread Greg Donald
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/

Re: [PHP] data move from mssql to mysql via php

2005-10-07 Thread Greg Donald
http://www.kofler.cc/mysql/mssql2mysql.html -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Dynamic sub directory listing without redirect

2005-10-07 Thread Greg Donald
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

Re: [PHP] Testing a String for 'most' Capitalised

2005-10-10 Thread Greg Donald
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

Re: [PHP] Testing a String for 'most' Capitalised

2005-10-10 Thread Greg Donald
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

Re: [PHP] Testing a String for 'most' Capitalised

2005-10-10 Thread Greg Donald
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

Re: [PHP] function to compare ip addr to a ip range>

2005-10-13 Thread Greg Donald
t;In range\n"; } else { echo "Not in range\n"; } ?> -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] How to automate php with crontab?

2005-10-13 Thread Greg Donald
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/

Re: [PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Greg Donald
as > it matches. in_array() -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Re: Question about including files and server load

2005-10-14 Thread Greg Donald
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

Re: [PHP] automatic login..

2005-10-14 Thread Greg Donald
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

Re: [PHP] network speed

2005-10-14 Thread Greg Donald
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/

Re: [PHP] Re: How can I count the usage of mail function in scripts?

2005-10-18 Thread Greg Donald
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.

Re: [PHP] LDAP and a pain in my neck

2005-10-20 Thread Greg Donald
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/

Re: [PHP] Re: Php and Ruby

2005-10-23 Thread Greg Donald
same time with no problems. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

Re: [PHP] Use sqlite with php 4.4 ?

2005-10-28 Thread Greg Donald
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

Re: [PHP] calling static method within class

2005-10-28 Thread Greg Donald
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

Re: [PHP] Re: Type of form element

2005-10-28 Thread Greg Donald
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

Re: [PHP] is there a number translation function?

2005-10-29 Thread Greg Donald
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

Re: [PHP] could someone remove [EMAIL PROTECTED] from the list.

2005-11-02 Thread Greg Donald
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

[PHP] Re: PHP] Richard Lynch's Email Address ...

2005-11-02 Thread Greg Donald
, 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

Re: [PHP] Reset STDIN pointer

2005-11-02 Thread Greg Donald
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

Re: [PHP] Re: Richard Lynch's Email Address ...

2005-11-02 Thread Greg Donald
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/ -

Re: [PHP] Re: Reset STDIN pointer

2005-11-02 Thread Greg Donald
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

Re: [PHP] Re: Zend + Eclipse + Standized Framework

2005-11-14 Thread Greg Donald
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

Re: [PHP] Re: Zend + Eclipse + Standized Framework

2005-11-15 Thread Greg Donald
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

Re: [PHP] Validating Email addrs

2005-11-15 Thread Greg Donald
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

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
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

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
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

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
. 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

Re: [PHP] Web based editor

2005-11-27 Thread Greg Donald
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

Re: [PHP] MVC platform choice.

2005-11-30 Thread Greg Donald
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

Re: [PHP] MVC platform choice.

2005-12-01 Thread Greg Donald
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

<    5   6   7   8   9   10   11   >