On Thu, 2010-07-01 at 19:24 +0100, Gustavo Carrasco wrote:
I've been trying to install PHP5 with windows XP, but i had received the next
errors:
- Error trying to access the local web services Get Object failed. You will
need manual configure the web
server.
- Error trying to access
?
__
Subject: Re: [PHP] PHP 5 Configuration
From: a...@ashleysheridan.co.uk
To: carrascojg...@hotmail.com
CC: php-general@lists.php.net
Date: Thu, 1 Jul 2010 19:28:30 +0100
On Thu, 2010-07-01 at 19:24 +0100, Gustavo Carrasco wrote:
I've
Hi, nice to meet you.
I had installed Apache, and his service is running good.
There's any sequence about how to install this products? or maybe i need to
modify some lines in httpd file or php.ini file?
Subject: Re: [PHP] PHP 5 Configuration
From: a...@ashleysheridan.co.uk
To: carrascojg
On Wed, Apr 30, 2008 at 2:31 AM, Yehudi Alexis Garrett [EMAIL PROTECTED]
wrote:
I'm using a php script which performs three xml queries to other three
servers to retrieve a set of ids and after I do a query to mysql of the kind
SELECT * FROM table WHERE id IN ('set of ids');
Although I'm sure
On Sun, March 30, 2008 5:03 pm, php wrote:
Thanks Greg...I am aware of the allow_url_fopen/allow_url_include
relationship.
Your suggestion to look into curl was implemented and there still
seems to
be something else afoot.
I created a simple set of curl functions which just printed a
On Sun, Mar 30, 2008 at 6:03 PM, php [EMAIL PROTECTED] wrote:
Thanks Greg...I am aware of the allow_url_fopen/allow_url_include
relationship.
Your suggestion to look into curl was implemented and there still seems to
be something else afoot.
I created a simple set of curl functions
Thanks Greg...I am aware of the allow_url_fopen/allow_url_include
relationship.
Your suggestion to look into curl was implemented and there still seems to
be something else afoot.
I created a simple set of curl functions which just printed a remote url to
the browser window. This tested well
The actual setting is allow_url_fopen. allow_url_include controls whether
or not you can use a remote URL as an include (however, if allow_url_fopen
is off, then allow_url_include will also be off.)
The short answer to your question is: yes, there is a way. Several ways, in
fact. You could use
Quoting Chris [EMAIL PROTECTED]:
I've encountered a situation where under PHP 5 the file_get_contents()
function will not work properly (actually not at all) if the php.ini
Filesystem configuration parameter, allow_url_include is set to OFF.
According to the PHP documentation allow_url_include
for security reasons, allow_url_include can only be set from the main
php.ini
On Tue, Mar 18, 2008 at 10:22 AM, Thijs Lensselink [EMAIL PROTECTED] wrote:
Quoting Chris [EMAIL PROTECTED]:
I've encountered a situation where under PHP 5 the file_get_contents()
function will not work properly
Quoting Greg Bowser [EMAIL PROTECTED]:
for security reasons, allow_url_include can only be set from the main
php.ini
I wasn't sure about that one. Thanks for the correction.
On Tue, Mar 18, 2008 at 10:22 AM, Thijs Lensselink [EMAIL PROTECTED] wrote:
Quoting Chris [EMAIL PROTECTED]:
have you used soap ui http://www.soapui.org/ before?
its a great tool for testing interaction w/ web services before you
implement a client layer in your
own code because it shows sent and received xml.
-nathan
On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] wrote:
I am trying to find out how
can you post the url of the wsdl ?
-nathan
On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] wrote:
I am trying to find out how to use php 5 to access a wsdl with the
following structure.
How do you send parameters to the service if the wsdl is like the
following.
- s:element
, September 28, 2007 2:27 PM
To: Hurst, Michael S.
Cc: php-general@lists.php.net
Subject: Re: [PHP] php 5 soap question
can you post the url of the wsdl ?
-nathan
On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] wrote:
I am trying to find out how to use php 5 to access a wsdl with the
following
be something that is
wanted to be made public in its current form. I will need to find out.
Mike
From: Nathan Nobbe [mailto:[EMAIL PROTECTED]
Sent: Friday, September 28, 2007 2:27 PM
To: Hurst, Michael S.
Cc: php-general@lists.php.net
Subject: Re: [PHP] php 5 soap question
can you
.
Mike
*From:* Nathan Nobbe [mailto:[EMAIL PROTECTED]
*Sent:* Friday, September 28, 2007 2:27 PM
*To:* Hurst, Michael S.
*Cc:* php-general@lists.php.net
*Subject:* Re: [PHP] php 5 soap question
can you post the url of the wsdl ?
-nathan
On 9/28/07, *Hurst, Michael S.* [EMAIL
... but the
second comment seems helpful.
[1] http://www.php.net/manual/en/function.mssql-connect.php
For SQL Server 2005, getting the right version of that ntwdblib.dll is
crucial. However, Microsoft has apparently abandoned the NTWDBLIB
library, so I have begun working with PDO ODBC
with the suggested config i get the following
Warning: mssql_connect() [function.mssql-connect]: Unable to connect
to server: (local)\SQLEXPRESS in C:\wamp\www\test\test.php on line 8
Couldn't connect to SQL Server on (local)\SQLEXPRESS
this is my connection script
?php
$myServer =
On 8/16/07, Gregory Machin [EMAIL PROTECTED] wrote:
Hi
I have tried most of the configuration options in the php manual /
examples http://www.php.net/function.mssql-connect and I just can't
get it to connect
I'm running WAMP5 and have enables php_mssql.dll extentions etc ..
sql server 2005
On 8/17/07, Gregory Machin [EMAIL PROTECTED] wrote:
with the suggested config i get the following
Warning: mssql_connect() [function.mssql-connect]: Unable to connect
to server: (local)\SQLEXPRESS in C:\wamp\www\test\test.php on line 8
Couldn't connect to SQL Server on (local)\SQLEXPRESS
SQL Server Express defaults to installing as a named instance -
assuming that you're running Apache/PHP on the same machine as SQL
Server Express, I believe you'll want to use (local)\SQLEXPRESS as
the host to connect to. If it's on a different machine, you'll want to
use MACHINENAME\SQLEXPRESS
Frederic Belleudy wrote:
Jochem:
won't it? what does it do? does it go into and endless loop and bring
your machine to a halt
by any chance? .. because by looking at it, as long as $in['bg'] is not
set and not equal to
true it's going to keep spawning sub-shells with cmdlines that call
Frederic Belleudy wrote:
Hello there, I hope someone resolved the same issue. I upgraded my
server to 5.2.1
I got some script that are running background script (generally we call
this technic FORKING)
Ive got a web interface that running (depending the action chosen) other
scripts in the
don't fork webserver processes, granted it doesn't fix the problem, but you
really
should be doing it anyway.
I'm guessing that the pcntl extension is not compiled into the webserver php
SAPI,
it's a really big guess because you didn't supply the code you use to do the
forking with.
Ok
Frederic Belleudy wrote:
don't fork webserver processes, granted it doesn't fix the problem,
but you really
should be doing it anyway.
I'm guessing that the pcntl extension is not compiled into the
webserver php SAPI,
it's a really big guess because you didn't supply the code you use to
Jochem:
won't it? what does it do? does it go into and endless loop and bring your
machine to a halt
by any chance? .. because by looking at it, as long as $in['bg'] is not set and
not equal to
true it's going to keep spawning sub-shells with cmdlines that call itself.
Me:
You haven't read my
Jochem Maas wrote:
Frederic Belleudy wrote:
don't fork webserver processes, granted it doesn't fix the problem,
but you really
should be doing it anyway.
I'm guessing that the pcntl extension is not compiled into the
webserver php SAPI,
it's a really big guess because you didn't supply the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You said if(action==main)
So ... it's really that or you would said if($action==main) ???
the $ is important so ... perhaps phpv4 ignore this kind of mistake and not
php5
or perhaps action is when register global is on ... so
if miss $ before
It's NOT register_globals being off.
It's E_NOTICE being on.
You could turn E_NOTICE off and *ignore* these errors -- They are
still there, you are just ignoring them.
Or you could fix the script:
$action = isset($_GET['action']) ? $_GET['action'] : '';
would be the replacement line for
You did more than just turn register_globals off. You also changed your
error warning level. You have turned notices on. Set the same error
warning level in your PHP 4 setup and you will see exactly the same
messages.
To be notice-free, your code should look like this:
$action =
On 25/10/06, Ed Lazor [EMAIL PROTECTED] wrote:
Hi,
I wanted to give some feedback on PHP 5 hosting in case it helps
someone. I signed up with DreamHost last Thursday. I also signed up
with OCS Solutions to compare the two services. I also maintain a
server with CalPop.
When I signed up with
On Fri, October 27, 2006 7:18 am, Dotan Cohen wrote:
On 25/10/06, Ed Lazor [EMAIL PROTECTED] wrote:
When I signed up with Dreamhost, I discovered that you have to fill
out a form and fax it to them, along with a rubbing of your credit
card. Personally, I found that part rather annoying.
Hi,
I wanted to give some feedback on PHP 5 hosting in case it helps
someone. I signed up with DreamHost last Thursday. I also signed up
with OCS Solutions to compare the two services. I also maintain a
server with CalPop.
When I signed up with Dreamhost, I discovered that you have to
take look
www.site5.com
On Thursday 12 October 2006 00:59, Ed Lazor wrote:
Anyone ever use A2Hosting.com? Or better yet, any recommendations on
a PHP 5 web hosting company that you're happy with - measured in
terms of quality support, they know what they're doing, and they have
good prices?
Thanks for the feedback Kyle, much appreciated. DreamHost does look
pretty good price-wise. Two others I was referred to are
HostBaby.com and OCSSolutions.com.
Have a good one :)
-Ed
On Oct 11, 2006, at 10:12 PM, Kyle wrote:
Hello,
I would suggest dreamhost at www.dreamhost.com.
Their
Hello,
I would suggest dreamhost at www.dreamhost.com.
Their prices look a bit hefty at first but there are referral codes all
over the internet and you can end up saving $97. Their plans have tons
of bandwidth and space and I haven't had any trouble with it. But I
would suggest them highly,
Martin Marques wrote:
Does anyone have an idea on when PDO is going to be available in Debian?
not a clue...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348882
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2 Oct 2006, David Tulloh wrote:
Martin Marques wrote:
Does anyone have an idea on when PDO is going to be available in Debian?
not a clue...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348882
Saw that already yesterday, but it's from the begining of this year. It's
so
On Mon, 2006-10-02 at 10:33 -0300, Martin Marques wrote:
On Mon, 2 Oct 2006, David Tulloh wrote:
Martin Marques wrote:
Does anyone have an idea on when PDO is going to be available in Debian?
use www.dotdeb.org sources list. Its bleeding edge, but works OK.
--Paul
All Email originating
Thanks guys,
Will contact the admin and see what can be done,
your replies really helped me and I appreciate it.
Cheers!
Ryan
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
Ryan A wrote:
Hi,
Something strange and dont really know what to expect so was hoping you more
experienced PHP 5 people can help me out.
btw which minor version of php5 your running is important ... plenty of things
have changed in [semi] breaking ways
between minor php5 versions.
We
It's silly to have two different environments like that.
Either code the thing in PHP4. or upgrade the production environment to
PHP5.
DÆVID
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 6:08 AM
To: php php
Subject: [PHP] PHP 5...
Hi,
Unless there is some specific reason that you need this code to run on both
php4 and php5, then inform your boss/admin that the idea of developing on
php5, to deploy on php4 is nuts. If they disagree inform them that they are
personally nuts( tell them some guy on the internet said so ).
It may
[mailto:[EMAIL PROTECTED]
Sent: June 26, 2006 7:43 PM
To: Beauford
Subject: Re: [PHP] PHP 5, Windows, and MySQL
Well, I don't know what you mean by a known issue. All your message says is
that PHP 5 does not support MySQL. Yes, it does. It has no problem. I have
installed it and used it a million
Beauford wrote:
I have done everything that everyone has suggested here, and 1000 other
variations that I have found along the way. So if I'm doing something wrong
- please let me know, 'cause I don't see it.
MySQL 4.1 has been working great for 4 years and PHP4.4 gives me no
problems. Anything
Chris wrote:
Beauford wrote:
I have done everything that everyone has suggested here, and 1000 other
variations that I have found along the way. So if I'm doing something
wrong - please let me know, 'cause I don't see it.
MySQL 4.1 has been working great for 4 years and PHP4.4 gives me no
On Mon, 2006-06-26 at 13:50, Beauford wrote:
Aside from my previous gd problems, here's another problem. It appears that
PHP5 (for Windows anyways) does not support MySQL (which in itself is
riduculous), but here's my problem. I have a script I just downloaded that
works perfectly on
I use apache2triad (http://apache2triad.net/) which is an AMP package with
PHP 5.
I vaguely remember the first time I installed it (on Win XP Pro though) I
got similar problems with MySQL. I uninstalled it and reinstalled as I
wasn't sure if I accidentally clicked a dialog box without reading
To: Beauford
Subject: Re: [PHP] PHP 5, Windows, and MySQL
Activating MySQL in PHP 5 is pretty simple. Open the php.ini file and
uncomment the line for the extension that you want to use--php_mysql.dll or
php_mysqli.dll. Restart the web server.
Using the mysql functions is described in the php
This setup nagged me for a bit too, until I found the solution...
The DLL files in C:\php need to be put into system32 directory. Once
that happens they work like a charm, but until then, you are plagued
with issues. I have my path set for C:\php and everything as well, but
it was not until
Try changing your direcive extension_dir:
extension_dir=C:/PHP/ext instead of extension_dir=C:\PHP\ext
-Mensaje original-
De: Laszlo Nagy [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 26 de Abril de 2006 04:01 a.m.
Para: php-general@lists.php.net
Asunto: [PHP] PHP 5 + Apache 2 on
At 01:39 AM 3/17/2006, - Edwin - wrote:
Hi!
On Thu, 16 Mar 2006 20:45:29 -0400
Miles Thompson [EMAIL PROTECTED] wrote:
At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
[...]
Is there a drawback to running php5 as CGI?
Anthony,
I really don't know, because computers are much faster, so
Is there a drawback to running php5 as CGI?
Anthony,
I really don't know, because computers are much faster, so
there may not be the time lags there were 10 years ago.
As I understand CGI, the web server sees that the page is of
type .php, starts up PHP, PHP processes
Hi!
On Fri, 17 Mar 2006 08:24:51 -0400
Miles Thompson wrote:
Thanks Edwin. I guess it was too late and I couldn't formulate
a proper search expression.
I'd like to hear Chris Shiflet's opinion on the security advantages
of running PHP5 as CGI.
That'd be nice. But as somebody pointed out
Edwin wrote:
I really have no idea (read: lazy to check now ;-) ) what
CPanel is. If it is a program written in PHP (4?), they could
just fix it to work with PHP5 -- CGI mode or not.
I sure would like to know because two of my host can't install PHP 5
due to problems they have with CPanel
Ask them to install PHP5 to work with only .php5 extensioned files.
They have no interoperability issues - you have access to PHP 5.
PHP4 and PHP5 can safely coexist on the same server like this, as
they aren't serving up the same files...
-Myk OLeary
[EMAIL PROTECTED]
BLOG:
tedd wrote:
Hi gang:
I asked my host to install the current versions of php 5 and the
following was his answer:
Sorry but php has some issues with cpanel.
cpanel has issues with php5 not the other way around :-)
Anyone heard of any problems or a work-around?
get a different hosting
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
On 3/16/06, Jochem Maas [EMAIL PROTECTED] wrote:
tedd wrote:
Hi gang:
I asked my host to install the current versions of php 5 and the
following was his answer:
Sorry but php has some issues with cpanel.
cpanel
At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
snipped all 'dat stuff
A little more on dreamhost.
PHP5 is installed as CGI, not Apache module.
Does anyone have any experience with Nexcess.net -- advertisers on back
page of
On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote:
At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
snipped all 'dat stuff
A little more on dreamhost.
PHP5 is installed as CGI, not Apache module.
Is there a drawback to
At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote:
At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
snipped all 'dat stuff
A little more on dreamhost.
PHP5 is installed as
Hi!
On Thu, 16 Mar 2006 20:45:29 -0400
Miles Thompson [EMAIL PROTECTED] wrote:
At 06:23 PM 3/16/2006, Anthony Ettinger wrote:
[...]
Is there a drawback to running php5 as CGI?
Anthony,
I really don't know, because computers are much faster, so
there may not be the time lags there
Tod Thomas wrote:
Is their a list of portability problems to be aware of when switching
from v4 to v5? Maybe a table that compares the two?
Thanks.
You can start here:
http://www.zend.com/php5/migration.php
Silvio
--
tradeOver | http://www.tradeover.net
...ready to become the King of the
Tod Thomas wrote:
Is their a list of portability problems to be aware of when switching
from v4 to v5? Maybe a table that compares the two?
other than the stuff on php.net (no comparison tables exactly)
not really - plenty of people on this list that will help you if you
run into problems.
-
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, November 10, 2005 6:47 PM
Subject: Re: [PHP] PHP 5 OO performance exceptions
I was not considering that, I was using $obj_string-getValue(), the
__toString method and type casting could save me some keystrokes
overloading.
Am I making any sense?
- Original Message -
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, November 10, 2005 6:47 PM
Subject: Re: [PHP] PHP 5 OO performance exceptions
I was not considering that, I was using $obj_string-getValue(), the
__toString
]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 1:37 PM
Subject: Re: [PHP] PHP 5 OO performance exceptions
I myself was considering creating classes such as String, but I ran
into more basic problems before performance, for example:
class String {
protected $Value;
function
On 9/30/05, Tom Chubb [EMAIL PROTECTED] wrote:
This is an interesting one.
As someone learning PHP, I am still confused which route I should be going
down?
Especially as I am looking to take on a dedicated server soon, I don't
know if PHP5 will become standard soon or are we going to see
Sheesh! No week passing by without people complaining about hosters
missiong out on PHP5. This is one point where we in Germany seem to be
lucky. The two biggest german hosters 11 (about 4 million domains) and
Strato (about 2.5 million domains) both offer SSH and the possibility to
chosse the PHP
Oliver Grätz wrote:
Sheesh! No week passing by without people complaining about hosters
missiong out on PHP5. This is one point where we in Germany seem to be
lucky. The two biggest german hosters 11 (about 4 million domains) and
Strato (about 2.5 million domains) both offer SSH and the
Torgny Bjers schrieb:
I am assuming they're running PHP through CGI in this case, am I
correct, or are they hosting on Windows to achieve the multiple PHP
versions? If CGI, that rather affects performance of larger
applications, it especially impact render time of more complex templates
and
This is an interesting one.
As someone learning PHP, I am still confused which route I should be going down?
Especially as I am looking to take on a dedicated server soon, I don't
know if PHP5 will become standard soon or are we going to see PHP6
first??!?
Please can some more experienced people
The first two results both seem pretty good at a glance:
http://www.google.com/search?hl=enq=php5+ssh+hostingbtnG=Google+Search
On Sep 29, 2005, at 8:29 PM, Ed Lazor wrote:
Any recommendations on good host providers for PHP 5? Bonus points
if they support SSH access and a PHP compiler
Chris wrote:
Jochem Maas wrote:
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones).
They are all subclasses of a single parent element. I'm trying to
extend their functionality (both the individual classes, and the
parent class they inherit).
I can
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones). They
are all subclasses of a single parent element. I'm trying to extend
their functionality (both the individual classes, and the parent class
they inherit).
I can extend each Element subclass with it's
Jochem Maas wrote:
Chris wrote:
Hi,
I've got a collection of Element classes (about 8 different ones).
They are all subclasses of a single parent element. I'm trying to
extend their functionality (both the individual classes, and the
parent class they inherit).
I can extend each Element
On Fri, 2005-07-15 at 17:53, Chris wrote:
Yeah, I understand... Is multiple inheritance something that true OOP
languages can do?
Yes.
--
s/:-[(/]/:-)/g
BrianGnuPG - KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
Brian V Bonini wrote:
On Fri, 2005-07-15 at 17:53, Chris wrote:
Yeah, I understand... Is multiple inheritance something that true OOP
languages can do?
Yes.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2 Jun 2005, at 03:00, Richard Lynch wrote:
Maybe I'm being dumb, but how can an object's __autoload function get
called when the object class definition hasn't been loaded, and
that's why
you're calling __autoload in the first place...
It wouldn't solve everything, but it would help. It
On 2 Jun 2005, at 11:56, Colin Ross wrote:
The way I see it, you are gonna be spending quite a bit of time
writing all those lines of code for the class, what is bad about
another requiring the file each time?
Huh? Writing a 1-line function in a base class means that I would
never have
Richard Lynch wrote:
On Wed, June 1, 2005 3:53 am, Marcus Bointon said:
On 1 Jun 2005, at 11:38, Jochem Maas wrote:
all true, now imagine that you install a couple of 3rdparty php5
'packages'
and they all define __autoload() - ain't gonna work! which is why
there has been
discussion on
Jochem Maas wrote:
Richard Lynch wrote:
On Wed, June 1, 2005 3:53 am, Marcus Bointon said:
On 1 Jun 2005, at 11:38, Jochem Maas wrote:
all true, now imagine that you install a couple of 3rdparty php5
'packages'
and they all define __autoload() - ain't gonna work! which is why
there has
Jason Barnett wrote:
Jochem Maas wrote:
Richard Lynch wrote:
On Wed, June 1, 2005 3:53 am, Marcus Bointon said:
On 1 Jun 2005, at 11:38, Jochem Maas wrote:
...
I opened up a feature request for this very topic a while back. The
__autoload function should just register
Maybe it's just me, but the core concept of __autoload() seems to be
broken to me. Moreover, every proposed solution I've heard about is
totally inside the box. I would do it like this:
1) Define $_AUTOLOAD superglobal.
2) If I need SomeClass to be autoloaded I write this:
On 6/2/05, GamblerZG [EMAIL PROTECTED] wrote:
Maybe it's just me, but the core concept of __autoload() seems to be
broken to me. Moreover, every proposed solution I've heard about is
totally inside the box. I would do it like this:
1) Define $_AUTOLOAD superglobal.
When forced to do OO, I use
On 1 Jun 2005, at 09:01, janbro wrote:
require (Class2.php);
class Class1{
private function ... {
$refClass2 = new Class2;
}
}
Now my question, is it possible to skip that require/ include part? In
Java you don't need that, as class and file names are identical.
PHP doesn't
Hello janbro,
Wednesday, June 1, 2005, 9:01:57 AM, you wrote:
j Now my question, is it possible to skip that require/ include part?
j In Java you don't need that, as class and file names are identical.
Personally I'd __autoload them, but this might not be ideal for your
file structure. Worth a
maybe have a look at extends
class Class1 extends Class2 {...
janbro wrote:
Hi List,
I'm using the oo orientation of PHP5 for a while now. All Classes I've
got have a require on top them, if I try to reference to other classes.
something like
require (Class2.php);
class Class1{
Marcus Bointon wrote:
On 1 Jun 2005, at 09:01, janbro wrote:
require (Class2.php);
I bet you didn't cut'n'paste that from a working file :-)
class Class1{
private function ... {
$refClass2 = new Class2;
}
}
Now my question, is it possible to skip that require/ include
eoghan wrote:
maybe have a look at extends
class Class1 extends Class2 {...
he will still have to make sure that Class2
is loaded. besides wrapping 1 object inside another is perfectly
acceptable, if my GOF terminology serves me well then this
is usually termed a Delegation pattern (not
On 1 Jun 2005, at 11:38, Jochem Maas wrote:
all true, now imagine that you install a couple of 3rdparty php5
'packages'
and they all define __autoload() - ain't gonna work! which is why
there has been
discussion on internals regarding the possibility of use a handler-
function stack
for
Okay, I see there is a workaround but nothing realy satisfying, but I'm
not hoing to complain, I'm hapy to have oo in PHP at all. I never worked
with __autoload so far, but I will give it a try and check it out
thx
janbro
Marcus Bointon schrieb:
On 1 Jun 2005, at 09:01, janbro wrote:
require
Alright thanks, I see there is a workaround to cope with that. I've
never worked with __autoload, but will sure give it a look. I don't
realy feel this satisfying, but hey I'm thankful to have oo at all.
janbro
Marcus Bointon schrieb:
On 1 Jun 2005, at 09:01, janbro wrote:
require
* janbro [EMAIL PROTECTED] :
Okay, I see there is a workaround but nothing realy satisfying, but I'm
not hoing to complain, I'm hapy to have oo in PHP at all. I never worked
with __autoload so far, but I will give it a try and check it out
The best way to use autoload is with the
On Wed, June 1, 2005 3:53 am, Marcus Bointon said:
On 1 Jun 2005, at 11:38, Jochem Maas wrote:
all true, now imagine that you install a couple of 3rdparty php5
'packages'
and they all define __autoload() - ain't gonna work! which is why
there has been
discussion on internals regarding the
On Sat, May 7, 2005 4:56 am, Deep said:
Hi,
If you are using localhost, i dont think u need to
specify the port number. Localhost would be enough.
Also pls check the user privileges and all in the
database.
..Deep..
--- Oscar Andersson [EMAIL PROTECTED]
wrote:
I have made a instal of
Hi,
If you are using localhost, i dont think u need to
specify the port number. Localhost would be enough.
Also pls check the user privileges and all in the
database.
..Deep..
--- Oscar Andersson [EMAIL PROTECTED]
wrote:
I have made a instal of the latest mySQL and PHP 5
on my computer.
I
hey
On 5/5/05, Oscar Andersson [EMAIL PROTECTED] wrote:
I have made a instal of the latest mySQL and PHP 5 on my computer.
I have made the following changes to my php.ini file
extension=php_mysql.dll
extension_dir = c:\php\
and i have put the php_mysql. and libmysql.dll in c:\php\ and in
On Wed, March 30, 2005 6:48 am, Jochem Maas said:
I don't really think that's relevant, however, as PHP is storing $name
back *IN* to my $_SESSION data, just because I did:
$name = $_SESSION['name'];
$name = Fooey;
$name is a STRING.
It's not an object.
It should *NOT* be a Reference!
Colin Ross wrote:
Now, as far as I know though, there are still issues with Apache 2 and
PHP-libraries, correct?
Yes, there are potential threading problems unless you use the pre-fork
version of Apache2.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
1 - 100 of 168 matches
Mail list logo