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
On Mon, Dec 29, 2008 at 9:05 PM, Manuel Lemos 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 pat
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 gr
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 12/2
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 t
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
2008/12/29 brad :
> 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 say for sure si
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
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
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, Dec 29, 2008 at 16:26, Brian A. Seklecki
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 shells export
> $HOSTNAME
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 $_FIL
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 (http://www.php.n
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 data
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 (
> >
On Mon, Dec 29, 2008 at 3:18 PM, John Corry 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 General Ma
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
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
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 lit
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
On Mon, Dec 29, 2008 at 2:39 PM, dlinden 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 500 lines of that, but I'm
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;
"The Company Intranet",
"header" => "The Company Intranet",
"bottom"
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
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
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 try
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 Criteria='Cr
> 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
Or even a google search widget...
Miles Thompson wrote:
> On Mon, Dec 29, 2008 at 10:47 AM, Tiji varghese wrote:
> ht-dig (or digg)
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Dec 29, 2008 at 10:47 AM, 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
> every
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
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
On Mon, Dec 29, 2008 at 7:57 AM, Michelle Konzack
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, MYSQL_NUM
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 wrote:
Hi all
Do you know any websites for mysql question?
I do submit the mysql forum but I would like to have more to
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 MYSQ
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 rea
> 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.
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 arr
On Mon, Dec 29, 2008 at 6:28 PM, Michelle Konzack
wrote:
> Hello,
>
> In my PHP5 documetation I have installed on my system PDO is mentioned,
> but the files are missing...
>
> While surfing I have not found the PDO part which I need Off-
> Line since I am on GSM and surfing/searchin the inter
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,
> >
> > http://us.p
Hello,
In my PHP5 documetation I have installed on my system PDO is mentioned,
but the files are missing...
While surfing 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 archive
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 follow
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 ha
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
43 matches
Mail list logo