just yesterday i was reading through this wonderful and very funny
presentation:
http://talks.php.net/show/froscon08/0
for me it really drove home the message (among others) that it makes sense
to find out where the real gains can be made before investing your efforts
in optimization.
--
On 10/7/09 6:04 AM, "Ashley Sheridan" wrote:
> On Wed, 2009-10-07 at 10:57 +0100, MEM wrote:
>> Hello all,
>>
>>
>> I'm having this strange behavior, and I do not understanding why...
>>
>> When I use FILTER_VALIDATE_INT I'm unable to get, on my input box, values
>> starting with 0(zero), or v
uld be able to get the SMTP limits from your host and these can be
configured in PHPlist.
The bounce handling takes away a lot of admin work once your list starts
getting larger and people's email addresses change/stop working.
Tom
Hello
I have installed:
- libevent
- libmemcached (http://tangent.org/552/libmemcached.html)
- Done a PECL installation (pecl download memcached, phpize &&
./configure && make)
- memcached
> cat /etc/php.d/memcached.ini
; Memcached default settings
extension=memcache.so
> ls -1 /usr/lib64/p
2009/10/26 Eddie Drapkin :
> On Mon, Oct 26, 2009 at 11:45 AM, Tom Barrett wrote:
>> Hello
>>
>> I have installed:
>> - libevent
>> - libmemcached (http://tangent.org/552/libmemcached.html)
>> - Done a PECL installation (pecl download memc
2009/10/26 Eddie Drapkin :
> On Mon, Oct 26, 2009 at 11:59 AM, Tom Barrett wrote:
>> 2009/10/26 Eddie Drapkin :
>>> On Mon, Oct 26, 2009 at 11:45 AM, Tom Barrett wrote:
>>>> Hello
>>>>
>>>> I have installed:
>>>> - libev
If you go Tools>Options> Keymap tab, you can click the 'Import' button at
the bottom. It just imports the zip file.
I'm new to Netbeans myself and decided to install this colour scheme,
however I can't get it to display correctly.
I'm also missing word wrap and a more simple one-click FTP upload
Apologies for semi-hijacking, but I am confused.
What are aiming to do that something like PHPMyAdmin doesn't do?
2009/10/28 ben...@gmail.com
> Jay,
>
> What function do you have? Thanks to everyone for their feedback.
>
> Best,
>
> Ben
>
> On Wed, Oct 28, 2009 at 9:17 AM, Jay Blanchard >wrot
2009/10/29 Israel Ekpo
> Hi Guys,
>
> I just want to conduct a quick survey to find out what version of PHP
> people
> are using in their production environments.
>
> I have a PHP extension for Solr that I have set the minimum required
> version
> as 5.2.11.
>
[snip]
> I cannot go below 5.2.0 th
Yep, although Christmas shopping seems to be higher on the agenda than PHP
Wait till a week before Christmas and we'll have a slew of messages from
desperate developers trying to complete to a client deadline :)
-Original Message-
From: Jay Blanchard [mailto:jblanch...@pocket.com]
Subje
--- On Fri, 29/1/10, Michael A. Peters wrote:
> Michael A. Peters wrote:
> > Daevid Vincent wrote:
> >> I'm not looking to start a holy war here or
> re-hash the tired debate. I just want some hard cold numbers
> to look at.
> >>
> >> "Do you use a public framework or roll your own?"
> >> http:/
Is there a Revision control class that I can use in a php program?
tom_a_sparks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- On Wed, 10/3/10, Phpster wrote:
> I believe pear has some stuff for
> subversion.
Don't want to use subversion or any third-party app
I forgot to say needs to support media files (images/sounds/etc) as well as
text based files.
I don't care if it flat-file based or data
--- On Wed, 10/3/10, James McLean wrote:
> On Wed, Mar 10, 2010 at 11:14 AM, Tom
> Sparks
> wrote:
> > --- On Wed, 10/3/10, Phpster
> wrote:
> >
> >> I believe pear has some stuff for subversion.
> >
> > Don't want to use subversion or any thir
>> Hi List,
>>
>> The other day, I read an article that mentioned about a tool that would
>> permit to simulate a web environment for PHP, so that testing could be
made
>> before uploading the page on the server. Unfortunately, I don't seem to
find
>> the article again.
>>
>> So here am I
I have found lib that looks like it dose what i need
How do I integrating this lib into php?
dose php support C++ libs?
http://libnoise.sourceforge.net/tutorials/tutorial1.html#gcc
tom_a_sparks
Light travels faster then sound, which is why some people appear bright, until
you hear them speak
How do I take the output from a command line program and update a MYSQL
database with it?
tom_a_sparks
Light travels faster then sound, which is why some people appear bright, until
you hear them speak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
--- On Wed, 21/7/10, Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 8:49 AM, Tom
> Sparks
> wrote:
> > How do I take the output from a command line program
> and update a MYSQL database with it?
> >
> > tom_a_sparks
> > Light travels faster then soun
Any and all help is appreciated.
Tom
NOAA-NWS-ALERTS National
2010-08-21T13:26:34-04:00
w-nws.webmas...@noaa.gov
2010-08-21T13:26:34-04:00
Actual
Alert
Public
Current Watches, Warnings and Advisories for the United States Issued
by the National Weather Service
http://www.weather.gov/aler
h-oci8=/shared_ro/users.oracle/11.1.0
SVCD> I am using gmake 3.80. Can anyone give me a hint as to what I am doing
SVCD> wrong in this build?
SVCD> -Vicki Stanfield, RHCE, CISSP
From the error message it would seem the operating system's
getpwnam_r() function is not PO
in this build?
SVCD>> -Vicki Stanfield, RHCE, CISSP
TR> From the error message it would seem the operating system's
TR> getpwnam_r() function is not POSIX compatible.
TR> What system are you compiling on?
TR> --
TR> regards,
TR> Tom
It would
gt; to function `getpwuid_r'
SVCD> /users/0/php-5.3.3/ext/posix/posix.c:1184: warning: assignment makes
SVCD> integer from pointer without a cast
SVCD> gmake: *** [ext/posix/posix.lo] Error 1
SVCD> Do I need to add the -D_POSIX_PTHREAD_SEMANTICS in the makefile or
SVCD> config
t; form. http://www.php.net/manual/en/features.file-upload.post-method.php
>
start off simpler with this version
http://www.w3schools.com/php/php_file_upload.asp
tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I need to build a custom client management app, which will build and manage
a database per client. This means that on top of the usual sql crud, it
needs to be able to create databases, add/edit/delete database users, create
tables.
Is there a way for me to do this nicely as PHP solution? am I
Hmm..
I am familiar with PMA. I would for the purpose of this project consider it
too technical for the target user base. The point is to create a GUI layer
that would manage these things.
For example, the 'add client' screen would ask for four things; name,
description, username and password. Th
On 22 September 2010 21:40, Bastien Koert wrote:
> Not at all. What I would suggest is that you create a separate mysql
> user that is used exclusively by the script to do the create stuff.
> The regular application user account should not have those privileges
> at all.
>
I'm not actually that
Thanks for the replies, they have been most enlightening. :)
I'm not affiliated with the PHP Unconference in any way but saw this on another
mailing list, so just passing it on here in case anyone is interested.
-Tom
We are delighted to announce that PHP Unconference Europe will take place on:
19th & 20th February
I am looking for a simple photo gallery like this
http://www.lavrsen.dk/webcam/cam1/movecam.php
I want to use it in place of apache autoindex
tom_a_sparks
"It's a nerdy thing I like to do"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- On Mon, 8/11/10, Tommy Pham wrote:
> From: Tommy Pham
> Subject: RE: [PHP] simple photo gallery
> To: a...@ashleysheridan.co.uk, "'Tom Sparks'"
> Cc: php-general@lists.php.net
> Received: Monday, 8 November, 2010, 11:11 PM
> > -Original Message
To:
s...@example.com -- Headers:
==8<==
Is this some debug output that someone forgot to remove?
When relevant, the sendmail_path used is "/usr/sbin/sendmail -t -i",
which is a regular Postfix sendmail.
[1] http://stackoverflow.com/questions/1906403
--
Kind regards,
Tom H
On 26/11/10 15:54, Richard Quadling wrote:
> On 25 November 2010 21:30, Tom Hendrikx wrote:
>> Hi,
>>
>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
>> a warning when used. A simple debug script with the contents:
>>
>> &
On 26/11/10 15:54, Richard Quadling wrote:
> On 25 November 2010 21:30, Tom Hendrikx wrote:
>> Hi,
>>
>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
>> a warning when used. A simple debug script with the contents:
>>
>> &
On 26/11/10 16:54, Richard Quadling wrote:
> On 26 November 2010 15:12, Tom Hendrikx wrote:
>> On 26/11/10 15:54, Richard Quadling wrote:
>>> On 25 November 2010 21:30, Tom Hendrikx wrote:
>>>> Hi,
>>>>
>>>> I noticed that the mail() functio
'contenttype'];
}
return $tabledata;
}
There are many more methods making assignments in a similar way in this
class and in other classes throughout the code.
I'm not sure of the best way to re-code this to resolve the E_STRICT
warning.
Any help is much appre
arning so
I'll leave it alone until I've tidied up all the other issues.
Regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ache to accomplish this?
You can add this to apache conf:
ForceType application/x-httpd-php
Then make a file called phpscript without extension and drop it in the
web root.
http://server.domain.com/phpscript/variable1/variable2
--
Best regards,
Tom
--
PHP General Maili
I am looking for a batch/queue framework that is database-centric?
I could write my own, but I want one that is mature
tom_a_sparks
"It's a nerdy thing I like to do"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>Forwarded Message: php-general_318334.ezm
>Re: php batch/queue framwork
>Friday, 29 June, 2012 6:30 AM
>From:
>"Shailesh N. Humbad"
>To:
>php-general@lists.php.net
>On 6/28/2012 11:58 AM, Tom Sparks wrote:
> I am looking for a batch/queue framework that is
I have created a php script that use $_SERVER['PATH_INFO'], for the different
sub-sections
the links now looks like this
http://localhost/collection/popups.php/models/bttf/car01/
my web browser cant load my images/javascripts/etc because it is trying to use
relative url from http://localho
a - http://rainbowdigitalmedia.co.uk
Did you see this: http://www.php.net/manual/en/book.snmp.php
--
Best regards,
Tommailto:trog...@kwikin.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot;/()+/", "/", realpath(".")));
> session_start();
>
> $processName = $_REQUEST["pname"];
> $process =& process_get_process($processName);
$process->>execute();
>
?>>
> -----
Hello Angela,
Sunday, April 21, 2013, 4:51:37 AM, you wrote:
> I've written a script that logs all visits to a web site,
> complete with referrer and IP address. It also logs all 4xx errors.
> What I'd like to add to this is, if someone adds extra code after
> the page_name.php, to be ab
be worth creating a table with just a
link id and the text to search which you can cleanup before inserting.
It will probably save you a headache in the future and will be quicker
than complicated queries.
The list of possible ids can then be tested against the full table for
any other criteria which if the table is indexed properly will be fast
too.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I could
be pointed towards?
Thanks!
Tom
http://en.wikipedia.org/wiki/Two_Little_Dickie_Birds
I look forward
to any responses.
Regards,
Tom
signature.asc
Description: OpenPGP digital signature
alled...???
BTW I'm tracing this though with xdebug.
Regards,
Tom
Tom Robinson
System Administrator
On 17/03/11 13:06, Tom Robinson wrote:
> Hi,
>
> I'm trying to decipher inherited code (I did not write this) and I'm
> having great difficulty understanding the overri
7/03/11 13:20, Tom Robinson wrote:
> My apologies. I've not seen something I should have earlier. Also the
> instance that is behind all of this is and instance of
> ActiveRecordFormClass.
>
> So, in PHP4, the correct overridden method is called:
> ActiveRecordFormClass
What does this mean in the PHP Change Log:
"Removed compile time dependency from ext/mbstring (Dmitry)"
Does it mean that mbstring is available by default in PHP 5.4?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a members list witch I print out once a week,
I would like to make the list into two-column list, but I dont know where to
start looking to change the code?
here is the code
"
$result = mysql_query("SELECT * FROM customers ORDER BY LastName");
while($row = mysql_fetch_array($result))
{
--- On Tue, 20/3/12, Ashley Sheridan wrote:
On Mon, 2012-03-19 at 15:43 -0700, Tom Sparks wrote:
>>I have a members list witch I print out once a week,
>>I would like to make the list into two-column list, but I dont know >>where
>>to start looking to change the c
--- On Tue, 20/3/12, Ashley Sheridan wrote:
From: Ashley Sheridan
Subject: Re: [PHP] mysql list to two-column list
To: "Tom Sparks"
Cc: "php-general"
Received: Tuesday, 20 March, 2012, 10:15 AM
On Mon, 2012-03-19 at 16:09 -0700, Tom Sparks wrote:
--- On
.1, UAE AF 2006 Premium Edition, AF 2012
Plus Edition, Sam440 AOS 4.1.2, Roland DXY-1300 pen plotter, Cutok DC330
cutter/pen plotter
Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh
(6502/68k/PPC only)
--- On Tue, 20/3/12, Tom Sparks wrote:
> From: Tom Sparks
> Sub
x since I would have to
write all the database code in order to do any performance measurement.
Anyone have relevant experience in this area, and/or some educated
guesses?
Thanks,
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do:
$var = mysql_result($result,0,0);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know how to force PHP to require all local variables to be declared
prior to use or if this is even possible?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anyone explain why this is happening.
I am using the following code For giving code examples on my website
with syntax highlighting
$text = '';
$body = preg_replace('/<(.*?)>/es', 'highlight_string(
I am using a cookie to detect what skin a user wants to display. The
problem is if a user visits the site for the first time the cookie is
not being set. I am detecting if its being set or not with
if(!isset($_COOKIE['skin'])){ ... }
It's not setting the cookie untill a user refreshes the page o
Hi,
I've a Problem with the DOM Extension in PHP5. I simply want to create
a DocumentFragment which can be used in ImportNode for Example. I now
that the code beyond may look a little bit strange, but I've
simplyfied it as much as it was possible.
The Code should print the Contents of the the Fra
ER['document_root']= /usr/local/apache/htdocs
>> $_SERVER['path_translated']= /home/user/public_html/
A> What do you guys use for you docroot?
If path_translated exists use that as it indicates a virtual website,
otherwise use document_root
--
regards,
Tom
--
P
date.
Any solution is welcome.
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SERVER['document_root'];
Exactly
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$script = $_SERVER['SCRIPT_NAME'];
$document_root = str_replace($script,'',$root);
//echo "Document root: $document_root";
$base = basename($document_root);
//echo "Base: $base";
$include = str_replace($base,'include',$document_root);
//echo "Include: $include";
$os = strtolower(PHP_OS);
//echo "OS: $os";
$lk = ':';
$org_include = ini_get("include_path");
if(preg_match('/^win/i',$os)) $lk = ';';
ini_set("include_path",$include.$lk.$org_include);
//echo "Include: ".ini_get("include_path")."";
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TR> if(preg_match('/^win/i',$os)) $lk = ';';
TR> ini_set("include_path",$include.$lk.$org_include);
TR> //echo "Include: ".ini_get("include_path")."";
TR> }
TR> --
TR> regards,
TR> Tom
Forgot to tell you to put it in the auto_prepend file and it will work
for all files :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; [EMAIL PROTECTED]
BS> Tel: +351 272 000 155
BS> Fax: +351 272 000 257
BS> --
BS> Hospital Amato Lusitano
BS> [EMAIL PROTECTED]
BS> Tel: +351 272 000 272
BS> Fax: +351 272 000 257
you could do:
define('LF',"\n");
echo ''.LF;
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Leif,
Monday, March 7, 2005, 10:03:48 AM, you wrote:
LG> Hello Tom,
LG> Friday, March 4, 2005, 9:13:41 PM, you wrote:
TR>> This will set the include path just before the document root:
LG> H. Not quite what I'm looking for. I set up some test folders and
LG>
e windows can find it, put it in the same
directory as apache or in the windows directory.
(If your not using apache .. you should be :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Monday, March 7, 2005, 1:08:27 PM, you wrote:
LG> Hello Tom,
LG> Sunday, March 6, 2005, 6:18:54 PM, you wrote:
TR>> and let me see what it prints
LG> Still not quite there.
LG> Site root
LG> **
LG> File name: C:\Sambar\docs\test\test.php
LG> Script:
Hi,
Monday, March 7, 2005, 3:57:50 PM, you wrote:
LG> Hello Tom,
LG> Sunday, March 6, 2005, 10:00:17 PM, you wrote:
TR>> Ok I see where is is going wrong, try this:
LG> Oh, very close. Although you have it at $document_root and all
LG> that needs to be added is '/i
Hi,
Tuesday, March 8, 2005, 12:03:54 AM, you wrote:
LG> Hello Tom,
LG> Sunday, March 6, 2005, 11:20:04 PM, you wrote:
T>> I do this for security as I have things in include that I don't
T>> want to be avaiable directly to the browser Also you don't need a
T>> p
& file_exists('results.new')){
sleep(1);
clearstatcache();
$x--;
}
if($x == 0) echo "Hung process detected ";
if(file_exists('results')){
$count = intval(trim(file_get_contents('results')));
$count ++;
}else{
$count = 1;
}
$fp = fopen("re
p);
}
if(eregi("\.gif$",$out)){
ImageGif($im2,$out);
}elseif(eregi("\.jpe?g",$out)){
ImageJpeg($im2,$out,90);
}elseif(eregi("\.png$",$out)){
ImagePng($im2,$out,20);
}
}
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. AND tblchatglobal.cgtimeposted > (DATE_SUB(NOW(),INTERVAL 1 HOUR))
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from 1 to 0 so
your $i is 1 ahead of the array.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Friday, March 25, 2005, 3:27:41 AM, you wrote:
WS> Hello,
WS> I really can't figure this out. Can someone help please. I've wasted hours
WS> already with this one.
WS> I'm trying to print image to a web page using fpassthru. Here's the code:
WS> $name = path/to/the/image/folder/img1.jpeg;
W
looking, but
MD> a little help on this would be appreciated.
MD> Thank you again,
MD> --
MD> Steve Marquez
The most easily expandable way is with a switch statement
switch($audio){
case 'Cool':
case 'junk':
case 'funky':
Do this
break
Hi,
Tuesday, March 29, 2005, 9:17:42 AM, you wrote:
TT> Hi all,
TT> ok, I have created my own php text editor that allows a user to edit
TT> files from local(server) disk.
TT> I use a basic html textarea to show the contents of the file, and let
TT> them edit it, and then save it to disk.
TT> I
just your situation.
http://www.mohawksoft.com/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quicker.
table = user_interests
fields userid int, interestsid int
primary index would be on both fields
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; Suggestions?
I do this to set a zero iv
$td = mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, "");
$key = substr($secret, 0, mcrypt_enc_get_key_size ($td));
$iv = pack("a".mcrypt_enc_get_iv_size($td),$iv);
mcrypt_generic_init ($td, $key, $iv);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t working out. Would love some help.
RSJ> Thanks,
RSJ> Rahul S. Johari
RSJ> Coordinator, Internet & Administration
RSJ> Informed Marketing Services Inc.
RSJ> 251 River Street
RSJ> Troy, NY 12180
RSJ> Tel: (518) 266-0909 x154
RSJ> Fax: (518) 266-0909
RSJ> Email: [EMAIL PROTECTED]
RSJ> http://www.informed-sources.com
I would do it this way:
";
}
dbase_close($dbh);
}
?>
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
substr($id,(strlen($len)+1),$len);
mcrypt_generic_deinit($td);
return $id;
}
}
( I encode the length of the original string so I can trim the extra
rubbish that deinit leaves behind as packing)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt;td));
MH> $iv_size = mcrypt_enc_get_iv_size($this->td);
MH> #$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
MH> $iv = pack("a".$iv_size,$iv);
Yes I forgot to put $iv = 0; before that line.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hat
z> so if nothing (or very low cpu usage) is running on the system he'll get
z> extra power?
On Linux you can cat /proc/loadavg to get the current load (3rd number
in)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is a selected subset
of another.
Is there a function that does this that I'm missing? I realize I could
write one but I was looking for something built-in. Nothing I can see
under array functions in the manual seems to do it.
Thanks,
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ion is
BD> strictly prohibited. If you have received this communication in
BD> error, please notify us immediately by replying to the message and
BD> deleting it from your computer. Thank you.
easier done seperately I think
if(
strlen($text) > 6 &&
preg_match('/\d
tend to
do it with a domain mapped to 127.0.0.1 via the hosts file, rather than
"localhost", but using that approach I can set cookies fine under Win98
(as far as I remember, not using it now), Win 2000, and Win XP, in both
Mozilla and IE. I am running Apache 1.3.29 as the local
ENGINE=MyISAM DEFAULT CHARSET=utf8
You do not need to specify the default clause on the timestamp column since
this is already the default behavior, and as you has seen this isn't valid
before 4.1 anyway. Also I wouldn't use the name 'timestamp' for a column
name.
It is generally not a good idea to use reserved words for column names.
--
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
k/>
DD> Home is where the ~/.bashrc is
You can set this with arg_separator.output in php.ini
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Wednesday, April 20, 2005, 9:05:39 AM, you wrote:
RBAK> On Wed, 20 Apr 2005, Tom Rogers wrote:
>> You can set this with arg_separator.output in php.ini
RBAK> That doesn't really answer why the choice was made to default to what
RBAK> not only shouldn't be the defaul
//force a bmp extension for netpbm
$tfilename = $jobpath.'/'.$fname.'bmp';
move_uploaded_file($tempname, $tfilename);
$file = $fname.'png';
$filename = $jobpath.'/'.$file;
shell_exec ("/path/to/netpbm/bin/bm
You can leave these off. Changing ENGINE to TYPE will fix that error, and
you can leave off the charset. I believe utf8 was added in 4.1. If you
leave off charset=xxx it will just default to whatever the server's
default-character-set is set to, probably latin1.
> On 4/19/2005 4:42:08 PM
ast_visitors
SET user_id=user_id+1
WHERE profile_id=1
ORDER BY ttimestamp LIMIT 1;
You don't have to explicitly update the timestamp column. It will do this
automatically. This will rotate through the five rows. This may have failed
in your test because if you executed this in a script and all of the sql
statements occurred in the same second, you would probably see the behavior
that you described.
--
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y under a different file type?
TDJ> I'm pretty sure I searched through thoroughly for the function. Did I miss
TDJ> something?
TDJ> Thanks for all your help!
As far as I know gd does not support tiffs directly.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/
s as to how i get how many pics per category and size per category?
RA> I'm not sure if its a PHP thing or a MySql thing...
RA> Last problem for the day...then i hit the sack!
RA> Thanks in advance,
RA> Ryan
Something like
SELECT COUNT(pic_name) as pic_count, SUM(pic_size_kb)
Hey,
This is the strangest problem I have had in a long time. I have tried
using apache 2 with php 4 as a module and CGI and on both PHP will not
be parsed, I have also tried php 5 and had exactly the same problem. I
am now trying apache 1.3 and php 5 as a module and it doesn't parse the
php and al
retty quick, so no need to
cache anything for most sites. I have been using it now for a couple
of years and it hasn't let me down :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ase: 585 - Release Date: 2/14/2005
Here is a little function I use to take care of all combination of
inputs:
function dollars2cents($value){
$value = sprintf("%0.2f",trim($value));
list($a,$b) = explode('.',$value);
if(floatval($value)<0) $b = $b*-1;
return intval(
ar that has a
MB> clue and a decent web interface?
MB> Thanks,
MB> Marcus
I have been using bulkregister.com for a few years and no complaints,
you will have to check yourself if they meet your particular needs :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1301 - 1400 of 1850 matches
Mail list logo