php-general Digest 26 Jan 2009 11:38:43 - Issue 5923
Topics (messages 287124 through 287138):
Re: Dirty Button
287124 by: tedd
Re: Captha Image Matching the Session Value.
287125 by: Petar Dzhambazov
287126 by: Petar Dzhambazov
287131 by: Richard Lynch
Re:
2009/1/25 Ashley Sheridan a...@ashleysheridan.co.uk
On Sun, 2009-01-25 at 15:07 -0600, Shawn McKenzie wrote:
Ashley Sheridan wrote:
Hi all,
I've run into a bit of a problem. I put together a query using mysql
variables in the form set @m:= 0; with the select that uses it directly
tedd schrieb:
At 11:56 AM +0100 1/25/09, Carlos Medina wrote:
Hi Ashley,
yes this is the right answer. The Problem is not a PHP Question but
a programming question. To be clear: i think, the Problem can you
solve, if you get two or tree books or tutorials about the programming
language. You
Hi;
I have a web server (apache 2.2 + PHP5) which process must be watched for
measuring the perf ?
Regards;
--
View this message in context:
http://www.nabble.com/profiler-web-server-tp21664121p21664121.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General
Ashley Sheridan wrote:
I've run into a bit of a problem. I put together a query using mysql
variables in the form set @m:= 0; with the select that uses it
directly after. For any wondering, the select was using it as an
incremental value which can't be hard coded, as the value will depend
on
I have a small php snippet in a page that displays the time and date. Is
there a way to have the time to update every minute so that it displays the
correct time, andnot just the time that the page was loaded?
Thanks
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
2009/1/26 Gary gwp...@ptd.net
I have a small php snippet in a page that displays the time and date. Is
there a way to have the time to update every minute so that it displays the
correct time, andnot just the time that the page was loaded?
Thanks
Gary
Hey Gary,
because of how php works
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
In case this has yet to be answered to your satisfaction...
Your page will *have* to reload when the user presses the button, but
the majority of content can look the same, except for the content
...
I'll add that if you went the JS route, then it would just be
replicating the system time, ie replicating the Windows clock. Unless
you decided to go the AJAX route (?!). But like Edmund said
(inferred), it's a waste of time (...).
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera
On Mon, Jan 26, 2009 at 9:25 AM, Paul M Foster pa...@quillandmouse.comwrote:
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
In case this has yet to be answered to your satisfaction...
Your page will *have* to reload when the user presses
Bastien Koert wrote:
On Mon, Jan 26, 2009 at 9:25 AM, Paul M Foster pa...@quillandmouse.comwrote:
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
In case this has yet to be answered to your satisfaction...
Your page will *have* to reload when the
soussou97 wrote:
Hi;
I have a web server (apache 2.2 + PHP5) which process must be watched for
measuring the perf ?
Regards;
All I see here is a statement. Do you actually have a question for us?
--
Jim Lucas
Some men are born to greatness, some achieve greatness,
and some
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Monday, January 26, 2009 9:48 AM
To: soussou97
Cc: php-general@lists.php.net
Subject: Re: [PHP] profiler web server
soussou97 wrote:
Hi;
I have a web server (apache 2.2 + PHP5) which process must be
watched
Hey,
Got a question for you guys who make a lot of personal sites.
I got a US client who wants me to make a personal site, 4-7 sections (eg:
about me, photos, whats new etc)
and have to put a yearly maintenance $$ amount...
I thought i'll make most of the stuff using php rather than plain html
Phpster wrote:
Dunno if it's a best practice, but I store all the translations in the
db for easy manipulation and extraction to a file for others to
translate. That obviously involves both import and export utilities.
Hi Bastien
interesting - does this mean you're also coding for
If you want to profile your web server, i.e artificially see what it's
like under load, then you can use a program like 'ab' on Linux which
will create the specified number of HTTP requests as if the URL was
being requested (although not all the other things like the images, .css
files, etc..)
tedd tedd.sperl...@gmail.com wrote in message
news:p06240802c5a28dd01...@[192.168.1.101]...
At 3:41 PM -0600 1/25/09, Micah Gersten wrote:
tedd wrote:
At 7:02 PM + 1/25/09, Ashley Sheridan wrote:
Tedd, what about having it reset if you then go back and select the
original option
I have just quitted from my partial time job at the company.
I did some personally sites like that for 2 banks here in Israel.
When I do something like that I usually basing the whole thing on the known
blogging platform WordPress, it has a massive power inside of it, the
templating system is
On Mon, Jan 26, 2009 at 12:21 PM, Per Jessen p...@computer.org wrote:
Phpster wrote:
Dunno if it's a best practice, but I store all the translations in the
db for easy manipulation and extraction to a file for others to
translate. That obviously involves both import and export utilities.
Depends on what they want, how much time it'll take you (and thus how
experienced you are at PHP), and how much code you can re-use.
Break it down a bit. You'll probably want PHP to do a few things. It'll
probably generate the main navigation when you view the page, that's one
section.
You'll
On Mon, Jan 26, 2009 at 12:39 PM, Nitsan Bin-Nun nitsa...@gmail.com wrote:
I have just quitted from my partial time job at the company.
I did some personally sites like that for 2 banks here in Israel.
When I do something like that I usually basing the whole thing on the known
blogging
-Original Message-
From: Bastien Koert [mailto:phps...@gmail.com]
Sent: Monday, January 26, 2009 12:23 PM
To: Per Jessen
Cc: php-general@lists.php.net
Subject: Re: [PHP] best practice wrt multi-lingual websites, gettext()
etc.
---8---
At work, we don't use gettext() since :
a)
Paul M Foster wrote:
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
In case this has yet to be answered to your satisfaction...
Your page will *have* to reload when the user presses the button, but
the majority of content can look the
Hello,
Is there a way to be sure that a website is going to be accessed only by
traditional browsers and not from another
software that send to the server the same headers of any of the traditional
browsers?
For example, supose that i only want to give access to my site users from
firefox, ie,
I like the idea of not updating the content straight away (as the user
might not want to see it updated), but depending on the situation I
would personally make the submit button look grey and inactive unless
they've changed something in which case it'll be normal and (black).
Although actually
On Mon, 2009-01-26 at 13:04 -0600, R B wrote:
Hello,
Is there a way to be sure that a website is going to be accessed only by
traditional browsers and not from another
software that send to the server the same headers of any of the traditional
browsers?
For example, supose that i only want
Hi all,
Sequence:
Form1: Display fields for user to input data and submit.
Form2: Show user the information they input on form1 and allow them to
print or email this form.
I inherited the scripts above. The second script displays the results in
the browser and also writes a file on the server
On Mon, Jan 26, 2009 at 4:13 PM, Robert Cummings rob...@interjinn.comwrote:
On Mon, 2009-01-26 at 13:04 -0600, R B wrote:
Hello,
Is there a way to be sure that a website is going to be accessed only by
traditional browsers and not from another
software that send to the server the same
Karyn Stump wrote:
Hi all,
Sequence:
Form1: Display fields for user to input data and submit.
Form2: Show user the information they input on form1 and allow them to
print or email this form.
I inherited the scripts above. The second script displays the results in
the browser and
2009/1/26 R B rbp...@gmail.com:
Is there a way to be sure that a website is going to be accessed only by
traditional browsers and not from another
software that send to the server the same headers of any of the traditional
browsers?
For example, supose that i only want to give access to my
On Mon, Jan 26, 2009 at 2:05 PM, Michael Kubler
greyphoenixproducti...@gmail.com wrote:
I like the idea of not updating the content straight away (as the user might
not want to see it updated), but depending on the situation I would
personally make the submit button look grey and inactive
On Mon, Jan 26, 2009 at 2:14 PM, Thiago H. Pojda thiago.po...@gmail.com wrote:
On Mon, Jan 26, 2009 at 4:13 PM, Robert Cummings rob...@interjinn.comwrote:
On Mon, 2009-01-26 at 13:04 -0600, R B wrote:
Hello,
Is there a way to be sure that a website is going to be accessed only by
On Mon, 2009-01-26 at 15:06 -0500, Andrew Ballard wrote:
On Mon, Jan 26, 2009 at 2:14 PM, Thiago H. Pojda thiago.po...@gmail.com
wrote:
On Mon, Jan 26, 2009 at 4:13 PM, Robert Cummings
rob...@interjinn.comwrote:
On Mon, 2009-01-26 at 13:04 -0600, R B wrote:
Hello,
Is there a
- Original Message -
From: Stuart stut...@gmail.com
To: R B rbp...@gmail.com
Cc: PHP List php-general@lists.php.net
Date: Mon, 26 Jan 2009 19:53:17 +
Subject: Re: [PHP] Non-traditional software accessing my website
2009/1/26 R B rbp...@gmail.com:
Is there a way to be sure that a
I am a new user of PHP, and am using Dreamweaver CS3 for the webpages. The
following page has my form but the submit button is not working properly.
http://www.richlandmtg.com/contacts.html
What code is needed and where does it get placed in the page.? I thought CS3
took care of this.
Any
On Mon, Jan 26, 2009 at 15:57, Tom obeli...@comcast.net wrote:
I am a new user of PHP, and am using Dreamweaver CS3 for the webpages. The
following page has my form but the submit button is not working properly.
http://www.richlandmtg.com/contacts.html
What code is needed and where does it get
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set up
don't I? What do you suggest?
T
Daniel Brown danbr...@php.net wrote in message
I'll add that if you went the JS route, then it would just be
replicating the system time, ie replicating the Windows clock.
Actually, I did this thing once where I included the server time from PHP in
the JS, then calculate the difference, then use JS to show the actual current
time by
On Mon, 2009-01-26 at 21:13 +, c...@l-i-e.com wrote:
I'll add that if you went the JS route, then it would just be
replicating the system time, ie replicating the Windows clock.
Actually, I did this thing once where I included the server time from PHP in
the JS, then calculate the
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set up
don't I? What do you suggest?
T
Daniel Brown danbr...@php.net wrote in message
Hey,
Thanks everyone for replying, I really appreciate your input.
One thing you forgot to mention, how much would it be for maintenance per
year?
Feel free to add anything you think you might have forgotten in your first
emails to me.
@ Nitsan, I did some personally sites like that for 2
On Mon, Jan 26, 2009 at 4:24 PM, Ryan S gen...@yahoo.com wrote:
Hey,
Thanks everyone for replying, I really appreciate your input.
One thing you forgot to mention, how much would it be for maintenance per
year?
Feel free to add anything you think you might have forgotten in your first
2009/1/26 Ryan S gen...@yahoo.com:
One thing you forgot to mention, how much would it be for maintenance per
year?
Feel free to add anything you think you might have forgotten in your first
emails to me.
Depends what you mean by maintenance. Will you be updating the site
for them often?
To
Shawn McKenzie wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set
up
don't I? What do you suggest?
T
Daniel Brown
On Mon, Jan 26, 2009 at 12:53:55PM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
Please show me how *without Javascript* and *only with PHP* you can
change the content on a page interactively as the user described
*without* reloading the whole page. Xajax contains Javascript,
Kevin,
Your link, with some modifications to fit my site layout, worked just as I
was hoping for.
Thank you very much.
--
Kevin Waterson ke...@phpro.org wrote in message
news:20090126092451.7aab63ff.ke...@phpro.org...
Sorry, I am also new to the etiquette of these mail lists.
Hope this
Tom wrote:
Shawn McKenzie wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set
up
don't I? What do you suggest?
T
Daniel
Dear responders,
I was not sure which post was the best to respond to all of you so I chose
the original.
I wanted to thank you all for taking the time to try and help answer my
question. I truly appreciate it.
For the record, I have a PHP book and I understand (I think) all the
variables,
On Mon, Jan 26, 2009 at 16:34, Tom obeli...@comcast.net wrote:
Shawn,
So would that look something like this:
?
if ($_SERVER['REQUEST_METHOD'] == POST) {
// Just to be safe, I strip out HTML tags
$realname = strip_tags($realname);
$email = strip_tags($email);
$feedback =
Tom wrote:
Shawn McKenzie wrote in message
news:a0.87.62571.3d92e...@pb1.pair.com...
Tom wrote:
My Hosting site said that I needed to include the PHP otherwise the form
won't work. I need to know where to include my email info to get this set
up
don't I? What do you suggest?
T
Daniel
Paul M Foster wrote:
On Mon, Jan 26, 2009 at 12:53:55PM -0600, Micah Gersten wrote:
Paul M Foster wrote:
snip
Please show me how *without Javascript* and *only with PHP* you can
change the content on a page interactively as the user described
*without* reloading the whole
Daniel Brown danbr...@php.net wrote in message
news:ab5568160901261347h1dab427bo29a1313494cd...@mail.gmail.com...
On Mon, Jan 26, 2009 at 16:34, Tom obeli...@comcast.net wrote:
Shawn,
So would that look something like this:
?
if ($_SERVER['REQUEST_METHOD'] == POST) {
// Just to be safe,
On Mon, Jan 19, 2009 at 04:45:08PM -0500, Christopher W wrote:
Dear responders,
I was not sure which post was the best to respond to all of you so I chose
the original.
I wanted to thank you all for taking the time to try and help answer my
question. I truly appreciate it.
For the
This extension does not have to be installed. If your server is running
php5, then this extension is installed
No it's not. The mysql extension no longer ships with php by default,
you have to build it when you ./configure or install the external
php-mysql package (depending on your o/s
Shawn McKenzie wrote:
Tom Scott wrote:
- Original Message - From: Shawn McKenzie
nos...@mckenzies.net
Newsgroups: php.general
To: php-general@lists.php.net
Sent: Monday, January 26, 2009 3:52 PM
Subject: Re: [PHP] Coding for email response forms
Tom wrote:
Shawn McKenzie
Shawn McKenzie sh...@mckenzies.net wrote in message
news:497e3ab9.2060...@mckenzies.net...
Shawn McKenzie wrote:
Tom Scott wrote:
- Original Message - From: Shawn McKenzie
nos...@mckenzies.net
Newsgroups: php.general
To: php-general@lists.php.net
Sent: Monday, January 26, 2009
On Mon, Jan 26, 2009 at 4:47 PM, Daniel Brown danbr...@php.net wrote:
On Mon, Jan 26, 2009 at 16:34, Tom obeli...@comcast.net wrote:
Shawn,
So would that look something like this:
?
if ($_SERVER['REQUEST_METHOD'] == POST) {
// Just to be safe, I strip out HTML tags
$realname =
Eric Butera eric.but...@gmail.com wrote in message
news:6a8639eb0901261509s1008e1b1j89c2a8f63669e...@mail.gmail.com...
On Mon, Jan 26, 2009 at 4:47 PM, Daniel Brown danbr...@php.net wrote:
On Mon, Jan 26, 2009 at 16:34, Tom obeli...@comcast.net wrote:
Shawn,
So would that look something
I'm using an OnClick routine to set a session variable before I go
to another page.
onClick=?php $_SESSION['local_part']= 'rick'; ? works fine but I
need a variable where rick is
I've tried
onClick=?php $_SESSION['local_part']= $local_part; ?
and other variations but it doesn't work.
Can
2009/1/26 Tom obeli...@comcast.net
Shawn McKenzie sh...@mckenzies.net wrote in message
news:497e3ab9.2060...@mckenzies.net...
Shawn McKenzie wrote:
Tom Scott wrote:
- Original Message - From: Shawn McKenzie
nos...@mckenzies.net
Newsgroups: php.general
To:
2009/1/26 Chris dmag...@gmail.com
This extension does not have to be installed. If your server is running
php5, then this extension is installed
No it's not. The mysql extension no longer ships with php by default, you
have to build it when you ./configure or install the external
Ro Achterberg wrote:
Hi,
I'm attempting to install PHP 5.2.8 on CentOS 5.2 x86_64. The glibc iconv
doesn't seem to function very well, leading to a bunch of failed tests when
running 'make test' (see below). After a bit of Googling I stumbled upon
http://nl2.php.net/manual/en/intro.iconv.php
Per Jessen wrote:
Ashley Sheridan wrote:
I've run into a bit of a problem. I put together a query using mysql
variables in the form set @m:= 0; with the select that uses it
directly after. For any wondering, the select was using it as an
incremental value which can't be hard coded, as the
Rick Duval wrote:
I'm using an OnClick routine to set a session variable before I go
to another page.
onClick=?php $_SESSION['local_part']= 'rick'; ? works fine but I
need a variable where rick is
I've tried
onClick=?php $_SESSION['local_part']= $local_part; ?
and other variations but it
Greetings, all. I am looking for feedback on a documentation question, in the
hopes that someone else has found a good solution to an abnormal situation.
We're in the process of introducing OOP syntax to a large procedural code
base. Our developer base is a mixture of people who are
Ashley Sheridan wrote:
On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote:
That's why I am sending this email only to people I know and care
about.
And they send to a mailing list. Come again?
So Funny, they went through all the trouble of signing up, unless hey
have bots now
66 matches
Mail list logo