On Tue, June 27, 2006 9:23 pm, BBC wrote:
>> BBC wrote:
>> > OK John
>> > I'm sorry if my question was not specific
>> > - The out put error was:
>> > "Fatal error: call to a member function an o non object in
> /url/data.php
>> > on line 34"
>> > - And the lines are:
>> > 34. $db->qu
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 gi
Because their clock is set wrong on their computer...
Better to set a very long timeout and then handle the expiration
yourself.
Sorry.
On Fri, June 23, 2006 5:26 pm, Tom Ray [Lists] wrote:
> I've run into something rather odd with cookies today. I'm working
> with
> this admin section on a site
BBC wrote:
BBC wrote:
OK John
I'm sorry if my question was not specific
- The out put error was:
"Fatal error: call to a member function an o non object in
/url/data.php
on line 34"
- And the lines are:
34. $db->query("INSERT INTO `products`
$db isn't an object. Does it connect to t
> BBC wrote:
> > OK John
> > I'm sorry if my question was not specific
> > - The out put error was:
> > "Fatal error: call to a member function an o non object in
/url/data.php
> > on line 34"
> > - And the lines are:
> > 34. $db->query("INSERT INTO `products`
>
> $db isn't an object. Doe
Martin Marques wrote:
Why not try to use one of the template systems that already exist?
HTML_Template_IT, Smarty, etc.
On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen <[EMAIL PROTECTED]> wrote:
hi, i'm working on a template system. Basically i'm building raw
contents in arrays and then put the
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: June 27, 2006 12:58 PM
To: Beauford
Cc: PHP-General
Subject: Re: [PHP] Ereg problem
On Tue, 2006-06-27 at 12:14, Beauford wrote:
> One more in my recent woes. The last elseif does not work in the code
> below
> -
On Mon, June 26, 2006 2:06 am, Jochem Maas wrote:
>> if (!get_magic_quotes_gpc()) {
>> if (isset($_POST)) {
>> foreach ($_POST as $key => $value) {
>> $_POST[$key] = trim(addslashes($value));
>> }
>> }
>>
>> if (isset($_GET)) {
>> foreach ($_GET as
On Mon, June 26, 2006 1:23 pm, Robert Cummings wrote:
> I can't think of any language that processes the contents of a
> conditional block when the test condition fails.
I believe that PHP with Runkit would let you set that up to happen, if
it was something you actually wanted... :-)
And Common L
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
On Tue, June 27, 2006 9:33 am, Arno Kuhl wrote:
> Stut, that's an interesting point you raised. I know it's moving off
> the
> original topic, but when you say "by no means limited to being used on
> a
> server never mind on a web server", what is it that interprets the
> code and
> where does the
Paul Aviles wrote:
Does anyone have a 4.4.2 spec file that works for creating an rpm?
There should be one in the tarball from the php site.
It's called "php4.spec.in"
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
James Nunnerley wrote:
Thanks for the reply Chris.
How would you suggest displaying the current "home" directory for the user?
I've tried / and indeed the "real" directory name on that particular server.
Funnily enough, I've also just tried a generic php/ftp script tool, and it
works on a third
On Tue, June 27, 2006 7:16 am, George Pitcher wrote:
> I have been asked to look at extending one of my CMS systems to
> incorporate
> integration to a library management system, as well as LDAP and Active
> Directory.
http://php.net/ldap should help, though I understand that there is
some stupid
Jochem Maas wrote:
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
yes.
php_uname()
read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)
Thank you.
M.
Ha - ne
tedd wrote:
At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 2:11 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Calculations
When my level of free time matches my level of curiou
At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote:
> > -Original Message-
>> From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, June 27, 2006 2:11 PM
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] Calculations
>>
>> When my level of free time matches my level of c
Ahh.. thanks from the lazy programmer :) I knew I had seen it somewhere.
Guess they ran out of symbols and decided XOR was more important than
exponential operations. hah
My vote would have been for ^ to remain for exponents and something overly
complicated like |X| for xor..hah
-TG
= = =
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 27, 2006 2:11 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Calculations
>
> When my level of free time matches my level of curiousity, I'll have
to
> research it further. For now, I'
Beauford wrote:
Please turn of your mail client's request for return receipts when
sending to a mailing list.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Hi gang:
Hopefully, you kind people will indulge me again.
I think I have my sound problem solved. Please review and report:
http://xn--ovg.com/snd
It's just a test -- click the corresponding button and I'll receive your
answer, your browser, and your OS. No need to do anything other than visi
When my level of free time matches my level of curiousity, I'll have to
research it further. For now, I'm ok with not knowing unless someone posts the
answer here. hah
-TG
= = = Original message = = =
At 1:45 PM -0400 6/27/06, <[EMAIL PROTECTED]> wrote:
>Try:
>
>pow($base, $exp);
>
>http://us
At 1:45 PM -0400 6/27/06, <[EMAIL PROTECTED]> wrote:
>Try:
>
>pow($base, $exp);
>
>http://us2.php.net/manual/en/function.pow.php
>
>Not sure why PHP doesn't use the ^.. havn't looked to see if it's already used
>for something else.
>
>-TG
>
Yes, I found that surprising myself. BUT, I did find the
[snip]
Any ideas how I would go about changing my calculation, as php dosn't
seem
to recognise ^ meaning 'to the power of'.
[/snip]
The first thing I would do is read http://www.php.net/math and follow
the link to http://www.php.net/manual/en/ref.bc.php which would have me
arriving at http://www.p
Try:
pow($base, $exp);
http://us2.php.net/manual/en/function.pow.php
Not sure why PHP doesn't use the ^.. havn't looked to see if it's already used
for something else.
-TG
= = = Original message = = =
Hi there list.
Thanks for your help with my other questions.
I was carrying on working th
At 6:26 PM +0100 6/27/06, Alex Major wrote:
>Hi there list.
>Thanks for your help with my other questions.
>
>I was carrying on working through, and stumbled across a problem when trying
>to times something by the 'power' of something. By this I mean..in maths you
>can write 3 * (2 ^ 3), the answer
Alex Major wrote:
Hi there list.
Thanks for your help with my other questions.
I was carrying on working through, and stumbled across a problem when trying
to times something by the 'power' of something. By this I mean..in maths you
can write 3 * (2 ^ 3), the answer to which would be 24. (as 2
Take a look at the pow() function
http://php.net/pow
- Frank
> Hi there list.
> Thanks for your help with my other questions.
>
> I was carrying on working through, and stumbled across a problem when
trying
> to times something by the 'power' of something. By this I mean..in maths
you
> can wr
Hi there list.
Thanks for your help with my other questions.
I was carrying on working through, and stumbled across a problem when trying
to times something by the 'power' of something. By this I mean..in maths you
can write 3 * (2 ^ 3), the answer to which would be 24. (as 2 ^ 3 = 8).
The reaso
On Tue, 2006-06-27 at 12:14, Beauford wrote:
> One more in my recent woes. The last elseif does not work in the code below
> - even if the string is correct it always says it's incorrect. Even if I
> remove everything else and just have the ereg satement is doesn't work
> either.
>
> The code belo
nicolas figaro wrote:
Hi,
I'd like to convert a string generated by a mail client like the
following one : "test nf =?ISO-8859-15?Q?=E9_123456789012?="
back to the original one
"test nf é 123456789012".
Is there a (simple) way to do this ?
thanks
N F
I'm short of time, but, this should
Neither one will work.
-Original Message-
From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED]
Sent: June 27, 2006 11:37 AM
To: 'Beauford'; php-general@lists.php.net
Subject: RE: [PHP] Re: PHP 5, Windows, and MySQL
But is libmysql.dll the dll from mysql; the one packaged with php 5 will no
One more in my recent woes. The last elseif does not work in the code below
- even if the string is correct it always says it's incorrect. Even if I
remove everything else and just have the ereg satement is doesn't work
either.
The code below is in a function and $_POST['password1'] is passed to t
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 5 and above won't
Al wrote:
nicolas figaro wrote:
Hi,
I'd like to convert a string generated by a mail client like the
following one : "test nf =?ISO-8859-15?Q?=E9_123456789012?="
back to the original one
"test nf é 123456789012".
Is there a (simple) way to do this ?
thanks
N F
Yes, with a regex expre
[snip]
Sorry if this has been asked before but i am currently drawing a blank
STW etc.. is there any way of retrieving the user name of a user
(through the browser) that has logged on to a network (windows OS). I
have used php with LDAP before and made the user log into the website,
however i
Hi all
Sorry if this has been asked before but i am currently drawing a blank
STW etc.. is there any way of retrieving the user name of a user
(through the browser) that has logged on to a network (windows OS). I
have used php with LDAP before and made the user log into the website,
however
But is libmysql.dll the dll from mysql; the one packaged with php 5 will not
work.
Jeremy Schreckhise, M.B.A
-Original Message-
From: Beauford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 10:33 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Re: PHP 5, Windows, and MySQL
Done all this, I spent another two hours last night and have gone back to
PHP 4.4 which works perfect. I have followed every article I could find to
the 'T' and it just refuses to work. I have version 4.1.15 of MySQL. I'm
afraid to upgrade that as who know what mess it will cause.
libmysql.dll is
Does anyone have a 4.4.2 spec file that works for creating an rpm?
Regards
-pa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nicolas figaro wrote:
Hi,
I'd like to convert a string generated by a mail client like the
following one : "test nf =?ISO-8859-15?Q?=E9_123456789012?="
back to the original one
"test nf é 123456789012".
Is there a (simple) way to do this ?
thanks
N F
Yes, with a regex expression
--
PH
Here is the direct download portal for the two corrected crucial .dlls.
http://dev.mysql.com/downloads/connector/php/
-Original Message-
From: Jeremy Schreckhise [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 10:14 AM
To: php-general@lists.php.net
Subject: [PHP] Re: PHP 5, Wind
I ran into the same problems; here is how I solved them.
1. Install MySQL 5
2. Install PHP 5
3. Modify php.ini extensions directive to point to php_mysql.dll (the
one that was packaged with php 5)
4. Here is the tricky one make sure mysql is finding the libmysql.dll
packaged
I ran into the same problems; here is how I solved them.
1. Install MySQL 5
2. Install PHP 5
3. Modify php.ini extensions directive to point to php_mysql.dll (the
one that was packaged with php 5)
4. Here is the tricky one make sure mysql is finding the libmysql.dll
packaged W
Hi,
I'd like to convert a string generated by a mail client like the
following one :
"test nf =?ISO-8859-15?Q?=E9_123456789012?="
back to the original one
"test nf é 123456789012".
Is there a (simple) way to do this ?
thanks
N F
--
PHP General Mailing List (http://www.php.net/)
To unsub
weetat wrote:
Hi all,
I need to read xml file before it was parsed by PHP DOM functions.
The xml file have some encrypted value as shown below :
Anybody have any suggestion how to do it ?
Thanks.
- weetat
$xmlfile = file_get_contents("http://urloffile.com/filename.xml";);
I mea
[snip]
You can do the cron job thing and call it from the command line.
[/snip]
You can also execute a 'command line' php script from other applications
as well. Even though 'command line' PHP scripting has some additional
features we used to run PHP scripts from the command line before the
'comma
Jay Blanchard wrote:
[snip]
JavaScript can't be used for such things, or at least it can't be relied
upon. What if the user has disabled JavaScript? Or what if the user has
specifically disabled the JavaScript behaviour you are relying on?
[/snip]
Egg Zachary. That was why I wanted a PHP meth
At 11:33 AM 6/27/2006, Arno Kuhl wrote:
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 03:11
To: Peter Lauri
Cc: 'George Pitcher'; php-general@lists.php.net
Subject: Re: [PHP] Controlling a scanner with PHP
Peter Lauri wrote:
> Probably nobody, as PHP is a S
Arno Kuhl wrote:
Stut, that's an interesting point you raised. I know it's moving off the
original topic, but when you say "by no means limited to being used on a
server never mind on a web server", what is it that interprets the code and
where does the output go to, or the input come from? I als
> I also thought it always had to be run under a web server,
> and would be interested to know what the other options/
> opportunities are.
You can run it from the command line. See
http://us3.php.net/manual/en/features.commandline.php
thnx,
Chris
--
PHP General Mailing List (http://www.php.n
Arno Kuhl wrote:
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 03:11
To: Peter Lauri
Cc: 'George Pitcher'; php-general@lists.php.net
Subject: Re: [PHP] Controlling a scanner with PHP
Peter Lauri wrote:
Probably nobody, as PHP is a Server Side Scriptin
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 03:11
To: Peter Lauri
Cc: 'George Pitcher'; php-general@lists.php.net
Subject: Re: [PHP] Controlling a scanner with PHP
Peter Lauri wrote:
> Probably nobody, as PHP is a Server Side Scripting Language.
If there's
James Nunnerley wrote:
> Ah - whoops - just worked out why - you need to set the passive mode after
> you login, not after a connect! Silly solution!
sharing the fix was anything but silly - :-)
>
> -Original Message-
> From: James Nunnerley [mailto:[EMAIL PROTECTED]
> Sent: 27 June 200
Stut,
You are correct. PHP can be used in much more extent, but my tiny box where
I use PHP has never touched that area though :) I did truly enjoy the
continuing of the thread, because I learned that PHP is much more then a Web
Server Scripting Language :)
/Peter
-Original Message-
Fr
On Tue, 2006-06-27 at 10:31 -0300, Miles Thompson wrote:
> George,
>
> You always have the interesting challenges served to you.
>
> Is this at the client or the server end? Controlled through the browser?
> Only at the browser on the server?
> I think there's a discussion about .com objects in
Ah - whoops - just worked out why - you need to set the passive mode after
you login, not after a connect! Silly solution!
-Original Message-
From: James Nunnerley [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:37
To: 'Jochem Maas'
Cc: 'chris smith'; php-general@lists.php.net
Subject: RE
Thanks all - it would seem that php is failing to set the passive mode to
true - I can get around it temporarily, but need to find a more permanent
option.
Does anyone have any experience as to why setting ftp_pasv to true fails?
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECT
Hi all,
I need to read xml file before it was parsed by PHP DOM functions.
The xml file have some encrypted value as shown below :
Anybody have any suggestion how to do it ?
Thanks.
- weetat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
George,
You always have the interesting challenges served to you.
Is this at the client or the server end? Controlled through the browser?
Only at the browser on the server?
I think there's a discussion about .com objects in the manual.
Have fun - Miles
At 09:16 AM 6/27/2006, George Pitcher
James Nunnerley wrote:
> Thanks for the reply Chris.
>
> How would you suggest displaying the current "home" directory for the user?
> I've tried / and indeed the "real" directory name on that particular server.
you could try '~/' (or maybe just'~') as the dir name which equates to the
'the curre
Why not try to use one of the template systems that already exist?
HTML_Template_IT, Smarty, etc.
On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen <[EMAIL PROTECTED]> wrote:
> hi, i'm working on a template system. Basically i'm building raw
> contents in arrays and then put them in templates by som
Just tried that, and still the same result - I think it's the server - going
to ask the server admin now!
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:19
To: PHP List
Subject: Re: [PHP] FTP Problems
James Nunnerley a écrit :
> Nope - unfortunate
Thanks for the reply Chris.
How would you suggest displaying the current "home" directory for the user?
I've tried / and indeed the "real" directory name on that particular server.
Funnily enough, I've also just tried a generic php/ftp script tool, and it
works on a third party server into the on
James Nunnerley a écrit :
Nope - unfortunately, no change, still the same problems, logging in but no
ftp_nlist or indeed ftp_rawlist
even with a pathname ?
ftp_nlist($conn_id, "-a /")
do you have any log on the server ?
( you can also sniff the network to watch what php sends).
NF
Cheers
On 6/27/06, James Nunnerley <[EMAIL PROTECTED]> wrote:
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a successful login, but cannot display the
current directory; yet when I FTP directory from the ser
Nope - unfortunately, no change, still the same problems, logging in but no
ftp_nlist or indeed ftp_rawlist
Cheers
Nunners
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:12
To: James Nunnerley
Cc: php-general@lists.php.net
Subject: Re: [PHP] FTP P
On 6/27/06, George Pitcher <[EMAIL PROTECTED]> wrote:
Hi,
I have been asked to look at extending one of my CMS systems to incorporate
integration to a library management system, as well as LDAP and Active
Directory. The requirement also asks for scanning and OCR of documents to be
controlled by
I had many troubles with ftp_nlist since I discovered the "-a" option.
try this :
$buff = ftp_nlist($conn_id,"-a");
N F
James Nunnerley a écrit :
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a s
Peter Lauri wrote:
Probably nobody, as PHP is a Server Side Scripting Language.
If there's one thing I hate it's needless pigeonholing. PHP is not a
"Server Side Scripting Language". It is a scripting language for sure,
but is by no means limited to being used on a server never mind on a web
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a successful login, but cannot display the
current directory; yet when I FTP directory from the server which is serving
the php pages, it works fine.
// se
Maybe JavaScript can do it for you?
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:01 PM
To: Peter Lauri
Subject: RE: [PHP] Controlling a scanner with PHP
Peter,
I take it you have spoken to everyone on the list then?
I know that PHP is
[snip]
I have been asked to look at extending one of my CMS systems to
incorporate
integration to a library management system, as well as LDAP and Active
Directory. The requirement also asks for scanning and OCR of documents
to be
controlled by the CMS.
Does anyone have any experience of implement
Probably nobody, as PHP is a Server Side Scripting Language.
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 7:16 PM
To: php-general@lists.php.net
Subject: [PHP] Controlling a scanner with PHP
Hi,
I have been asked to look at extending one
Hi,
I have been asked to look at extending one of my CMS systems to incorporate
integration to a library management system, as well as LDAP and Active
Directory. The requirement also asks for scanning and OCR of documents to be
controlled by the CMS.
Does anyone have any experience of implementin
[EMAIL PROTECTED] wrote:
> Hello
>
> I am pleased if someone could explain me the behaviour since is wrong the
> following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC,
> $_SESSION["searchFormVars"]["offset"]+$rowCounter));
I am pleased if you'd off with the broken record
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION["searchFormVars"]["offset"]+$rowCounter));
as you will find them below. By the way, fetchRow() is a method from class
DB(.php). How
Hmm. I wonder if his mail server is stuffed.
Can we get this guy removed from the list? This is getting annoying :/
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION["searchFormVars"]["offset"]+$rowCounter));
as you will find them on the bottom of the email. By the way, fetchRow() is a
method fro
hi, i'm working on a template system. Basically i'm building raw
contents in arrays and then put them in templates by some special
tags.
for loop systems my basic array structure is like this:
$array['key'][]['keyword'] = ...
for example, for a bulletin board system, array structure for
categori
80 matches
Mail list logo