Forum Search:
phpHtmlLib
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » phpHtmlLib » Help » how to install phphtmllib on windows
how to install phphtmllib on windows Tue, 21 July 2009 22:46 Go to next message
amolks  is currently offline amolks
Messages: 1
Registered: July 2009
Newbie

From: 123.252.210*
i am unaware of how to install phphtmllib on windows.
Please tell me about installtion process.
Re: how to install phphtmllib on windows Fri, 27 November 2009 09:18 Go to previous messageGo to next message
phphtmllib  is currently offline phphtmllib
Messages: 776
Registered: September 2002
Location: Cool, CA
Senior Member
Administrator

From: *60.190.045.fastkat.com
I have never tried it. I use linux.
Re: how to install phphtmllib on windows Sun, 28 November 2010 03:18 Go to previous messageGo to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: *cable.mindspring.com
I've done quite a bit of work with phpHtmlLib 2.x on Windows and it works without any issues. The 3.x thread is quite a bit different. Just yesterday I tried to create a template project using the project generator, here is what learned:

  • The phl.php file will not run under Windows nor will it run under Cygwin.
  • The generated project will not run under IIS on Windows 7.

What I did was create a new project under Linux and commit it to a Google Code repository. I then checked it out on my Windows development environment and tried to run it. No dice. I am not sure what it doesn't like, I haven't looked close enough but I suspect it has to do with the autoload and lib structure.

I think if you use phpHtmlLib 3.x in the same mode as 2.x was used, ie not using the project generator, it would work but I haven't tried it yet. I had also made some changes to the 2.x thread a while back that allowed the library to be placed somewhere other than at /phphtmllib in the document root so it would work in conjunction with WordPress.

Mike


Mike Walsh - mike_walsh at mindspring dot com
Re: how to install phphtmllib on windows Sun, 28 November 2010 04:46 Go to previous messageGo to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: *cable.mindspring.com
I was able to get the project generator to run under Windows! The problem is in the generated index.php and how the include_path is set. The generator produces a call to init_set() which will only work under Unix.

By changing this call to ini_set() to look like this it works:
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $lib_path);


I am going to look at the project generator script and see how easy it is to change.

Mike


Mike Walsh - mike_walsh at mindspring dot com
Re: how to install phphtmllib on windows Sun, 28 November 2010 05:03 Go to previous messageGo to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: *cable.mindspring.com
mpwalsh8 wrote on Sun, 28 November 2010 07:46
I was able to get the project generator to run under Windows! The problem is in the generated index.php and how the include_path is set. The generator produces a call to init_set() which will only work under Unix.

By changing this call to ini_set() to look like this it works:
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $lib_path);


I am going to look at the project generator script and see how easy it is to change.

Mike


Yep, it is a trivial change. Changing the call to ini_set() as shown above in the the template index.php file that the generator uses will allow it to work under Linux and Windows.

Walt - let me know if you want me to make this change and commit it or if you want to do it.

Mike


Mike Walsh - mike_walsh at mindspring dot com
Re: how to install phphtmllib on windows Sun, 28 November 2010 09:09 Go to previous messageGo to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: *cable.mindspring.com
Looks like the same change needs to be made in several places:



  • ./sdif2mysql/dev/autoload_generator.php
  • ./sdif2mysql/htdocs/index.php
  • ./sdif2mysql/lib/external/phphtmllib/bin/autoload_generator. php
  • ./sdif2mysql/lib/external/phphtmllib/bin/dot_generator.php
  • ./sdif2mysql/lib/external/phphtmllib/bin/phl.php
  • ./sdif2mysql/lib/external/phphtmllib/examples/datalistsource .php
  • ./sdif2mysql/lib/external/phphtmllib/examples/widget6.php
  • ./sdif2mysql/lib/external/phphtmllib/src/generator/AutoloadG enerator.inc
  • ./sdif2mysql/lib/external/phphtmllib/src/generator/project_t emplates/dev/autoload_generator.php
  • ./sdif2mysql/lib/external/phphtmllib/src/generator/project_t emplates/dev/dot_generator.php
  • ./sdif2mysql/lib/external/phphtmllib/src/generator/project_t emplates/htdocs/index.php



Mike Walsh - mike_walsh at mindspring dot com
Re: how to install phphtmllib on windows Thu, 17 March 2011 10:47 Go to previous messageGo to next message
phphtmllib  is currently offline phphtmllib
Messages: 776
Registered: September 2002
Location: Cool, CA
Senior Member
Administrator

From: *austin.hp.com
Go ahead and commit the change Mike if you want.
What should be pay attentioned for drugs to lose weight Tue, 01 May 2012 22:52 Go to previous message
zhendeshou  is currently offline zhendeshou
Messages: 55
Registered: May 2012
Member

From: *static.hostnoc.net
The drugs's choice
For many years, the countries all over the world for weight loss drug research and development's funding reach billions of dollars, also weight loss drugs appeared on the market is multifarious, is numberless as the sand, especially at present formal market in our country the weight loss products to sell up to more than 90 types. Facing these endless weight loss of product, consumer often dazzling, do not know how to hobby, so often is "follow advertisement go". But some weight loss product advertising often exaggerated conduct propaganda and mislead consumers, even consumer also say have eat several months of weight loss products still don't know what it mechanism. Zhen De Shou Fat Loss Capsule

It is worth mentioning is that weight loss there are many factors. What we need is the consumption of fat, not muscle, water loss. There are many diet pills in the advertising campaign, claiming that a week can reduce the number of how many of these ads, not superstition, and some drugs may contain catharsis or diuretics, may alleviate some weight in the short term, but the loss of water and electrolyte . You may feel dizziness, dry mouth, fatigue.

And these drugs are "slimming" effect did not last long. Weight loss drug of choice is critical for weight loss efficacy and safety of some previously very popular abroad, appetite suppressants such as fenfluramine and other very serious complications of the heart, in the United States has been disabled, so obese people the principle of weight loss must be made clear to the composition and role of the various drugs now available in more "magic" weight loss products, must be holding their own health and responsible attitude plainly consumption.zhen de shou pills


fashion Zhen De Shou
zhendeshou
zhendeshou pills
Previous Topic:Question about Tablist
Next Topic:Enjoy a natural and elegant look with a fashionable wig
Goto Forum:
  


Current Time: Thu May 23 23:34:39 PDT 2013

Total time taken to generate the page: 0.23221 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software