Ben Edwards schreef:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
$SESSION["cart"]->web_order
e.g. Draw a box in the middle of page with mouse, then crop it.
> CC: php-general@lists.php.net
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Mon, 3 Mar 2008 22:25:07 -0800
> Subject: Re: [PHP] Crop part of existing pdf
>
>
> On Mar 3, 2008,
Richard Lynch schreef:
I am trying to use this:
imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable to
mark message as \\Seen");
3 things:
1. shouldn't it be ST_UID iso FT_UID?
2. the imap bos is opened readonly?
3. er ... I l-i-e-d :-)
to mark a message as "read"
It does no
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris <[EMAIL PROTECTED]> wrote:
> Just FYI, using ADODB will slow down the performance of your app. Any
> function calls cost against you and it all adds up.
If you remove it, then you remove functionality - so before you go and
rip it
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
Eric Butera schreef:
> On Mon, Mar 3, 2008 at 6:18 PM, Chris <[EMAIL PROTECTED]> wrote:
>> > Just FYI, using ADODB will slow down the performance of your app.
>> Any > function calls cost against you and it all adds up.
>>
>
Hello,
I got this e-mail address from the Add note¹ page within the php.net
website. I was going to post something that was a question and I realised I
was in the wrong place :)
I have 2 basic questions and I¹m sorry if they may seem too basic. I¹m a bit
new to php.
The first question has to do
Thiago Pojda wrote:
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris <[EMAIL PROTECTED]> wrote:
> Just FYI, using ADODB will slow down the performance of your app.
Any > function calls cost against you and it al
Svevo Romano wrote:
Hello,
I got this e-mail address from the ŒAdd note¹ page within the php.net
website. I was going to post something that was a question and I realised I
was in the wrong place :)
I have 2 basic questions and I¹m sorry if they may seem too basic. I¹m a bit
new to php.
The fi
Svevo Romano schreef:
Hello,
I got this e-mail address from the ŒAdd note¹ page within the php.net
website. I was going to post something that was a question and I realised I
was in the wrong place :)
I have 2 basic questions and I¹m sorry if they may seem too basic. I¹m a bit
new to php.
The
On Tue, Mar 4, 2008 at 5:51 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Eric Butera schreef:
>
>
> > On Mon, Mar 3, 2008 at 6:18 PM, Chris <[EMAIL PROTECTED]> wrote:
> >> > Just FYI, using ADODB will slow down the performance of your app. Any
> >> > function calls cost against you and it all
On Tue, Mar 4, 2008 at 5:09 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Ben Edwards schreef:
>
> > Our server has just been upgraded to PHP 5.2.5 and suddenly I am
> > getting the following error:
> >
> > Fatal error: Call to a member function web_order_change() on a
> > non-object in /var/ww
hi people, hi Stut!
Stut mentioned a little while back that he avoids using the built-in session
mechanism if at all possible, but still manages to track user state ... now I
can think of a way or two that he might do that but I was wondering if
any one could give an idea about the write way to d
[snip]
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user state ...
now I can think of a way or two that he might do that but I was
wondering if
any one could give an idea about the write way to do it in terms o
On 4 Mar 2008, at 14:05, Jay Blanchard wrote:
[snip]
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state ...
now I can think of a way or two that he might do that but I was
wondering if
any one could g
Hi,
It depends what do you need to track,
if you need to track small amount of variables you can do it by cookie
I often use it eg here is the state for one user
$state = array{
'logedin'=>true,
'n'=>'Peter',
'id'=>'5',
//anything else you need
}
//at end of you script before outputing any conten
Dani Castaños wrote:
As a little project, I took the link provided by "the other" Rob and
make this little search tool.
It only looks at the beginning numbers. It does no number
validation. I don't validate the length of the number. ie: I would
have to know the min/max lenth of each phon
At 4:42 PM -0500 3/3/08, Daniel Brown wrote:
On Mon, Mar 3, 2008 at 3:13 PM, Keikonium <[EMAIL PROTECTED]> wrote:
This may not be exactly what you think, but I didn't know how else to word
the title. I basically need to make a script that will go through every
possible color combination and
On Tue, Mar 4, 2008 at 10:44 AM, tedd <[EMAIL PROTECTED]> wrote:
> While people are giving demo's, check this out:
>
> http://webbytedd.com/c/access-color/
>
> The code is there, it's javascript.
Ooh, it's purdy and shiny and I like it.
--
Daniel P. Brown
Senior Unix Geek
--
PHP Gene
At 6:58 PM -0800 2/28/08, Richard S. Crawford wrote:
I'm trying to figure out a way to make sure an included PHP file has no syntax
errors before actually including it as a part of project. Is this even
possible? I'm running into brick walls.
I'm not sure if this is what you are asking for, bu
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
> I'm working on an article
> for my website that describes exactly how I'm doing it and what the
> issues are but it's not ready yet. I'll let the list know when it's
> done.
Is it done yet?
--
Daniel P. Brown
Senior Unix
Hi there,
Many thanks for your answer. I've also gone through your example and it took
me 10 minutes to understand how the operator precedence was working there.
Was expecting 1 on the first call :)
But this is not the point. You've nailed my question very preciseley in your
first answer: 'the pr
On Tue, Mar 4, 2008 at 7:16 AM, Svevo Romano <[EMAIL PROTECTED]> wrote:
> The second question has to do with the online manual. I¹ve found several
> things on that manual specified in comments and not in the actual manual
> part of it. What is the nature of the manual? Contributions from volutee
At 7:52 PM + 2/29/08, Richard Heyes wrote:
1. My host does not allow command line access and has disabled shell
execution of PHP;
2. Error reporting has been turned off and I can't seem to turn that on
with ini_set or error_reporting (which is fun when I have minor syntax
errors to fix); a
On Tue, Mar 4, 2008 at 11:09 AM, Stut <[EMAIL PROTECTED]> wrote:
> On 4 Mar 2008, at 15:52, Daniel Brown wrote:
> > On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
> >> I'm working on an article
> >> for my website that describes exactly how I'm doing it and what the
> >> issues
On Mar 4, 2008, at 11:11 AM, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 11:09 AM, Stut <[EMAIL PROTECTED]> wrote:
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
I'm working on an article
for my website that describes exactly how I
On 4 Mar 2008, at 16:11, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 11:09 AM, Stut <[EMAIL PROTECTED]> wrote:
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
I'm working on an article
for my website that describes exactly how I'm doi
I would hazard a guess that the 'static' keyword and functionality
comes from ANSI C. I just pulled "The C Programming Language" by
Kernighan and Ritchie from the book case and it is described there in
it.
Essential book, by the way, IMHO.
--
-David.
When the power of love
overcomes the love o
http://www.phpclasses.org/browse/package/3507.html
bastien> Date: Tue, 4 Mar 2008 10:18:15 -0600> From: [EMAIL PROTECTED]> To:
php-general@lists.php.net> Subject: [PHP] GPS Locator> > Howdy group!> > I know
that this is not a PHP question (but it will work with a PHP app)> but I
thought I wou
Daniel Brown schreef:
On Tue, Mar 4, 2008 at 11:09 AM, Stut <[EMAIL PROTECTED]> wrote:
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
> On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
>> I'm working on an article
>> for my website that describes exactly how I'm doing it and what
Just one word,
Thanks :)
S
In 4/3/08 16:22, David Giragosian, [EMAIL PROTECTED] ha scritto
> I would hazard a guess that the 'static' keyword and functionality
> comes from ANSI C. I just pulled "The C Programming Language" by
> Kernighan and Ritchie from the book case and it is described there
On Tue, Mar 4, 2008 at 11:12 AM, Svevo Romano <[EMAIL PROTECTED]> wrote:
> Still, I jusy wonder how Jochem knew that the line is only executed the
> first time a function is called while this info is not available on the
> online manual. It's maybe all about how close you are to the community and
Howdy group!
I know that this is not a PHP question (but it will work with a PHP app)
but I thought I would ask the smartest group of people I know if they
have any clue or would be familiar with a device I can use. I need to
purchase a small GPS receiver/antenna that will plug into a USB port.
Th
On Tue, Mar 4, 2008 at 11:14 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Daniel Brown schreef:
> > You're full of crap. I have a day job, too, but I still feel like
> > I spend half of my time reading and responding to list posts. ;-P
>
> you should check the stats mail you send out
> ..
Hi Daniel,
Many thanks to you as well. I really appreciate your effort in answering my
queries guys. It means I'll do my best with books and the online manual.
And today I've probably found the best resource. The community!
Still, I jusy wonder how Jochem knew that the line is only executed the
f
Stut schreef:
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
I'm working on an article
for my website that describes exactly how I'm doing it and what the
issues are but it's not ready yet. I'll let the list know when it's
done.
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
I'm working on an article
for my website that describes exactly how I'm doing it and what the
issues are but it's not ready yet. I'll let the list know when it's
done.
Is it done yet
Svevo Romano schreef:
Hi there,
Many thanks for your answer. I've also gone through your example and it took
me 10 minutes to understand how the operator precedence was working there.
Was expecting 1 on the first call :)
But this is not the point. You've nailed my question very preciseley in yo
Ok Jochem,
It makes a lot of sense. Now I know what I can expect from the manual and
what kind of approach I should have. I hope to contribute as well in the
future.
Many thanks,
S
In 4/3/08 16:11, Jochem Maas, [EMAIL PROTECTED] ha scritto
> Svevo Romano schreef:
>> Hi there,
>>
>> Many thank
Along the lines of tedd, I will share this one.
http://www.colourlovers.com/blog/2008/01/16/free-advanced-dhtml-color-picker/
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William
[snip]
Tell me please before what operation system You will use ?
Linux or Windows?
There are different ways to do You task ☺
[/snip]
The GPS device will be attached to computers using a Windows operating system.
On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
> Richard Lynch schreef:
>> I am trying to use this:
>>
>> imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable to
>> mark message as \\Seen");
>
> 3 things:
>
> 1. shouldn't it be ST_UID iso FT_UID?
Yes, it should...
Fixed that, but
-Mensagem original-
De: Svevo Romano [mailto:[EMAIL PROTECTED]
Hi there,
Many thanks for your answer. I've also gone through your
example and it took me 10 minutes to understand how the
operator precedence was working there.
Was expecting 1 on the first call :)
But this is not the
Wintec makes a nice unit. http://www.wintec.com.tw/en/home.php
But you are screwed if the system is in doors. I doubt you would get a
GPS signal inside a building.
Dan
On Tue, 2008-03-04 at 10:18 -0600, Jay Blanchard wrote:
> Howdy group!
>
> I know that this is not a PHP question (but it will
At 4:12 PM + 3/4/08, Svevo Romano wrote:
Hi Daniel,
Many thanks to you as well. I really appreciate your effort in answering my
queries guys. It means I'll do my best with books and the online manual.
And today I've probably found the best resource. The community!
Still, I jusy wonder how J
On Tue, Mar 4, 2008 at 11:22 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> On Mar 4, 2008, at 11:11 AM, Daniel Brown wrote:
> >You're full of crap. I have a day job, too, but I still feel like
> > I spend half of my time reading and responding to list posts. ;-P
>
> Ummm... Mr. Brown... I'
At 10:48 AM -0600 3/4/08, Jay Blanchard wrote:
[snip]
Tell me please before what operation system You will use ?
Linux or Windows?
There are different ways to do You task ?
[/snip]
The GPS device will be attached to computers using a Windows operating system.
That makes sense, they usually don
Richard Lynch schreef:
On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
Richard Lynch schreef:
I am trying to use this:
imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable to
mark message as \\Seen");
3 things:
1. shouldn't it be ST_UID iso FT_UID?
Yes, it should...
Fixed t
At 12:15 PM -0500 3/4/08, Daniel Brown wrote:
Amazingly, I do get all of my stuff done. Granted, I'm in front
of a computer seven days per week, and usually a minimum of 10-12
hours per day, but what else would I do? Spend time with the
pre-wife?
You're working on wife 1.0 beta -- wait u
At 12:05 PM -0500 3/4/08, Daniel Brown wrote:
No, that would work fine in any case. In fact, code should always
be thoroughly tested before going into production.
Yeah, but that rules out all the fun.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthsto
At 12:36 PM -0500 2/28/08, Eric Butera wrote:
And I'd appreciate it if you kept all your posts about wearing dresses
to yourself but it isn't going to happen. :)
What ain't going to happen-- him posting or wearing dresses?
tedd
--
---
http://sperling.com http://ancientstones.com http:/
On Tue, Mar 4, 2008 at 11:29 AM, Mike Potter <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 29, 2008 at 2:25 PM, Daniel Brown wrote:
> > On Thu, Feb 28, 2008 at 9:58 PM, Richard S. Crawford
> > > I'm trying to figure out a way to make sure an included PHP file has no
> > > syntax
> > > errors before
On Tue, March 4, 2008 11:15 am, Jochem Maas wrote:
> Richard Lynch schreef:
>> On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
>>> Richard Lynch schreef:
I am trying to use this:
imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable
to
mark message as \\Seen")
At 1:18 PM -0500 2/28/08, Daniel Brown wrote:
There is a time and a place to presume at least a small piece of
intelligence on behalf of the poster.
And when does that happen?
It never happens when I post things. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com htt
Almost for sure, browser security will not let you do this in a web
browser.
You'll probably have to write a custom desktop C application, or get
the user to install some kind of glue widget...
PEAR|PECL *might* have some USB stuff in a library you could use to
write the PHP desktop widget and ke
At 9:51 PM +0100 2/29/08, Alain Roger wrote:
What is the basic rule ?
Text is cut off based on (numbers of words, number of characters,..) ?
Yes.
Use whatever you want. You can use the number characters or find the
last *space* in a string that's just long enough to fit your limit.
Let's sa
On Tue, 2008-03-04 at 11:42 -0600, Richard Lynch wrote:
> Almost for sure, browser security will not let you do this in a web
> browser.
>
> You'll probably have to write a custom desktop C application, or get
> the user to install some kind of glue widget...
>
> PEAR|PECL *might* have some USB
On Tue, March 4, 2008 11:39 am, Richard Lynch wrote:
> On Tue, March 4, 2008 11:15 am, Jochem Maas wrote:
>> Richard Lynch schreef:
>>> On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
Richard Lynch schreef:
> I am trying to use this:
>
> imap_setflag_full($imap, $uid, "Seen",
Richard Lynch schreef:
On Tue, March 4, 2008 11:39 am, Richard Lynch wrote:
On Tue, March 4, 2008 11:15 am, Jochem Maas wrote:
Richard Lynch schreef:
On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
Richard Lynch schreef:
I am trying to use this:
imap_setflag_full($imap, $uid, "Seen",
On Mon, March 3, 2008 7:04 pm, Richard Lynch wrote:
> I am trying to use this:
>
> imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable to
> mark message as \\Seen");
> to mark a message as "read"
Ah-ha!!!
The docs specify for Flags that the values are:
\\Seen \\Answered...
But the
tedd wrote:
At 12:15 PM -0500 3/4/08, Daniel Brown wrote:
Amazingly, I do get all of my stuff done. Granted, I'm in front
of a computer seven days per week, and usually a minimum of 10-12
hours per day, but what else would I do? Spend time with the
pre-wife?
You're working on wife 1.0 b
Richard Lynch schreef:
On Mon, March 3, 2008 7:04 pm, Richard Lynch wrote:
I am trying to use this:
imap_setflag_full($imap, $uid, "Seen", FT_UID) or die("Unable to
mark message as \\Seen");
to mark a message as "read"
Ah-ha!!!
The docs specify for Flags that the values are:
\\Seen \\Ans
At 10:21 AM -0500 2/29/08, Jason Pruim wrote:
On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote:
echo
"".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."".$myrow["karasub"];
Either CSS styling or the dreaded HTML "".$myrow['char_name']
At 10:29 AM -0500 2/29/08, Andrew Ballard wrote:
Let's just get all purist and go back to the class="highlight" so we
don't find ourselves a year later with a stylesheet that includes
.red {
color: green;
}
That's much less likely than:
.thisIsFridaysColor
{
color: green;
}
The
At 10:44 AM -0500 2/29/08, Daniel Brown wrote:
On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> .red {
> color: red;
> }
>
Let's just get all purist a
"".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."".$myrow["karasub"];
Either CSS styling or the dreaded HTML "".$myrow['char_name']."" tags.
But you should use CSS:
echo '' ...
Everyone:
Arr.
PHP
echo '';
CSS
.red
{
Eric Butera schreef:
On Tue, Mar 4, 2008 at 5:51 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
Eric Butera schreef:
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jochem,
This is probably true. I was just referring to an ol
At 6:05 PM + 3/4/08, Nathan Rixham wrote:
tedd wrote:
At 12:15 PM -0500 3/4/08, Daniel Brown wrote:
Amazingly, I do get all of my stuff done. Granted, I'm in front
of a computer seven days per week, and usually a minimum of 10-12
hours per day, but what else would I do? Spend time wit
On Tue, Mar 4, 2008 at 1:04 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I've added a note and submitted a Docs bug report.
I submitted a patch about a half-hour ago. I don't have karma to
the phpdocs tree, so Phillip or Hannes will probably take care of it
in a little while.
--
Daniel
Hi,
Is there any way to limit the user to a set of characters for example say i
want my user to enter any character between a and z (case insensitive). And if
the user enters just one letter not belonging to [a-z], this will not be
accepted.
I tried eregi('[a-z]', $fname) but this allows the
On 3/4/08, Adil Drissi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there any way to limit the user to a set of characters for example say i
> want my user to enter any character between a and z (case insensitive). And
> if the user enters just one letter not belonging to [a-z], this will not be
> ac
On Tue, Mar 4, 2008 at 2:19 PM, Adil Drissi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there any way to limit the user to a set of characters for example say i
> want my user to enter any character between a and z (case insensitive). And
> if the user enters just one letter not belonging to [a-z],
Adil Drissi wrote:
> Hi,
>
> Is there any way to limit the user to a set of characters for example say i
> want my user to enter any character between a and z (case insensitive). And
> if the user enters just one letter not belonging to [a-z], this will not be
> accepted.
>
> I tried eregi('[
On Tue, March 4, 2008 1:19 pm, Adil Drissi wrote:
> Is there any way to limit the user to a set of characters for example
> say i want my user to enter any character between a and z (case
> insensitive). And if the user enters just one letter not belonging to
> [a-z], this will not be accepted.
>
>
On Tue, March 4, 2008 8:22 am, Bojan Tesanovic wrote:
> Hi,
> It depends what do you need to track,
> if you need to track small amount of variables you can do it by cookie
> I often use it eg here is the state for one user
> $state = array{
> 'logedin'=>true,
> 'n'=>'Peter',
> 'id'=>'5',
> //any
On Tue, March 4, 2008 10:22 am, Jason Pruim wrote:
>
> On Mar 4, 2008, at 11:11 AM, Daniel Brown wrote:
>
>> On Tue, Mar 4, 2008 at 11:09 AM, Stut <[EMAIL PROTECTED]> wrote:
>>> On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut <[EMAIL PROTECTED]> wrote:
> I
On Tue, March 4, 2008 6:16 am, Svevo Romano wrote:
> Hello,
>
> I got this e-mail address from the Add note¹ page within the php.net
> website. I was going to post something that was a question and I
> realised I
> was in the wrong place :)
>
> I have 2 basic questions and I¹m sorry if they may se
On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or
use ini_set() in C:\wamp\www\php_sandbox\user_auth_
Sofia Jacob (CA) wrote:
> I'm getting problems with the mail() function.
>
> ERROR:
>
> Warning: mail() [function.mail]: Failed to connect to mailserver at "" port
> 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in
> C:\wamp\www\php_sandbox\user_auth_fns.php on lin
On Tue, March 4, 2008 10:12 am, Svevo Romano wrote:
> Still, I jusy wonder how Jochem knew that the line is only executed
> the
> first time a function is called while this info is not available on
> the
> online manual. It's maybe all about how close you are to the community
> and
> how many degre
Stut wrote:
> On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
>> I'm getting problems with the mail() function.
>>
>> ERROR:
>>
>> Warning: mail() [function.mail]: Failed to connect to mailserver at ""
>> port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use
>> ini_set() in C:\wamp
register_globals got turned off.
All your $_SESSION variables (in your case, $_SESSION['SESSION']) need
to be reference explicitly now.
Add this at the top:
$SESSION = $_SESSION['SESSION'];
right after session_start();
On Mon, March 3, 2008 5:48 pm, Chris wrote:
> Ben Edwards wrote:
>> Our serv
Ya, you are right. So there is no non-commercial option?
> Date: Tue, 4 Mar 2008 16:06:42 -0600
> Subject: Re: [PHP] Crop part of existing pdf
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: php-general@lists.php.net
>
> On Mon, March 3, 2008 8:14 pm, gary liang wrote:
> > Is there any
On Tue, Mar 4, 2008 at 5:05 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> After you've learned a couple computer languages, the rest are mostly
> about "differences" and "gotchas" rather than learning something new.
>
> Ok, except the Lisp/Scheme/Prolog stuff, where you have to think
> inside-
Please include the list when replying. And please don't top-post, it
makes proper quoting difficult.
On 4 Mar 2008, at 22:10, Sofia Jacob (CA) wrote:
Yes, I did that first and I get the error:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"mail.yahoo.ca" port 465, ver
On Mon, March 3, 2008 8:14 pm, gary liang wrote:
> Is there any command line tool, which is able to crop part of pdf
> file? I ask for command line tool, because it can be used in php code.
> Any hint?
The commercial version of phpLib might do that.
--
Some people have a "gift" link here.
Know w
While this has deteriorated way off topic from PHP, I will just mention that
I've purchased several GPS from these cats and had great luck:
http://www.buygpsnow.com
You *might* be able to write a custom PHP extension that you compile into
PHP that can access the USB/Serial port as well. (and if yo
Stut wrote:
> Please include the list when replying. And please don't top-post, it
> makes proper quoting difficult.
>
> On 4 Mar 2008, at 22:10, Sofia Jacob (CA) wrote:
>> Yes, I did that first and I get the error:
>>
>> Warning: mail() [function.mail]: Failed to connect to mailserver at
>> "mai
for ($red = 0; $red < 256; $red++){
for ($green = 0; $green < 256; $green++){
for ($blue = 0; $blue < 256; $blue++){
$output = << This may not be exactly what you think, but I didn't know how else to
> word
> the title. I basically need to make a script that will go through
> every
> po
#1
Get the code, install it on a box in the closet, run valgrind --callgrind
This will give you a stack trace of what gets called the MOST in your
application.
Look for "tall" trees in the call graph, and fix those first.
#2
You can use 'ab' (apache benchmark) or similar to test it externally.
On Mon, March 3, 2008 10:49 am, Jochem Maas wrote:
> Richard Lynch schreef:
>> On Sun, March 2, 2008 11:07 pm, Steve Finkelstein wrote:
>>> Hi all,
>>>
>>> I know this isn't a forum for Zend IDE, but since there's probably
>>> a
>>> decent population here using it, I figured I'd ask away.
>>>
>>> I
On Sat, February 23, 2008 10:50 pm, Tamer Higazi wrote:
> I have asked myself a question. After I saw, that SAP will no more
> release future Versions of their open source Database MaxDB under the
> GPL License, I have asked myself either if this could happen with PHP.
No.
For starters, all the c
Thank you guys,
The answers you gave me not only solved the problem,
but i included more characters like space and -.
Thank you again
--- Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Tue, March 4, 2008 1:19 pm, Adil Drissi wrote:
> > Is there any way to limit the user to a set of
> characters
Cheers Thiago,
In fact this was going to be my next question. I think I will report a
documentation bug, just because, after all the discussion we had today, I
realize that this is quite a common behaviour in other languages, but for
somebody new to languages, being them programming or scripting o
Yes Richard,
In fact I know ActionScript and JavaScript and I'm trying to nail the
peculiarities of php. I totally agree. I am not used to use ' -> ' to call a
method if you know what I mean, but the rest is quite familiar, phew! :)
Aside from that, this was just one of the things I could not real
Richard, Jed,
Thank you for replying.
Richard said:
It's possible that there is an .htaccess file in phpMyAdmin that has
Magic Quotes on that is messing you up...
The .htaccess file for phpMyAdmin says "php_flag magic_quotes_gpc Off",
so I guess that means I'm okay there.
Other than that,
Does anyone know if there is a builtin function for checking the
formatting of an incoming date to verify it is /MM/DD. I know how
to convert between formats but want a quick way to check an incoming
variable to ensure it will be handled properly by mysqld.
Larry
--
PHP General Mailing Lis
Its been a long week already... -MM-DD.
On Tue, 2008-03-04 at 20:16 -0500, Larry Brown wrote:
> Does anyone know if there is a builtin function for checking the
> formatting of an incoming date to verify it is /MM/DD. I know how
> to convert between formats but want a quick way to check a
On 3/3/08, Keikonium <[EMAIL PROTECTED]> wrote:
> This may not be exactly what you think, but I didn't know how else to word
> the title. I basically need to make a script that will go through every
> possible color combination and print them to look just like (or similar) to
> the windows color pi
Larry Brown wrote:
Its been a long week already... -MM-DD.
On Tue, 2008-03-04 at 20:16 -0500, Larry Brown wrote:
Does anyone know if there is a builtin function for checking the
formatting of an incoming date to verify it is /MM/DD. I know how
to convert between formats but want a quic
Thanks,
I ended up doing:
$incomingQuestDatePieces = explode("-", $incomingQuestDate );
if(checkdate($incomingQuestDatePieces[1],$incomingQuestDatePieces[2],
$incomingQuestDatePieces[0]))
{
return true;
}
else
{
return false;
}
I was just wondering since a lot of people have to
100 matches
Mail list logo