- Original Message -
From: CurlyBraces Technologies ( Pvt ) Ltd
To: PHP ; Curt Zirzow ; Vail,
Warren
Sent: Sunday, March 28, 2004 10:56 AM
Subject: plz help
hi ,
i have an apache web server in linux . Those php
scripts runs in that pc. Mean while another perl scrips runs asso
This is a scam. Its called a pyramid scheme where the money keeps going all the way
up to the guy who started it. Sure that guy might actually be making money (very
unlikely if hes desperate enough to post on here) but because youre at the bottom of
the pyramid you get squat. This type of sc
Quentin Bennett wrote:
Hi,
Is this possible, please?
What I want to do is, using an HTTP class,
$myComms = new Ihttp_base_class(&$httpParams);
$myComms->request = $some_document;
$myComms->requrl = "/mysite/myscript.php";
$myComms->Send();
"myscript.php" runs within the same Ap
Robert Kornfeld wrote:
as with april 1, on may use special german and frech characters for urls and
email-names. does anyone know a reg. expression to validate the syntax of a
email-adress?
if(strpos($email,'@'))
No, seriously.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEX
php-general Digest 29 Mar 2004 12:07:16 - Issue 2674
Topics (messages 181639 through 181649):
Accessing HTTP Content
181639 by: Quentin Bennett
181648 by: Burhan Khalid
How to send SMS
181640 by: saepudin
181642 by: Jake McHenry
181643 by: Evan Nemers
On Monday, March 29, 2004, at 10:00 PM, John W. Holmes wrote:
Robert Kornfeld wrote:
as with april 1, on may use special german and frech characters for
urls and
email-names. does anyone know a reg. expression to validate the
syntax of a
email-adress?
if(strpos($email,'@'))
No, seriously.
LMF
how can I get the id of the last record I inserted into a table with an
insert query? (into Mysql database)
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 ext 214
Fax : 00-34-915228673
email: [EMAIL PROTECTED]
Web : http://www.hotelkey.com
Hello Diana,
Monday, March 29, 2004, 1:40:41 PM, you wrote:
DC> how can I get the id of the last record I inserted into a table with an
DC> insert query? (into Mysql database)
mysql_insert_id()
The manual is your friend.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.ht
Oh yeah,
'Look @ the screen. You will find wonderfull colors there!'
doesn't look like an e-mail adress, does it ? A basic approch to really
check the syntax would be:
preg_match("#^\s*[-\w_]+(\.[-\w_]+)[EMAIL PROTECTED](\.[-\w_]+)+\s*$#sim", $email)
Add your special german or french characters
hello.
mysql_insert_id() should do what you need.
lovely function, that one.
hth,
ben
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> how can I get the id of the last record I inserted into a table with an
> insert query? (into Mysql database)
> --
> Diana Cast
Hi,
Anyone knows where it is possible to get PHP 5rc1 RPM for Mandrake 10?
Or even for older, I can rebuild it, no problem.
Thanks in advance for any suggestion(s).
*
* Best Regards --- Andrei Verovski
*
* Personal Home Page
* http://snow.pr
Hi all,
Can anyone suggest a suitable means for detecting if a client browser
has JavaScript enabled or not?
I know this isn't exactly PHP related, but I need to make sure my PHP
script offers an alternative in a friendly way and not a JS error, but
I just wondered if there was a foolproof method
> Can anyone suggest a suitable means for detecting if a client browser
> has JavaScript enabled or not?
>
> I know this isn't exactly PHP related, but I need to make sure my PHP
> script offers an alternative in a friendly way and not a JS error, but
> I just wondered if there was a foolproof meth
Hello Rich,
Monday, March 29, 2004, 2:51:18 PM, you wrote:
RG> Er ... how do you generate a JS error with a JS disabled browser?
Maybe I should have said JS related error. For example - on vBulletin
(a $160 BBS package) if you have JavaScript disabled the drop-down
Forum Tools link does nothing.
From: "Red Wingate" <[EMAIL PROTECTED]>
> >
> > if(strpos($email,'@'))
> >
> > No, seriously.
>
> 'Look @ the screen. You will find wonderfull colors there!'
>
> doesn't look like an e-mail adress, does it ? A basic approch to really
> check the syntax would be:
>
> preg_match("#^\s*[-\w_]+(\.[-\w_
> If you're going to validate a [EMAIL PROTECTED] address, why even
> bother? Seriously. There are a 1000 different regular expressions for email
> addresses out there and each of them have flaws to some extent.
>
> If your application is so important that it requires a valid email address,
> you
Hi,
I'm designing a bid system but at this time I got a problem to automatically
send an email at the end of a bid. The only solution I'm thinking is to
create a program that check every minute if a bid was finish and I would
have prefer not to develop another program.
If you have any soluti
Instead of us rambling off ideas and concepts, why don't you tell us
about the process and exactly what you are trying to accomplish first,
so we don't waste our of your time.
Aaron
> -Original Message-
> From: marc serra [mailto:[EMAIL PROTECTED]
> Sent: March 29, 2004 10:09 AM
> To: [
Yeah... It depends entirely on your provider.
Check this out, though -- you don't necessarily need to connect to
icq/aim to send sms messages through their system.
http://www.icq.com/sms/eg_networks.html
-- jon
---
jon roig
web developer
email: [EMAIL PROTECTED]
phone: 8
Well, you have two options (using my reasoning!):
1. Run a check script (surely every 10 minutes or more would be sufficient?)
using something like 'cron' that processes all 'just' closed auctions.
2. Have a function that gets called every time any page is viewed that does
the che
I write some small program that uses xml. So I will use this function
http://us3.php.net/manual/en/function.xml-parse-into-struct.php.
Quote: "This function parses an XML file into 2 parallel array structures,
one (index) containing pointers to the location of the appropriate values in
the valu
Just means it will fill in the arrays you pass into it in the lat two
parameters. See the example on that page.
-Rasmus
On Mon, 29 Mar 2004, Mike Mapsnac wrote:
> I write some small program that uses xml. So I will use this function
> http://us3.php.net/manual/en/function.xml-parse-into-struc
Hi, I'm looking for a concrete example I could use to create an array
where each element from an original array is processed by a function.
It seems array_walk would be the solution but it doesnt seem to output
an array.
My function looks up my array elements in a mysql table and outputs a
cor
Hello raisinlove,
Monday, March 29, 2004, 4:21:44 PM, you wrote:
r> Hi, I'm looking for a concrete example I could use to create an array
r> where each element from an original array is processed by a function.
r> It seems array_walk would be the solution but it doesnt seem to output
r> an array
Hi,
maby I am missing something, but I am trying to find a way to find the N
position/character in a String of a regular expression match. For example,
if I look for the pattern "abba" in 200 character length string, I would
like to know where, at what position that match was made. Any ideas? Than
Hello Christian,
Monday, March 29, 2004, 10:28:53 AM, you wrote:
CC> maby I am missing something, but I am trying to find a way to find the N
CC> position/character in a String of a regular expression match. For example,
CC> if I look for the pattern "abba" in 200 character length string, I would
hello,
I have put the flag --sourcecode on on the phpdoc command line
and the tag @filesource in my page-level docblock
phpDocumentor claims that
'ERROR in my.php on line 12: "filesource" tag is not available in PHP versions
less than 4.3.0, tag ignored'
But it does lie: my phpinfo() says my #!/
From: "csko" <[EMAIL PROTECTED]>
> Why? Becasuse some people entered [EMAIL PROTECTED] as email :)
So. If you require a verified email, they obviously won't be able to verify
it. You'll waste some resources sending the mail, but does that really
matter?
I guess if you blindly send out messages t
My boss wants to combine the previously build security, that we have
within a notes Domino server, with a few pages that we run on PHP.
As I've tried to use PHP to talk to a notes database, and failed I've
decided that the easiest option is to:
1. Add a link on the notes site to the PHP site.
2
Dear You,
How to control php convert inserted data or query to / from MS-SQL ( MUST in
charset of unicode ) ?
For example,
Insert data into MS-SQL :
A client user ( using his/her own language ) insert some data into MS-SQL,
then MS-SQL MUST store the data ( which come from the client user ) in
From: <[EMAIL PROTECTED]>
> Can a user overwrite the $HTTP_REFERER?
Yep.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
One of my co-workers posted this to PHPBuilder, and I'm posting it here.
It's a problem that's baffling the snot out of us. It's an array that
you can print_r() from outside an if or switch/case statement, but from
inside, it seems unaccessible. His post follows:
Ok Background:
Database: MS
Hello, the problem that I have is that I must raise a great amount of data SQL server,
with php, but at the moment for raising traves of a consultation SQL the data they are
by halves. I do not have nor idea because it passes this... The data type that
handles the field to keep the data is of
Hi List
Sorry for this basic one but my brains gone to sleep and I can t see it.
--- Problem example
$vocals = array(
"name" => array('Jonny Flash', 'Bill Banger', 'Sarah Jane'),
"skill" => array('87', '77', 93),
"fee" => array('22000', '18500', '39000')
Thanks for the reply, I think I'll need to dig deeper as the proposed
line doesnt work with my function.
array_walk should be fine for this, instead of creating a new array
why not just modify the existing one? I.e.:
The reason I want a new array is that I will then combine both together,
for k
DC> I get and output of [0][0][0][1][1][1][2][2][2] why ?
Try putting curly braces around your variables. Like this:
{$val[name][$i]}
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
I know I am missing a stupid step but I have php_mssql.dll in my php
extensions folder and have uncommented the line in the ini file yet it still
doesn't recognize the functions. Do I need to do something else?
Thanks,
Eddie
WARNING: The information contained in this message and any attachment
RD> Why use a regular expression?
RD> strpos() will do this just fine.
strpos() will do it just fine, but if you need to use a regular
expression to match a specific pattern and return the location in the
string, preg_match() will also do this when you use the flag
PREG_OFFSET_CAPTURE.
--
Regar
EP> I know I am missing a stupid step but I have php_mssql.dll in my
EP> php extensions folder and have uncommented the line in the ini
EP> file yet it still doesn't recognize the functions. Do I need to
EP> do something else?
First of all, the obvious: make sure extension_dir in php.ini is set to
Hi,
Is there an elegant way to recover from DB errors in MySQL using PHP, i.e.
transactions and rolling back - basically I have an insert statement then an update
statement. if the insert succeeds the update is run but if the update fails I want to
undo the insert!
Any suggestions, I guess I
I believe you can use transactions with InnoDB tables on MySQL, if this
is the case, a simple "BEGIN;" to begin your transaction, and a
"COMMIT;" to save all the changes, plus a "ROLLBACK;" to undo your
changes, should be sufficient.
On Mon, 2004-03-29 at 13:12, Matthew Oatham wrote:
> Hi,
>
> I
Matthew Oatham wrote:
> Hi,
>
> Is there an elegant way to recover from DB errors in MySQL using PHP,
> i.e. transactions and rolling back - basically I have an insert
> statement then an update statement. if the insert succeeds the update
> is run but if the update fails I want to undo the insert
Matthew Oatham wrote:
Is there an elegant way to recover from DB errors in
MySQL using PHP, i.e. transactions and rolling back -
basically I have an insert statement then an update
statement. if the insert succeeds the update is run
but if the update fails I want to undo the insert!
Use trans
I have a very strange problem, and i don't seem to figure out what is wrong.
I start a session, and register $_Session['Idiomas'];
then i go to another page and select
require("/lanugages/".$_Session['Idiomas']."/main.php")
to require the text array to display text. Now here comes the weird thin
>First of all, the obvious: make sure extension_dir in php.ini is set to
>the correct extensions directory.
Yep
>>you need to place ntwdblib.dll in the WINDOWS/System32
Yep
And as far as IIS, I am running apache.
Thanks,
Eddie
-Original Message-
From: Ben Ramsey [mailto:[EMAIL PROTEC
It's a simple algorythem, use a loop to enter the names from the database
into an array, and compare each to the value in the array. or some hybred
thereof.
regardless of what performance freaks say.. this won't make a big dif in
performance unless you are like yahoo with several hundred millio
EP> And as far as IIS, I am running apache.
Heh. Well, then I guess I can't help you there, as I've never run
Apache on a Windows machine. :-)
Sorry. I hope someone else can help.
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General
Your php.ini is in-fact in your WINNT directory correct?
On Mon, 2004-03-29 at 13:37, Edward Peloke wrote:
> >First of all, the obvious: make sure extension_dir in php.ini is set to
> >the correct extensions directory.
>
> Yep
>
> >>you need to place ntwdblib.dll in the WINDOWS/System32
>
> Ye
If you are using the Apache module you need to restart Apache each time
you make changes to php.ini.
- Frank
> EP> And as far as IIS, I am running apache.
>
> Heh. Well, then I guess I can't help you there, as I've never run
> Apache on a Windows machine. :-)
>
> Sorry. I hope someone else
Though I know there are many people out there who cringe at the thought
of using DB abstraction layers, I really like ADOdb and it has very nice
transaction support built in (as long as the underlying database
supports it, obviously).
I don't know why people hate them sothey make life so much
Yes, my php.ini is in my WINNT directory.
I am running php 4.3.4 and originally got an error that it couldn't find
php5dts.dll in my classpath, then it would complain that it couldn't load
the php_mssql.dll. I downloaded php5dts.dll and put it in my path so now I
get this error:
[Mon Mar 29 13:5
Hi all,
I have a search where I search inside a document and count how many times I
found a given word.
My problem is that I have a list e.g. $list_path this is a string of where the
file is location on the server what I need help on this getting this list
into array format of /somepath/doc1.
1. Is the length of the field to receive the data long enough? perhaps the
field itself is short?
2. do you have like a time limit? some servers just stop performing after 30
seconds or 90 seconds, (specially IIS) but it will warn you that the
proccess was too long.
Vamp
"German" <[EMAIL PROTECTE
Do I need to unset() the variable each time i use it? I don't see anyone
using it like that.
vamp
"Elliot J. Balanza" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> I have a very strange problem, and i don't seem to figure out what is
wrong.
>
> I start a session, and register
Benjamin Jeeves wrote:
Hi all,
I have a search where I search inside a document and count how many times I
found a given word.
My problem is that I have a list e.g. $list_path this is a string of where the
file is location on the server what I need help on this getting this list
into array f
Edward Peloke wrote:
Yes, my php.ini is in my WINNT directory.
I am running php 4.3.4 and originally got an error that it couldn't find
php5dts.dll in my classpath, then it would complain that it couldn't load
the php_mssql.dll. I downloaded php5dts.dll and put it in my path so now I
get this er
im lost i keep getting messages from a [EMAIL PROTECTED] saying none of my messages
can be sent because they time out?? but its usually 12 hours or more after my post was
already sent to the list that i get those...im confused..anybody know whats going on??
I do not want to receive all these email
> Please STOP
Do not use the global list for your discussion
!
--- Justin Patrin <[EMAIL PROTECTED]> a
écrit : > Benjamin Jeeves wrote:
>
> > Hi all,
> >
> > I have a search where I search inside a document
> and count
W> I do not want to receive all these email
W>
W> > Please STOP
W>
W>Do not use the global list for your discussion
What else is the global list for, then? Perhaps you need to sign up for
the digested version or browse the mailing list as a newsgroup instead
of selecti
exactly dont want letters dont join a list!
- Original Message -
From: "Ben Ramsey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 11:23 AM
Subject: [PHP] Re: STOP to send me mails Re: [PHP] Re: list to array
help
> W> I do not want to r
Hi folks. Given the last response by Justin to my comment about some
people's dislike for DB abstraction layers I'm electing to throw this
out into the general discussion as a new topic.
I have mixed feelings about abstraction layers. At times I love them
(mostly) and at times I hate them. I po
Wabyan wrote:
I do not want to receive all these email
> Please STOP
Do not use the global list for your discussion
!
These lists are for discussion, not just for asking for help. The point
of sending answers to the list is to let EVERYONE know the answer.
Otherw
Have been a very very long time since my last post.
I have a big enterprise web application running in my company with a lot
of traffic, I'm using Apache 1.3, PHP 4.3 and Oracle 8i.
The production server was a RedHat 9 box and I configured it to use tux,
the kernel web server available in Linux 2
I actually have the php4ts.dll and php_mssql.dll that came with 4.3.5 yet it
still throws the error about php5ts.dll. I might wipe it out and try
installing again.
Thanks,
Eddie
-Original Message-
From: Lester Caine [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 2:19 PM
To: [EMAI
Upgraded to 4.3.5 and all is working...thanks!
Eddie
-Original Message-
From: Lester Caine [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 2:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: why won't mssql work?
Edward Peloke wrote:
> Yes, my php.ini is in my WINNT directory.
Pablo Gosse wrote:
Hi folks. Given the last response by Justin to my comment about some
people's dislike for DB abstraction layers I'm electing to throw this
out into the general discussion as a new topic.
I have mixed feelings about abstraction layers. At times I love them
(mostly) and at times
Haven't heard any response on this yet, but we have been playing around
with it. Here's our latest development:
$myBlock = $block_data[0]["ranges"];
if ($myBlock == 6)
{
echo "6 passes";
}
if ($myBlock != 6)
{
echo "not 6 passes";
}
Guest what? Both statements pass. It should be one
Hi Alister,
This is exactly what I am trying to do now... but I'm afraid that I am a
little unexperienced with squid.
I managed to make it run in my home in "httpd-accelerator" mode but I
still have some problems.
Could you give me your squid configuration file?? or at least tell me
how to set t
"Elliot J. Balanza" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a very strange problem, and i don't seem to figure out what is
wrong.
>
> I start a session, and register $_Session['Idiomas'];
> then i go to another page and select
>
> require("/lanugages/".$_Session['Idioma
Hi,
Is there a way to convert any character to it's HTML xx; equivalent in
PHP?
For example A is the letter "A" where the number 65 represents it's
ASCII code.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Reuben Sant wrote:
Hi,
Is there a way to convert any character to it's HTML xx; equivalent in
PHP?
For example A is the letter "A" where the number 65 represents it's
ASCII code.
This may help. It's a function from Tom Rogers, or was it Tim Rogers,
I can't remember.
function clean_ms_word(
Justin Patrin wrote:
> Benjamin Jeeves wrote:
>
>> Hi all,
>>
>> I have a search where I search inside a document and count how many times
>> I found a given word.
>>
>> My problem is that I have a list e.g. $list_path this is a string of
>> where the file is location on the server what I need
Hello there, I have been trying to mke a simple script to basically out
the last date the dir was modified. Like when you do ls -l next to the
folder you can see the date of last modfied.
cheers.
||
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Though only a US solution right now, try sending the SMS to
@teleflip.com It's similar to ICQ's solution, but seems to be
more universal (no ICQ support needed)
--- jon roig <[EMAIL PROTECTED]> wrote:
> Yeah... It depends entirely on your provider.
>
> Check this out, though -- you don't necessa
Thanks,
I had a look at Snoopy, and it looks goodbut I don't think it can do
what I want.
Snoopy Fetches data from a known URL - what I want to do is read the
HTTP content no matter where it is sent from.
Simple, really - $GLOBALS['HTTP_RAW_POST_DATA']. Found this by looking
at SOAP server c
From: "frank" <[EMAIL PROTECTED]>
> Hello there, I have been trying to mke a simple script to basically out
> the last date the dir was modified. Like when you do ls -l next to the
> folder you can see the date of last modfied.
http://us2.php.net/filemtime
says
$getLastModDir = filemtime("/pa
--- Richard Davey <[EMAIL PROTECTED]> wrote:
>
> Hmmm.. not a bad idea. I was thinking of some kind of
> "intermediary"
> script, where it can run a check to see if JS is there or not (via
> whatever method possible) and then redirect accordingly. I'll have
> an
> experiment and (further!) searc
Well now I'm more puzzled, cause it seems that i cant find set_globals.
All I found is register globals, and i remember that was different, but in
any case its on.
let me send you the code:
this works
-- code --
http://www.w3.org/TR/html4/loose.dtd";>
-- end of first code...
then i go
Benjamin Jeeves wrote:
Justin Patrin wrote:
Benjamin Jeeves wrote:
Hi all,
I have a search where I search inside a document and count how many times
I found a given word.
My problem is that I have a list e.g. $list_path this is a string of
where the file is location on the server what I need
Reuben Sant wrote:
Hi,
Is there a way to convert any character to it's HTML xx; equivalent in
PHP?
For example A is the letter "A" where the number 65 represents it's
ASCII code.
If that's true for all chars, you could use:
$html = ''.ord('A').';';
Or you could just do it for a-z and A-Z.
-
I've been reading up on object oriented programming in PHP for a while now
and I just don't get what's the use in using it. It supposedly makes it
faster, but I don't really see how in any of my scripts. What's the
advantage of OOP anyway, and why are so many people using it now? What does
it have
On Mon, 2004-03-29 at 16:43, Stephen Craton wrote:
> I've been reading up on object oriented programming in PHP for a while now
> and I just don't get what's the use in using it. It supposedly makes it
> faster, but I don't really see how in any of my scripts. What's the
> advantage of OOP anyway,
Stephen Craton wrote:
I've been reading up on object oriented programming in PHP for a while now
and I just don't get what's the use in using it. It supposedly makes it
faster, but I don't really see how in any of my scripts. What's the
advantage of OOP anyway, and why are so many people using it n
--- Stephen Craton <[EMAIL PROTECTED]> wrote:
> I've been reading up on object oriented programming in PHP for a while
> now and I just don't get what's the use in using it. It supposedly
> makes it faster, but I don't really see how in any of my scripts.
Makes it faster in what way? I'm curious t
Hi,
I did not think that PHP supported namespaces? I would love to see it
if it is possible. What sparked my interest was this post:
http://news.php.net/article.php?group=php.general&article=181728
There are lots of other things, of course. One method of learning about
this would be to take e
--- Justin Palmer <[EMAIL PROTECTED]> wrote:
> I did not think that PHP supported namespaces?
It doesn't.
>
> There are lots of other things, of course. One method of learning
> about this would be to take every OO term (encapsulation,
> namespacing, etc.) and find a really good explanation of t
On Mon, 2004-03-29 at 17:01, Justin Palmer wrote:
> Hi,
>
> I did not think that PHP supported namespaces? I would love to see it
> if it is possible. What sparked my interest was this post:
>
> http://news.php.net/article.php?group=php.general&article=181728
>
>
> There are lots of other thi
Hello Stephen,
Monday, March 29, 2004, 10:43:22 PM, you wrote:
SC> I've been reading up on object oriented programming in PHP for a while now
SC> and I just don't get what's the use in using it. It supposedly makes it
SC> faster, but I don't really see how in any of my scripts. What's the
SC> adv
I agree, but the reuse of code is also posible in an structured oriented
fashion and it is not inherent in OOP.
Simply saying that you are going to use OOP doesn't means that the code
reuse is granted, like in structured oriented programming you have to
think very carefully how to design your appl
Thanks for all the replies. I've mostly been reading over at PHP-Builder. I
read one of the articles by Luis Argerich, but since I was only skimming
through the article, I may have missed something and read it wrong.
I used OO in my chat script (can be found at http://php.melchior.us) but it
reall
Stephen Craton said:
> I've been reading up on object oriented programming in PHP for a while now
> and I just don't get what's the use in using it. It supposedly makes it
> faster, but I don't really see how in any of my scripts. What's the
> advantage of OOP anyway, and why are so many people usi
Rene, no need to email me personally, please keep it on list.
If you have worked with Java then you should know the true reason for
using namespaces. See my previous email to this topic for my
explanation. Namespace collision is a large cause for software blowing
up when multiple programmers use
Justin Palmer wrote:
Hi,
I did not think that PHP supported namespaces? I would love to see it
if it is possible. What sparked my interest was this post:
http://news.php.net/article.php?group=php.general&article=181728
There are lots of other things, of course. One method of learning about
th
Chris Shiflett wrote:
--- Justin Palmer <[EMAIL PROTECTED]> wrote:
I did not think that PHP supported namespaces?
It doesn't.
There are lots of other things, of course. One method of learning
about this would be to take every OO term (encapsulation,
namespacing, etc.) and find a really good
I just looked over the code I recently submitted.. the last if statement
needs a semi-colon at the end of the echo("The name don't exist") part...
sory if you copy/pasted and got an error.. ;)
"Gimic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It's a simple algorythem, use a loop
Robert, please keep it on list, no need to email me personally.
You would most likely not be both using a Session class but more over
what if we made to different classes that performed quite different
tasks, but for some reason or another we called named them the same.
That is the true reason for
--- Justin Palmer <[EMAIL PROTECTED]> wrote:
> Your statement of:
>
> > PHP doesn't support namespaces; however, functions defined within
> > a class definition are essentially conform to namespace ideology
> > since the function would need to be defined twice in the same class
> > to cause an col
Mar 29 at 5:25pm, Stephen Craton wrote:
> I used OO in my chat script (can be found at http://php.melchior.us) but
> it really seemed like a waste since it was such a small basic script. I
> never really find myself re-needing code except for database
> connectivity and calling the database and stu
--- Kelly Hallman <[EMAIL PROTECTED]> wrote:
> I think there is a bit of what I consider an efficiency myth in
> regards to OOP in PHP. Most agree that the OO implementation in PHP
> is not robust.
It's much better in PHP 5, although a lack of robustness is not how I
would personally describe PHP
Hi,
I just don't see it as a "namespace ideology", it is just how objects
work. I know that he knows that it is encapsulation. My point being
that it should not really be called that because it has nothing really
to do with namespaces. Which is what my original post/question was
about. I also
1 - 100 of 140 matches
Mail list logo