Filing a bug against APC with a gdb backtrace from one of these crashes would
be useful.
See http://pecl.php.net/bugs/report.php?package=APC
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$message - yes
---
This usually can go without any special escaping, unless you have
certain headers (the Boundary: header) or allow an injection into
the $additional_headers field. If this is the case a malicious
user could attach a virus to be sent anonymously.
Shouldn't you als
Leonard Burton wrote:
HI,
Tuesday, November 15, 2005, 8:39:19 PM, you wrote:
Here are how they look
W1W
W1AW
WA1W
AD4HZ
N9URK
WB6NOA
4N1UBG
Let's do it this way... What are the rules for a valid callsign?
Basicly, you see an example of each different type of callsign. Other
than the pa
Hi guys.
I've been searching for where the time is set for a session to expire
but had little luck.
in the PHP.ini file I found:
session.cache_expire
which specifies the time in minutes but is this what sets the session to
timeout once the setting time has been surpassed?
Or am I looking
On Thu, Nov 17, 2005 at 07:10:06PM -0500, Chris Drozdowski wrote:
> Hello,
>
> When using the mail() function to send a simple mail message, which
> specific parameters of the function need to cleaned to prevent mail
> injection?
This is a good topic. I'm in the process of writing an article
On Thu, Nov 17, 2005 at 04:00:21PM -0600, Nate Nielsen wrote:
> I'm having an issue with cURL. I have installed it on two different boxes,
> one is working properly, and another isn't.
>
> The script auto login's a user to a site. One server it works as expected
> and logs the user in, the oth
Chuck Anderson wrote:
Ben wrote:
Edward Martin said the following on 11/17/2005 04:27 PM:
"Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on
Ben wrote:
Edward Martin said the following on 11/17/2005 04:27 PM:
"Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on line 34"
It m
has anyone here used wget or similar command to redirect/reflect a
live stream data from one server to another server ?
I wanted to use each server's upload bandwidth to transfer a live
stream to a new server
that way, my hope is that I can balance the bandwidth load a bit
between serv
Edward Martin said the following on 11/17/2005 04:27 PM:
"Warning: Cannot modify header information - headers already sent by
(output started at
/usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in
/usr/home/ecmartin/public_html/ethics06/sas.php on line 34"
It means you are trying t
I am new to working with php and I am having trouble trying to figure
out this following "error" message that is displayed when I access a php
file. Can you tell me what this error message means (in plain English)
and what steps I might take to correct it?
"Warning: Cannot modify header informatio
Hello,
When using the mail() function to send a simple mail message, which
specific parameters of the function need to cleaned to prevent mail
injection?
First of all I am already validating the $to parameter to be a valid
email address.
After reading http://securephp.damonkohler.com/in
Hello,
When using the mail() function to send a simple mail message, which
specific parameters of the function need to cleaned to prevent mail
injection?
First of all I am already validating the $to parameter to be a valid
email address.
After reading http://securephp.damonkohler.com/in
Hello,
on 11/17/2005 08:00 PM Nate Nielsen said the following:
I'm having an issue with cURL. I have installed it on two different
boxes, one is working properly, and another isn't.
The script auto login's a user to a site. One server it works as
expected and logs the user in, the other it do
also, as another note - the php version and cURL version is identical on the
two machines - the main difference between them being that one is windows 2k
server and the other one is windows 2k3 server (std ed)
any ideas ?
thanks
- Original Message -
From: "Nate Nielsen" <[EMAIL PROTE
I actually did that before emailing about php 4.3.10. With php 4.4.1,
the traceback is different:
Reading symbols from /home/sys/Zend/lib/ZendExtensionManager.so...done.
Loaded symbols for /home/sys/Zend/lib/ZendExtensionManager.so
Error while reading shared library symbols:
.//home/sys/Zend/etc/
Curt,
yes, technically, 0 is a number - it's a bit late here, and I believe I
mis-understood the original question, which is why I re-posted in the thread.
I guess my mind got a bit confused by the combination of "is_int doesn't
work", "intval returns a number" and "'10' vs 'ten'" example.
I'm having an issue with cURL. I have installed it on two different boxes, one
is working properly, and another isn't.
The script auto login's a user to a site. One server it works as expected and
logs the user in, the other it does not. It appears the cookie data that is
being saved is diff
I have had various problems with upgrading one or the other, until I took it
as a rule to recompile both upon an upgrade. On the machine I do things
completely manually on [which has it's drawbacks], I generally also upgrade
to the current version of PHP together with any Apache update, and
v
and possibly with heavy (php5) OO code?
I'm getting intermittent segfaults with 5.0.4, 5.0.5
when using apc_fetch() and apc_store() - caching of all opcodes
[by setting the ini setting 'apc.enabled' to 1] works fine.
I just tried with php5.1RC5 and it just segfaults on every request,
with or wit
Hello,
I am seeing Apache segmentation faults with some processes which turn
out to be php related. This is a newly upgraded Apache from Apache
2.0.54 to Apache 2.0.55. The scripts that are failing with the new
Apache work with no problems with the old Apache.
Traceback from Apache is below.
L
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 2005-11-17 at 14:34, Dan Baker wrote:
>> <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> > Hi to all,
>> > always wondered what's better way to mix html and php code. Here are
>> > three
>> > "w
Hi list,
Does anyone have any information/updates on this issue perhaps? The thread
on http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027056.html
hasn't had anything new (since Nov 6), and on
http://bugs.php.net/bug.php?id=35059 it's been stated as "fixed" ever since
(Nov
If I misunderstood the intval part of your post, than the [proposed already]
is_numeric solutions are the way to go. is_numeric will, however, unlike the
conversion functions, return false if there's anything but a number in the
string, so, i.e., is_numeric ("10a1") will return false, but intv
On Thu, 2005-11-17 at 14:34, Dan Baker wrote:
> <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > Hi to all,
> > always wondered what's better way to mix html and php code. Here are three
> > "ways" of the same code. Which one you prefer? (And why, of caurse :))
> (snip)
> > I think
Which version of PHP are you using? On php 4.4.0 (SuSE 10.0 default RPM, not
custom build, so perhaps I'm missing some extras you're using?) the following
script works fine:
I get no boo. intval doesn't convert my "ten" to a number. Moreover, the
output of the following:
produces an e
On Thu, Nov 17, 2005 at 02:37:49PM -0500, blackwater dev wrote:
> How can I check to see if a string var holds a number? Is regex the
> only way to do this? For example I have code where the var could hold
> "10" or "ten". If the string is a number, do one thing, if it isn't
> do something else.
blackwater dev said the following on 11/17/2005 11:37 AM:
How can I check to see if a string var holds a number? Is regex the
only way to do this? For example I have code where the var could hold
"10" or "ten". If the string is a number, do one thing, if it isn't
do something else. is_int does
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi to all,
> always wondered what's better way to mix html and php code. Here are three
> "ways" of the same code. Which one you prefer? (And why, of caurse :))
(snip)
> I think third solution would be the best solution?
IF you are doi
How can I check to see if a string var holds a number? Is regex the
only way to do this? For example I have code where the var could hold
"10" or "ten". If the string is a number, do one thing, if it isn't
do something else. is_int doesn't work, intval converts "ten" to a
number so that doesn't
"Scott Parks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi-
>
> I have a number that I am trying to format. It is data coming from a
> main frame and
> has 8 characters assigned to it (6 and two decimal places). I have
> zerofill set up in
> MySQL on this field and am worki
On Nov 17, 2005, at 10:09 AM, Rahul S. Johari wrote:
I'm working on a Guestbook for a site and I'm trying to identify
Browser &
Operating System of the user and eventually I'll display the Icon
matching
the Browser/OS in the entry.
I'm able to identify and use an If Conditional statement for
Hi Ben,
Thursday, November 17, 2005, 4:24:11 PM, you wrote:
> In order to set one and then check if it exists or not, I have to
> set it on one page, and then test it on the next page load - In this
> case, I don't figure out how I need to send information from page to
> page until they have alre
There is nothing weird when this function takes a variable as the
argument and your using an object, read the manual
Are you suggesting that settype() can't be used for objects? The
documentation doesn't seem to indicate that...
You could try:-
$dbObject = (null) $dbObject;
Ive not tested tha
We were using unset() for the longest time but found it doesn't
seem to free up the memory.
interesting - you are suggesting that settype does free the memory
directly?
Yes. Moreso than unset(), at least according to my observations and
tests.
I have seen a number of posts to internals regar
Hi Ben,
Thursday, November 17, 2005, 3:26:04 PM, you wrote:
> Is there a way to test if a user has cookies turned on or not so
> that I can use cookies if the user allows them and use the URL if
> the user does not allow them?
Set one? :)
Then check if it exists or not.
This of course will not
:) why of course
On 11/17/05, Richard Davey <[EMAIL PROTECTED]> wrote:
> Hi Dan,
>
> Thursday, November 17, 2005, 3:56:43 PM, you wrote:
>
> > You can check on every page load, but I'm sure thats over kill for
> > most public facing sites to catch some Yahoos who have too much time
> > on their ha
Hi Dan,
Thursday, November 17, 2005, 3:56:43 PM, you wrote:
> You can check on every page load, but I'm sure thats over kill for
> most public facing sites to catch some Yahoos who have too much time
> on their hands.
Is that a new technical term for 'hacker' ? :)
Cheers,
Rich
--
Zend Certifi
On 17 November 2005 14:31, Chris Boget wrote:
> > I'm seeing the following line showing up in my logs:
> >
> > 08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () -
> > function does not exist
> >
>
> The line to concentrate on is this one:
>
> $dbObject = new IPI_OfficeDetailsInt
You can check on every page load, but I'm sure thats over kill for
most public facing sites to catch some Yahoos who have too much time
on their hands.
On 11/17/05, Richard Davey <[EMAIL PROTECTED]> wrote:
> Hi Ben,
>
> Thursday, November 17, 2005, 3:26:04 PM, you wrote:
>
> > Is there a way to te
Chris Boget wrote:
why not just do:
unset($dbObject);
We were using unset() for the longest time but found it doesn't
seem to free up the memory.
interesting - you are suggesting that settype does free the memory
directly? I have seen a number of posts to internals regarding to
being able to
Ave,
Interesting.
I did get this JavaScript code for OS detection:
// This script sets OSName variable as follows:
// "Windows"for all versions of Windows
// "MacOS" for all versions of Macintosh OS
// "Linux" for all versions of Linux
// "UNIX" for all other UNIX flavors
// "
On Nov 15, 2005, at 12:07 PM, Ben Miller wrote:
I am trying to learn how to work with arrays, and have the basic
concept
down for working within a single page, but I am having trouble sending
an
array from one page to another. For example, I can send a variable
from
page to page using either
Hi Robert,
Thursday, November 17, 2005, 3:39:43 PM, you wrote:
> *lol* I do that sometimes... with Javascript too.
:) it's amazing what you can break by doing that!
Cheers,
Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk
--
PHP General Mailing List (http://
why not just do:
unset($dbObject);
We were using unset() for the longest time but found it doesn't
seem to free up the memory.
$dbObject &= new IPI_OfficeDetailsInterface();
so you want to do a bitwise AND on a non-existant variable and a newly
creately object??
maybe you meant to do:
$dbObj
On Thu, 2005-11-17 at 10:33, Richard Davey wrote:
> Hi Ben,
>
> Thursday, November 17, 2005, 3:26:04 PM, you wrote:
>
> > Is there a way to test if a user has cookies turned on or not so
> > that I can use cookies if the user allows them and use the URL if
> > the user does not allow them?
>
> S
Hi Ben,
Thursday, November 17, 2005, 3:26:04 PM, you wrote:
> Is there a way to test if a user has cookies turned on or not so
> that I can use cookies if the user allows them and use the URL if
> the user does not allow them?
Set one? :)
Then check if it exists or not.
This of course will not
Chris Boget wrote:
I'm seeing the following line showing up in my logs:
08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () -
function does not exist
and I've narrowed it down to this line of code:
Update, it turns out it's not the settype(). Here's a larger context of
the of
Tried and true is to set a cookie and then attempt to read it, if you
cant read it then cookies are not on.
On 11/17/05, Ben Miller <[EMAIL PROTECTED]> wrote:
> Is there a way to test if a user has cookies turned on or not so that I can
> use cookies if the user allows them and use the URL if the
Is there a way to test if a user has cookies turned on or not so that I can
use cookies if the user allows them and use the URL if the user does not
allow them?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
None, their all messy and terribly hard to read, I would use CSS instead
of tables, that way their would be not much need to change any HTML code
incase you wanted to re-design your webpage with another style or make
slight alterations etc, HTML coders should be able to understand CSS so
would
There is nothing weird when this function takes a variable as the
argument and your using an object, read the manual
http://php.net/settype
I'm not sure what you mean here. Nowhere on the doc page for
settype() (at least, not that I saw) does it say you can't pass an
object as the first argu
Ave,
I'm working on a Guestbook for a site and I'm trying to identify Browser &
Operating System of the user and eventually I'll display the Icon matching
the Browser/OS in the entry.
I'm able to identify and use an If Conditional statement for the Browser,
but I can't seem to identify the OS.
Learn DTD and how it works first then you will know :-)
A DTD is contained in an external file and not in XML, so you would
create a DTD file then link it from the XML like so,
Erik Franzén wrote:
The code below lacks the part where the folling DTD attribute is
created:
How can I c
I am using imap_headerinfo() to query articles from an NNTP server.
I have encountered a situation where I can't suppress some notices from
imap_headerinfo() and I can't figure out why. It appears that
imap_headerinfo() doesn't like the e-mail address in the article (which is
SPAM blocked) and
Aftab Alam wrote:
Hello,
I want to create a trigger in PostgresSQL ,
In trigger, Before inserting the record i want to check that data is
available or not, if data is not there then the insert script execute
otherwise trigget check the next insert script.
Please reply.
What, and yo
There is nothing weird when this function takes a variable as the
argument and your using an object, read the manual
http://php.net/settype
You could try:-
$dbObject = (null) $dbObject;
Ive not tested that but think it should work!
James
Chris Boget wrote:
I'm seeing the following
yes Im sure everyone is going to answer seeing that this is a postgres
list... oh wait its a PHP list.
Sorry buddy, think you're goin to get flamed.
Aftab Alam wrote:
Hello,
I want to create a trigger in PostgresSQL ,
In trigger, Before inserting the record i want to check that data is
ava
Reading this, a question arose me: is it possible to read a shared
memory area with php, supposing than both programs are in the same
machine? does php support ipc? that would be greatly useful.
Mariano.
James Benson wrote:
Each has its own benefits, if on a shared server then a database w
I'm seeing the following line showing up in my logs:
08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - function
does not exist
and I've narrowed it down to this line of code:
Update, it turns out it's not the settype(). Here's a larger context of the
offending
area of code
Each has its own benefits, if on a shared server then a database would
be the most secure I think, if its a dedicated server then tmpfs or just
plain old files will probably be the best, it also depends on various
other factors like, server hardware and bandwith, only you can select
the best op
I'm seeing the following line showing up in my logs:
08:08:30 [warning] [Unknown][0]: Unknown(): Unable to call () - function
does not exist
and I've narrowed it down to this line of code:
settype( &$dbObject, "null" );
When I comment out the above line, the error goes away. When
I uncomm
Read the instructions on php.net, their are two different ways to
unsuscribe, either email or use the web interface,
http://php.net/mailing-lists.php
wayne wrote:
I tried to unsubscribe on several occasion without
success. I followed the instruction at the bottom
of the email. Can someone
Are both servers on the same machine?
Yaswanth Narvaneni wrote:
Hi!
I would like to know what does the community think of the best
architecture for server client communication and why? That is, if
there is a server in C++ (say a game server) and the PHP has to 'read'
data 'from' the server t
Petr Smith wrote:
Torgny Bjers wrote:
Angelo Zanetti wrote:
Hi guys.
I've googled but found so many pages that I'm not sure what to use.
I want to use PHP to make use of SOAP.
I've found:
-nuSoap
-libxml(2)
-php-soap
-and others which seemed less important.
Can you recommend which one
Angelo Zanetti wrote:
Hi guys.
I've googled but found so many pages that I'm not sure what to use.
I want to use PHP to make use of SOAP.
I've found:
-nuSoap
-libxml(2)
-php-soap
-and others which seemed less important.
Can you recommend which one to use? and which one is the most supported.
Hello,
I want to create a trigger in PostgresSQL ,
In trigger, Before inserting the record i want to check that data is
available or not, if data is not there then the insert script execute
otherwise trigget check the next insert script.
Please reply.
Regards,
_
Aftab Alam
Yaswanth Narvaneni wrote:
Hi!
I found the solution to my prob. SELinux was enabled in the server
which needs disabling. After disabling SELinux it was working great.
Thanks for your help guys.
Another small query though, is there anyway to enable SELinux and as
well use shared memory between PH
my friend here forgot to add that it will be a pretty busy website
with lots of requests.
And i would also like to know if there are any other forms of
communication other than the 4 that my friend here specified. Anything
that you people think will be efficient.
On 11/17/05, Yaswanth Narvaneni <[
Hi!
I would like to know what does the community think of the best
architecture for server client communication and why? That is, if
there is a server in C++ (say a game server) and the PHP has to 'read'
data 'from' the server then what is the best form of communication?
a) Shared Memory : Server
70 matches
Mail list logo