Home

Stefano Mallozzi Professional web developmentStefano Mallozzi Professional web development

Condividi contenuti
  • About me
  • Bookmark
  • Tips and tricks
  • Tutorials
  • Contact me
  • Feed aggregator
Home

Languages

  • Italiano
  • English

Contact me

Links

Tag cloud

connection drupal i18n ics images internet lan network node images photo php seo
More tags

Photo galleries

  • Pictures of Gaeta

Fix option to hidden files and folders on Windows XP

Tue, 29/12/2009 - 18:12 — stefano

It may happen that the option to display hidden files and folder is disabled or is not working. You can try either one of the following tricks to fix this problem:

    • Click Start, then click Run and type regedit
    • Navigate to folder HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
    • Double click the key CheckedValue and enter the value 1
    • Close the registry editor.
    • Click Start, then click Run and type cmd
    • Type regsvr32 /i browseui.dll and press OK in the confirmation windows
    • Type regsvr32 /i shell32.dll and press OK in the confirmation windows
Tags:
  • Tips and tricks
  • explorer
  • hidden files
»
  • Italiano

How to troubleshoot network connections in Windows XP

Sun, 20/09/2009 - 02:02 — stefano

Sometimes you might notice problems opening the Network connections. For example all connections have disappeared, or when you create an Internet connection you might find the options Network Connection Dial Up Modem and broadband connection with user name and password are grayed out.
In order to troubleshoot this you have first to check if the service Remote Access Connection Manager is enabled, so do the following these steps:

  1. Open Control panel -> Administrative Tools -> Services
  2. Scroll down to Remote Access Connection Manager anche check if it's enabled
  3. If it's not enabled, double click it and then click Start

If you got the error message Error 126: specified module could not be found when starting the service, do the follwing steps:

  1. Click Start and then Run...
  2. Type cmd and press Enter
  3. Type regsvr32 netshell.dll and press Enter
  4. Type regsvr32 netcfgx.dll and press Enter
  5. Type regsvr32 netman.dll and press Enter

If you get the error message specified module could not be found for any of those commands, those files might be missing from the \Windows\System32 directory. Just copy those files from another PC having the same operating system, or restore them from the XP Setup CD doing the following steps:

  1. Insert the Windows XP Setup CD in the CD player
  2. Click Start, type cmd and press Enter
  3. In the General tab click Expand file...
  4. In the File to restore box enter the filename you want to expand, i.e. netcfgx.dll
  5. In the Restore from box enter the path of the compressed file in the Setup CD, i.e. H:\i386\netcfgx.dl_ (or just click Browse and search for the file in the CD)
  6. In the Save file to box enter C:\Windows\System32 (assuming C: is the drive where Windows XP is installed)
  7. Click Expand

Now you can redo the regsvr32 commands for the expanded files, and then try to enabled the Remote Access Connection Manager service. When enabled, you will be able to browse the Netword connections page and create all kind of connections.

Tags:
  • Tips and tricks
  • connection
  • internet
  • lan
  • network
»
  • Italiano

Unexpected empty output for regular expressions on PHP 5.2.x

Sat, 28/03/2009 - 02:01 — stefano

Since PHP 5.2.x it may happen to find unexpected empty output on regular expressions (preg_replace, preg_match, etc...) when parsing very long strings. This bug is caused by a restrictive limit of pcre.backtrack_limit directive. The default value is 100000, so it can handle strings up to 100000 characters. It would make more sense to change the limit to a higher value, even 20MB. The same change can be applied to the pcre.recursion_limit directive.

Both directives can be changed in the php.ini file:

pcre.backtrack_limit=20971520
pcre.recursion_limit=20971520

or by ini_set():

ini_set('pcre.backtrack_limit', 20971520);
ini_set('pcre.recursion_limit', 20971520);

Tags:
  • Tips and tricks
  • pcre
  • php
  • regular expressions
»
  • Italiano

How to redirect a dynamic sitemap url to a static sitemap.xml url

Mon, 19/01/2009 - 19:23 — stefano

If your sitemap url is available on a static url like /sitemap.xml, and you want to add a redirect from a dynamic url like /sitemap, just open the .htaccess file and add the following code:

# redirect sitemap
RewriteRule ^(sitemap)$ sitemap.xml [L]

Tags:
  • Tips and tricks
  • htaccess
  • seo
  • sitemap
»
  • Italiano

Keyword research tools

Wed, 07/01/2009 - 21:39 — stefano

There are some interesting tools to help users find the appropriate keywords:

  • Search-based Keyword Tool for Google Adwords
    This tool
    Questo strumento allows you to find a bunch of keywords related to a specific set of keywords, or to some content (available from URL or pasting the text). It shows several statistics for the matching keywords, like the approximate number of search queries, so you can choose the most used ones, and get a better search engine placement.
  • Textalyser
    Textalyser is a powerful text analysis tool. It shows the frequency of words in the text, so you can pick the most used ones as keywords. In order to get a better search engine placement, every keyword should have a 2.5 to 5 percent frequency.
  • Keyword Analysis
    Keyword Analysis shows the density of specific keywords in a text. It works in real time: you enter a keyword and you see the current density. This way you can refine the text and get the desidered density for your keywords.
Tags:
  • Tips and tricks
  • keywords
  • search engines
  • seo
»
  • Italiano
  • 1
  • 2
  • next ›
  • last »
Syndicate content

© Stefano Mallozzi
P.IVA 02155580596
Valid XHTML 1.0 Strict Valid CSS Valid RSS
Powered by Drupal Powered by Apache Powered by MySQL Powered by PHP