Jump to content

macfanpl

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by macfanpl

  1. VSCode on Mac

    Coding in PHP file. When typing, InteliSense (or SSA) follows the cursor and display hints.

    Seems ok, but it displays many names that, once inserted into code, get strike-through (meaning they are deprecated.

    Would not be easier to remove them from IntelliSense rather than confusing others?

    When coding in other languages, deprecated names does not appear in IS. Its php-specific issue.

  2. 4 hours ago, requinix said:

    So every time you log out, clear your browser cookies, blah blah blah, and log back in, you get the same token? Every time? And when you log in using PHP code they give you the same token as well?

    That should not happen. Its serious security flaw. One token = one session (provided that TTL = RST)

  3. 51 minutes ago, ginerjm said:

    Debugging sometimes is best done by you putting outputs into your script to track the path your logic is taking

    You are absolutely right. But, its a bit tricky when it comes to mail forms (templates)....

     

    52 minutes ago, ginerjm said:

    In my experience forms never receive mail,

    To be precise, its mail-server which receives mail, and this (incoming mail) triggers some sort of action (eg. notification) in the form (template).

     

    53 minutes ago, ginerjm said:

    Using the term PHPMail is so close to name of the PHPMailer product that there was confusion.

    What do you suggest than?

     

    54 minutes ago, ginerjm said:

    And anytime you want to post some code in the general area of concern with this problem, I"m sure you would get some additional help.

    Thanks for this tip.

  4. On 4/11/2020 at 7:12 PM, ginerjm said:

    What is "phpmail"?

    PHPMail is mail functionality built-in to PHP.....

     

    On 4/11/2020 at 7:12 PM, ginerjm said:

    What is "MTP"?

    MTP = Mail Transfer Protocol

     

    On 4/11/2020 at 7:12 PM, ginerjm said:

    What does "receiving is disabled" mean?

    It means you can (theoretically) send mail outwards. but this form does not allow you to receive ( = read) inward mails.

     

    On 4/11/2020 at 7:12 PM, ginerjm said:

    What is a "new-mail form"?

    It means the PHP form (webpage) for sending mails.

     

    On 4/11/2020 at 7:12 PM, ginerjm said:

    What is an "ap-call for mail()"?

    I meant API

     

    On 4/11/2020 at 7:12 PM, ginerjm said:

    Have you done any debugging of your process to see what it is doing?

    Oh yes..... main problem with debugger is that no errors are being reported. One reason may be faulty debugger.

  5. 1 hour ago, gw1500se said:

    You asked what the problem may be. That is my answer based on the code, details and error messages you posted.

    There is no need to be ironic here. You know well I didnt post either of these.....

  6. OK so to start.

    We have our domain in the format X.com. Our new-mail form (php) is under mails.X.com. We use phpmail for sending mails. Receiving is disabled.

    There is apcall for mail() function in button's onclick event. Works as intended (gets call transmitted to phpmail function as well as MTP's) but mails never leaves our servers (and reaches receipient(s)). What may the problem be?

  7. 9 minutes ago, gizmola said:

    By far the best php editor! Should probably clarify that the company is JetBrains.  Here's a link to the PhpStorm version.  

    Started out as a Java IDE (IntelliJ Idea), and it's essentially the same base editor across the line, but I'd still recommend that you buy the Php specific version.  There's a 30 day trial you can  use to check it out.   Has a huge number of plugins and configuration options available, so you can configure your code style, apply rules from various codesniffers and standards.

    As for a free editor, I'd go with Eclipse PDT.  

    Id stay away from Eclipse if I were to chose an IDE to code in...... not for lack of speed (refactoring slows above 10k of lines of code), but mainly because of lack of seamless update process. Its PITA, as its automation is completely broken. 

    Java IDE is also of great value......

    I tried PhpStorm once and now Im paid customer. There is no better IDE.

    • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.