Another possibility...
Port the Date object implementation from ECMA/Javascript.
It has a range of +/-8.64e15, or Tue, 20 Apr -271821 00:00:00 GMT to Sat, 13
Sep 275760 00:00:00 GMT.
You know...just to have a little extra time to find something else. ;)
- Jon L.
On Wed, May 7, 2008 at 12:56 AM,
Quoting Jon L. [EMAIL PROTECTED]:
Another possibility...
Port the Date object implementation from ECMA/Javascript.
It has a range of +/-8.64e15, or Tue, 20 Apr -271821 00:00:00 GMT to Sat, 13
Sep 275760 00:00:00 GMT.
You know...just to have a little extra time to find something else. ;)
- Jon
On Tue, May 6, 2008 at 11:56 PM, Paul Scott [EMAIL PROTECTED] wrote:
On Tue, 2008-05-06 at 23:50 -0600, Nathan Nobbe wrote:
true-that ;)
anyway, the DateTime class is implemented as a 64-bit unsigned (i think)
value. so if you use it you should be good to go.
php echo
Hello,
on 05/06/2008 06:36 AM Nirmal Jayasinghe said the following:
hello all,
I'm trying to figure out a way to manipulate incoming email attachments with
PHP. There'll be a special email address to which the emails with the
attachments would be sent, with a number specified in the subject
On Wed, May 7, 2008 at 12:48 AM, Kalle Sommer Nielsen [EMAIL PROTECTED] wrote:
Quoting Jon L. [EMAIL PROTECTED]:
Another possibility...
Port the Date object implementation from ECMA/Javascript.
It has a range of +/-8.64e15, or Tue, 20 Apr -271821 00:00:00 GMT to Sat,
13
Sep 275760
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote:
looks like mine only goes to dec. 31, =/
*Gasp!* best you get cracking on finding an alternative solution!
--Paul
All Email originating from UWC is covered by disclaimer
-Original Message-
From: Paul Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 9:12 AM
To: Nathan Nobbe
Cc: Kalle Sommer Nielsen; Jon L.; Chetan Rane; php-general@lists.php.net
Subject: Re: [PHP] the Y2K38 BUG
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote:
looks
Joe Harman wrote:
I am curious here if any of you are considering or already using
OpenID or Windows CardSpace? Does anyone see this being a big deal???
from a users stand point it seems like a big hassle to get started
with it and I'm not sure if it would scare people away or not? any
thoughts
Hi Guys,
We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that specific area.
I really am not sure where to
Angelo Zanetti wrote:
Hi Guys,
We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that specific area.
I
_
From: Aschwin Wesselius [mailto:[EMAIL PROTECTED]
Sent: 07 May 2008 12:21
To: Angelo Zanetti
Cc: php-general@lists.php.net
Subject: Re: [PHP] AI file and mapping with PHP
Angelo Zanetti wrote:
Hi Guys,
We have a project where by we have a map in ai format (vector
On Wed, 2008-05-07 at 12:17 +0200, Angelo Zanetti wrote:
We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on
Hi,
I have this Apache server with mod_vhost_alias and set /home/pages/%0
as the VirtualDocumentRoot
In /home/pages/gamito.foo.com I have a index.php file. This generates
the http://gamito.foo.com URL.
Also, I have a /home/pages/fckeditor with FCKeditor. *This is not
defined as a subdomain in
Mário Gamito wrote:
Hi,
I have this Apache server with mod_vhost_alias and set /home/pages/%0
as the VirtualDocumentRoot
In /home/pages/gamito.foo.com I have a index.php file. This generates
the http://gamito.foo.com URL.
Also, I have a /home/pages/fckeditor with FCKeditor. *This is not
At 12:16 PM -0400 5/6/08, Travis L. Font wrote:
Following files:
bg.png - Clear Transparent Image
14416fed5d4f78.jpg - Normal Jpeg Image
The Code:
header('content-type: image/png');
$watermark = imagecreatefromjpeg('14416fed5d4f78.jpg');
$watermark_width = imagesx($watermark);
At 1:49 PM -0400 5/6/08, Robert Cummings wrote:
On Tue, 2008-05-06 at 13:42 -0400, tedd wrote:
Rob, who I respect greatly, said that 90 percent of what you are
doing should be decided before you start programming. But, I never
work that way either.
I always jump right in and use the
Hi,
I am having issues compiling php5.2.3 with Sybase 15. After much
troubleshooting, I was able to compile it with sybase12.5. But since we are
upgrading our system to Sybase 15. I need php5.2.3 to run with this version
of sybase. During my web search I found out that the library files php
Quoting Angelo Zanetti [EMAIL PROTECTED]:
Hi Guys,
We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that
I need to determine if a file is truly deletable by a php script, Deleting permissions seem to be
the same as writing, they probably have the same criteria.
is_writable() seems to virtually useless in most cases. It doesn't take into account the directory
ownership/permissions; which, best I
Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same as writing, they probably
have the same criteria.
is_writable() seems to virtually useless in most cases. It doesn't
take into account the directory ownership/permissions;
On Wed, May 7, 2008 at 1:11 AM, Paul Scott [EMAIL PROTECTED] wrote:
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote:
looks like mine only goes to dec. 31, =/
*Gasp!* best you get cracking on finding an alternative solution!
yes, me and the rest of the immortal gang are all
You are missing the point of my question. I don't have a problem reading the permissions. They do
not solely determine whether a file can be deleted.
Aschwin Wesselius wrote:
Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same
Dear PHP List,
PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing deving with
FireFox and Konqueror (Linux).
I am building a site with multiple tools and want to pass variables
throughout them all. Before, I was passing variables using hidden HTML
Form tags, but the site has grown too
On Wed, 2008-05-07 at 12:27 -0400, Scott Campbell wrote:
Dear PHP List,
PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing deving with
FireFox and Konqueror (Linux).
I am building a site with multiple tools and want to pass variables
throughout them all. Before, I was passing
On 07/05/2008, Al [EMAIL PROTECTED] wrote:
I need to determine if a file is truly deletable by a php script, Deleting
permissions seem to be
the same as writing, they probably have the same criteria.
You're not writing to the file, you're unlinking it from the
containing directory, so it's the
If it's not, what else can? I got curious.
Regards,
Thiago Henrique Pojda
-Mensagem original-
De: Al [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 7 de maio de 2008 12:25
Para: php-general@lists.php.net
Assunto: Re: [PHP] How to determine if file is writable and deletable
You
On Wed, May 7, 2008 at 11:34 AM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Wed, May 7, 2008 at 1:11 AM, Paul Scott [EMAIL PROTECTED] wrote:
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote:
looks like mine only goes to dec. 31, =/
*Gasp!* best you get cracking on
Scott Campbell [EMAIL PROTECTED] wrote:
Dear PHP List,
PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing deving with
FireFox and Konqueror (Linux).
I am building a site with multiple tools and want to pass variables
throughout them all. Before, I was passing variables
Hey,
clip
$tag_regex=array(
'/\p(\s*)\(.*?)\\/p\ /si' = $1,
'/\(\s*)(*.?)class\=(*.?)\(.*?)\\/(*.?)\/si' = $3
);
$paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page);
I am not sure what tag is that you mean on class=something, but in this
RE .. it should
Yeah, after reading some about it yesterday and using it on some
sites, I like that it sort of simplifies some things for the end
user... it really fits sites like social networking stuff well.. I am
considering using this for our ecommerce site, it only becomes useful
though for repeat visitors
clip
preg_match_all('|p[^]*(.*)/p|Ui', $myText, $myArray);
/clip
Hey!
Thanks for replying.
Your preg_match_all works like a charm, but for some reason catches only 8 out
of 9 paragraphs... its really weird. I have upped the test page to
http://www.ezee.se/tests/para_regex2.php.txt so you
Ryan S wrote:
clip
preg_match_all('|p[^]*(.*)/p|Ui', $myText, $myArray);
/clip
Hey!
Thanks for replying.
Your preg_match_all works like a charm, but for some reason catches only 8 out
of 9 paragraphs... its really weird. I have upped the test page to
I am running into a problem with my queries returning a limited number of
result entries. The LDAP server is Kerio Mail Server, and I am verified that
the SIZELIMIT in the server's configuration is 0 (no limit). For some
reason, my server seems to be limited to 200 results if no limit is
clip
http://www.ezee.se/tests/para_regex2.php.txt
Yep, sorry... Just add the s
preg_match_all('|p[^]*(.*)/p|Uis', $myText, $myArray);
/clip
Swett! It works!
If you _do get time_, would love to know the actual meaning of
|p[^]*(.*)/p|Uis
because although I do appreciate the help and
On Wed, May 7, 2008 at 12:50 PM, mburtch [EMAIL PROTECTED] wrote:
I am running into a problem with my queries returning a limited number of
result entries. The LDAP server is Kerio Mail Server, and I am verified
that
the SIZELIMIT in the server's configuration is 0 (no limit). For some
[snip]
I am running into a problem with my queries returning a limited number
of
result entries.
[/snip]
Most LDAP servers set a limit, it is usually not a PHP problem. One way
to solve is to query by first letter of last name and throw into an
array (iterating through the alphabet).
function
Pretty close.
The only thing I'd suggest is a different way of wording step 2:
Can contain anything but '' until step 3.
As for the switches/modifiers (Uis), check out:
http://us.php.net/manual/en/reference.pcre.pattern.modifiers.php
U = ungreedy
i = case-insensitive (|p| matches 'p' and/or
I am having a problem that I cannot seem to get through. Unfortunately,
I was given the task of getting a working php binary for a modified
redhat 7.2 box (I know I know). I got through the configure phase but I
cannot seem to complete the make process. The following is what I get
as an
At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
The exception being when it performs cleanup. Cleanup should be
relegated to a cron job.
Rob:
What clean-up?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
At 11:16 AM -0400 5/7/08, Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same as writing, they probably
have the same criteria.
is_writable() seems to virtually useless in most cases. It doesn't
take into account the directory
Perhaps touch might help.
Touch my ass.
ROFLMAO
(I've been waiting for years to use that one)
--
Richard Heyes
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpdrive|
++
--
PHP
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
The exception being when it performs cleanup. Cleanup should be
relegated to a cron job.
Rob:
What clean-up?
All the inactive session files... inactive and garbage collection time
is
On Wed, May 7, 2008 at 2:22 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
The exception being when it performs cleanup. Cleanup should be
relegated to a cron job.
Rob:
What clean-up?
Thanks for the tips. phpLDAPAdmin was hanging while trying to authenticate,
but I'll give it a try again later.
Nathan: splitting up the search; I hadn't considered this! It is working
nicely for the time being, thanks.
- MB
On Wed, May 7, 2008 at 3:23 PM, Jay Blanchard [EMAIL PROTECTED] wrote:
On Wed, May 7, 2008 at 2:26 PM, Matt Burtch [EMAIL PROTECTED] wrote:
Thanks for the tips. phpLDAPAdmin was hanging while trying to
authenticate, but I'll give it a try again later.
Nathan: splitting up the search; I hadn't considered this! It is working
nicely for the time being, thanks.
At 4:22 PM -0400 5/7/08, Robert Cummings wrote:
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
The exception being when it performs cleanup. Cleanup should be
relegated to a cron job.
Rob:
What clean-up?
All the inactive session
On Wed, 2008-05-07 at 14:29 -0600, Nathan Nobbe wrote:
On Wed, May 7, 2008 at 2:22 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
The exception being
At 9:18 PM +0100 5/7/08, Richard Heyes wrote:
Perhaps touch might help.
Touch my ass.
ROFLMAO
(I've been waiting for years to use that one)
It won't work?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
It won't work?
No idea, it was just a rather poor play on words.
--
Richard Heyes
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpdrive|
++
--
PHP General Mailing List
On Wed, May 7, 2008 at 2:35 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Wed, 2008-05-07 at 14:29 -0600, Nathan Nobbe wrote:
On Wed, May 7, 2008 at 2:22 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
At 12:34 PM -0400
Ryan S wrote:
Hey!
Thansk for replying!
clip
It is obvious I haven't had my caffeine yet. This is my last try to
get the pattern straight:
?php
$html = END_OF_HTML
bhello/b
b class=blahhello/b
pthose/p
p class=blahhello/p
ahello/a
a href=urlthis/a
arose/a
a href=regex yohello/a
anose/a
a
Is there a way to take all the variables, no matter what their names and
values are, from the parameters in a url and POST them to another URL so
that they don't show up in the address bar? I've noticed a huge increase in
my bounce rate since I added some tracking parameters to my urls, but I
Javascript can help you there.
On May 7, 2008, at 4:55 PM, Ben wrote:
Is there a way to take all the variables, no matter what their names
and
values are, from the parameters in a url and POST them to another
URL so
that they don't show up in the address bar? I've noticed a huge
I believe you can use cURL to create POST requests.
-TG
- Original Message -
From: Ben [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Wed, 7 May 2008 17:55:34 -0600
Subject: [PHP] Redirection
Is there a way to take all the variables, no matter what their names and
values are,
On Wed, May 7, 2008 at 5:55 PM, Ben [EMAIL PROTECTED] wrote:
Is there a way to take all the variables, no matter what their names and
values are, from the parameters in a url and POST them to another URL so
that they don't show up in the address bar? I've noticed a huge increase
in
my
55 matches
Mail list logo