php-general Digest 29 Dec 2008 12:39:22 - Issue 5871
Topics (messages 285171 through 285191):
Re: What does ?xml have to do with it?
285171 by: tedd
Re: system() Question
285172 by: Daniel Brown
285174 by: Nathan Nobbe
285178 by: Micah Gersten
285179
php-general Digest 30 Dec 2008 01:52:38 - Issue 5872
Topics (messages 285192 through 285220):
mysql question
285192 by: ann kok
285194 by: Phpster
Re: Problem with fetching values...
285193 by: Michelle Konzack
285195 by: Eric Butera
Re:
Perhaps compile everything in debug versions and get some core dumps and file a
bug report at http://bugs.php.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am 2008-12-28 16:11:15, schrieb Nathan Nobbe:
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably for
php5, PDO,
http://us.php.net/manual/en/pdo.drivers.php
which btw, is written in C ;)
I have
The PHP source uses bison/flex, I believe, so that's your best bet for finding
the grammar.
Chris Shifflet (sp?) mentioned the other day somewhere that he was considering
soon releasing some code that he uses in security audits for the boring grunt
work part.
You may want to try to
Hello,
In my PHP5 documetation I have installed on my system PDO is mentioned,
but the files are missing...
While surfing php.net I have not found the PDO part which I need Off-
Line since I am on GSM and surfing/searchin the internet is sometimes
the hell.
Can someone point me to the tar
On Monday 29 December 2008 2:26:46 am Michelle Konzack wrote:
Am 2008-12-28 16:11:15, schrieb Nathan Nobbe:
OK. i would stop right there and ask yourself why.. there are tons of
stable, working solutions out there that already do this, most notably
for php5, PDO,
On Mon, Dec 29, 2008 at 6:28 PM, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Hello,
In my PHP5 documetation I have installed on my system PDO is mentioned,
but the files are missing...
While surfing php.net I have not found the PDO part which I need Off-
Line since I am on GSM
Am 2008-12-29 20:08:40, schrieb chris smith:
You can download the whole php.net docs:
http://www.php.net/download-docs.php
Grrr, while I was checking which version I have on my intranet server, I
have encountered it was the one from 2007-05-01... and a newer TAR
Archive was laying arround
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query, MYSQL_NUM)
Why?
http://www.php.net/mysql_fetch_array
Use MYSQL_ASSOC as the 2nd param, or leave it out and by default it uses BOTH.
--
Hi all
Do you know any websites for mysql question?
I do submit the mysql forum but I would like to have more to learn
Now I have mysql replication question.
Thank you
__
Ask a question on any topic and get answers from
Am 2008-12-29 22:09:16, schrieb chris smith:
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query, MYSQL_NUM)
Why?
http://www.php.net/mysql_fetch_array
Use MYSQL_ASSOC as the 2nd
The mysql forum is the best place. Note that their holiday schedule
may mean some lag in getting answers.
Bastien
Sent from my iPod
On Dec 29, 2008, at 7:51 AM, ann kok oiyan...@yahoo.ca wrote:
Hi all
Do you know any websites for mysql question?
I do submit the mysql forum but I would
On Mon, Dec 29, 2008 at 7:57 AM, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Am 2008-12-29 22:09:16, schrieb chris smith:
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query,
Hi,
On 29 dec 2008, at 08:57, c...@l-i-e.com wrote:
File a bug report at
http://bugs.php.net
You have a pretty clear-cut case of a built-in function gone awry,
and it will probably be fixed pretty fast.
I also rely on this function quite a bit, so it needs to work right
when I end up at
Hi all,I would like to set up search functionality on my website. I'm using PHP
and Mysql. Most of the pages contain static text in the html and is not
database driven. I need some idea on how should I go about it without moving
everything to database driven functionality. Please help.Thanks in
On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese tij...@yahoo.co.in wrote:
Hi all,I would like to set up search functionality on my website. I'm using
PHP and Mysql. Most of the pages contain static text in the html and is not
database driven. I need some idea on how should I go about it
Or even a google search widget...
Miles Thompson wrote:
On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese tij...@yahoo.co.in wrote:
ht-dig (or digg)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,I would like to set up search functionality on my website. I'm using
PHP and Mysql. Most
of the pages contain static text in the html and is not database driven. I
need some idea on how
should I go about it without moving everything to database driven
functionality.
You could look
Okay maybe i have just forgot.
I am trying to update the database and do a +1 to a int field without pulling
the data and adding 1 to it and sticking it back in.
Someone refresh me on this please.
I think it is something like.
$dwsl = mysql_query(UPDATE database set Field='+1' WHERE
Hello, you have to do :
$dwsl = mysql_query('UPDATE database SET Field=Field+1 WHERE
Criteria=\'Criteria\''); From: ad...@buskirkgraphics.com To:
php-general@lists.php.net Date: Mon, 29 Dec 2008 12:05:37 -0500 Subject:
[PHP] Php mysql update Okay maybe i have just forgot. I am trying to
Wouldn't it be:
mysql_query(UPDATE database set Field = Field+1 WHERE
Criteria='Criteria');
Note: no '' around +1, = operator
John Corry
ad...@buskirkgraphics.com wrote:
Okay maybe i have just forgot.
I am trying to update the database and do a +1 to a int field without pulling
the data and
Sorry about that it hit me right after i sent the email.
Thank You so much for you reply
Hello, you have to do :
$dwsl = mysql_query('UPDATE database SET Field=Field+1 WHERE
Criteria=\'Criteria\''); From: ad...@buskirkgraphics.com To:
php-general@lists.php.net Date: Mon, 29 Dec 2008 12:05:37
I am getting this error and can't resolve;
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result,
boolean given in /home5/camfulco/public_html/CompanyHome.php on line 132
code listing follows;
?php
/* Program: CompanyHome.php
* Desc:Displays a Web page that has four
On Mon, Dec 29, 2008 at 2:39 PM, dlinden dlin...@springtidepartners.com wrote:
I am getting this error and can't resolve;
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result,
boolean given in /home5/camfulco/public_html/CompanyHome.php on line 132
I'm not going to read all
Hi - I have a file upload that returns no error, but the file does not
appear on the server. Here is the result of $_FILES:
Array (
[f] = Array (
[name] = Elephants.pdf
[type] = application/pdf
[tmp_name] = C:\WINDOWS\Temp\php3133.tmp
1. It's generally considered poor etiquette to send that much code to a
mailing list. How about snipping the relevant section next time?
2. the error says: mysqli_fetch_assoc() expects parameter 1 to be
mysqli_result. There's your clue. Is the query good? Is the connection good?
I'm getting a
That was too heavy handed.
I'm sorry. Please forgive my harshness.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote:
Hi - I have a file upload that returns no error, but the file does not
appear on the server. Here is the result of $_FILES:
Array (
[f] = Array (
[name] = Elephants.pdf
[type] = application/pdf
On Mon, Dec 29, 2008 at 3:18 PM, John Corry jco...@gmail.com wrote:
That was too heavy handed.
I'm sorry. Please forgive my harshness.
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Having a bad day at work? ;)
--
PHP
On Mon, 2008-12-29 at 20:34 +, Ashley Sheridan wrote:
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote:
Hi - I have a file upload that returns no error, but the file does not
appear on the server. Here is the result of $_FILES:
Array (
[f] = Array (
[name]
At 8:17 PM +0530 12/29/08, Tiji varghese wrote:
Hi all,I would like to set up search functionality on my website.
I'm using PHP and Mysql. Most of the pages contain static text in
the html and is not database driven. I need some idea on how should
I go about it without moving everything to
All:
Is anyone interested in adding POSIX 1003.1-2001 gethostname(2) support? I'm
interested in sponsoring a small contract development initiative.
I need something more reliable than $_ENV[]. Not all shells export $HOSTNAME
by default.
~BAS
--
PHP General Mailing List
The one thing I was doing was:
move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path);
but nothing was happening, no new file appearing where it was supposed
to, and no error returned, left me scratching my head. (Later the same
script logs the upload to MySQL using data from
On Mon, Dec 29, 2008 at 16:26, Brian A. Seklecki
laval...@spiritual-machines.org wrote:
All:
Is anyone interested in adding POSIX 1003.1-2001 gethostname(2) support? I'm
interested in sponsoring a small contract development initiative.
I need something more reliable than $_ENV[]. Not all
Hi,
I'm executing a python script from php that runs quite a long time (15+
minutes) and ends up timing out. Is there a way I can execute the python
code and move on executing the remaining php code on the page?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mon, 2008-12-29 at 13:29 -0800, Brian Dunning wrote:
The one thing I was doing was:
move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path);
but nothing was happening, no new file appearing where it was supposed
to, and no error returned, left me scratching my head. (Later the
Hello,
on 12/27/2008 10:57 PM Murray said the following:
I'm interested in this topic as well. I'm starting out on a reasonably large
web application, and I'm wondering at the best approach in PHP, particularly
since it's been some years since I worked with PHP on a daily basis (the
last 5
2008/12/29 brad bradcau...@gmail.com:
Hi,
I'm executing a python script from php that runs quite a long time (15+
minutes) and ends up timing out. Is there a way I can execute the python
code and move on executing the remaining php code on the page?
Thanks!
Hi Brad,
It's a little tough to
On Sunday 28 December 2008 01:40:01 Michael C. Yates wrote:
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Thanks
Micheal C. Yates
Well,
I use, way
Hello,
on 12/30/2008 01:13 AM Sancar Saran said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Well,
I use, way of Rasmus (I give that name)
i tried to ping photobucket. it takes 400ms for here. i only want to
create a small gallery locally. our ISP have a very slow connection
outside our country. so i want to take advantage of any available
server here.
cloudfront nearest server in asia is in hongkong. i try to look in to it.
On
Michael C. Yates wrote:
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Thanks
Micheal C. Yates
I am an amateur programmer, so take my comments with a
On Mon, Dec 29, 2008 at 9:05 PM, Manuel Lemos mle...@acm.org wrote:
Hello,
on 12/30/2008 01:13 AM Sancar Saran said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture
Hello,
on 12/30/2008 05:07 AM Nathan Nobbe said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Well,
I use, way of Rasmus (I give that name)
45 matches
Mail list logo