Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Closed Thread
 
Thread Tools
  #1  
Old 02-25-2006, 04:55 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default PHP core config changes?

Is it possible to change the PHP config core. I have a few things migrated from another server to my vodahost account and now some PHP stuff doesn't work.

If it is possible to change settings in the PHP core, please let me know how. Thanks.

the setting I need chainging is register_globals to set to On, which is currently Off I see.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 02-25-2006, 05:35 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

Quote:
Originally Posted by oxide
Is it possible to change the PHP config core. I have a few things migrated from another server to my vodahost account and now some PHP stuff doesn't work.

If it is possible to change settings in the PHP core, please let me know how. Thanks.

the setting I need chainging is register_globals to set to On, which is currently Off I see.

Thanks
I have access to 4 of Voda servers and register_globals is On on all four of them. Which one is yours?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 02-25-2006, 08:02 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

I'm on voda3.vodahost.com

And I've run a file to get the info and config and it shows me it as Off.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 02-25-2006, 08:24 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

No, it's on. Get in your CP, then just leave on the address bar the www.70.......:2083/ part (2083 might be different for you) and add after the slash: phpinfo.php press enter, and you will get all the information.:



System Linux voda3.vodahost.com 2.4.21-37.0.1.ELsmp #1 SMP Wed Jan 11 18:44:17 EST 2006 i686

Configuration

PHP Core


Directive
Local Value
Master Value

precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 02-25-2006, 08:58 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Thanks very much for trying to help but I could get the config to show.

putting in phpinfo/php after the address:port/ results in a 'page not found'

Anyways, here's my PHP config: http://www.oxidesigns.com/serops06/phpinfo.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 02-25-2006, 09:38 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

ok, thx for the correction, now i see it as on, very strange, because in this link it shows as off .. LOL

http://www.oxidesigns.com/serops06/phpinfo.php

Anyways, I have now worked around it and recoded. Thanks very much for your help, much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 02-26-2006, 02:20 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Another problem :(

using the mail() command doesn't seem to work, Could I be doing something wrong? Is there any configs I need to make with my Mail settings?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 02-26-2006, 07:52 AM
VodaHost's Avatar
General & Forum Administrator
 
Join Date: Mar 2005
Location: Wilmington, Delaware USA
Posts: 8,653
Default Re: PHP core config changes?

You must make sure all your scripts are sending mail with smtp authentication.
__________________
VodaHost
Your Website People!
1-302-283-3777 North America / International
07092887580 / United Kingdom

Military Ranking System Explained


Click Here to take the royal VodaHost Tour
Click Here for the VodaHost Help Centre & Tutorials
Got a question? - Try a forum search! Available at the top of every page!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 02-26-2006, 10:43 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Ah! Thank you ver much for that, I will have to look up the web for some references, but thanks for pointing it out!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old 02-26-2006, 10:45 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

Quote:
Originally Posted by oxide
Ah! Thank you ver much for that, I will have to look up the web for some references, but thanks for pointing it out!
Make a search for "smtp class" and "php mailer". You will find examples attached to the classes thmeselves
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old 02-26-2006, 01:27 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

thanks mate... you guys have been great and now just one last thing (hopefully) :D

for the SMTP details what do I put in?

I'm using PHPMailer class and here what I put in my php.


Code:
$mail->IsSMTP();
$mail->Host     = "mail.oxidesigns.com"; 
$mail->SMTPAuth = true;
$mail->Username = "username+oxidesigns.com"; 
$mail->Password = "password";
is the SMPT config right here? or do I just need to use localhost?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old 02-26-2006, 02:49 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

$mail->IsSMTP();
$mail->Host = "localhost";
$mail->SMTPAuth = true;
$mail->Username = "username+oxidesigns.com"; Put your CP username
$mail->Password = "password"; Put your CP password
[/code]

You must have uploaded the class.phpmailer.php and class.smtp.php in your site. Have you configured port 25 in class.smto.php ?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old 02-26-2006, 02:54 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

yup the class has port as 25

i will try localhost again with the CP stuff .. thanks a lot!!

I have to wait for CP to come back up though :( just went down and cannot access
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old 02-26-2006, 08:12 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

currently using this to no avail .. .still no emails going out :( please help if you can.

PHP Code:
require("class.phpmailer.php");
$email_from "webmaker@oxidesigns.com";
$email_subject "SUBJECT";
$email_message "Test Email Message";
$email_to $addr;

$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host "localhost"
$mail->SMTPAuth true;
$mail->Username "cp_username";
$mail->Password "cp_password";
$mail->From $email_from;
$mail->FromName "From My Server";
$mail->AddAddress($email_to);
$mail->Sender $email_from;
$mail->Subject $email_subject;
$mail->Body $email_message
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old 02-26-2006, 10:11 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

Have you defined the $addr ?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old 02-27-2006, 12:47 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

yup, the $addr is a session variable that picks up the 'email' field from the table.

I thought it might be the problem but I did and echo $addr; after the mail command and it outputs the correct email address every time.

Do you know about PHPMailer and if I needed to confiure anything in the class file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old 02-27-2006, 01:00 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

Quote:
Originally Posted by oxide
yup, the $addr is a session variable that picks up the 'email' field from the table.

I thought it might be the problem but I did and echo $addr; after the mail command and it outputs the correct email address every time.

Do you know about PHPMailer and if I needed to confiure anything in the class file?
Have al look at the Tips and Tricks section. i posted a Tell a friend script using SMTP authentication. Download the files. PHP mailer is there, and the mail script also
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #18  
Old 02-27-2006, 09:31 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Ah!! Thanks to that now atleast I know the messages are not being sent.

here's what I get, any idea what could be causing it?

Warning: fsockopen(): unable to connect to localhost:25 in /home/topetiq/public_html/oxidesigns/rops_test/class.smtp.php on line 105
Message was not sent
Mailer Error: Language string failed to load: connect_host
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #19  
Old 02-27-2006, 10:42 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

also just to add, it happens regardless of which smtp host i try to use. :(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #20  
Old 02-27-2006, 11:25 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Default Re: PHP core config changes?

Quote:
Originally Posted by oxide
also just to add, it happens regardless of which smtp host i try to use. :(
Please upload all of your script code. If you want use my form to send it to me: http://www.navaldesign.info/feedback13.html
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #21  
Old 02-27-2006, 11:26 AM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

some real weird happenings here, and im beginning to be more inclined to think something is acting up server side?

Now the error has changed, with no change in code:

Mailer Error: Language string failed to load: from_failedserealops@ntlworld.com


That's the address I want to show as coming from in my script. Thought how come the error has changed now?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #22  
Old 02-27-2006, 12:16 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Quote:
Originally Posted by navaldesign
Please upload all of your script code. If you want use my form to send it to me: http://www.navaldesign.info/feedback13.html
done. Thanks!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #23  
Old 03-19-2006, 11:44 PM
Sergeant
 
Join Date: Feb 2006
Posts: 21
Default Re: PHP core config changes?

Sorry navaldesign, I've been busy lately.

I just wanted to thank you for you instantaneous support on the situation. Unfortunately I had only found this out in the dying moments of the deadline and it had to be moved to another server. I still appreciate the awesome support I received.

Thank you very much!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201