Thought it looked fishy hehe ...
My only problem is: Sometimes you actually need the data from that table
later in the same script, so instead of doing another data pull, I have
alot of cases where this is alot more useful (not actual code from any of
my work, but I've used this structure
If the message will not displayed automatically,
follow the link to read the delivered message.
Received message is available at:
www.lists.php.net/inbox/php-general/read.php?sessionid-27800
At 00:59 30-03-2004, Justin Patrin wrote:
Richard Davey wrote:
Hello Justin,
Tuesday, March 30, 2004, 12:42:12 AM, you wrote:
JP> P.S. Why do a lot of people email off list? I get doubles.
They are too lazy to remove your email when doing a reply-to-all
basically.
More people should use the newsg
Simple: the list is setup to send replies in private per default. If you
just hit reply it will go in private. So we hit "reply to all" and the
reply goes private and on list ... thus you get doubles...
My system sometimes confuses the private replies with the list mail, and
puts both in the li
At 23:40 29-03-2004, Justin Palmer wrote:
Rene, no need to email me personally, please keep it on list.
Sorry 'bout that ... I just hit Ctrl+R, and it goes private and on list...
force of habit, since this list is set to reply in private...
If you have worked with Java then you should know the tr
Today Mbedthis Software announced a PHP Module for the Mbedthis
AppWeb embedded web server. In our latest development release,
AppWeb 1.1, includes a PHP module for the high performance use of
PHP and the LAMP architecture in mobile and embedded applications
and devices.
On Tuesday 30 March 2004 13:48, Andy B wrote:
> my screwup...forgot some code here... heres the whole thing that actually
> works...(thats what you get for being in tons of different windows at the
> same time)...
> include("conf.db");
> mysql_connect($host, $mysqluser, $mysqlpwd);
> $rows=mysql_
> I also see lots of people talking about speed. In my mind, having extra
> convenience and error handling is far worth the extra load / run time.
> Apart from that, there's also this coding rule which I agree with almost
> always. Developer time is far more valuable that runtime. If you spend
> lo
If it's a drop down (single item) I usually do:
>Jan
>Feb
>Mar
If it's a multi, I do this:
>Jan
>Feb
>Mar
-Original Message-
From: Andy B [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 9:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] combo boxes and default selected items
how
how would you go about making a selected item in a combo box??
Jan
Feb
Mar
for example on the combo box above how would i make the default select item mar
instead of jan??
"Hmmm, have you ever actually tried it? And got the result you wanted?"
my screwup...forgot some code here... heres the whole thing that actually
works...(thats what you get for being in tons of different windows at the
same time)...
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
> From: ascll [mailto:[EMAIL PROTECTED]
> Subject: [PHP] Wrong IP address
>
> to get the web IP address for my machine once my PC is connected to
> Internet..
Are you on a highspeed connection or dialup. Dial up connections tend to
give a different connection with every connection. Also if you us
On Tuesday 30 March 2004 12:33, Andy B wrote:
> "select count(*) from tablename"
>
> actually i would do:
> $rows=mysql_query("select count(*) from tablename");
>
> echo $rows;
Hmmm, have you ever actually tried it? And got the result you wanted?
--
Jason Wong -> Gremlins Associates -> www.greml
"select count(*) from tablename"
actually i would do:
$rows=mysql_query("select count(*) from tablename");
echo $rows;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey listen Rob,
I was not trying to give you a hard time (or split hairs). In fact I am
grateful for your answer and your want to explain even more in depth
than some of the one line answers on the list. The reason that I was
splitting hairs was because I got 3 or 4 emails to my personal account
--- Frank Tudor <[EMAIL PROTECTED]> wrote:
> Pay attention people: 'Rob' = greatest PHP programmer on planet. IMHO
>
> So bask in the 'excellent' and 'free' knowledge he gives.
Indeed, Robert has consistently given his free time to help people with
their PHP problems. Hopefully his time won't be
--- ascll <[EMAIL PROTECTED]> wrote:
> echo($_SERVER["REMOTE_ADDR"]);
> ?>
>
> to get the web IP address for my machine once my PC is connected to
> Internet..
>
> Anyway, sometime I get the correct IP address, but sometime NOT.
You're going to have to explain why you think one is right and one
--- Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Mon, 2004-03-29 at 18:42, Justin Palmer wrote:
> > 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 calle
yup - use transactions.
http://www.mysql.com/doc/en/COMMIT.html
--- Matthew Oatham <[EMAIL PROTECTED]> 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
--- Robert Cummings <[EMAIL PROTECTED]> wrote:
> > Perhaps, but I would say that most people who make this assertion
> > understand OO. The performance penalty is not a myth. Just as
> > templating incurs a performance penalty, so does OO. The reward
> > can be worth it, of course, in terms of orga
[EMAIL PROTECTED] (Chris Wagner) wrote in
news:[EMAIL PROTECTED]:
> this should be easy...
>
> how would one go about determining the number of rows in a mysql table,
> without actually wasting the time of querying for *.
>
> is this the best way?
>
> $result = mysql_query('SELECT * FROM table
select count(*) from tablename
Miles
At 12:12 PM 3/30/2004 +1000, Chris Wagner wrote:
this should be easy...
how would one go about determining the number of rows in a mysql table,
without actually wasting the time of querying for *.
is this the best way?
$result = mysql_query('SELECT * FROM ta
Hello Chris,
Tuesday, March 30, 2004, 3:12:26 AM, you wrote:
CW> how would one go about determining the number of rows in a mysql table,
CW> without actually wasting the time of querying for *.
CW> is this the best way?
CW> $result = mysql_query('SELECT * FROM tablename');
CW> $num_rows = mysql
select count(*) from tablename
--- Chris Wagner <[EMAIL PROTECTED]> wrote:
> this should be easy...
>
> how would one go about determining the number of
> rows in a mysql table,
> without actually wasting the time of querying for *.
>
> is this the best way?
>
> $result = mysql_query('SELECT * F
this should be easy...
how would one go about determining the number of rows in a mysql table,
without actually wasting the time of querying for *.
is this the best way?
$result = mysql_query('SELECT * FROM tablename');
$num_rows = mysql_num_rows($result);
does this actually take up time search
Hello,
On 03/29/2004 04:45 PM, William Lovaton wrote:
I've tried boa, thttpd, but none of these can do that, the only thing
they can do is "redirect" which is not the same.
I would like to know if there are others fast user space web servers
that can pass dynamic requests to a second robust web se
Hi,
My application crashes, but I have a hard time figuring out where because it
only happens periodically.
For some reason, it only crashes about 10% of the time. If someone who knows
how to debug PHP could assist me, that would be very nice. You may download
the package at: http://www.blesys.co
Hello,
On 03/29/2004 04:28 PM, Pablo Gosse wrote:
Anybody care to throw their hat into the ring for a debate on the pros
and cons of using DB abstraction layers such as ADOdb (which I really
like) against Pear::DB and PHP's DBX functions, for example??
Unless you want to write applications that ar
Hello everyone,
Say, I want to retrieve the Today's XML Feed from site A but site A
updates their XML Feed on random days.
Also, this XML Feed might have 2 items with the Same Date.
What's the best way to retrieve/display the latest XML Feed Item?
I ask this because it seems like the running time
Hello ascll,
Tuesday, March 30, 2004, 2:12:41 AM, you wrote:
a> echo($_SERVER["REMOTE_ADDR"]);
?>>
a> to get the web IP address for my machine once my PC is connected to
a> Internet..
a> Anyway, sometime I get the correct IP address, but sometime NOT.
a> Does anyone know why?
Firewall? Proxy
Greetings,
I make use of these: -
to get the web IP address for my machine once my PC is connected to
Internet..
Anyway, sometime I get the correct IP address, but sometime NOT.
Does anyone know why?
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Stephen Craton said:
> 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 stuff like that.
My
On Mon, 2004-03-29 at 18:42, Justin Palmer wrote:
> 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
On Mon, 2004-03-29 at 18:23, Chris Shiflett wrote:
> --- 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
Hello daniel,
Tuesday, March 30, 2004, 1:16:19 AM, you wrote:
deo> There is ways though to configure mailman to set the phplist email in the
deo> reply to ? Other lists i'm on do this. It actually prevents you from
deo> replying to the sender.
Would be nice :) Until then I'll continue to extend
> Richard Davey wrote:
>
>> Hello Justin,
>>
>> Tuesday, March 30, 2004, 12:42:12 AM, you wrote:
>>
>> JP> P.S. Why do a lot of people email off list? I get doubles.
>>
>> They are too lazy to remove your email when doing a reply-to-all
>> basically.
>>
>
There is ways though to configure mailman
Richard Davey wrote:
Hello Justin,
Tuesday, March 30, 2004, 12:42:12 AM, you wrote:
JP> P.S. Why do a lot of people email off list? I get doubles.
They are too lazy to remove your email when doing a reply-to-all
basically.
More people should use the newsgroupsit makes things so much simple
Hello Justin,
Tuesday, March 30, 2004, 12:42:12 AM, you wrote:
JP> P.S. Why do a lot of people email off list? I get doubles.
They are too lazy to remove your email when doing a reply-to-all
basically.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General
Mar 29 at 3:23pm, Chris Shiflett 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 descri
Go to figure, what i was lackng of was the parenthesis on the second
include...
thanks to everyone that tried to help.
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 st
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
--- 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
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
--- 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
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
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
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
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
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
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
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
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
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
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
--- 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
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
--- 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
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
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,
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
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.
-
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
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
--- 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
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
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
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
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
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.
This may help. It's a function from Tom Rogers, or was it Tim Rogers,
I can't remember.
function clean_ms_word(
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
"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 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
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
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
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.
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
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
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
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
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
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
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
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??
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
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
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
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
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.
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
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
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
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
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
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
>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
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
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
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
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
1 - 100 of 140 matches
Mail list logo