I figured out that I was running an older version of Suhosin. Apparently
this bug is fixed in Suhosin version 0.9.23 . I upgraded and everything
works great now. Thanks for the help.
Thodoris wrote:
>
>
> If no salt is provided, PHP will auto-generate a standard two character
> salt by defa
I have a problem with using crypt(), passing only one parameter (ie, no
salt). When I do that, I get an empty string. When I do use a salt, it
returns the expected value. Does anybody have any ideas what might be
causing my problem? It only happens when I run it on my linux server, but
not w
Hi Nathan,
Thanks for the advice. I don't think that cache getting too full is the
problem because the system cache only got less than 10% full at the most.
On another note, thanks for letting me know about the PECL dev list. I
didn't realize that that list exists. I just sent my email to the
On Wed, Sep 10, 2008 at 11:38 PM, David Park <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I just installed APC on my server that is running PHP and the APC appears
> to
> be randomly crashing. Below are the symptoms that my server is
> experiencing
> and the configuration of my system. Has anyone se
like stut said - your probably have some old .dll(s) hanging
around that windows is loading in preference to the ones it should be
(when cleaning up all existing installations also check that there is nothing
lurking in the system32 directory.
if that doesn't give you any joy - you might consider
Douglas Temple wrote:
First off, I hope everyone had Happy New Year.
Onto business, I am trying to install PHP 5.2.0 on a WinXP computer, using
Apache 2.2.3 as the web server with MySQL enabled extension. My problem is
that when I start up Apache with the edited httpd.conf file including the
fo
On Tue, November 21, 2006 10:31 pm, Tom wrote:
> Im trying to use the imagejpeg function call in a php script and
> I
> cant quite seem to get it working properly.
Can you clarify "working properly" into something a bit more concrete?
Right now, we're left guessing from the most likely scen
On Tue, 2006-11-21 at 23:42 -0500, Tom wrote:
> Can you show me what your gd dump looks like?
>
>
> var_dump(gd_info());
> ?>
>
> Is that way I got mine.
>
> Also, what php version are you using? I'm using 5.1.6.
PHP 4.4.4 and PHP 5.2.0 both compiled from source.
This is my PHP 5.2.0 var_du
neral@lists.php.net
Subject: Re: [PHP] problem using imagejpeg function all
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
> $image = imagecreate(200, 200);
> $colorRed = imagecolorallocate($image, 255, 0, 0);
> imagefill($image, 0, 0, $colorRed);
>
> //send image
> //header(&q
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
> $image = imagecreate(200, 200);
> $colorRed = imagecolorallocate($image, 255, 0, 0);
> imagefill($image, 0, 0, $colorRed);
>
> //send image
> //header("Content-type: image/jpeg");
> imagejpeg($image);
>
> ?>
Works for me with the header lin
On Thu, July 6, 2006 11:54 am, Don wrote:
> I have a CSV file, comma delimited with the data enclosed by double
> quotes.
>
> I am using the fgetcsv() function to read and into an array and update
> a
> database. It works great except for the odd record. After
> investigating, I
> have ascertained
> I am using the fgetcsv() function to read and into an
> array and update a database. It works great except
> for the odd record. After investigating, I have ascertained
> that it is due to a backslash character in the data which
> fgetcsv() cannot parse properly. I don;t see anyway around
>
thanks a lot Brad...
i was updating the php.ini from PHP installation folder and not the one that
apache was reading.
so i replace the php.ini in my C:\Windows folder and in my Phpinfo page i
have a new part regarding MySQL.
it's ok now.
thanks a lot,
Alain
On 4/5/06, Brad Bonkoski <[EMAIL PROTE
One alternative is to try this:
http://www.en.wampserver.com
Otherwise, make sure the php.ini file you are editing is the one pointed
to by the line:
Configuration File (php.ini) Path from the phpinfo generated file
Also, you could check any Apache log files to see if they output any
erro
Alain Roger wrote:
nothing about MySQL...only what is in my path variable :-(
1. i stopped apache server
2. i uncomment --> extension=php_mysql.dll and extension=php_mysqli.dll in
my php.ini file
3. i updated my extension_dir like that --> extension_dir =
"F:\WebServer\PHP511\ext"
4. i restarted
nothing about MySQL...only what is in my path variable :-(
1. i stopped apache server
2. i uncomment --> extension=php_mysql.dll and extension=php_mysqli.dll in
my php.ini file
3. i updated my extension_dir like that --> extension_dir =
"F:\WebServer\PHP511\ext"
4. i restarted apache
5. phpinfo sti
Create a page like this:
and see what the output tells you about mysql...might shed some light on it.
-B
Alain Roger wrote:
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not work :-(
On 4/5/06, J
i've seen that non of extension are activated...neither mysql.dll nor
mysqli.dll
after uncommenting them and restarting Apache, it still does not work :-(
On 4/5/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> Alain Roger wrote:
> > Hi,
> >
> > i wrote a simple testing page. it should test if it c
Alain Roger wrote:
Hi,
i wrote a simple testing page. it should test if it can connect to MySQL db.
however, i have an error message as followed :
*Fatal error*: Call to undefined function mysql_connect() in *F:\Mes
documents\Development\Website\Immense\checklogin.php* on line *23
*on line 23,
On Wed, 9 Feb 2005 16:12:58 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote:
>
> > > Maybe you should post a bit of code to illustrate your problem ;)
> >
> > I'me just doing:-
> >
> > return $radio_html;
> >
> > as the last line of th
On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote:
> > Maybe you should post a bit of code to illustrate your problem ;)
>
> I'me just doing:-
>
> return $radio_html;
>
> as the last line of the method.
>
> If I do
>
> echo $radio_html;
>
> The condense of the variable gets output
On Tue, 2005-02-08 at 16:47 +, Chris Ramsay wrote:
> [snip]
> I am having a really odd problem. I have a class and if I do a return
> nothing is returned. If I do an echo of the variable that is being
> returned I can see it so there is something to return. Is there some
> strange bug in PHP
[snip]
I am having a really odd problem. I have a class and if I do a return
nothing is returned. If I do an echo of the variable that is being
returned I can see it so there is something to return. Is there some
strange bug in PHP?
[/snip]
What is it you are doing - are you echoing the call i.e
thanks. anyplace i can find which errors are reported by E_STRICT at
runtime and which ones at compile time ?
thx.
yashesh bhatia.
On Sun, 24 Oct 2004 15:24:34 +, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * Thus wrote Yashesh Bhatia:
> >
> > My question is why is the funtion call
> >
> > err
* Thus wrote Yashesh Bhatia:
>
> My question is why is the funtion call
>
> error_reporting(E_ALL|E_STRICT);
>
> not enabling E_STRICT at runtime ?
Note: The following error types cannot be handled with a user
defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR,
On Sun, 24 Oct 2004 16:41:16 +0530, Yashesh Bhatia <[EMAIL PROTECTED]> wrote:
> error_reporting(E_STRICT|E_ALL);
This does appear broken. I was unable to get E_STRICT to work at all
on my setup. PHP 5.02, and Apache 2.0.51.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http
* Thus wrote Justin Patrin:
> On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse <[EMAIL PROTECTED]> wrote:
> > Hi folks. I'm getting the following error when attempting to use
> > PEAR::HTTP_Request to check the existence of a file.
> >
> > It's throwing an error from fread on an https stream:
> >
* Thus wrote Pablo Gosse:
> Hi folks. I'm getting the following error when attempting to use
> PEAR::HTTP_Request to check the existence of a file.
>
> It's throwing an error from fread on an https stream:
>
> Warning: fread(): SSL: fatal protocol error in
> /u0/local/lib/php/Net/Socket.php on l
On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse <[EMAIL PROTECTED]> wrote:
> Hi folks. I'm getting the following error when attempting to use
> PEAR::HTTP_Request to check the existence of a file.
>
> It's throwing an error from fread on an https stream:
>
> Warning: fread(): SSL: fatal protocol
You need to chmod or chown the directory where the file is located.
James Brash wrote:
Hi,
I have a problem using unlink(); on a system using FreeBSD and Apache...
where my local system using Windows and Apache experiences no problems.
On the windows system is deletes the file, but on the FBSD s
* Thus wrote James Brash ([EMAIL PROTECTED]):
>
> Hi,
> I have a problem using unlink(); on a system using FreeBSD and Apache...
> where my local system using Windows and Apache experiences no problems.
>
> unlink("test1.php");
> ?>
>
> On the windows system is deletes the file, but on the FBSD
I think that the safe mode is on
But no executables into the safe_mode_exec_dir
beware if you set the safe mode to OFF. This is my value, but my server
is in a safe place.
HTH
Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks for your help, I have already its 777
>You need to chmod or chown the directory where the file is located.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'd suggest to have a look at your php.ini and see the value of some
execute external commands. Don't remember exactly the name of this flag.
HTH
Regards
Pascal Miquet
Le mar 05/08/2003 à 13:53, James Brash a écrit :
>
> Hi,
> I have a problem using unlink(); on a system using FreeBSD and
At 10:35 03.03.2003, Joe Wong said:
[snip]
> My last posting was interrupted. The details are here:
>
>I have created an extension on top of a C++ library
>If I put the module name into php.ini extension=XYZ, apache failed to load
>If I try to use 'dl' to lo
At 09:49 03.03.2003, Joe Wong said:
[snip]
>Hello,
>
> I have some problem using an extension written by myself. Here are the
>details:
>
>OS. RedHat 7.2
>Apache: 1.3.20-16 (out of the box version )
>PHP 4.3.0 compiled with:
[snip]---
From: Rosen <[EMAIL PROTECTED]>
Date: Tue, Aug 28, 2001 at 02:43:05PM +0300
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] Problem using session
> Hi,
> I'm creating system with user registration. I want to use sessions without cookies.
> My cookies are disabled.
>
> this is my login.php:
>
> gl
$playerdata = unpack('czero/A'.$length.'one/itwo/fthree/A*four', $rest);
Good Luck!
--Zak
- Original Message -
From: "Craig Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 20, 2001 4:00 AM
Subject: [PHP] Problem using unpack
> I'm current trying to use PHP's unp
yes I know what your saying.
trans-sid will not work when the url is absolute ie.
or
index
or
header("Location: http://$SERVER_NAME/index.php");
header redirects *require* absolute url's so your going to have to add the
phpsessid yourself, ie.
http://$SERVER_NAME/index.php?$SID");
?>
rem
Thanks, Chris. This touches on another problem. Have you tried this with
session cookies disabled in your browser? Can you pass the session ID using
the header function? I can't seem to, but I *can* pass it using SID appended
to the URL in the META tag. This is one reason I wanted to stay with the
if you have output buffering on in php.ini
output_bufffering = on
cobine this with
http://$SERVER_NAME/index.php");
exit();
?>
and youve got a great cobination, zero html will be sent to the browser,
just the header, the browser will refresh for you. try it, works better then
meta tags.
On 01/13, jeremy brand rearranged the electrons to read:
> Hello 10,000 Screaming Monkeys,
> (Sorry, I couldn't resist!)
's alright. That's what it's there for. ;)
> You should test the return value of flock(), not just run it. It is
> designed to tell you whether or not something is safe to d
Hi,
Well the problem might be while obtaining the lock.
fopen() with let's say 'a' will open the file, and put
the cursor to the very last byte. The time period
between opening the file and getting the lock is
probably where you're clobbered.
At let's say time X, a file is opened and the writing
Oh man, I wouldn't do it this way. Log this stuff in a separate file
using a simple append which doesn't need logging. Then write yourself a
simple little perl script that figures it out after the fact. File
locking on anything with high traffic is going to make your hair turn
grey.
Another al
Hello 10,000 Screaming Monkeys,
(Sorry, I couldn't resist!)
You should test the return value of flock(), not just run it. It is
designed to tell you whether or not something is safe to do, and since
you are not testing the result, you are simply ignoring what it is
trying to tell you.
I have a
45 matches
Mail list logo