à ÃâÃöá Licensed Windows XP Pro, win 98, 98 se, Office XP Small, Office
XP Professional, Office Pro 2003 ¶Ã¡Ãá ¢Ã§á·éá¹è¹Ã¹ 100 %
µÃ´µèà Paisarn 06-5881135
- Windows 95 ẺÃà CD ¤ÃºªÃ´ 200 bath
- Windows 98 book+COA only 800 bath
- Windows 98 boo
[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));
as you will find them on the bottom of the email. By the way,
[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'll explain your behaviour: you repeatedly ask the s
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.
>
--
PHP General Mail
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
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 the database w
At 11:46 AM +1000 6/27/06, Ligaya Turmelle wrote:
>Mayank Maheshwary wrote:
>>Hi,
>>
>>Is there a function that can detect the OS on which the script is running?
>>
>>Thank you.
>>
>>M.
>>
>The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
>The OS of the client is not available - ser
Mayank Maheshwary wrote:
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug*
The OS of the client is not available - server side - remember.
--
life is a game... so have fun.
--
PHP
Hi,
Is there a function that can detect the OS on which the script is running?
Thank you.
M.
I've got it running fine on my windows.
Mysql 5.0.19
PHP 5.1.4
I just activate php_mysql.dll and php_mysqli.dll.
Which versions of php and mysql are you using?
""Beauford"" <[EMAIL PROTECTED]> escreveu na mensagem
news:!&!AAAYAFzLTDhDwWBHpzgX5w1qDiPigAAAEJiz/[EMAIL
PROTECT
On Monday 26 June 2006 13:10, Alex Major wrote:
> Hi list.
> Basically, I'm still learning new things about php and I was wondering if
> things inside an if statement get 'looked at' by a script if the condition
> is false.
> For example, would this mysql query get executed if $number = 0 ?
>
> If
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`
35.
(`code`,`size`,`description`,`material`,`ads`,`price`,`new`,`cate
>From what I have been reading this is a known issue with PHP5. There is
something in the php_mysql.dll which is not compatible.
I wasted 3 hours today trying all the tips and tricks I could find, but the
bottom line is that it won't work.
This was my reason for posting to this group to see if
Hi gang:
I don't know who originally asked, but if you generate and use a token with a
session, you can prevent double posting (clicking).
tedd
--
http://sperling.com http://ancientstones.com http://earthsto
I just wanted to add that Richards technique is a good way to go.
I often use something very similar, the only difference being that I
make the head() and foot() function methods in class (an instance
of the class being created by the global include file for the given site
e.g:
class Page
{
Please excuse-me.
That $ was putted by mistake.
I´sorry...
<[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> You were on the right track, but this isn't going to work.. for a couple
> reasons:
>
> $var = 1; # this is fine
> $var2 = "$var"; # $var2 == 1 at this point
> echo $$
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 met
Alex Major wrote:
> Thanks for your help with my other question, heres a new one for you.
>
> I need to nest a variable, inside another variable. For example:
>
> $($buildingname)level
>
> How (if at all) is this possible?
it's possible but probably an array is a better solution:
$someBuilding
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 what
[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 method. Since the SESSION da
You were on the right track, but this isn't going to work.. for a couple
reasons:
$var = 1; # this is fine
$var2 = "$var"; # $var2 == 1 at this point
echo $$var2; # you're going to echo $1
Putting $var in double quotes makes PHP evaluate it before assigning it to
$var2, so you won't get $var b
I've never found a use for it myself, but yes.. php provides for 'variable
variables':
http://us3.php.net/manual/en/language.variables.variable.php
$a = 'varname';
$varname = 'test';
echo $$a;
> test
-TG
= = = Original message = = =
Thanks for your help with my other question, heres a new o
$var=1;
$var2="$var";
echo $$var2;
It´ll echo the $var´s value.
Hope it´ll help you.
"Alex Major" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Thanks for your help with my other question, heres a new one for you.
>
> I need to nest a variable, inside another variable. Fo
John Meyer wrote:
Jay Blanchard wrote:
[snip]
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a form button issue.
[/snip]
Isn't there a javascript method that you could use to accomplish the
same thing? Either that, or o
>
> Thanks for your help with my other question, heres a new one for you.
>
> I need to nest a variable, inside another variable. For example:
>
> $($buildingname)level
>
> How (if at all) is this possible?
http://us3.php.net/manual/en/language.variables.variable.php
JM
--
PHP General Mail
On Mon, June 26, 2006 2:05 pm, John Meyer said:
> Jay Blanchard wrote:
>> [snip]
>> I am going to do some thinking (typing) out loud here because I need to
>> come up with a solution to double-clicking on a form button issue.
>> [/snip]
>>
>
> Isn't there a javascript method that you could use to a
This might help...
http://www.php.net/manual/en/function.array.php
-B
Alex Major wrote:
Thanks for your help with my other question, heres a new one for you.
I need to nest a variable, inside another variable. For example:
$($buildingname)level
How (if at all) is this possible?
Thanks.
Ale
Alex Major wrote:
Thanks for your help with my other question, heres a new one for you.
I need to nest a variable, inside another variable. For example:
$($buildingname)level
How (if at all) is this possible?
Thanks.
Alex.
Why? What are you doing that requires that that cannot be done with
Thanks for your help with my other question, heres a new one for you.
I need to nest a variable, inside another variable. For example:
$($buildingname)level
How (if at all) is this possible?
Thanks.
Alex.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Jay Blanchard wrote:
[snip]
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a form button issue.
[/snip]
Isn't there a javascript method that you could use to accomplish the
same thing? Either that, or on the first click,
On Mon, 2006-06-26 at 14:10, Alex Major wrote:
> Hi list.
> Basically, I'm still learning new things about php and I was wondering if
> things inside an if statement get 'looked at' by a script if the condition
> is false.
> For example, would this mysql query get executed if $number = 0 ?
>
> If
On Mon, 26 Jun 2006 19:10:59 +0100, Alex Major <[EMAIL PROTECTED]> wrote:
> Hi list.
> Basically, I'm still learning new things about php and I was wondering if
> things inside an if statement get 'looked at' by a script if the condition
> is false.
> For example, would this mysql query get execut
Alex Major wrote:
Hi list.
Basically, I'm still learning new things about php and I was wondering if
things inside an if statement get 'looked at' by a script if the condition
is false.
For example, would this mysql query get executed if $number = 0 ?
If ($number == 1) {
mysql_query($blah)
}
Hi list.
Basically, I'm still learning new things about php and I was wondering if
things inside an if statement get 'looked at' by a script if the condition
is false.
For example, would this mysql query get executed if $number = 0 ?
If ($number == 1) {
mysql_query($blah)
}
I know that's not
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 Linux/Apche/MySQL/PHP5, but when I run it
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 Linux/
[snip]
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a form button issue.
[/snip]
Because the data is contained in session variables this became an easy
issue once I logiced it out
/*
* we have to find out if a double click
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 Linux/Apche/MySQL/PHP5, but when I run it on Windows 2000
w
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a form button issue.
The steps are;
1. Fill out form
2. Click 'Submit'
3. Data gets stored (including unique data and time stamp data in this
casewhich should work out well)
I
Christopher J. Bottaro wrote:
Opps, we just found mod_tidy. :)
Christopher J. Bottaro wrote:
I'm wondering if there's a convenient way to globally add a final step for
apache w/php that will remove unnecessary whitespace from text/html before
it gets sent to the client. Some sort of global co
Opps, we just found mod_tidy. :)
Christopher J. Bottaro wrote:
> I'm wondering if there's a convenient way to globally add a final step for
> apache w/php that will remove unnecessary whitespace from text/html before
> it gets sent to the client. Some sort of global config like thing would be
>
I'm wondering if there's a convenient way to globally add a final step for
apache w/php that will remove unnecessary whitespace from text/html before
it gets sent to the client. Some sort of global config like thing would be
ideal. For what it's worth we're using the smarty template engine too, but
BBC wrote:
"Fatal error: call to a member function an o non object in /url/data.php
on line 34"
and the syntax is in line 34, so what can I do..?
Could you point out which line is line 34?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Fatal error: call to a member function an o non object in /url/data.php on
line 34"
and the syntax is in line 34, so what can I do..?
Please give us output of the error that mysql returns.
cheers,
BBC wrote:
hi all...
I have the problem about this syntax:
$db->query("INSERT INTO `product
Leonidas Safran wrote:
Hello,
Show us the full context of the code. The example you give us will work fine
but that doesn't tell us what's really going on in your code.
Here is the function I use to allow french special characters in the subject
line (copied from german university tutorial
[EMAIL PROTECTED] wrote:
>
...
>> $link = mysql_connect("localhost", "root", "040573");
what was your IP address again?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
> Hello
>
> I am pleased if someone could explain me 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, fetc
Alain Roger wrote:
I have the following lines in my http.conf from apache 2.2 configuration
file.
# - for PHP
LoadModule php5_module "c:\PHP\php5apache2.dll"
php5apache2.dll doesn't support Apache 2.2. Use Apache 2.0.
--
David Powers
--
PHP General Mailing List (http://www.php.net/)
Hi,
I did this installation i do not know how many times...it worked till now.
But it seems that today, i forget something and i'm lost :-(
I have the following lines in my http.conf from apache 2.2 configuration
file.
# - for PHP
LoadModule php5_module "c:\PHP\php5apache2.dll"
AddType
Hello
I am pleased if someone could explain me 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 an
object from class DB(.p
BBC wrote:
> hi all...
> I have the problem about this syntax:
>
>$db->query("INSERT INTO `products`
>
> (`code`,`size`,`description`,`material`,`ads`,`price`,`new`,`categorynr`)
>VALUES
>('$code',
> '$size',
> '$description',
> '$material',
>
Please give us output of the error that mysql returns.
cheers,
BBC wrote:
> hi all...
> I have the problem about this syntax:
>
>$db->query("INSERT INTO `products`
>
> (`code`,`size`,`description`,`material`,`ads`,`price`,`new`,`categorynr`)
>VALUES
>('$code',
> '$
hi all...
I have the problem about this syntax:
$db->query("INSERT INTO `products`
(`code`,`size`,`description`,`material`,`ads`,`price`,`new`,`categorynr`)
VALUES
('$code',
'$size',
'$description',
'$material',
'$ads',
'$price',
It's currently a little bit late in the US and you only waited 2 hours
since your last post. While this is an international list the majority
of the posters are US based. Not getting a response within two hours at
this time is not unusual and you should probably be more patient.
As for your prob
Hi all ,
Can I edit the xml file before doing xml parsing ?
My xml file is around 16MB size.
Anyone have any ideas how to do that?
Thanks
weetat wrote:
Add on :
I got this error when i using xmldocfile() function to read the xml file ,
Warning: xmldocfile():
/home/gvintranet/datacraft/h
Add on :
I got this error when i using xmldocfile() function to read the xml
file ,
Warning: xmldocfile():
/home/gvintranet/datacraft/htdocs/uploads/test_cdata.xml:99: in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile(): error: in
/home/gvintranet
Could someone explain the behaviour of the following code fragments. I have a
serious problem with db-statements.
##
Thanks. I will ignore it, it is not a big deal in my Development. Was more
curious if where was an easy way :)
I am using PHP4
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 3:50 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PH
Hi all,
I am using PHP 4.3.2 in Red Hat Entreprise.
I have xml file which have tags as show below:
I need to lookup for Hardware Version tag in php ,and edit the value
to empty string and save the modified xml file.
Any one have any ideas how to do this?
--
PHP General Mailing L
Peter Lauri wrote:
> Hi,
>
> I have a class B that extends A. When I do print_r($object_b) it outputs all
> member variables from A and B. I just want to see the variables from B
> excluding the one that B inherits from A, how can I do that? This is just
> for development; I will of course need to
suresh kumar schrieb:
Hi,
I am facing one problem.i previously mailed ,but there is no response,its
running out of time.
There are responses. You should read them!
And we are here not for coding stuff for you, you totally misunderstand
what this mailing list is for.
I told you last ti
Dear SK,
alternately, close previously opened A/C and allow current one. this is
similar to wat yahoo messenger does and is a good safety measure.
1. If u use this technique, ur problem of shutdown would be solved.
2. Alternately, maintain sessions (using session ID) in PHP.
2a. Or just monito
Original Message
Subject: Re: [PHP-DEV] mysql-* versus db_* statements (26-Jun-2006 9:21)
From:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Please user php-general@lists.php.net for such questions.
Thank you.
On 26.06.2006 11:10, [EMAIL PROTECTED] wrote:
> require_once "DB
Hello,
> Show us the full context of the code. The example you give us will work fine
> but that doesn't tell us what's really going on in your code.
Here is the function I use to allow french special characters in the subject
line (copied from german university tutorial
http://www-cgi.uni-reg
weetat wrote:
> Hi all,
>
> I have the error below in my PHP version 4.3.2:
>
> PHP Notice: Array to string conversion in /data/html/library/config.php
> on line 45
>
> If i have turned "on" the magic_quotes in php.ini, it is ok .
> Any ideas?
>
> It cause by the code below:
>
> if (!get_ma
65 matches
Mail list logo