PHP resources

PHP documents:

PHP tutorial: (the website is written by asp)


Chinese title and category cause 404 not found

For the titles, the simplest way is to install a plugin called WP Slug Translate.

For the categories, I modified the file rewrite.php.

function get_extra_permastruct($name) {
if ( empty($this->permalink_structure) )
return false;

if ( isset($this->extra_permastructs[$name]) )
return $this->extra_permastructs[$name][‘struct’];

return false;

Change if ( empty($this->permalink_structure) ) to if ( !empty($this->permalink_structure) )


WiFi Tethering in Windows

1. Run command prompt with administrator privileges.
2. Execute the below command to verify that your network interface support virtualization:

netsh wlan show drivers

If the “Hosted network supported” says “Yes“, then you’re ready to share the internet via Wi-Fi. Otherwise, you need to upgrade your hardware, if the software update doesn’t fix it.

3. Set up the ssid and key.

netsh wlan set hostednetwork mode=allow ssid=abc key=12345678

ssid is nothing but your desired Wi-Fi name, you can give your own.

Key is nothing but your Wi-Fi password. It should be Minimum 8 characters long

4. Until now, your hosted network has been created. Now, you need to start it.
Use the command below to start your Wi-Fi Network:

netsh wlan start hostednetwork

5. Share  the Internet Connection with the created WiFi.