Windows 10: how to run php code

Discus and support how to run php code in Windows 10 Support to solve the problem; hi! old man new on this how do I run the php code after a clean install BTW very interesting subject lx07 thanks a lot for the code and for the help... Discussion in 'Windows 10 Support' started by tonyfly, Oct 26, 2018.

  1. tonyfly Win User

    how to run php code


    hi!
    old man new on this
    how do I run the php code after a clean install
    BTW very interesting subject
    lx07 thanks a lot for the code and for the help
    tony

    :)
     
    tonyfly, Oct 26, 2018
    #1
  2. UCOBEAR Win User

    Running PHP codes on my Windows 10 Home platform.

    I would like to run PHP codes on my Windows 10 Home platform. I have installed MS Visual Studio Community 2015. Do I need IIS to run PHP codes? I research and it is not clear what to do next. I use PHP at other server (not mine) alot. I d like to
    practice PHP at home.
     
    UCOBEAR, Oct 26, 2018
    #2
  3. n0tiert Win User
    Help with php code

    if you collect the $ID earlier due edit function you should pass the retrieved $ID like this back to the server,
    a online place to test php code:

    http://writecodeonline.com/php/

    Add this to Inputfield

    $ID = "1234";
    ?>
    <input type="text" name="id" value="<?php echo $ID; ?>" />
     
    n0tiert, Oct 26, 2018
    #3
  4. how to run php code

    Help with php code

    Use

    Code: isset($_POST['submit'])[/quote] to check if the form was posted

    Use

    Code: $_POST['name'] $_POST['phone'][/quote] to get your posted values

    and this is how you send the mail

    Code: $to = 'someone@there.com'; $subject = 'Test'; $message = 'Test message'; $headers = 'From: me@here.com' . "\r\n" . 'Reply-To: me@here.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers);[/quote] This will work on remote server, but won't work on local server unless mail server is installed and SMTP is correctly configured. Alternatively you can use a PHP classs that supports SMTP authentication, such as Zend_Mail or PHPMailer.
     
    BiggieShady, Oct 26, 2018
    #4
Thema:

how to run php code

Loading...
  1. how to run php code - Similar Threads - run php code

  2. how to run sfc

    in Windows 10 Customization
    how to run sfc: How to run sfc? I open a cmd window but it tells me I need to be an administrator running a console session. I am an administrator on my system. How do I start a console session?...
  3. How to run the Activation Troubleshooter

    in Windows 10 Updates and Activation
    How to run the Activation Troubleshooter: It's time to break out the troubleshooter if something's gone wrong and you're unable to activate Windows 10. For more info click here: https://support.microsoft.com/en-us/help/20527/windows-10-activation-troubleshooter [ATTACH]...
  4. how to fix code 0xc000025

    in Windows 10 Installation and Upgrade
    how to fix code 0xc000025: how do I fix my lap top with code 0xc000025 https://answers.microsoft.com/en-us/windows/forum/all/how-to-fix-code-0xc000025/b907c465-93cf-4347-a915-0c9ca94142d1
  5. How do I change the default program for PHP files

    in Windows 10 Customization
    How do I change the default program for PHP files: on my windows 10 laptop I have PHP installed. however the system file associations shows that the "Free File Viewer" is the program associated with PHP files. when I run the control panel to change the file association for PHP files I do not get any option to choose any...
  6. Can't set file association for php files

    in Windows 10 Network and Sharing
    Can't set file association for php files: Using Windows 10, I want to set a file association for php files to a particular application, but when I do it is not stored. Example 1: In File Explorer I right click on the file and choose "Open with". I select the application I want to use and make sure that the "Always...
  7. Windows 10 Standard Apps not able to set Visual Studio Code as default *.php editor

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 Standard Apps not able to set Visual Studio Code as default *.php editor: Hi I cannot set Visual Studio Code to the main program for programming in Standard Apps/ and/ or programs. I am getting this error: [ATTACH] What is happening with Win10 Sincerely Martin Wichmand...
  8. error code 0x80072f76 whilst to run updates.

    in Windows 10 Installation and Upgrade
    error code 0x80072f76 whilst to run updates.: While doing Windows 10 updates, I received error code 0x80070652 which troubleshooter resolved. I then tried to restart updates and received error code 0x80072f76. How do I reolve this ? Windows Verion 1803...
  9. how to restore run history?

    in Windows 10 Customization
    how to restore run history?: so recently I deleted all my run cmd history but there are no new history displayed I just wonder is there a way to restore run history https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/how-to-restore-run-history/7690723f-e5bf-4b88-8b92-1e3d71a1cb21
  10. SQL Server + PHP – What’s new

    in Windows 10 News
    SQL Server + PHP – What’s new: PHP is one of the most widely used programming languages for web developers today. The Microsoft PHP Connector for SQL Server is used to connect PHP applications to SQL Server, whether SQL Server is hosted in the cloud, on-premises or provided as a platform as a service....