php-general Digest 13 Dec 2007 17:02:43 - Issue 5179
Topics (messages 265823 through 265843):
Re: Generating Random Numbers with Normal Distribution
265823 by: Robert Cummings
265824 by: Robert Cummings
265829 by: Jochem Maas
265835 by: Jay Blanchard
Session
php-general Digest 14 Dec 2007 05:13:25 - Issue 5180
Topics (messages 265844 through 265857):
Re: Session timeout
265844 by: Richard Heyes
Re: temp tables mysql OT
265845 by: Zoltán Németh
Re: safe_mode_include_dir
265846 by: Nisse Engström
265847 by:
Robert Cummings wrote:
On Wed, 2007-12-12 at 16:21 -0500, tedd wrote:
At 3:35 PM -0500 12/12/07, Robert Cummings wrote:
On Wed, 2007-12-12 at 13:16 -0500, tedd wrote:
At 10:17 AM -0500 12/12/07, Robert Cummings wrote:
In my ancient past I worked with a x-ray detector and we simply
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
Hi gang:
Another mysql question.
I would like to create a temporary table to perform searches.
From my main table, I need to exclude records that have certain
fields that are null or empty; and then sort the final result.
why
Hi all!
I've read a bit about PHP session timeout. Is it configurable?? I mean,
If i want user logged out after 10 minutes of innactivity... where i can
to set it up?? Is it possible to expire session configuring php.ini.
I know i will have to write code to do whatever when the session
I've read a bit about PHP session timeout. Is it configurable?? I mean,
If i want user logged out after 10 minutes of innactivity... where i can
to set it up?? Is it possible to expire session configuring php.ini.
I know i will have to write code to do whatever when the session expires...
There are various configuration options for this (which you change in
the php.ini or by using the ini_set() function):
session.gc_maxlifetime
session.cookie_lifetime
Before sending my first mail, i've changed those parameters... and
nothing seems to change. I set up also
There are various configuration options for this (which you change in
the php.ini or by using the ini_set() function):
session.gc_maxlifetime
session.cookie_lifetime
Before sending my first mail, i've changed those parameters... and
nothing seems to change. I set up also
At 12:20 PM +0100 12/13/07, Zoltán Németh wrote:
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
I would like to create a temporary table to perform searches.
From my main table, I need to exclude records that have certain
fields that are null or empty; and then sort the final
On Thu, 2007-12-13 at 10:14 -0500, tedd wrote:
At 12:20 PM +0100 12/13/07, Zoltán Németh wrote:
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
I would like to create a temporary table to perform searches.
From my main table, I need to exclude records that have certain
[snip]
Where's Crayon?
[/snip]
Steel Cage Death Match with Brad.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Dec 12, 2007, at 7:20 PM, Casey wrote:
Try gzuncompress();
Correct me if I'm wrong, but isn't gzuncompress used for 'gzip'
files? Although they both use the same compression, gzip is specific
to files and has header information not present in straight zlib
data. And as I've
On Dec 13, 2007 10:14 AM, tedd [EMAIL PROTECTED] wrote:
At 12:20 PM +0100 12/13/07, Zoltán Németh wrote:
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
I would like to create a temporary table to perform searches.
From my main table, I need to exclude records that have
On 12/13/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Thu, 2007-12-13 at 10:14 -0500, tedd wrote:
At 12:20 PM +0100 12/13/07, Zoltán Németh wrote:
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
I would like to create a temporary table to perform searches.
From my
On Dec 13, 2007 10:37 AM, Daniel Brown [EMAIL PROTECTED] wrote:
?
// Put DB and config includes here.
$sql = SELECT * FROM prod_table WHERE product_name != '' ORDER BY
product_id;
$result = mysql_query($sql) or die(mysql_error());
while($row = mysql_fetch_array($result)) {
$ssql =
You could always just set you own cookie that expires after 10 min. Have your
script redirect to a login page if the cookie has expired or reset the cookie
if its still valid.
- Original Message -
From: Dani Castaños [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday,
You can simulate that, because not always you'll be able to do init_set
You can save in a session var the TTL (time to live)
$_SESSION['TTL'] = time() + TIMEOUT;
Then before do anything you see if the session is still valid
if ( $_SESSION['TTL'] time() ) close_session();
I hope this be
You can simulate that, because not always you'll be able to do init_set
ini_set(), and when?
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **
--
2007. 12. 13, csütörtök keltezéssel 10.14-kor tedd ezt írta:
At 12:20 PM +0100 12/13/07, Zoltán Németh wrote:
2007. 12. 12, szerda keltezéssel 20.13-kor tedd ezt írta:
I would like to create a temporary table to perform searches.
From my main table, I need to exclude records that have
On Wed, 12 Dec 2007 15:43:28 -0500, Daniel Brown wrote:
Is there a specific reason you're using require_once() instead of
include_once() ? There actually is a difference include() and
include_once() will only include the file if that line of code is
executed, whereas require() and
On Dec 13, 2007 2:49 PM, Nisse Engström [EMAIL PROTECTED] wrote:
On Wed, 12 Dec 2007 15:43:28 -0500, Daniel Brown wrote:
Is there a specific reason you're using require_once() instead of
include_once() ? There actually is a difference include() and
include_once() will only include
No luck with these solutions. What does work is:
require_once(dirname(__FILE__) . '/../php/support.php');
but I still don't understand why the relative link doesn't work.
On Dec 12, 2007 6:38 PM, Andrés Robinet [EMAIL PROTECTED] wrote:
-Original Message-
From: Tony Beyers
-Original Message-
From: Tony Beyers [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 13, 2007 4:56 PM
To: PHP General list
Subject: Re: [PHP] safe_mode_include_dir
No luck with these solutions. What does work is:
require_once(dirname(__FILE__) . '/../php/support.php');
Hi,
I have a web site where the customer can look for some info based on a
destination either by making a click on a link or entering the destination
name in a field in a html form
What is the best way to store that sort of info ? meaning that I want to
store the event of making a click on a
How do you upload a file using PHP? Also what is the web page which
describes the procedure on php.net ? Thanks, Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try checking out this manual page:
http://us3.php.net/features.file-upload
It includes pretty much everything you'll need to know.
--Ben
On Dec 13, 2007 9:03 PM, Ron Piggott [EMAIL PROTECTED] wrote:
How do you upload a file using PHP? Also what is the web page which
describes the procedure on
Hi Ron,
http://www.php.net/manual/en/features.file-upload.php is the page
its pretty simple
Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 13
Dec 2007 21:03:00 -0500 Subject: [PHP] Uploading a file through PHP form
How do you upload a file using PHP? Also what
Database...in either case the data that is being searched on makes it to the
server...just store the search term in a table in the db
bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Sat, 17
Nov 2007 19:40:14 -0600 Subject: [PHP] Gathering data Hi, I have a web
site
On Dec 6, 2007 10:33 PM, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, December 4, 2007 7:41 pm, Kevin Schmeichel wrote:
Here's some unexpected behavior:
?php
// ? what?
?
This will output what? - I expected no output, as is the case if the
inline comment was a /* */ comment.
Hi Eduardo,
From your requirement I understand you need a website with php and
mysql support. If you want to track or search something you need to store
the data in a database or some where else like txt file or xml file/
--
Regards,
Johny
www.phpshore.com
On Dec 13, 2007 7:44 AM, Bob Sabiston [EMAIL PROTECTED] wrote:
On Dec 12, 2007, at 7:20 PM, Casey wrote:
Try gzuncompress();
Correct me if I'm wrong, but isn't gzuncompress used for 'gzip'
files? Although they both use the same compression, gzip is specific
to files and has header
Hi,
I'm using php 5.2.1 with apache 2.2.6 and while running certain tests I see
a segmentation fault - the relevant stack is given below. My php configure
line is as follows
configure '--prefix=/my/php/installdir' *'--with-tsrm-pthreads' *'--with-ldap'
*'--enable-maintainer-zts'*
I'm battling with getting the last week number using date(W, $unixdate). If
the date is 30 December 2007 ($unixdate=1198965600) then date(W, $unixdate)
returns 01. I know that according to the ISO spec, the last week of the ISO
year has 28 December in it, so in this particular case the last week
33 matches
Mail list logo