Jump to content

Russ

Members
  • Content count

    143
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Russ

  • Rank
    Distant Family
  1. Where would I find a list of scripting languages available on my shared hosting account (where can I find info on the types of scripts that I can run in cgi-bin)? The TCH website lists php and perl, and I know that python is available. Are there others? What about bash? Thanks.
  2. Russ

    Python

    Is there a link that indicates what version of python, and what python modules, have been installed on the server? Also, I any information on how to run python scripts from my domain would be very helpful. I have some ".py" files that I have on my laptop that I would like to run from my site, and imagine some modifications are necessary to run from the server? Thanks in advance for any help.
  3. Russ

    404 Not Found

    Perfect. Thanks. One follow up question - when looking for a solution to my question, I can across this post on the forum https://forums.totalchoicehosting.com/index.php?showtopic=43245&hl=%22404+not+found%22 and thought that it might address my problem. So I changes the index settings of the folder. It didn't make a difference, and your solution fixed everything. What should I set the index setting back to? Thanks again.
  4. My site/domain has been dormant for quite some time, but I am preparing to relaunch the site. In preparation of relaunching, I have uploaded a couple of test files to my public_html folder. When I point my browser at the page, I receive the following message in the browser window: I created a test page thru c-panel, which "previewed" fine in the HTML Editor window, but when I pointed my browser at that page, I receive the same message. Any ideas as far as what the problem might be? Thanks.
  5. Russ

    Mail Headers In Php Mail()

    Thank you, Andy. I will give that a try. I appreciate your help.
  6. Russ

    Mail Headers In Php Mail()

    Thanks, Andy. Is there anyway to change that? Makes me nervous to send an email that would disclose my cPanel username.
  7. Russ

    Mail Headers In Php Mail()

    Sorry I haven't replied sooner - thought that I had "Reply Notification" sent, but it turns out that I didn't... The help desk has made it clear that they "have limited" support for scripts and cannot help with this issue. So I don't see them helping on this topic any further. As far as the "pipe script" is concerned, it is a php script that I wrote which reads an email that is "piped" to it and then the script sends an email. In cPanel, you set an "email forwarding" to the script (using "pipe"). Emails sent by that script will disclose my cPanel username in the "Received:" header; whereas, emails sent via a php script to which I point my browser (with identical "mail()" code) will result in a "Receved:"header similar to the one you generate. Anyway thank for your help.
  8. Russ

    Mail Headers In Php Mail()

    Okay. Well, then again, that's weird. With what amounts to the same code, two diffenent scripts are generating two different "Received:" headers?
  9. Russ

    Mail Headers In Php Mail()

    I just had a thought....Maybe this could be the reason - When the email is sent with the script Alex created, it is sent by pointing the browser at the script. When the email is sent from the pipe script, it is a shell script. Could that difference account for the different "Received:" headers?
  10. Russ

    Mail Headers In Php Mail()

    First, thanks to all for the help. Alex, I found your script and inserted my email address (in lieu of yours) and ran the script. The email that I received had a "Received:" header that was similar to the one you and carbonize received: I then cut and pasted the code from your script into the script that was set up with the pipe. When the pipe script sent the email, however, the "Received:" header had my cPanel username in it: Isn't that weird?
  11. Russ

    Mail Headers In Php Mail()

    Thank you, Thomas, Carbonize and Bruce. I have reopened my Help Desk ticket. I will let you know how that goes.
  12. Russ

    Mail Headers In Php Mail()

    I had submitted a Help Desk ticket, but their response was as follows: I assume that you are on a shared server? At any rate, not sure what to do? I am a newbie trying to pick up php, can you explain why your suggested code is better? I really do appreciate you taking the time to help me with this. Thank you.
  13. Russ

    Mail Headers In Php Mail()

    Thanks, for your reply. Here is the code snippet that I am using. > $add_headers = 'From: YYY@MyDomain.net' . "\r\n" . 'Return-path: YYY@MyDomain.net' . "\r\n"; mail('XXX@MyDomain.net', $subject , $message , $add_headers, "-fYYY@MyDomain.net"); This the "Received:" header in the recipient email: It still has my cPanel username, rather than "Nobody."
  14. Russ

    Mail Headers In Php Mail()

    Nobody has any other thoughts on resolving this?
×