Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-06-2008, 08:34 AM   PM User | #1
cancer10
Regular Coder

 
Join Date: Jun 2006
Location: India
Posts: 795
Thanks: 210
Thanked 2 Times in 2 Posts
cancer10 can only hope to improve
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
File Type: zip PHPMailer_v2.0.2.zip (15.6 KB, 87 views)
__________________
http://outlineme.com/cancer10
cancer10 is offline   Reply With Quote
Old 08-06-2008, 09:56 AM   PM User | #2
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
PHP 4 has classes.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Old 08-06-2008, 10:13 AM   PM User | #3
cancer10
Regular Coder

 
Join Date: Jun 2006
Location: India
Posts: 795
Thanks: 210
Thanked 2 Times in 2 Posts
cancer10 can only hope to improve
Nope, it does not. Only 5 has class support
__________________
http://outlineme.com/cancer10
cancer10 is offline   Reply With Quote
Old 08-06-2008, 10:30 AM   PM User | #4
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
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.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Old 08-06-2008, 10:34 AM   PM User | #5
djm0219
Senior Coder

 
djm0219's Avatar
 
Join Date: Aug 2003
Location: Wake Forest, North Carolina
Posts: 1,227
Thanks: 2
Thanked 189 Times in 187 Posts
djm0219 is on a distinguished road
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
djm0219 is offline   Reply With Quote
Old 08-06-2008, 12:58 PM   PM User | #6
kbluhm
Senior Coder

 
kbluhm's Avatar
 
Join Date: Apr 2007
Location: Philadelphia, PA, USA
Posts: 1,502
Thanks: 2
Thanked 258 Times in 254 Posts
kbluhm will become famous soon enough
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.
__________________
ZCE

Last edited by kbluhm; 08-06-2008 at 01:00 PM..
kbluhm is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:37 PM.


Advertisement
Log in to turn off these ads.