زکات علم

زَکاةُ العِلمِ أن تُعَلِّمَهُ عِبادَ اللّه‏ِ امام باقر (ع)
زکات علم

مطالبی در زمینه کامپیوتر و علاقه مندی های شخصی من مطالب این وبلاگ غالبا مطالبی ست که در جای جای اینترنت کتاب یا دانشته های شخصی خودم می باشد که به عنوان مرجعی برای رجوع دوباره در اینجا جمع آوری شده اند .
ehsunitd.ir personal website

پیوندها

۱۱ مطلب با موضوع «وب» ثبت شده است

نصب وردپرس بر روی کامپیوتر شخصی یا Localhost

  • ehsan gholami
  1. background#edeeefurl('/images/background.png?1368816104');
  2. background-color#9092B0;
  3. background-imageurl(/assets/noise-4d7e90250411b8afcc688fd74d898542.png),-webkit-linear-gradient(-45deg, #8eb5df,#917386);
  4. background-imageurl(/assets/noise-4d7e90250411b8afcc688fd74d898542.png),-moz-linear-gradient(-45deg, #8eb5df, #917386);
  5. background-imageurl(/assets/noise-4d7e90250411b8afcc688fd74d898542.png),-o-linear-gradient(-45deg, #8eb5df, #917386);
  6. background-imageurl(/assets/noise-4d7e90250411b8afcc688fd74d898542.png),linear-gradient(-45deg, #8eb5df,#917386);
  7. box-shadowinset 0px 3px 0px 0px rgba(0,0,0,0.25);
  8. padding3em 0;
  • ehsan gholami

به مناسبت روز وبلاگ نویسی ، قصد دارم دومین مجموعه از مطالب تایپوگرافی از سیر تا پیاز را به کاربرد تایپ ۱ در وب و به خصوص زبان فارسی بپردازم .

تایپ و تصویر در کنار یکدیگر انتقال دهنده مفهوم هستند . در این بین تایپ نقش کلیدی و پررنگی ایفا می کند . گاهی اوقات تایپ بیان تصویری دارد و از کارکرد صرفا متنی خود خارج می شود و مفهوم را نیز به شکلی تصویری منتقل می کند . انواع فونت ها ، چیدمان ها و رنگ ها در متون به کارکرد تصویری تایپ کمک می کنند . تایپوگرافی خیلی خلاصه یعنی همین اهمیت دادن به وجه تصویری تایپ .

9a53cbfadbb2183b865d098b0e2adf93

  دیباچه :

  • ehsan gholami

وسط چینی افقی با CSS

برای این کار باید مقدار خاصیت Margin را در استایل خود برابر Auto 0 قرار بدید. در این صورت المان HTML در وسط والد خود قرار میگیرد. در صورتی که آن در لایه های داخلی ستونی غیر وسط نباشد در وسط صفحه قرار میگیرد. همینطور اگر آن تگ زیرمجموعه تگ body باشد در وسط صفحه جای خواهد گرفت.

  • ehsan gholami

There are several Facebook Social Plugins you can implement on your WordPress site. The entire list can be found here
Here are the steps I took to place a Facebook Like Box plugin on my site.

  • Go to the Facebook Like Box webpage
  • Enter your Facebook BUSINESS PAGE URL (no personal page)
  • Click the “Get Code” at the bottom
  • Click to select iFrame code
  • Copy and paste code in a TEXT widget, or page/post on your wordpress site

  • ehsan gholami

How to Install PHP on IIS 6 for Windows Server 2003

One of most popular development platforms on the web is PHP which powers many popular applications and sites such as Facebook, WordPress and Joomla. While most of these systems are ‘designed’ to be used on a Linux system running the Apache Web Server, you can deploy PHP applications via IIS 6 on your Windows Server 2003 system.

Configuring PHP

In order for Windows to run PHP code, the PHP binary files need to be copied to your system. No installation is required, however some configuration must be done in order for it to properly run. The first step is to download the PHP Windows Binaries and extract them (i.e. ‘C:PHP’). For IIS 6, the non thread safe binaries should be used.

image

  • ehsan gholami

Internet Information Services 6 (IIS 6) is a powerful platform for hosting web sites on both the public Internet and on private intranets. Creating and configuring web sites and virtual directories are bread-and-butter tasks for IIS Administrators, and in this article we'll walk through the process of doing this using both the GUI (IIS Manager) and using various scripts included with Windows Server 2003. The seven specific tasks we'll walk through will include:

  • Creating a Web Site
  • Creating a Local Virtual Directory
  • Creating a Remote Virtual Directory
  • Controlling Access to a Web Site
  • Configuring Web Site Logging
  • Configuring Web Site Redirection
  • Stopping and Starting Web Sites

For sake of interest, we'll explain these tasks in the context of a fictitious company called TestCorp as it deploys IIS for its corporate intranet.

Preliminary Steps

Unlike earlier versions of Microsoft Windows, IIS is not installed by default on Windows Server 2003. To install IIS, open Manage Your Server from the Start menu and add the Application Server role:

  • ehsan gholami

Error Message: ‘Directory Listing Denied’

When a default page inside of a web directory is not set, not present or custom named, this error message will be returned: ‘Directory Listing Denied. The Virtual Directory does not allow its contents to be listed.’ This article will walk you through ensuring that a default page is set correctly.

Step 1

Open IIS by navigating to Start -> Administrative Tools -> Internet Information Services (IIS) Manager.

kb-GLOBAL_ACCESS-IIS

Step 2

  • ehsan gholami

This topic describes 3 methods for installing IIS:

Using the Configure Your Server Wizard.

Using Add or Remove Programs from Control Panel.

Using unattended setup.

This topic also lists the directories created on install, describes the IIS initial configuration backup, and briefly describes IIS optional components.

  • ehsan gholami

درود بر همه ی دوستان سون لرنی. حتما برای شما هم پیش اومده که بخواید مثلا عنوان 5 مورد از محبوب ترین مطالب سایت وردپرسیتون رو براساس تعداد بازدید اونها نشون بدید و البته تعداد بازدید هر مطلب رو هم جلوش بنویسید. خب من هم تو این مطلب دقیقا قصد دارم بهتون یاد بدم چطور این کارو انجام بدید.

اولین چیزی که لازم داریم یه تابع هستش که تعداد بازدید مطالب رو ذخیره کنه و یه تابعی که بتونه تعداد بازدید رو نمایش بده. آقای علی محمدی قبلا در این باره مطلبی رو نوشتن و ما از مطلب ایشون برای این کار استفاده میکنم. اگر قبلا مطلبشون رو مطالعه نکردین، اینجا رو بخونید.

حالا اگر میخواید پست ها رو بر اساس تعداد بازدید اونها مرتب کنید، این کارو به راحتی با استفاده از WP_Query میتونید انجام بدید. کوئری حلقه شما میتونه چیزی شبیه این باشه:

  • ehsan gholami