On 10/23/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-10-23 at 17:34 +0200, Julien Pauli wrote:
?php
echo coucou . print('v ' . print('u ' . print('toctoc ') . 'hihi
') ) .
'tata ' . print('zozo ' . print('pupu '));
That's not cool, that's a mess. Why doe sit happen the
On 10/23/07, tedd [EMAIL PROTECTED] wrote:
At 12:01 PM -0500 10/22/07, Adam Williams wrote:
I have an html page with checkboxes:
form action=mailform2.php method=POST
input type=checkbox name=option[] value=Modern MississippiModern
Mississippibr
input type=checkbox name=option[]
On 10/23/07, Robert Cummings [EMAIL PROTECTED] wrote:
My bad, print is not a function, and so:
print( 'toctoc ' ).'hihi ';
is equivalent to:
print( 'tocktoc '.'hihi ' );
Ah. I see. I knew they were optional, but I didn't know that when you
include them PHP evaluates ('toctoc')
How big is the file? fgetcsv() will read any file that you can get a
handle to using fopen() or fsockopen(), including remote files.
However, if allow_url_fopen is not enabled, you can't use fopen().
Also if the file is so large that your script is timing out while
waiting for it to be uploaded,
On 10/24/07, Jon Westcot [EMAIL PROTECTED] wrote:
The test file that I'm using -- which probably is a small version of the
normal file -- is around 60 MB in size (just under 30,000 records).
That sounds like a rather large file to process anyway. You might need
to use some scheduled task
This should work:
ORDER BY CASE WHEN id = 3 THEN 0 ELSE 1 END, name
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10/31/07, Jake [EMAIL PROTECTED] wrote:
What is a =20 at the end of a line in an email?
It is a space character when the message is encoded using
quoted-printable encoding.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Nov 2, 2007 10:41 AM, afan pasalic [EMAIL PROTECTED] wrote:
...is there any suggestion for the process of inserting up to 5K records at
the time ...
Is it possible to save your data to a text file and then use one of
MySQL's built-in import queries? (I know in some situations it isn't
an
On Nov 7, 2007 5:22 PM, Joey [EMAIL PROTECTED] wrote:
I have a situation where I am storing data to a blob field. Everything works
in respect to in and out of the DB, however when we type in a link like so
HYPERLINK
http://www.abc.com/subfolder/folder2/http://www.abc.com/subfolder/folder2/
Ronald,
On Nov 9, 2007 9:05 PM, Ronald Wiplinger [EMAIL PROTECTED] wrote:
I tried to use echo statements for debugging and found that it seems I
do not get the information of require().
What do I need to change?
I'm not sure what error you're getting, but I would guess it can't
find the
On Nov 10, 2007 12:56 AM, Ronald Wiplinger [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
Ronald,
On Nov 9, 2007 9:05 PM, Ronald Wiplinger [EMAIL PROTECTED] wrote:
I tried to use echo statements for debugging and found that it seems I
do not get the information of require().
What do I
On Nov 16, 2007 10:30 AM, Peter Ford [EMAIL PROTECTED] wrote:
I was all ready to jump on Point #6 to disagree until I read the
next paragraph, updating that with the correct information. PHP can
find out the OS of the system on which the browser is running.
Strictly speaking, PHP
On Nov 24, 2007 2:32 AM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi all:
For those who've been following the saga, I'm working on an application
that needs to load
a data file consisting of approximately 29,000 to 35,000 records in it (and
not short ones,
either) into several tables.
On Dec 1, 2007 11:30 AM, tedd [EMAIL PROTECTED] wrote:
At 7:10 AM -0500 12/1/07, Christoph Boget wrote:
Why does
sprintf( '%.03f', 0.1525 )
return 0.152 while
sprintf( '%.03f', 0.1575 )
return 0.158?
The 4th significant digit in both cases is '5' but in the first case,
On Dec 3, 2007 10:56 AM, John Taylor-Johnston
[EMAIL PROTECTED] wrote:
Is there a calculation function?
I'm using an e-commerce shopping cart. I want to tweak the code. The
author is using a varchar(100) field to store prices.
Taking advantage of there being a varchar, instead of entering a
On Dec 3, 2007 3:29 PM, tedd [EMAIL PROTECTED] wrote:
At 2:04 PM -0500 12/3/07, Andrew Ballard wrote:
Oh, man I'm having flashbacks to a flame war that broke out on a
SQL Server board I read related to bankers rounding versus
traditional rounding and which was more correct or accurate
On Dec 3, 2007 7:37 AM, Emil Edeholt [EMAIL PROTECTED] wrote:
Hi,
I'm about to add some simple calendar functions to my application, and
I'm thinking of how I should implement recurring events. Are there one
standard way most people use that works well? I guess you have some kind
of emitter
On Dec 5, 2007 6:09 AM, Richard Heyes [EMAIL PROTECTED] wrote:
There is not much simple about a calendar, especially when you start
dealing with recurring events. How far into the future your calendar
allow events to recur will depend at least in part on how you intend
to store them. For
On Dec 6, 2007 1:38 PM, Afan Pasalic [EMAIL PROTECTED] wrote:
hi,
I use the code from
http://www.php.net/manual/en/function.mysql-fetch-field
(example #1)
I'm getting everything I need but can't recognize if the column is
ENUM() type?
e.g. column status is ENUM('0','1') or
On Dec 11, 2007 12:20 PM, Richard Lynch [EMAIL PROTECTED] wrote:
PS
GMail will not accept \r\n between header lines, only \n
I dunno if RFC822 specifies which ending but I *do* know that this
breaks the current PEAR mimePart.php code.
Editing the code to hack \r\n to just \n for the _CRLF
On Dec 12, 2007 11:39 AM, slith [EMAIL PROTECTED] wrote:
I'm working on hotel type booking script where prices will vary
depending on the season. prices are updated every year so i need to take
a user inputed date and determine which season the date falls under.
i figured i can convert all
On Dec 14, 2007 3:02 AM, Arno Kuhl [EMAIL PROTECTED] wrote:
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
On Dec 14, 2007 3:49 PM, David Giragosian [EMAIL PROTECTED] wrote:
On 12/14/07, Jason Pruim [EMAIL PROTECTED] wrote:
On Dec 14, 2007, at 3:37 PM, Daniel Brown wrote:
On Dec 14, 2007 3:32 PM, David Giragosian [EMAIL PROTECTED]
wrote:
I've used Richard Lynch's Blog example for
On Dec 18, 2007 6:05 AM, Zoran Bogdanov [EMAIL PROTECTED] wrote:
Hi,
Is it possible to track how long has a single visitor been on my site?
example: I go to www.somesite.com at 5.am and I exit the page (close my
browser or just go to another site) at 6.am. How do i track that 1 hour
period
On Dec 18, 2007 4:58 PM, Jim Webber [EMAIL PROTECTED] wrote:
Hello I have a PHP4 server and I'm trying to figure out how to do
implements on classes. Is there an analogous way to do this without
PHP5 installed?
It isn't inheritance in the same sense as PHP5, but you can use the
On Dec 19, 2007 11:53 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Dec 19, 2007 11:18 AM, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, December 19, 2007 9:31 am, Richard Heyes wrote:
I think that any MTA or client that doesn't work with the
Reply-To header isn't worth beans.
On Jan 8, 2008 8:58 PM, Shelley Shyan [EMAIL PROTECTED] wrote:
Did you check that you have enabled MSSQL extension?
That is,
On XP system, you should have this line 'extension=php_msql.dll' in php.ini
file and the leading ';' be removed.
On Ubuntu, you should also install mssql extension,
On Jan 15, 2008 11:25 AM, Adam Williams [EMAIL PROTECTED] wrote:
Thanks, I think I have it:
$dateexplode = explode(-, $_POST[date_entered]);
if (!preg_match(/^(\d{2})$/, $dateexplode[0],$data1) ||
!preg_match(/^(\d{2})$/, $dateexplode[1],$data2) ||
!preg_match(/^(\d{4})$/,
On Jan 15, 2008 11:51 AM, Adam Williams [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
Just curious why you won't take 1-15-2008. Once you validate it, you
can always assign it to a variable as either a timestamp or a DateTime
object and then format it however you want when you display
On Jan 15, 2008 1:31 PM, Adam Williams [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
All the more reason I would turn it into a timestamp or DateTime
object in PHP first. That will prevent trying to insert something like
what I used above. Then I would get rid of the MySQL STR_TO_DATE
On Jan 15, 2008 2:05 PM, Brady Mitchell [EMAIL PROTECTED] wrote:
I'm having users enter dates in MM-DD- format. is there a way
to check if what they have entered is invalid (like if they enter
1-15-2008 instead of 01-15-2008) ?
Why not use something like
On Jan 15, 2008 2:38 PM, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, January 15, 2008 12:31 pm, Adam Williams wrote:
Andrew Ballard wrote:
I don't see the point in needing to convert it to a timestamp. The
length_start and length_end fields in MySQL are defined as date
fields.
All I
On Jan 18, 2008 10:18 AM, Richard Heyes [EMAIL PROTECTED] wrote:
I am wondering if there is a way to block out email addresses in specific
format from a form? We ahve a form that people have to enter an email
address, and the form has been getting used by bots to send spam to a
listserv.
On Jan 24, 2008 1:11 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Jan 24, 2008 8:13 AM, Jay Blanchard [EMAIL PROTECTED] wrote:
The first time we ever see all of us face to face there will have to be
a lot of beer bought. The conversation will be interesting though.
Several folks will ask
On Jan 25, 2008 8:58 AM, Jason Pruim [EMAIL PROTECTED] wrote:
On Jan 25, 2008, at 8:52 AM, Eric Butera wrote:
On Jan 25, 2008 8:43 AM, Dotan Cohen [EMAIL PROTECTED] wrote:
On 25/01/2008, Eric Butera [EMAIL PROTECTED] wrote:
not to mention the 'all-your-email-belong-to-us' aspect of
On Jan 29, 2008 1:53 PM, Christoph Boget [EMAIL PROTECTED] wrote:
Constructors return the object, correct?
Actually, I don't think so. I believe constructors return void, while
the 'new' keyword returns a copy of the object.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To
On Jan 29, 2008 3:36 PM, Jochem Maas [EMAIL PROTECTED] wrote:
nihilism machine schreef:
How does this look now?
just as bad as before. you haven't even tried to run the code have you?
?php
class dbconfig {
public $connInfo = array();
public $connInfo[$hostname] =
On Jan 31, 2008 2:24 PM, Per Jessen [EMAIL PROTECTED] wrote:
Richard Lynch wrote:
It CANNOT be tied to the IP address, because most users' IP
addresses are not static.
I think it is for the duration of the session. Mine certainly is.
Yours might be.
AOL users are *NOT*.
In peak
On Jan 31, 2008 2:49 PM, Per Jessen [EMAIL PROTECTED] wrote:
Robert Cummings wrote:
Information leakage is a security issue. IMHO referer logging should
need to be turned on, not off.
Rob, I appreciate your opinion, but like I said - when Firefox (or MSIE)
switches off REFERER by default,
On Feb 4, 2008 4:10 PM, Richard Lynch [EMAIL PROTECTED] wrote:
On Mon, February 4, 2008 2:36 am, Jochem Maas wrote:
Richard Lynch schreef:
On Sun, February 3, 2008 11:51 am, Robert Cummings wrote:
On Sun, 2008-02-03 at 18:15 +0200, Paul Scott wrote:
On Sun, 2008-02-03 at 20:10 +1100,
provide a good combination of indexing and
advanced search operators.
Andrew
Andrew Ballard wrote:
On Feb 4, 2008 3:13 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
If there aren't many files and you don't intend to grow this site much
larger and intend to always have static HTML, any easy
On Feb 4, 2008 3:13 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
If there aren't many files and you don't intend to grow this site much
larger and intend to always have static HTML, any easy implementation
would be to read each file and search for the terms either in the
keywords tag or in the
On Feb 6, 2008 12:48 PM, Martin Marques [EMAIL PROTECTED] wrote:
Nathan Nobbe escribió:
On Feb 6, 2008 12:13 PM, Martin Marques [EMAIL PROTECTED] wrote:
see what you have as the value for the date.timezone ini setting.
I've already checked that, and it's not set.
then you should
On Feb 6, 2008 8:46 PM, Rob Gould [EMAIL PROTECTED] wrote:
Let's say I have a PHP-based wine application, and it's taking a set of mySQL
data that looks like this:
wineidname
size
123 Silver Oak
On Feb 6, 2008 11:20 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Feb 6, 2008 10:59 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
Of course, in this case you could just avoid all the confusion with
this statement as well:
SELECT DISTINCT name, size
FROMwine
im not sure why, but i
On Feb 7, 2008 2:49 PM, MaryAnn Woodall [EMAIL PROTECTED] wrote:
Just starting to use php on my webpages. If I save a file as .php
or .php4 are they the same file. For example is index.php the same as
index.php4?
MaryAnn
No, they have different name and are different files. It would depend
On Feb 7, 2008 1:20 AM, Warren Vail [EMAIL PROTECTED] wrote:
I did some looking into performance issues many years ago at company that
developed and marketed another database server, comparing the query plan to
the actual code, and a query plan usually shows the processes that consume
the
On Feb 8, 2008 10:14 AM, Hiep Nguyen [EMAIL PROTECTED] wrote:
On Fri, 8 Feb 2008, Per Jessen wrote:
Hiep Nguyen wrote:
is there anyway to generate this into xls file w/o using fopen
fwrite to the server? my goal is to have a link after the table and
user can click on that link and a
On Feb 9, 2008 7:39 PM, Larry Garfield [EMAIL PROTECTED] wrote:
http://www.php.net/pdo
All the cool kids are doing it.
Tried it. (Actually, I am using it for some stuff.) But I seriously hope it
works better for MySQL than it does for SQL Server.
Andrew
On Feb 13, 2008 1:20 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Feb 13, 2008 2:51 AM, Miguel J. Jiménez
[EMAIL PROTECTED] wrote:
Hi, after enabling error reporting with E_ALL I am having this strange
warning while loading a XML:
Warning: DOMDocument::load() [function.DOMDocument-load]:
On Thu, Feb 14, 2008 at 9:23 AM, Hiep Nguyen [EMAIL PROTECTED] wrote:
On Fri, 8 Feb 2008, Per Jessen wrote:
Hiep Nguyen wrote:
let say that user searched and found 10 records,
in the meantime, other users may change any of these 10 records,
so if we saved mysql statement and re-run
On Thu, Feb 14, 2008 at 4:13 PM, [EMAIL PROTECTED] wrote:
Column 'location_city.dst' is invalid in the select list because it is not
contained in either an aggregate function or the GROUP BY clause.
Not fimilar with MSSQL to be honest.
Yes, MS SQL is strict and will not allow you to return
On Fri, Feb 15, 2008 at 3:31 AM, Zoltán Németh [EMAIL PROTECTED]
wrote:
2008. 02. 15, péntek keltezéssel 07.54-kor Siegfried Gipp ezt írta:
Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch:
You could also consider filing a Feature Request in
http://bugs.php.net/
Well,
On Feb 17, 2008 3:49 PM, Larry Garfield [EMAIL PROTECTED] wrote:
On Thursday 14 February 2008, Richard Lynch wrote:
On Sun, February 10, 2008 9:31 am, Jochem Maas wrote:
Larry Garfield schreef:
http://www.php.net/pdo
All the cool kids are doing it.
not true - some of them use
On Feb 18, 2008 8:58 AM, Edward Kay [EMAIL PROTECTED] wrote:
Now, I can replace the tabs with commas and opening the resulting
files in a basic text editor all looks fine.
When you do this, ensure you escape any commas that may exist in the data.
IIRC, Excel handles this be enclosing the
On Feb 18, 2008 12:02 PM, Edward Kay [EMAIL PROTECTED] wrote:
On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
[snip]
That's funny... MS defaults to tabs for a file whose extension is .csv
which is an acronym for (C)omma (S)eparated (V)alues.
[/snip]
Welcome to
On Feb 18, 2008 1:08 PM, Graham Cossey [EMAIL PROTECTED] wrote:
My biggest gripe with tab delimited files is
that they are quite a bit bigger than comma delimited files so I may
have to split the large files I receive into smaller 'chunks' to allow
them to be uploaded.
Why would
On Feb 18, 2008 1:39 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
On Feb 18, 2008 1:08 PM, Graham Cossey [EMAIL PROTECTED] wrote:
My biggest gripe with tab delimited files is
that they are quite a bit bigger than comma delimited
On Feb 18, 2008 4:01 PM, Graham Cossey [EMAIL PROTECTED] wrote:
On Feb 18, 2008 6:45 PM, Andrew Ballard [EMAIL PROTECTED] wrote:
On Feb 18, 2008 1:39 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
On Feb 18, 2008 1:08 PM
On Feb 19, 2008 8:13 PM, RJO [EMAIL PROTECTED] wrote:
Hey guys,
I have a form accepting a KML file from users and from there I want to
draw polylines based on a KML file's
PlacemarkerLineStringcoordinates element.
The problem I am having is that sometimes the KML file can have a
On Feb 20, 2008 3:54 AM, Graham Cossey [EMAIL PROTECTED] wrote:
If it's any help the data I'm getting comes out of a third party
Cognos environment.
The data opened into Textpad looks like this :
Column One Column Two Column ThreeColumn Four Column Five
Column
Six
On Fri, Feb 22, 2008 at 2:48 PM, VamVan [EMAIL PROTECTED] wrote:
Hi All,
Greetings!!
A small PHP Script for help
?php
$date_format = '02/22/2008 14:00:00';
$start_date = date(Y-m-d h:i:s, strtotime($date_format));
echo $start_date;
?
output is 2008-02-22 02:00:00
but not
On Sat, Feb 23, 2008 at 11:16 AM, Emiliano Boragina
[EMAIL PROTECTED] wrote:
Hi everyone
I am beginner
I have the following code:
?
$buscar = $_REQUEST['buscar'];
$base = inscripcion;
$conexion = mysql_connect ( 'localhost' , 'root' , 'root' );
On Tue, Feb 26, 2008 at 10:16 AM, tedd [EMAIL PROTECTED] wrote:
At 3:47 PM +0100 2/26/08, Per Jessen wrote:
tedd wrote:
Sometimes I feel like a child here.
Under what circumstances would one require that?
If your script is in a https directory, isn't that secure? OR, is
On Tue, Feb 26, 2008 at 11:54 AM, tedd [EMAIL PROTECTED] wrote:
At 11:03 AM -0500 2/26/08, Robert Cummings wrote:
On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote:
Am I misunderstanding you somewhere?
I don't think you are. I think Ted has been doing it the hard way
On Tue, Feb 26, 2008 at 4:06 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
On Tue, Feb 26, 2008 at 11:54 AM, tedd [EMAIL PROTECTED] wrote:
At 11:03 AM -0500 2/26/08, Robert Cummings wrote:
On Tue, 2008-02-26 at 10:57 -0500, Andrew Ballard wrote:
Am I
On Tue, Feb 26, 2008 at 11:39 PM, Paul Scott [EMAIL PROTECTED] wrote:
[snip]
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm
Seriously? All e-mail? Sorry - couldn't resist. That is one serious
disclaimer.
On Wed, Feb 27, 2008 at 2:16 PM, Paul Scott [EMAIL PROTECTED] wrote:
On Wed, 2008-02-27 at 13:18 -0500, Andrew Ballard wrote:
Seriously? All e-mail? Sorry - couldn't resist. That is one serious
disclaimer. I especially like the last line.
Holy crap! I had never actually looked
On Wed, Feb 27, 2008 at 3:12 PM, Robert Cummings [EMAIL PROTECTED] wrote:
I thought ASP was the language and .NET was the framework.
Not exactly. .NET is the framework, but ASP is not a language. The
most common languages for .NET development are usually Visual Basic
and C#. However, lots of
On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim [EMAIL PROTECTED] wrote:
So I was supposed to go home a half hour ago but that didn't happen...
I hate deadlines! :P
Can someone tell me why this code works for setting the table name:
function authentication($user, $pass, $authenticated,
On Thu, Feb 28, 2008 at 7:32 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Stut schreef:
On 28 Feb 2008, at 12:15, Timothy Asiedu wrote:
Please I would be grateful if you could remove my e-mail address:
[EMAIL PROTECTED] from the general Mailing List.
Unsubscribe instructions are in the
On Thu, Feb 28, 2008 at 12:56 PM, Jason Pruim [EMAIL PROTECTED] wrote:
On Feb 28, 2008, at 12:39 PM, Eric Butera wrote:
On Thu, Feb 28, 2008 at 11:57 AM, Jason Pruim [EMAIL PROTECTED]
wrote:
On Feb 28, 2008, at 11:28 AM, Eric Butera wrote:
On Wed, Feb 27, 2008 at 5:12 PM,
On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim [EMAIL PROTECTED] wrote:
On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote:
echo
TRTD.$myrow[char_name].TD.$myrow[char_level].TD.
$class[class].TD.$myrow[kara].TD.
$myrow[karateam].TD.$myrow[karasub];
Either CSS styling or the
I am unable to get the values of output parameters for SQL Server
stored procedures that have multiple parameters or return values for
any procedures. I have tried this with both the odbc: and mssql:
drivers on a Windows XP development machine. (The live application
will be hosted on a Windows
I tried to declare xsl:variable to increment within xsl:for-each,
however I ran in to some dead ends.
Variables in XSL are not most programmers think of when they hear the
term variable. They are variable in the sense that they can be
assigned a value at run-time, but they are really more like
I'm assuming you are intending to read the web server registry for
configuration purposes, not the client's registry. Look at the section
on COM in the manual.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ken,
Your method name is site_for_pub, and you are trying to call site_for_pub_id.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's usually the obvious things that get you -- especially after
you've been staring at the same piece of code for any length of time.
:)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
... but the
second comment seems helpful.
[1] http://www.php.net/manual/en/function.mssql-connect.php
For SQL Server 2005, getting the right version of that ntwdblib.dll is
crucial. However, Microsoft has apparently abandoned the NTWDBLIB
library, so I have begun working with PDO ODBC
1) It seems that the getter and setter are not called on every single
call. For example, if I do the following:
$bar = new foo;
$bar-x = 'x';
There is no output. I would expect to see Setting $this-x to x.
Another example:
$bar = new foo;
$bar-y = 'y';
echo $bar-y;
I would expect
I'm seeing
11/4 twice for example. Sometimes dates are missing from the list. The
results change from day to day.
That would be DST. The number of seconds per day changes on Nov. 4,
2007 in the US local time zones.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Kevin Murphy wrote:
The problem is IE7. All browsers work with this code as is but IE says
Internet Explorer cannot download test.pdf from XXX
The problem with IE was when you told it not to cache the document. If
you just want the browser to download the file rather than let the
Adobe
I'd suggest the following *slight* enhancement to make sure that the
HTTP_REFERER actually *begins* with the site name, not simply contains
it.
// prevents visits from pages like
http://badsite.com/form.htm?http://www.wnc.edu
if (strpos($referer, $site) === 0)
{
echo 'yes';
}
(or, if you
On 10/2/07, Al [EMAIL PROTECTED] wrote:
I didn't mean that the function was foolproof, only the match function itself.
Understood. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10/4/07, Chris [EMAIL PROTECTED] wrote:
Don O'Neil wrote:
I'm not sure how opening an email inbox can hijack pages but maybe
someone more creative than I can show me..
I don't know about the IMAP/POP3 itself, but if you are displaying the
messages in a web browser for something like
On 10/9/07, Robert Cummings [EMAIL PROTECTED] wrote:
$sucker = new TryToViolateEncapsulation();
$sucker = (array)$sucker;
$keys = array_keys( $sucker );
$sucker[reset( $keys )] = 500;
$sucker = serialize( (object)$sucker );
$sucker = 'O:25:TryToViolateEncapsulation'.substr( $sucker, 14 );
On 10/9/07, Robert Cummings [EMAIL PROTECTED] wrote:
Certainly you'll notice I've extended the original class,
overriden the __wakeup() call and basically used inheritance
and polymorphism to my advantage.
Noticed. :-) I said a *little* more difficult. Of course, I could
declare the class
On 10/12/07, Philip Thompson [EMAIL PROTECTED] wrote:
I suppose this isn't a big deal during production, but during testing it's
really frustrating. Does anyone have any suggestions as to why 'exit' is
functioning (no pun intended) this way? Note: I do want what's currently in
the buffer to be
On 10/15/07, Philip Thompson [EMAIL PROTECTED] wrote:
Hi.
Before I try and reinvent the wheel, I thought I'd query the list. I want to
take this string:
thisIsAStringIHave
and turn it into:
This Is A String I Have
Essentially, I want to capitalize the first letter (ucfirst) and then
On 10/22/07, Adam Williams [EMAIL PROTECTED] wrote:
I have an html page with checkboxes:
form action=mailform2.php method=POST
input type=checkbox name=option[] value=Modern MississippiModern
Mississippibr
input type=checkbox name=option[] value=Civil RightsCivil Rightsbr
input
On Tue, Mar 18, 2008 at 11:47 PM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Tue, Mar 18, 2008 at 11:43 PM, Shelley [EMAIL PROTECTED] wrote:
Hi all,
What do you think is the FASTEST sql to get the total number of a table
with millions of records?
when you say 'total number' do you mean
On Wed, Mar 19, 2008 at 10:35 AM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Wed, Mar 19, 2008 at 9:42 AM, Andrew Ballard [EMAIL PROTECTED]
wrote:
That works; I'm just wondering why you went with a count on an 'ID'
column
rather than COUNT(*).
ouch, it looks like im horribly wrong :O
On Wed, Mar 19, 2008 at 10:53 AM, tedd [EMAIL PROTECTED] wrote:
At 10:35 AM -0400 3/19/08, Nathan Nobbe wrote:
On Wed, Mar 19, 2008 at 9:42 AM, Andrew Ballard [EMAIL PROTECTED] wrote:
That works; I'm just wondering why you went with a count on an 'ID' column
rather than COUNT
On Wed, Mar 19, 2008 at 1:04 PM, TG [EMAIL PROTECTED] wrote:
It seems that count(*) pulls all the data from the row then performs a count
increment whereas count(did) only pulls the 'did' column.
Again, I don't believe COUNT(*) pulls any data. If there is a row, it
simply counts it. The row
On Wed, Mar 19, 2008 at 3:22 PM, chetan rane [EMAIL PROTECTED] wrote:
HI All
I have the follwoing code
function cleanufx($str){
return ucase($str);
}
$value=xyz;
$var =ufx;
$fn=clean$var($value);
$val =eval($fn;);
echo $val;
can anyone tell me what is
On Wed, Mar 19, 2008 at 3:47 PM, George J [EMAIL PROTECTED] wrote:
Hi,
I have a script that contains a form and a pagination routine that calls
itself. I want to pass an sql query along with some other variables to the
called script. The code to acheive this, using the form, is working but
On Sat, Mar 22, 2008 at 11:13 AM, Mark Weaver [EMAIL PROTECTED] wrote:
Hi all,
I'm wondering if anyone else happens to be using Mozilla Thunderbird and
seeing this behavior, and also if this behavior is a feature or a bug.
When I hit the reply button to respond to a message most of the
On Tue, Mar 25, 2008 at 8:20 AM, Steven Macintyre
[EMAIL PROTECTED] wrote:
I have three tables, namely;
User
- UID
- Firstname
- Surname
- Tel
- Cell
- Email
Tracker
- UID
- Points
Winners
- UID
- Datetime (-00-00 00:00:00)
I need to get the following
On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists [EMAIL PROTECTED] wrote:
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
On Tue, Mar 25, 2008 at 9:31 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Tue, Mar 25, 2008 at 9:11 PM, Mark Weaver [EMAIL PROTECTED] wrote:
Hi all,
[snip!]
Cookie Test Page
==
if (isset($_COOKIE[cookiename])){
list($first,$second,$third) =
1 - 100 of 623 matches
Mail list logo