Install WordPress on IIS of dailyrazor.com

Edit web.config, the file is under the hosting of dailyrazor.com.  Add the following code to web.config:

<?xml version=”1.0″?>
<configuration>
<system.web>
<customErrors mode=”Off”/>
</system.web>
<system.webServer>
<httpErrors errorMode=”Detailed” />
<rewrite>
    <rules>
        <rule name=”Main Rule” stopProcessing=”true”>
            <match url=”.*” />
            <conditions logicalGrouping=”MatchAll”>
                <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
                <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
            </conditions>
            <action type=”Rewrite” url=”index.php” />
        </rule>
    </rules>
</rewrite>
</system.webServer>
</configuration>

Please note that max password length for database user is 12 characters. And FastCGI Extension for IIS 6.0 and IIS 5.1 should be installed also.

Posted in Other. Comments Off on Install WordPress on IIS of dailyrazor.com »

How to ask somebody else to write PHP articles?

We often need PHP related articles, if we do not have enough time, we can ask other PHPer for help. Here is an example on how to find good PHPer to write for you:

I am looking for someone to write me 10×500 word articles for the PHP Study niche (keywords to be given when we reach an agreement).

I will pay $20 for the 10 articles but please only contact me if:

1- You are a native english speaker or someone that can write near-perfect English. I want the articles to really make sense.

2- I want the articles to be relevant and not just some fluff to fill the 500 words. Make it informative and appealing.
3- All articles should have quality unique content, not just rewrite others articles. If you have PHP knowledge, you will have more chances to get the job.

Please send me a short sample of your work.

If you think you can write me the 10 articles the way I want them then please contact me asap. If we can cooperate well, I will need more PHP articles every month.

Posted in Other. Comments Off on How to ask somebody else to write PHP articles? »

PHP 5.3 and Magento

I was installing Magento version 1.3.2.1 on a XAMPP version 1.7.2 instalation for a friend, and I got an error on the very beginning of the installation:

Fatal error: Method Varien_Object::__tostring() cannot take arguments in /magento/lib/Varien/Object.php

With a small research I found out that there is a known issue with Magento and the PHP 5.3. Not a problem though, the solution was only 2 lines of code away. More specifically:

On the file /lib/Varien/Object.php (Line 484)

Change this:

public function ___toString(array $arrAttributes = array(), $valueSeparator=’,’)

To that:

public function __invoke(array $arrAttributes = array(), $valueSeparator=’,’)

and on the file /app/code/core/Mage/Core/Controller/Request/Http.php (Line 274)

Change this:

$host = split(‘:’, $_SERVER[‘HTTP_HOST’]);

To that:

$host = explode(’:’, $_SERVER[‘HTTP_HOST’]);

Posted in Other. Comments Off on PHP 5.3 and Magento »

Multiple Domains, Multiple Websites, on One Host, .htaccess

# ————————————
# CDSEO Pro
# ————————————
# This directory index is recommended to replace the
# x-cart default within this .htaccess file
DirectoryIndex home.php index.html index.php
php_value register_long_arrays On

# Enable mod rewrite engine
RewriteEngine On
# Some servers require this Options directive to be disabled
# Remove # at the beginning of this line to disable:
#Options -Multiviews

# Some servers require the Rewritebase directive to be enabled
# Remove # at the beginning of this line to enable:
RewriteBase /

RewriteCond %{REQUEST_URI} !(/admin/|/provider/)
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif|php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ cdseopro.php
# ————————————
# / CDSEO Pro
# ————————————
RewriteCond %{HTTP_HOST}  www.xuyi168.com$ [NC]
RewriteCond %{REQUEST_URI} !^/bbs/.*$
RewriteRule ^(.*)$  /bbs/$1  [R]

RewriteCond %{HTTP_HOST}  www.xuyi168.net$ [NC]
RewriteCond %{REQUEST_URI} !^/forum/.*$
RewriteRule ^(.*)$  /forum/$1 [R]

Posted in Other. Comments Off on Multiple Domains, Multiple Websites, on One Host, .htaccess »

Delete all hyperlinks on a sheet in Excel 2003/XP/2000/97

: I’ve had a hyperlink problem in my Excel files for ages: false hyperlinks had crept in (even in empty cells) and were multiplying regularly whenever I inserted new lines. How can I delete all hyperlinks in a sheet at once and not have to delete them cell by cell? (more…)

Posted in Other. Comments Off on Delete all hyperlinks on a sheet in Excel 2003/XP/2000/97 »

How do I remove a hyperlink in microsft word without losing the display text or image?

To remove a single hyperlink without losing the display text or image, right-click the hyperlink, and then click Remove Hyperlink.

To remove all hyperlinks in a document, press CTRL+A to select the entire document and then press CTRL+SHIFT+F9. (more…)

Posted in Other. Comments Off on How do I remove a hyperlink in microsft word without losing the display text or image? »

Rename all .html to .htm using DOS command

If we need to rename all .html to .htm, we can use DOS command: ren

For example, we need to rename all the .html files under E:\dns\aagg, (more…)

Posted in Other. Comments Off on Rename all .html to .htm using DOS command »
King Php Science Welcome, you are from: 157.55.39.248