hi,
maybe my question is not exactly for php list, but since php IS involved and
since you are such a great people, I hope the question will not disturb you :D
I have a project for one electric wholesale store to build a web site. it has
to be dynamic, php, database driven web site.
it will
--- Per Jessen [EMAIL PROTECTED] wrote:
Lamp Lists wrote:
now, I didn't have such a big project on side
ever. and I by default
ALWAY suck in calculations how much time I need
for a project and what
to charge. I think I need about 120 hrs (3 weeks)
to build this baby
(without design
--- tedd [EMAIL PROTECTED] wrote:
At 7:06 AM -0800 3/8/08, Lamp Lists wrote:
That's actually part I'm interested the most :D
What
is reasonable? Is reasonable for sucha project with
complex product catalog and ordering system ask
$10K?
I think that's reasonable, because I've done
hi to all!
on one eZine site, I have to show when the article is posted but as
difference from NOW. like posted 32 minutes ago, or posted 5 days ago.
is there already sucha php/mysql function?
thanks.
-ll
-
Never miss a thing. Make
the way I solved the click back button issue (simplified vresion):
confirmation page (conf.php) - transfer page (tp.php) - thank you page
(typ.php)
#conf.php
# after the form is submitted and confirmed
header('location: tp.php?url=typ.php');
exit;
#tp.php
header('location:$_GET['url']);
exit;
opinions of good book is almost the same as opinion of good car.
I can suggest you to go to barnes and noble or borders or any other bookstore,
buy cup of coffee or tea, grab all php books from shelf and read some chapters.
you are no going to learn anything, rather to compare styles. some
- Original Message
From: Eric Butera [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Cc: tedd [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Thursday, March 20, 2008 11:00:19 AM
Subject: Re: [PHP] Double click problem
On Thu, Mar 20, 2008 at 10:39 AM, Lamp Lists [EMAIL PROTECTED
hi,
I saw several times that some people use this
$parameters = array(
'param1' = {$_POST[param1]},
'param2' = {$_POST[param2]}
);
or
$query = mysql_query(SELECT * FROM table1 WHERE id='{$session_id}');
I would use:
$parameters = array(
'param1' = $_POST[param1],
'param2' =
- Original Message
From: Nathan Nobbe [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Thursday, March 20, 2008 11:35:42 AM
Subject: Re: [PHP] why use {} around vraiable?
On Thu, Mar 20, 2008 at 12:22 PM, Lamp Lists [EMAIL PROTECTED] wrote:
hi,
I
- Original Message
From: Paul Novitski [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, March 25, 2008 3:05:43 PM
Subject: Re: [PHP] losing session in new window (IE only) [WAS: loosing...]
At 3/25/2008 12:49 PM, Lamp Lists wrote:
i have a list of people on one page. each
hi,
i have a list of people on one page. each row, on the end has link a
href=person.php?id=123 target=_blankview details/a.
it's requested to open detail page in new window.
very few people complained they can't open detail page. all of them use IE.
I wasn't able to reproduce the error, though
- Original Message
From: Andrew Ballard [EMAIL PROTECTED]
To: PHP General list php-general@lists.php.net
Sent: Tuesday, March 25, 2008 3:41:35 PM
Subject: Re: [PHP] loosing session in new window (IE only)
On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists [EMAIL PROTECTED] wrote:
hi,
i have
- Original Message
From: Hélio Rocha [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 5:14:40 AM
Subject: Re: [PHP] loosing session in new window (IE only)
If u open the link in the same window, what's the behaviour?
On Tue, Mar 25, 2008 at 7:49 PM
- Original Message
From: Hélio Rocha [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 5:14:40 AM
Subject: Re: [PHP] loosing session in new window (IE only)
If u open the link in the same window, what's the behaviour?
On Tue, Mar 25, 2008 at 7:49 PM
--- Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, March 25, 2008 4:07 pm, Lamp Lists wrote:
- Original Message
From: Andrew Ballard [EMAIL PROTECTED]
To: PHP General list php-general@lists.php.net
Sent: Tuesday, March 25, 2008 3:41:35 PM
Subject: Re: [PHP] loosing session
do not laugh, but I discovered today function
extract(); :D
before I used:
foreach ($array as $key = $value)
{
${$key} = trim($value);
}
though, trimming $value is kind of important to me
and I would like to know if extract trims too?
thanks.
-ll
- Original Message
From: Stut [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Cc: php General list php-general@lists.php.net
Sent: Friday, March 28, 2008 4:02:27 PM
Subject: Re: [PHP] does function extract() trim?
On 28 Mar 2008, at 20:59, Lamp Lists wrote:
do not laugh, but I
- Original Message
From: Stut [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Cc: php General list php-general@lists.php.net
Sent: Friday, March 28, 2008 4:22:25 PM
Subject: Re: [PHP] does function extract() trim?
On 28 Mar 2008, at 21:14, Lamp Lists wrote:
- Original Message
posts.
-ll
- Original Message
From: Stefan Langwald [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, March 26, 2008 9:20:33 AM
Subject: Re: [PHP] loosing session in new window (IE only)
href=person.php?id=123SESSIONID=... maybe.. ev0l but works..
2008/3/26, Lamp Lists
Hi,
Right now I use one file, usually called functions.php, with all functions I'm
going to use most likely on every page.
Then, I create each function I'm going to use once in a while as separate file.
Pro: I would include a function when I'm going to use.
Con: I have to write extra include line
I'm reading Essential PHP Security by Chris Shiflett.
on the very beginning, page 5 6, if I got it correct, he said this is not
good:
$search = isset($_GET['search']) ? $_GET['search'] : '';
and this is good:
$search = '';
if (isset($_GET['search']))
{
$search = $_GET['search'];
}
- Original Message
From: tedd [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Monday, October 20, 2008 8:25:50 AM
Subject: Re: [PHP] what's the difference in the following code?
At 10:58 AM -0700 10/17/08, Lamp Lists wrote:
I'm reading Essential PHP
- Original Message
From: tedd [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Monday, October 20, 2008 4:15:02 PM
Subject: Re: [PHP] what's the difference in the following code?
At 10:12 AM -0400 10/20/08, Daniel Brown wrote:
On Mon, Oct 20, 2008 at 10:02 AM, tedd [EMAIL
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
register_globals was on by default.
hosting company upgraded server to php5/mysql5 and turned globals off. the site
is doesn't work any more.
I can define globals on again in .htaccess but rather not because it
From: Stuart stut...@gmail.com
To: lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Wednesday, January 7, 2009 8:29:48 AM
Subject: Re: [PHP] redoing website after 7 years
2009/1/7 Lamp Lists lamp.li...@yahoo.com:
hi guys,
I did php/mysql based website
From: Al n...@ridersite.org
To: php-general@lists.php.net
Sent: Thursday, January 8, 2009 11:50:26 AM
Subject: [PHP] Re: redoing website after 7 years
Lamp Lists wrote:
hi guys,
I did php/mysql based website for one my client 7 years ago, in time when
I think I did code well (everybody can say the code is 100% proof - until get
hacked ;-)) and never, for these 7 years had problems. And I'm sure the site
will be just ok if I switch register_globals back to On through .htaccess.
Actually, I offered the client 3 options: 1. redo the website
From: Jim Lucas li...@cmsws.com
To: Robert Cummings rob...@interjinn.com
Cc: Nathan Rixham nrix...@gmail.com; Richard Heyes rich...@php.net;
lamp.li...@yahoo.com; php-general@lists.php.net php-general@lists.php.net
Sent: Thursday, January 8, 2009 10:51:32 AM
hi,
as far as I know (at least I was told so) html page will download faster then
the same page made with php getting the same info from mysql, right?
let's pretend we are building php/mysq based website of one football team.
there are pages of every player, about the team, games etc.
in admin
From: Ashley Sheridan a...@ashleysheridan.co.uk
To: Lamp Lists lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Wednesday, January 14, 2009 4:47:28 PM
Subject: Re: [PHP] HTML pages are faster then php?
On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote
hi to all!
actually, the statement in the Subject line is not 100% correct. I understand
the purpose and how it works (at least I think I understand :-)) but to me it's
so complicated way?
let's take a look in example from php.net(http://us3.php.net/try)
?php
function inverse($x) {
if
From: Kyle Smith kyle.sm...@inforonics.com
To: Lamp Lists lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Monday, April 13, 2009 9:52:36 AM
Subject: Re: [PHP] try - catch is not so clear to me...
Lamp Lists wrote:
hi to all!
actually, the statement
From: Lamp Lists lamp.li...@yahoo.com
To: php-general@lists.php.net
Sent: Monday, April 13, 2009 9:29:16 AM
Subject: [PHP] try - catch is not so clear to me...
hi to all!
actually, the statement in the Subject line is not 100% correct. I understand
From: Marc Steinert li...@bithub.net
To: Lamp Lists lamp.li...@yahoo.com
Cc: php-general@lists.php.net
Sent: Monday, April 13, 2009 11:27:08 AM
Subject: Re: [PHP] try - catch is not so clear to me...
Basically try-catch gives you the ability to handle errors
From: Bastien Koert phps...@gmail.com
To: Lamp Lists lamp.li...@yahoo.com
Cc: Marc Steinert li...@bithub.net; php-general@lists.php.net
Sent: Tuesday, April 14, 2009 8:11:04 AM
Subject: Re: [PHP] try - catch is not so clear to me...
On Mon, Apr 13, 2009 at 11
to upload an image for a photo gallery (my own code) I have to have permission
for the directory images 0777.
but having permission for a directory 0777 is REALLY bad idea, isn't it?
I'm owner of the directory (lamp:lamp images).
what to do to set my code has permission to upload an image into
From: Phpster phps...@gmail.com
To: Lamp Lists lamp.li...@yahoo.com
Cc: php-general@lists.php.net php-general@lists.php.net
Sent: Wednesday, June 3, 2009 8:30:05 PM
Subject: Re: [PHP] how to manage permissions for file uploader
This is fairly simple to do
37 matches
Mail list logo