php-general Digest 19 Jul 2007 06:50:35 -0000 Issue 4911
Topics (messages 259136 through 259165):
Re: Pirate PHP books online?
259136 by: Tijnema
259139 by: Crayon Shin Chan
259140 by: Instruct ICC
259141 by: Vo, Lance
259154 by: Larry Garfield
259155 by: Larry Garfield
259156 by: Robert Cummings
259157 by: Janet Valade
259158 by: John Meyer
259159 by: Jay Blanchard
259160 by: Instruct ICC
259161 by: tedd
259162 by: Robert Cummings
259163 by: tedd
259165 by: Dotan Cohen
Re: double output from trigger_error from command line
259137 by: Instruct ICC
259138 by: Instruct ICC
Re: simplexml_load_string();
259142 by: Vo, Lance
259153 by: Larry Garfield
Using PHP command line as a browser
259143 by: Rick Lim
Xdebug 2 released.
259144 by: Derick Rethans
259145 by: Daniel Brown
259146 by: Paul Scott
Re: Error on installing under Windows Vista leads to inability to uninstall
5.2.3
259147 by: Alan Milnes
259148 by: Stephan G
259150 by: Stut
259164 by: Stephan G
Re: Error on installing under Windows Vista leads to inability to uninstal
259149 by: Instruct ICC
259152 by: Instruct ICC
Re: Persistent Objects
259151 by: Wesley Acheson
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I didn't read the full thread (because it is 80 emails...)
But really, it isn't special that these books are found on the net,
and you really can't stop them, nor can the author of the book.
With a quick search, I found these books related to PHP(all "free" to download):
Beginning Ajax with PHP: From Novice to Professional
Professional Search Engine Optimization with PHP: A Developer's Guide to
PHP 5 Advanced: Visual QuickPro Guide
Programming PHP 2nd
Professional Search Engine Optimization with PHP: A Developer's
Advanced PHP for Web Professionals
PHP Solutions: Dynamic Web Design Made Easy
Beginning PHP, Apache, MySQL Web Development
Wrox Professional Search Engine Optimization with PHP Apr 2007
Textpattern Solutions: PHP-Based Content Management Made Easy
Beginning PHP and PostgreSQL E-Commerce: From Novice to Professional
PHP 5 Advanced: Visual QuickPro Guide
Foundations of PEAR: Rapid PHP Development
PHP Developer's Cookbook (2nd)
Beginning PHP and PostgreSQL E-Commerce: From Novice to Professional
Pro PHP Security
Pro PHP XML and Web Services
Sams Teach Yourself PHP, MySQL and Apache (3rd)
Foundations of PEAR: Rapid PHP Development
Object-Oriented PHP: Concepts, Techniques, and Code
Foundation PHP 5 for Flash
PHP for the World Wide Web, Second
PHP & MySQL for Dummies 3r
Beginning Google Maps Applications with PHP and Ajax
Practical PHP and MySQL: Building Eight Dynamic Web Applications
Web Database Applications with PHP & MySQL
Advanced PHP Programming
Delphi 2007 PHP
Beginning PHP4
Web Applications Development With PHP
PHP & MySQL Web Development
Dynamic Site with PHP & MySQL
Building PHP Applications With Macromedia Dreamweaver MX
Learning PHP and MySQL
Core PHP Programming for Web Proffessionals
Advanced PHP for Web Professionals
PHP Solutions Dynamic Web Design Made Easy
Core Web Application Development with PHP and MySQL
How to Do Everything with PHP & MySQL
PHP Manual
Web Application Development With Php4
OReilly PHP Cookbook 2nd Edition Aug2006
PHP5 and MySQL Bible (2004)
need one?
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
--- End Message ---
--- Begin Message ---
On Wednesday 18 July 2007 22:12, Stut wrote:
> There is a very very important difference. Stealing/theft is a criminal
> offence. Copyright infringement is not. For you to be prosecuted for
> copyright infringement the injured party must bring a civil case.
Actually whether it's civil or criminal depends on the jurisdiction.
--
Crayon
--- End Message ---
--- Begin Message ---
From: Tijnema <[EMAIL PROTECTED]>
I didn't read the full thread (because it is 80 emails...)
But really, it isn't special that these books are found on the net,
and you really can't stop them, nor can the author of the book.
With a quick search, I found these books related to PHP(all "free" to
download):
Beginning Ajax with PHP: From Novice to Professional
...
need one?
Tijnema
Yes, I need one. Kindly send me the full free download link to the one
above. All I see are free excerpts.
_________________________________________________________________
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507
--- End Message ---
--- Begin Message ---
Wow, this topic has been going on forever. Probably the longest I've seen.
-----Original Message-----
From: Instruct ICC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Pirate PHP books online?
>From: Tijnema <[EMAIL PROTECTED]>
>
>I didn't read the full thread (because it is 80 emails...)
>
>But really, it isn't special that these books are found on the net,
>and you really can't stop them, nor can the author of the book.
>
>With a quick search, I found these books related to PHP(all "free" to
>download):
>Beginning Ajax with PHP: From Novice to Professional
>...
>need one?
>
>Tijnema
Yes, I need one. Kindly send me the full free download link to the one
above. All I see are free excerpts.
_________________________________________________________________
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On Wednesday 18 July 2007, tedd wrote:
> >There is no such thing as copyright theft. There is such a thing as
> >copyright infringement.
>
> No one is saying otherwise.
Except you.
> I don't care what you call it, taking something that is not yours is
> stealing.
False.
> If an employer hires you to do a job, receives and uses
> your code, and doesn't pay you for it, then that's stealing. It
> doesn't make much difference if you call it breach of contract,
> copyright infringement, fraud, or theft -- it's still illegal.
True.
> And,
> I've spent enough time in court to know the difference.
Apparently not.
> I am always surprised as to how simple wrongful acts can be
> diminished with spin. We live in a world of political correctness, to
> which we all object, but whenever we can, we add our own spin to the
> layers of complexities around us.
And here is the crux of the point that I've been making. Information is not
property. Property cannot be duplicated ad infinitim. Information can, by
its very nature. The concept of "theft" does not apply. The concept of
restricting the flow of information is artificial (to answer someone else's
question from earlier), whereas the laws of physics provide a natural
restriction on the flow of goods.
You are the one buying into the "spin" by claiming that information is as
permanently and inviolately restricted as atoms and molecules are. That is
false. That does not make breaking the law "right", but it is a necessary
fact of nature to understand if you want to understand the law and why the
law exists (in theory).
Of course, the media moguls have spent decades selling that spin precisely
because they want to confuse the issue. If you convince people that
information is "property" in the same way that their house or car is, then
you undermine the purpose of copyright (promoting social good, not private
profit), undermine any attempts to reform the law, and undermine the basic
precepts of both open source software (the free flow of information creates
better expressive works through sharing) and Free software (restriction of
the free flow of information is immoral).
Is murder "theft"? Of course not, but it's still illegal.
Is rape "theft"? Of course not, but it's still illegal.
Is arson "theft"? Of course not, but it's still illegal.
Is jaywalking "theft"? Of course not, but it's still illegal.
Is speeding "theft"? Of course not, but it's still illegal.
Is copyright infringement "theft"? Of course not, but it's still illegal.
Copyright infringement is no more "theft" than walking against the light
is "speeding".
> I, for one, just call theft what it is.
And everything else that is illegal too, apparently, regardless of whether or
not it is.
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
--- End Message ---
--- Begin Message ---
On Wednesday 18 July 2007, tedd wrote:
> And just because they do, doesn't make it any less accurate either. I
> don't care if Hitler agreed with me, there is a fundamental wrongful
> act of taking something that is not yours regardless of what you, and
> others, may call it.
First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing. :-)
[1] http://en.wikipedia.org/wiki/Godwin's_Law
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
--- End Message ---
--- Begin Message ---
On Wed, 2007-07-18 at 19:01 -0500, Larry Garfield wrote:
>
> And here is the crux of the point that I've been making. Information is not
> property. Property cannot be duplicated ad infinitim.
Yet! When you get down to it... 1s, 0s, and subatomic particles have a
lot in common.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................
--- End Message ---
--- Begin Message ---
Larry Garfield wrote:
And here is the crux of the point that I've been making. Information is not
property. Property cannot be duplicated ad infinitim. Information can, by
its very nature. The concept of "theft" does not apply. The concept of
restricting the flow of information is artificial (to answer someone else's
question from earlier), whereas the laws of physics provide a natural
restriction on the flow of goods.
And here's where your argument loses me. It's not information that is
being restricted. It's my writing of the information that's mine. I
spent my time organizing a bunch of words in a particular way to
communicate some information. I wrote them. I spent a lot of time doing
it. It's my skill. You have no right to take the fruit of my skills
without compensating me. If I want to give it to you, I can. But you
have no right to just take my book.
If you want to take all the "information" that is in the book, all the
knowledge, all the facts, and put them in your own words, write them
down in some other form, they are yours. Feel free. Facts are facts. But
the particular expression of that information is mine.
It seems me that, in theory, any property can be duplicated infinatum.
It's just a question of resources and time. It takes very little time
and resources to duplicate a computer file. It takes a lot of time and
resources to duplicate a house.
You are the one buying into the "spin" by claiming that information is as
permanently and inviolately restricted as atoms and molecules are. That is
false. That does not make breaking the law "right", but it is a necessary
fact of nature to understand if you want to understand the law and why the
law exists (in theory).
Sorry, but no one is trying to restrict information. Talk about spin.
The storage of my words in a file is a concrete thing. Because it is
stored in ones and zeros on a computer disk does not make it some sort
of cosmic entity. It still is just a collection of words. My words. It's
no different than a stack of paper with typewritten words on it that an
author produced with a typewriter.
Just as a matter of curiosity, do you also spend time writing long
emails correcting people who use the term "identity theft"?
Janet
Of course, the media moguls have spent decades selling that spin precisely
because they want to confuse the issue. If you convince people that
information is "property" in the same way that their house or car is, then
you undermine the purpose of copyright (promoting social good, not private
profit), undermine any attempts to reform the law, and undermine the basic
precepts of both open source software (the free flow of information creates
better expressive works through sharing) and Free software (restriction of
the free flow of information is immoral).
Is murder "theft"? Of course not, but it's still illegal.
Is rape "theft"? Of course not, but it's still illegal.
Is arson "theft"? Of course not, but it's still illegal.
Is jaywalking "theft"? Of course not, but it's still illegal.
Is speeding "theft"? Of course not, but it's still illegal.
Is copyright infringement "theft"? Of course not, but it's still illegal.
Copyright infringement is no more "theft" than walking against the light
is "speeding".
I, for one, just call theft what it is.
And everything else that is illegal too, apparently, regardless of whether or
not it is.
--
Janet Valade -- janet.valade.com
--- End Message ---
--- Begin Message ---
Larry Garfield wrote:
On Wednesday 18 July 2007, tedd wrote:
And just because they do, doesn't make it any less accurate either. I
don't care if Hitler agreed with me, there is a fundamental wrongful
act of taking something that is not yours regardless of what you, and
others, may call it.
First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing. :-)
[1] http://en.wikipedia.org/wiki/Godwin's_Law
Dang I didn't know that existed, thanks for the reference now I have
something for all my other discussions.
--- End Message ---
--- Begin Message ---
[snip]
...all manner of interesting debate...
[/snip]
What, exactly, is the difference between this particular brand of
copyright infringement and taking the book from a bookstore without
paying for it? Am I committing copyright infringement by standing in the
store and reading the book?
--- End Message ---
--- Begin Message ---
First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing.
:-)
[1] http://en.wikipedia.org/wiki/Godwin's_Law
Dang I didn't know that existed, thanks for the reference now I have
something for all my other discussions.
ROFLMAO
_________________________________________________________________
http://liveearth.msn.com
--- End Message ---
--- Begin Message ---
At 7:05 PM -0500 7/18/07, Larry Garfield wrote:
On Wednesday 18 July 2007, tedd wrote:
And just because they do, doesn't make it any less accurate either. I
don't care if Hitler agreed with me, there is a fundamental wrongful
act of taking something that is not yours regardless of what you, and
others, may call it.
First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing. :-)
[1] http://en.wikipedia.org/wiki/Godwin's_Law
Wow, that was interesting.
But I can't help but think that if someone wanted to use the worst
person imaginable to define a limit, I think Hitler would be it.
As such, Godwin's law really doesn't apply here. I wasn't calling or
inferring anyone or the other side as Hitler. I was using Hilter an
extreme to make my point that if even he sided with *me*, it wouldn't
lessen my argument -- guilt by association does not apply here. And,
that was my point.
It's like defining good and evil -- at some point in the conversation
someone is going to use the words God or satan.
But, if you read further about Godwin's law, you can see that one can
abuse the law by miscasting the event, as you just did.
So, Bzzzt! You lose! Better luck next time. :-)
Lot of interesting stuff out there, huh?
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
On Wed, 2007-07-18 at 22:57 -0400, tedd wrote:
> At 7:05 PM -0500 7/18/07, Larry Garfield wrote:
> >On Wednesday 18 July 2007, tedd wrote:
> >
> >> And just because they do, doesn't make it any less accurate either. I
> >> don't care if Hitler agreed with me, there is a fundamental wrongful
> >> act of taking something that is not yours regardless of what you, and
> >> others, may call it.
> >
> >First "Hitler and the Nazis"[1] reference. You lose! Thanks for playing.
> >:-)
> >
> >[1] http://en.wikipedia.org/wiki/Godwin's_Law
> >
>
> Wow, that was interesting.
>
> But I can't help but think that if someone wanted to use the worst
> person imaginable to define a limit, I think Hitler would be it.
>
> As such, Godwin's law really doesn't apply here. I wasn't calling or
> inferring anyone or the other side as Hitler. I was using Hilter an
> extreme to make my point that if even he sided with *me*, it wouldn't
> lessen my argument -- guilt by association does not apply here. And,
> that was my point.
Actually Godwin's law does indeed apply here *lol*.
> It's like defining good and evil -- at some point in the conversation
> someone is going to use the words God or satan.
>
> But, if you read further about Godwin's law, you can see that one can
> abuse the law by miscasting the event, as you just did.
>
> So, Bzzzt! You lose! Better luck next time. :-)
>
> Lot of interesting stuff out there, huh?
It's called Quirk's exception... and it applies quite well here.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................
--- End Message ---
--- Begin Message ---
At 9:19 PM -0500 7/18/07, Jay Blanchard wrote:
Am I committing copyright infringement by standing in the
store and reading the book?
No, because that's allowed.
The publisher and author has given their permission for the book to
be sold in a customary and industry fashion, which includes allowing
people to read it "in store". However, the owner of the store may
limit your reading as HE see's fit. After all, it's his store and his
goods -- I think he has already paid for the publications and could
give them away for free if he wanted -- but I may be wrong on that
point.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
On 16/07/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote:
On Monday 16 July 2007 19:42, Dotan Cohen wrote:
> I guess that I'm naive. I've gotten a few "what's the address"
> requests, but none from authors...
What makes you think any of the authors are subscribed to this list? Even
if some are, what makes you think they monitor the list 24/7? They might
be on vacation, they might be in a coma. Just don't be so impatient.
I'm not impatient. I was commenting on the fact that lots of people
though "Hey, now there's something that I could use" when I
specifically said that I will not spread the URL around to those who
want to abuse it. I am disappointed in humans. Really. I love my dog
and I'm going to tell her that.
Dotan Cohen
http://lyricslist.com/
http://what-is-what.com/
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--- End Message ---
--- Begin Message ---
From: "Olav Mørkrid" <[EMAIL PROTECTED]>
sorry. still get it twice.
c:\>php -r "error_reporting(E_ALL ^ E_NOTICE);
trigger_error(\"hello\", E_USER_ERROR);"
PHP Fatal error: hello in Command line code on line 1
Fatal error: hello in Command line code on line 1
- if i do error_reporting(0) then i get NO lines at all. and if i do
error_reporting(E_NOTICE) and then trigger_error("hello", E_NOTICE) i
get two again.
so there must be some setting beside error_reporting.
What do you get with:
php -r "error_reporting(E_USER_ERROR); trigger_error(\"hello\",
E_USER_ERROR);"
"Show only user errors"
But you may be interested in other errors, warnings, or notices (system
versus user)?
_________________________________________________________________
http://newlivehotmail.com
--- End Message ---
--- Begin Message ---
From: "Instruct ICC" <[EMAIL PROTECTED]>
From: "Olav Mørkrid" <[EMAIL PROTECTED]>
sorry. still get it twice.
c:\>php -r "error_reporting(E_ALL ^ E_NOTICE);
trigger_error(\"hello\", E_USER_ERROR);"
PHP Fatal error: hello in Command line code on line 1
Fatal error: hello in Command line code on line 1
- if i do error_reporting(0) then i get NO lines at all. and if i do
error_reporting(E_NOTICE) and then trigger_error("hello", E_NOTICE) i
get two again.
so there must be some setting beside error_reporting.
What do you get with:
php -r "error_reporting(E_USER_ERROR); trigger_error(\"hello\",
E_USER_ERROR);"
"Show only user errors"
But you may be interested in other errors, warnings, or notices (system
versus user)?
Hmm, I'm seeing the behavior you mentioned on PHP 5.1.6 box, but not on PHP
4.4.4.
_________________________________________________________________
http://liveearth.msn.com
--- End Message ---
--- Begin Message ---
Try to do a search in PEAR.PHP.NET
I remember I've seen something like this for php4, but not sure where.
Lance
-----Original Message-----
From: Ross [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 8:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] simplexml_load_string();
$data = simplexml_load_string(file_get_contents($url));
Is there a php4 version of this or does this only work in 5? How can I get
around it?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On Wednesday 18 July 2007, Ross wrote:
> $data = simplexml_load_string(file_get_contents($url));
>
> Is there a php4 version of this or does this only work in 5? How can I get
> around it?
There might be a user-space generic XML parser available somewhere, but
nothing that will map directly to SimpleXML. SimpleXML uses language
features that don't exist in PHP 4. The best answer is to use PHP 5 and let
PHP 4 die a respectable death, as most of the world seems to have decided to
do[1].
[1] http://gophp5.org/
--
Larry Garfield AIM: LOLG42
[EMAIL PROTECTED] ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
--- End Message ---
--- Begin Message ---
Hi there,
Are there any good howtos for using php-cli as a progmatic browser.
--- End Message ---
--- Begin Message ---
Hello!
After almost four years of work, Xdebug 2 is finally ready. With
improved functionality and many new features it is ready to totally
change the way you develop in PHP. Some of the new features and updates
include improved stack traces, execution traces to files, code coverage
analysis and much improved remote debugging support. Xdebug's
documentation has also been rewritten for more clarity.
As with most open source projects, it's very hard to know who are
actually the users of the project. As I would like to know my users
better, I would invite everybody who finds Xdebug useful to send me a
postcard with their location. (Address is here [1] at the top of the
page). I am looking forwards to find out who you are!
Now head over to the Xdebug site [2] and try it out!
regards,
Derick
[1] http://derickrethans.nl/who.php
[2] http://xdebug.org
--
Xdebug | http://xdebug.org | [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
On 7/18/07, Derick Rethans <[EMAIL PROTECTED]> wrote:
Hello!
After almost four years of work, Xdebug 2 is finally ready. With
improved functionality and many new features it is ready to totally
change the way you develop in PHP. Some of the new features and updates
include improved stack traces, execution traces to files, code coverage
analysis and much improved remote debugging support. Xdebug's
documentation has also been rewritten for more clarity.
As with most open source projects, it's very hard to know who are
actually the users of the project. As I would like to know my users
better, I would invite everybody who finds Xdebug useful to send me a
postcard with their location. (Address is here [1] at the top of the
page). I am looking forwards to find out who you are!
Now head over to the Xdebug site [2] and try it out!
regards,
Derick
[1] http://derickrethans.nl/who.php
[2] http://xdebug.org
--
Xdebug | http://xdebug.org | [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Congrats, Derick! I wasn't sure which mailing list I was getting
this from at first.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--- End Message ---
--- Begin Message ---
On Wed, 2007-07-18 at 21:23 +0200, Derick Rethans wrote:
> Now head over to the Xdebug site [2] and try it out!
I have been using the XDebug RC for a while now, and am really glad that
it is now stable! Thanks very much, it is one of the most important bits
in my toolbox.
http://fsiu.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=gen9Srv59Nme5_9262_1182142431&userid=3897070607
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm
--- End Message ---
--- Begin Message ---
On 18/07/07, Stephan G <[EMAIL PROTECTED]> wrote:
I have tried to install the following on my Windows Vista Home Premium
System:
Ah I see the problem there ....
Vista is not a mature OS yet - wait until at least SP1 before trying it.
1. How can I uninstall this and remove it from my system?
Best bet is to wipe the disk and install a decent OS - Ubuntu or WinXP perhaps.
Alan
--- End Message ---
--- Begin Message ---
Dear Alan:
Thank you for your suggestion on wiping the disk and reloading the OS,
which I imagine you might be suggesting because of your political
feelings to Microsoft... which I don't think are wrong.
However, this would not be a practical solution for me in any way, and
this installer claims on the PHP site to be Vista compatible, so I am
hoping there is a much less destructive way of dealing with this issue.
Anyone else?
Many thanks.
-stephan
Alan Milnes wrote:
On 18/07/07, Stephan G <[EMAIL PROTECTED]> wrote:
I have tried to install the following on my Windows Vista Home Premium
System:
Ah I see the problem there ....
Vista is not a mature OS yet - wait until at least SP1 before trying it.
1. How can I uninstall this and remove it from my system?
Best bet is to wipe the disk and install a decent OS - Ubuntu or WinXP
perhaps.
Alan
--- End Message ---
--- Begin Message ---
Stephan G wrote:
Please pardon the cross-post - I posted this on the php.install
newsgroup a couple of days ago, but there has been no activity on that
news group, and I see that other installation issues are posted here.
I have tried to install the following on my Windows Vista Home Premium
System:
php-5.2.3-win32-installer.msi
The new Windows installer has a maintainer - can't recall his name.
Probably the best way to find them would be to search the archives of
the internals list for the discussions that went on while he was
creating it.
-Stut
--
http://stut.net/
--- End Message ---
--- Begin Message ---
Many thanks to Alan, Instruct ICC, Stut, Edward, and Rahul...
I have found the solution, along with an indication that there is a
problem with the construction of the Installer for VISTA.
In any event, here is a link with a description of the problem:
http://blogs.msdn.com/heaths/archive/2007/05/31/windows-installer-errors-2738-and-2739-with-script-custom-actions.aspx
When I removed the offending registry keys as indicated, I was able to
de-install PHP. I think I will do the manual install from the ZIP file
rather than the installer now.
Thanks again, all.
-s
Stephan G wrote:
Hello.
Please pardon the cross-post - I posted this on the php.install
newsgroup a couple of days ago, but there has been no activity on that
news group, and I see that other installation issues are posted here.
I have tried to install the following on my Windows Vista Home Premium
System:
php-5.2.3-win32-installer.msi
It has the following md5 sum, taken locally on my system:
4d042f649d9c264477e1b421c64c6435
Installation seemed to go as expected. However, near the end of the
installation process, I received a dialog window titled "PHP 5.2.3
Setup" with only an "OK" button and the following message:
"The installer has encountered an unexpected error
installing this package. This may indicate a problem with
this package. The error code is 2738."
I pressed "OK", my only option, and then got to the page on the setup
wizard with the "Finish" button. I hit the "Finish" button, was met
with a dialog window with just an OK button with the message:
"Fatal error during installation".
It seems that PHP was put on my system, and the path was set up
correctly. Some simple tests indicate it is working, however, since I
am a careful sort, I thought I would try to uninstall and start over.
The trouble is that I can't. I can use the "Repair" option from
ControlPanel->ProgramsAndFeatures->PHP, and it seems to "repair" without
comment, but if I try to uninstall the software, or "Change" it in any
way, I get the same two dialog boxes shown above, and the software does
NOT uninstall. This makes me uneasy.
I would appreciate help with any of the following (roughly in my
priority order):
1. How can I uninstall this and remove it from my system?
2. What is error code 2738 and what does it mean?
3. What steps might I take subsequently to install without
incurring this error?
Thanks in advance for any assistance.
-Stephan G
--- End Message ---
--- Begin Message ---
He did say "or Win XP".
I'll have to go back to find your original post to see if I can help.
Well, from your subject, maybe you can use a System Restore point?
---------------------------
If you need a stable, secure OS, get Ubuntu.
If you need a stable, secure OS, and need new hardware, get a Mac.
(Guaranteed OSX Ultimate Capable)
From: Stephan G <[EMAIL PROTECTED]>
Dear Alan:
Thank you for your suggestion on wiping the disk and reloading the OS,
which I imagine you might be suggesting because of your political feelings
to Microsoft... which I don't think are wrong.
However, this would not be a practical solution for me in any way, and this
installer claims on the PHP site to be Vista compatible, so I am hoping
there is a much less destructive way of dealing with this issue.
Anyone else?
Many thanks.
-stephan
Alan Milnes wrote:
On 18/07/07, Stephan G <[EMAIL PROTECTED]> wrote:
I have tried to install the following on my Windows Vista Home Premium
System:
Ah I see the problem there ....
Vista is not a mature OS yet - wait until at least SP1 before trying it.
1. How can I uninstall this and remove it from my system?
Best bet is to wipe the disk and install a decent OS - Ubuntu or WinXP
perhaps.
Alan
_________________________________________________________________
http://liveearth.msn.com
--- End Message ---
--- Begin Message ---
From: Stephan G <[EMAIL PROTECTED]>
php-5.2.3-win32-installer.msi
It has the following md5 sum, taken locally on my system:
4d042f649d9c264477e1b421c64c6435
I can confirm the same md5 sum.
"The installer has encountered an unexpected error
installing this package. This may indicate a problem with
this package. The error code is 2738."
A few hits for a search on "msi error 2738" give:
"Could not access VBScript run time for custom action"
I would appreciate help with any of the following (roughly in my priority
order):
1. How can I uninstall this and remove it from my system?
Try a System Restore point.
2. What is error code 2738 and what does it mean?
"Could not access VBScript run time for custom action"
3. What steps might I take subsequently to install without
incurring this error?
Maybe test that any VBScript can run before trying this installer. Maybe M$
is protecting you from running potentially malicious scripts. You didn't
get a "PC Guy Agent: VBScript would like to run. Allow or Deny?" Perhaps
the installer from the PHP site is bad and M$ is not the guilty party.
_________________________________________________________________
http://liveearth.msn.com
--- End Message ---
--- Begin Message ---
On 7/18/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Sun, July 15, 2007 2:25 pm, Wesley Acheson wrote:
> 1. Does the answer below mean no global persistant objects?
> (Application scope) I guess that it does.
Pretty much, yes.
PHP is more Unix-like in quickly spitting out an answer, rather than
MS-like in having some monolithic "answer" object hanging around
forever.
No I don't necessarily think that this is an ms way of doing things.
The advantage though more trivial in this example that if anything is
expensive to create (read uses a lot or resources be that
time/database connections/memory) To use one object over and over
again saves the webserver some load.
I'll probably look at the op cache as this probably removes this worry
in this specific instance
The problem with shoving all forms into one big pile is that you
generally want to customize the validation and processing to such an
extent the the only actual common share code for the form is, errr:
echo "<FORM>";
:-)
This I just straight forward don't agree with. The point is more
based on fields then anything else I just tend to wrap field objects
in a form object.
The point is not just for input type ="text" but also applies to
dropdown lists, option groups (through a different class) etc.
Doing it in this way makes a much better way to iterate over a
database record set for example. ( like a list of countries) and add
them into an object rather than mixing output with code. Believe me
I've seen it done and It turns nasty very quickly.
Another nifty trick is to encrypt your session data, and if it's less
than 4K, just make it be the value of a cookie. This cookie value
will "travel" with the user even in a distributed server app.
You then only need to read/write memcached for "large" session data.
Some more info here:
http://hostedlabs.com/
Nice hint but I won't be doing this at least at this point.
PPS
Do give the PHP way a fair shot, and do some real-world testing before
drawing any conclusions wrt the Java way.
But if you're just going to "fight" PHP all the time and do it the
Java way, just go back to Java and be happy :-)
Who's fighting. I like PHP. I've used it more than real JAVA
although not so much as JSP which personally I hate. I'm one of the
"web developers" at work. The point of asking these questions is not
to fight but to get a feel for what other people like and don't like
in an architecture.
Understand that understanding the limitations of any system and I'm
talking about within the rules of the system (i.e. no plugins and no
hacks) are key to using a system more efficiently.
Yeah JAVA is great for some things. In fact if I was wanting to write
processes / crons and many other things then It would be a language of
choice. However this is my personal stuff its not work related and I
think that PHP is a far more appropiate language for the web for
reasons I'm sure you'll all understand.
So yes I like to have ways of working (more than code itself)
validated by people who actually use the language.
Sorry If I've explained this badly, Just trying to show why I asked
these questions so publically. Its not that I couldn't do it simpler
or couldn't do it.
Regards,
Wesley Acheson
--- End Message ---