What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-15 19:56:03
how to create config file in php
<?php return (object) array( 'host' => 'localhost', 'username' => 'root', 'pass' => 'password', 'database' => 'db' ); ?> This allows you to use the object syntax when you include the php : $configs->host instead o... Add solution -
PHP 2021-09-14 22:01:03
atom emmet php
// To use Emmet in PHP files, open Atom's keymap.cson file. // (⌘+SHIFT+P then enter “open keymap”) // Copy the code below, paste at the end of the file, and save. 'atom-text-editor[data-grammar="text html php"]:not([mini])': 'tab... Add solution -
PHP 2021-09-14 07:02:01
run php script from another php
<?php include('log test.php'); $output = shell_exec('php filename.php'); echo "<pre>$output</pre>"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://localhost/Ia2/Watering/tests/log%20test.php"); //URL of the f... Add solution -
Other 2021-09-06 20:18:02
codeigniter 3 htaccess
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5