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. html and php

    in Windows 10 Gaming
    html and php: Hi, samplefacebook, i want to login in my account variables: url, mail and password via html and php. Thank youpic https://answers.microsoft.com/en-us/windows/forum/all/html-and-php/9c65b520-fac6-49e4-bc70-c4c8e6a36aa8
  3. html and php

    in Windows 10 Software and Apps
    html and php: Hi, samplefacebook, i want to login in my account variables: url, mail and password via html and php. Thank youpic https://answers.microsoft.com/en-us/windows/forum/all/html-and-php/9c65b520-fac6-49e4-bc70-c4c8e6a36aa8
  4. html and php

    in Windows 10 Network and Sharing
    html and php: Hi, samplefacebook, i want to login in my account variables: url, mail and password via html and php. Thank youpic https://answers.microsoft.com/en-us/windows/forum/all/html-and-php/9c65b520-fac6-49e4-bc70-c4c8e6a36aa8
  5. PHP

    in Windows 10 BSOD Crashes and Debugging
    PHP: Hiwon't let me send an email that says I need a PHP server what does that mean?Thank you https://answers.microsoft.com/en-us/windows/forum/all/php/4e99d17f-a423-44d3-9387-2ae3f8f13083
  6. php ini.Mcrypt PHP extension required.

    in Windows 10 Drivers and Hardware
    php ini.Mcrypt PHP extension required.: Where can I find my php ini. on windows 10 to enable or install it? https://answers.microsoft.com/en-us/windows/forum/all/php-inimcrypt-php-extension-required/69c7f857-a936-4097-9e31-6b00ab344ed2
  7. php location

    in Windows 10 Software and Apps
    php location: I want to go to a different page depending on different if results but don't know the correct syntax;as in: if (count == 1) { echo 'look at these cars';} go to page1.php elseif (count == 2) { echo 'look at these cars';} go to page2.php
  8. php not working?

    in Windows 10 Software and Apps
    php not working?: Hi, I just loaded new os (windows7 proessional) to my machine along with later version of xampp and when I run php files I get php code I could use some advice. thanks! here is the code: <html><body> <hr> <center><b><font size=+2> 515 Certification Expiration...
  9. how do I open .php and .html files with PHP editor Eclipse?

    in Windows 10 Network and Sharing
    how do I open .php and .html files with PHP editor Eclipse?: when i go to the control panel's option "associate a file type with a default program", my IDE named Eclipse, which is a PHP editor is not in the list of programs to choose from. how can I set .php, .php3, .html and .htm files to open automatically with this program? is...
  10. update to php?

    in Windows 10 Software and Apps
    update to php?: Trying to update our html website ubertool.org to a php platform does web4 work for this or I have also been recommended Wordpress. Or does anyone have any experience or recommend using this Azure?...