milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
      • Italy2022
      • Côte d'Azur 2024
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home

Instalation on IIS 5.1 (WinXp)

Details
Written by: Stanko Milosev
Category: PHP
Published: 12 November 2008
Last Updated: 14 December 2008
Hits: 6635

If the path to your PHP directory has spaces (e.g. "C:\Program Files\PHP") and IIS gives a 500+ error or responds with "The specified module could not be found." when you try to run a PHP script, try changing the ISAPI DLL's path in IIS (in the "Home Directory" tab, under "Configuration...") to the 8.3-equivalent path.

That is, use C:\PROGRA~1\PHP\php5isapi.dll instead of "C:\Program Files\PHP\php5isapi.dll".

Copy/Pasted from here.

Save XML in human readable format

Details
Written by: Stanko Milosev
Category: PHP
Published: 22 September 2008
Last Updated: 30 November -0001
Hits: 6345

With using DomDocument class.

Like this:

<?
$sXML = '<root><element><key>a</key><value>b</value></element></root>';
$doc = new DOMDocument();
$doc->preserveWhiteSpace = false;
$doc->formatOutput = true;
$doc->loadXML($sXML);
echo $doc->saveXML();
?>

From here.

NuSOAP

Details
Written by: Stanko Milosev
Category: PHP
Published: 09 September 2008
Last Updated: 30 November -0001
Hits: 4238
In queries can't be unicode characters, at least, I couldn't find way to do it. Of course, in a result can be unicode characters as I already described. Also, it is very important how do you save your unit, if it is saved as unicode, again, you will have problems.

Passing $_POST variable to redirected page.

Details
Written by: Stanko Milosev
Category: PHP
Published: 08 September 2008
Last Updated: 18 July 2011
Hits: 6099

If you need to redirect page and pass $_POST variable (or any other variable) you should use following code:

<?php
header("HTTP/1.0 307 Temporary redirect");
header("Location: http://localhost/test.php");
?>

  1. List all files in a directory tree.
  2. NuSoap
  3. Instalation PHP 5.2.6 on Windows XP IIS
  4. Parametrized query

Subcategories

C#

Azure

ASP.NET

JavaScript

Software Development Philosophy

MS SQL

IBM WebSphere MQ

MySQL

Joomla

Delphi

PHP

Windows

Life

Lazarus

Downloads

Android

CSS

Chrome

HTML

Linux

Eclipse

Page 103 of 168

  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107