[PHP] Classes, global objects, and pointers

2003-02-11 Thread John Hughes
script should, by my understanding work, only it craps out in test2's constructor: "$o = &$tester;". Any help would be greatly appreciated. (Please cc me on your replies) John Hughes a = 10; } function doit() { $this->a = 20; } } global $tester; $tester = ne

[PHP] alternatives to mail()

2002-04-24 Thread John Hughes
fall-back option from PHP to send mail when the mail() function is not working? John Hughes __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] BBS system

2002-04-26 Thread John Hughes
Visit www.sourceforge.net --- r <[EMAIL PROTECTED]> wrote: > Hey all, > > Just a small q, > does anybody know of any particular good BBS system that is free? > (I aint > rich :-( ) Been to hotscripts.com can you recomend any? > > (Actually if i were rich I would not care a damn for > PHP-MyS

[PHP] tutorial on global variables

2002-04-27 Thread John Hughes
that is preferred. John Hughes __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() errors and alternatives

2002-04-30 Thread John Hughes
$body, $headers to a PHP script at the other domain and return some notification that the send did not report errors? TIA, John Hughes http://jomari.com __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.

Re: [PHP] Re: tutorial on global variables

2002-05-02 Thread John Hughes
ek disabled mail() in the PHP build.) John Hughes --- Philip Olson <[EMAIL PROTECTED]> wrote: > An issue/confusion of register_globals, global, and > variable scope exists out there; here are some thoughts: > > a) As of PHP 4.2.0, register_globals default

Re: [PHP] Re: tutorial on global variables

2002-05-02 Thread John Hughes
ned off unexpectedly? Other than the security reasons, is there any disadvantage to adding this line? John Hughes --- Philip Olson <[EMAIL PROTECTED]> wrote: > > I have several scripts that take it for granted PHP will assign > > variables to the information in the URL as in

[PHP] escaping quotes in forms and redisplaying variables in form fields

2002-05-06 Thread John Hughes
but I'd prefer to be able to redisplay at text form field if possible. TIA, John Hughes __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] adjusting time() to correct for time zones

2002-05-24 Thread John Hughes
to make one global change, perhaps with .htacess. Since this site is hosted on a commercial service I do not have access to the PHP.ini or other server-level files. TIA John Hughes __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http

Re: [PHP] adjusting time() to correct for time zones

2002-05-24 Thread John Hughes
--- Miguel Cruz <[EMAIL PROTECTED]> wrote: > On Fri, 24 May 2002, John Hughes wrote: > > My server is located on the East Coast, but all of the users of > my > > site live on the West Coast. I have an application that makes > several > > calls to time() and as a

[PHP] Counting months between two dates

2002-04-02 Thread John Hughes
I want to determine the number of months between two dates. Is there a function in PHP or a way to make strtotime do the job? For instance, how many months between 2001-08-27 and 2002-06-05. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php