Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: PHPGmailer Help

  1. #1
    Regular Coder
    Join Date
    Jun 2006
    Location
    UK
    Posts
    907
    Thanks
    301
    Thanked 2 Times in 2 Posts

    Question PHPGmailer Help

    Hi

    My webhost has PHP 4 installed on their server and they are NOT ready to upgrade to PHP5. Anyways, this is not the issue here.

    I need to make this script (PHPgmailer) work on PHP 4, which means without any class.


    So can someone please modify this script and make it without classes?


    I will be really grateful to you.

    (Attached is the zip file)

    Thanx in advance
    Attached Files Attached Files

  • #2
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts
    PHP 4 has classes.

  • #3
    Regular Coder
    Join Date
    Jun 2006
    Location
    UK
    Posts
    907
    Thanks
    301
    Thanked 2 Times in 2 Posts
    Nope, it does not. Only 5 has class support

  • #4
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts
    Just because you believe it doesn't make it true. But you might try doing a little research before you make a fool of yourself.

  • #5
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,292
    Thanks
    4
    Thanked 202 Times in 199 Posts
    You couldn't be more wrong I'm afraid cancer10. As NancyJ was kind enough to point out, classes have been supported in PHP, starting with version 4, for quite a long time.
    Dave .... HostMonster for all of your hosting needs

  • #6
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Quote Originally Posted by cancer10 View Post
    Nope, it does not. Only 5 has class support
    Technically, they are just pumped-up arrays in 4, but that is beside the point. Yes, 4 has class support.
    Last edited by kbluhm; 08-06-2008 at 01:00 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •