+ Reply to Thread
Results 1 to 23 of 23

Thread: PHP core config changes?
      
   

  1. #1
    oxide is offline 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

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  3. #3
    oxide is offline 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.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  5. #5
    oxide is offline 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

  6. #6
    oxide is offline 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.

  7. #7
    oxide is offline 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?

  8. #8
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    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
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  9. #9
    oxide is offline 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!

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  11. #11
    oxide is offline 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?

  12. #12
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  13. #13
    oxide is offline 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

  14. #14
    oxide is offline 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

  15. #15
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  16. #16
    oxide is offline 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?

  17. #17
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  18. #18
    oxide is offline 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

  19. #19
    oxide is offline 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. :(

  20. #20
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    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!


  21. #21
    oxide is offline 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?

  22. #22
    oxide is offline 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!!

  23. #23
    oxide is offline 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!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

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