Re: [PHP] PHP4 to PHP5 issue

2007-02-07 Thread Christopher Weldon
could then do directory specific PHP4/5 app running. You still have to make certain Apache has both the PHP4 and PHP5 modules loaded, obviously. -- Christopher Weldon President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605 -- PHP General Mailing List (http

Re: [PHP] Who uses PHP

2007-02-03 Thread Christopher Weldon
List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Christopher Weldon President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Billing client for studying documentation

2007-02-03 Thread Christopher Weldon
of the development and coding for the project and should be billed to the client appropriately. -- Christopher Weldon President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] (866) 813-4603 x605 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stuffing code into variable

2007-02-03 Thread Christopher Weldon
['field']./td; // Simplified for time purposes. } // Execute the query foreach ($row = mysql_fetch_array($query)) { echo drawTableRow($row); } /me pours you a cold frosty one to soothe the pain of the long struggle -- Christopher Weldon President CEO Cerberus Interactive, Inc. [EMAIL

Re: [PHP] WebMail client

2006-10-04 Thread Christopher Weldon
Peter Lauri wrote: Hi, Do you have any suggestion on WebMail clients written in PHP that is good and easy to install? http://hastymail.sourceforge.net/ -- Christopher Weldon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-27 Thread Christopher Weldon
Richard Lynch wrote: On Mon, September 25, 2006 3:57 pm, Christopher Weldon wrote: On 2:36 pm 09/25/06 Ramiro Cavalcanti [EMAIL PROTECTED] wrote: Hi Christopher, at first, thank you for your answer. I'd like to know if it's possible use this when php is running like cgi (php-suexec). I've

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
that the user is authenticated, and if not, redirect to a login screen before any headers are sent to the user. -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
On 2:36 pm 09/25/06 Ramiro Cavalcanti [EMAIL PROTECTED] wrote: Hi Christopher, at first, thank you for your answer. I'd like to know if it's possible use this when php is running like cgi (php-suexec). I've put this code at httpd.conf at module php, then tryed to use it at .htaccess, but

Re: [PHP] storing function names in db and running them as row is output?

2006-09-20 Thread Christopher Weldon
= mysql_fetch_array($db_query)) { eval($array['command']); } } eval() is your solution. -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Most stable combination of AMP?

2006-09-20 Thread Christopher Weldon
dependencies / expectations on your production system when they were there on the dev box. -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] storing function names in db and running them as row is output?

2006-09-20 Thread Christopher Weldon
blackwater dev wrote: great, thanks. So if it's just text, eval won't do anything? On 9/20/06, Christopher Weldon [EMAIL PROTECTED] wrote: blackwater dev wrote: First, the example I have is not the real situation, just an example so I don't want to get into why are you doing it like

Re: [PHP] php/css and .htaccess

2006-09-20 Thread Christopher Weldon
should not be able to read those files (.htaccess). So, are you 100% positive that PHP is in fact processing the file? -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] R: [PHP] session_start() and fopen

2006-09-14 Thread Christopher Weldon
()' then only one file will be generated: that's correct! Fabri Hey Fabri, I cannot replicate this bug (PHP 4.2.3 on older server). I'm only getting one file written. What version of PHP are you using? - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED

Re: [PHP] session_start() and fopen

2006-09-13 Thread Christopher Weldon
to it twice. This isn't being called from any sort of loop, is it? - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [PHP] mail() help

2006-09-12 Thread Christopher Weldon
the headers) so we can see the reason behind the message being marked as SPAM. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [PHP] does magic_quotes_gpc prevents sql injection through forms?

2006-09-11 Thread Christopher Weldon
']; The best way is to check to see if it is_numeric rather than force it's type to be integer - but for simplicities sake, it can be used. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin

Re: [PHP] strip urls

2006-09-11 Thread Christopher Weldon
('/\a href=([^\]*)[^\]*\/', \1, $str); You can use other characters, such as ! if you want instead of /, but you have to use the same at the beginning and the end. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version

Re: [PHP] mail() help

2006-09-11 Thread Christopher Weldon
more at www.php.net/mail. Finally, if none of the above works, it would be helpful for us to see the headers of the received message from one of your recipients where the message was put in the BULK folder. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED

Re: [PHP] Really stupid cookie question

2006-09-11 Thread Christopher Weldon
it to another 30 days? --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php It will expire in 5 days. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
the uploaded file? Size of image (after or before uploading) would be same. but the issue still there (sometimes) What types of images are these? JPG, PNG, GIF? - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
. - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFBjDqZxvk7JEXkbERAr3XAKCXlgni7S6KuHAOY9ch7O9AkRBmEgCfcd6u Oc1YRxq4EhHkeJpspLW0RdU

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread Christopher Weldon
are uploading a file through some form, then manipulating it's size. Is this correct? What happens when you stop manipulating it's size and try to view just the uploaded file? - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP

Re: [PHP] PHP 4 OOP, re-using a object?

2006-09-10 Thread Christopher Weldon
been a while since I last worked with classes. :) I asked because I was getting an error with my code... I thought it was how I was calling it. Anyway, have a great day, Cheers, Micky What's the error, and how do you have the class and functions defined? - -- Christopher Weldon, ZCE

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Christopher Weldon
to generate any XML documents, XML uses ? ? syntax, and it's better to turn off the short tags in your PHP config so that PHP doesn't attempt to interpret those tags as PHP code. - -- Christopher Weldon President, Lead Systems Administrator Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874

Re: [PHP] Using a variable to call another variable

2006-09-09 Thread Christopher Weldon
with letters and '_' characters (what I did above). - -- Christopher Weldon, ZCE President CEO Cerberus Interactive, Inc. [EMAIL PROTECTED] 979.739.5874 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org