About 6,700,000 results
Open links in new tab
  1. How can I save a PHP file with a .php or .html extension?

    Nov 30, 2019 · @Demla Pawan: If we're still talking about .php v .html in the URL then it makes no odds to the end user. To the server, modifying .htaccess (or better, the main server config) …

  2. Save output of a php file in a html file - Stack Overflow

    Nov 13, 2012 · I am having a php file which executes some code to generate a html file.Its like I m having a form from which some data will be posted to x.php file, which gives a output(a …

  3. How do I add PHP code/file to HTML(.html) files? - Stack Overflow

    go to this file, edit it and MAKE SURE YOU REALISE IT IS COMMENTED OUT EG: change it from ';security.limit_extensions = .php .php3 .php4 .php5 .php7' <- NB: note the ";" - this line is …

  4. arrays - Saving php output in a file - Stack Overflow

    Aug 28, 2013 · All you do is save yourself 2 lines of code. – Marc B. Commented May 3, 2011 at 14 ... Save array to PHP ...

  5. Where do I put my php files to have Xampp parse them?

    Jun 11, 2010 · I don't know what the httpd.conf or httpd-vhosts.conf files are and I don't know where they are. Typing them into my browser bar didn't work. I don't know where files and …

  6. Save PHP variables to a text file - Stack Overflow

    To add to Christian's answer you might consider using json_encode and json_decode instead of serialize and unserialize to keep you safe. See a warning from the PHP man page: Warning. …

  7. How to write into a file in PHP? - Stack Overflow

    This function follows these rules when accessing a file.If FILE_USE_INCLUDE_PATH is set, check the include path for a copy of filename Create the file if it does not exist then Open the …

  8. php - How to upload & Save Files with Desired name - Stack …

    Aug 18, 2010 · Other things to notice: The type="file" attribute of the tag shows the input field as a file-select control, with a "Browse" button next to the input control The form above sends data …

  9. How can I write php code in notepad++? - Stack Overflow

    Jan 14, 2013 · If you select no languages, it would be default text, but that can be changed too, and after you save the file with a .php extension, Notepad++ will automatically recognise the …

  10. apache - How to run php files on my computer - Stack Overflow

    What you really ought to do is install an all-in-one package like XAMPP, it bundles Apache, MySQL PHP, and Perl (if you were so inclined) as well as a few other tools that work with …

Refresh