On 28 June 2010 22:37, robert mena robert.m...@gmail.com wrote:
Hi,
I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
turn uses SoapClient. I'll try to use SoapClient directly.
I am not using https and I am not going through a proxy (using a non
standard port). I've
I was hoping for a userland soap library (like nuSoap if I understand
correctly). I can't change the fact that the remote webservice requires
http auth.
Hopefully someone in this list uses either zend_soap or soapClient directly
with auth to confirm or deny that the problem is in this part
On 29 June 2010 13:58, robert mena robert.m...@gmail.com wrote:
I was hoping for a userland soap library (like nuSoap if I understand
correctly). I can't change the fact that the remote webservice requires
http auth.
Hopefully someone in this list uses either zend_soap or soapClient directly
Hi Richard,
Thanks for taking the time.
Unfortunately I can't give you access to the actual webservice. I am using
Zend_Soap_Client so my code is like this
$soapOptions = array(
login = 'xxx',
password = 'y');
$client = new
On 29 June 2010 20:53, robert mena robert.m...@gmail.com wrote:
Hi Richard,
Thanks for taking the time.
Unfortunately I can't give you access to the actual webservice. I am using
Zend_Soap_Client so my code is like this
$soapOptions = array(
login = 'xxx',
password =
On 29 June 2010 22:18, Richard Quadling rquadl...@gmail.com wrote:
On 29 June 2010 20:53, robert mena robert.m...@gmail.com wrote:
Hi Richard,
Thanks for taking the time.
Unfortunately I can't give you access to the actual webservice. I am using
Zend_Soap_Client so my code is like this
Hi,
I am using soapUI which is a client soap tester (that works with this
webservice) to compare what is being generated. In the header I see
Authorization: Basic =XYS
So the default (using SoapClient) should also work...
I've captured the tcpdump file and will try to load using wireshark.
On 26 June 2010 23:46, robert mena robert.m...@gmail.com wrote:
Hi,
I am trying to access a webservice using php's soapclient but I keep getting
the error SoapFault exception: [HTTP] Unauthorized
If I try using a web browser I can authenticate using the same credentials
used by the php
Hi,
I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
turn uses SoapClient. I'll try to use SoapClient directly.
I am not using https and I am not going through a proxy (using a non
standard port). I've tested with another SOAP client (a standalone
application called
Hi, new symptoms...
So, I have following:
1. created rsa keys - tested over ssh command - on remote server is public key
renamed to authorized_keys, on local machine i have both keys
2. rights on local machine:
-r 1 radek wheel 1675 23 led 2007 radek
-r 1 radek wheel
Hi, so I have (hope) finished. There is problem with rsa keys in function
ssh2_connect (probably bug, I dont see any problem on my side), so I created
two pairs - rsa and dsa. rsa method isnt working, but dsa method without
problems.
Its little complication, because I have everwhere rsa keys,
2010/6/23 Radek Krejča radek.kre...@starnet.cz:
PHP Warning: ssh2_connect(): Error starting up SSH connection(-5): Unable to
exchange encryption keys in /usr/home/radek/pokus.php on line 14
Make sure that
the key file exists by that name in the location you're
Make sure that
the key file exists by that name in the location you're
specifying (hint: use a full path).
it is the right key for that server.
the permissions on the file are very strict (chmod 0400 ssh-rsa).
I got error message immediately after
2010/6/23 Radek Krejča radek.kre...@starnet.cz:
Make sure that
the key file exists by that name in the location you're
specifying (hint: use a full path).
it is the right key for that server.
the permissions on the file are very strict (chmod 0400
Make sure that
the key file exists by that name in the location you're
specifying (hint: use a full path).
Its in ssh2_auth_public..., yes, I am using full path there.
it is the right key for that server.
Yes, I use it with ssh command from line on the same
Do you have lexneter installed. I think that could be the problem.
2010/6/23 Radek Krejča radek.kre...@starnet.cz
Make sure that
the key file exists by that name in the location you're
specifying (hint: use a full path).
Its in ssh2_auth_public..., yes, I am using
Do you have lexneter installed. I think that could be the problem.
2010/6/23 Radek Krejča radek.kre...@starnet.cz
Make sure that
What is lexneter please?
Radek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2010-05-26 at 06:35 -0500, Amit Bobade wrote:
Hi, I am Using PHP 5, I am trying to place an image in the black box in
proportional to that black box using the function:- *imagecopyresampled* (
).
But image is not placing proportionally. Is their another method to do
that. Please
On 14 May 2010 10:09, Rene Veerman rene7...@gmail.com wrote:
Hi.
I'm doing the 5.3-strict thing, and am removing all my
passing-by-reference muck from a script of mine.
But i've run into a problem;
I use the following construct to push new values fairly deeply inside
an array structure;
Try,
header('Cache-control: private, no-cache, must-revalidate');
header('Expires: 0');
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html
On May 7, 2010, at 2:06 PM, Charlene Wroblewski wrote:
header (Cache-Control: private, max-age=$interval,s-maxage=0);
Karl DeSaulniers
Design
I tried this and it doesn't work. I still have to do the CTRL-Refresh
to get it to refresh the page.
On May 7, 2010, at 2:27 PM, Karl DeSaulniers wrote:
Try,
header('Cache-control: private, no-cache, must-revalidate');
header('Expires: 0');
On May 7, 2010, at 2:06 PM, Charlene Wroblewski wrote:
I have a problem with IE7. It has a tendency to cache output
produced by PHP. It occurs in a few ways:
* I make a minor change to a php program, but you can't see it in
IE7, but can in FF. CTRL-Refresh does not make it work.
On May 7, 2010, at 8:06 PM, Charlene Wroblewski cwemagazi...@charter.net
wrote:
I tried this and it doesn't work. I still have to do the CTRL-
Refresh to get it to refresh the page.
On May 7, 2010, at 2:27 PM, Karl DeSaulniers wrote:
Try,
header('Cache-control: private, no-cache,
On May 7, 2010, at 8:41 PM, Karl DeSaulniers k...@designdrumm.com
wrote:
On May 7, 2010, at 2:06 PM, Charlene Wroblewski wrote:
I have a problem with IE7. It has a tendency to cache output
produced by PHP. It occurs in a few ways:
* I make a minor change to a php program, but you
Karl DeSaulniers wrote:
On May 7, 2010, at 2:06 PM, Charlene Wroblewski wrote:
I have a problem with IE7. It has a tendency to cache output
produced by PHP. It occurs in a few ways:
* I make a minor change to a php program, but you can't see it in
IE7, but can in FF. CTRL-Refresh
On May 7, 2010, at 10:35 PM, Charlene Wroblewski wrote:
Karl DeSaulniers wrote:
On May 7, 2010, at 2:06 PM, Charlene Wroblewski wrote:
I have a problem with IE7. It has a tendency to cache output
produced by PHP. It occurs in a few ways:
* I make a minor change to a php program, but
On Fri, Apr 23, 2010 at 9:42 PM, Giancarlo Boaron gboa...@yahoo.com.brwrote:
Hi all.
I'm receiving the following message when I try to use
pg_prepare() function:
Call to undefined function pg_prepare().
My application works very well with others pg_*
commands...
I already checked my
Hi all,
Sorry to reply to myself, but I finally solved the issue. In the end it
turned out it *did* have something to do with the LDAP configuration.
For some reason, retrieval of 'cn' attributes was disallowed, as can be
seen in this snippet from /etc/openldap/slapd.conf:
access to
On 2/17/10, Marcel Loose lo...@astron.nl wrote:
Hi all,
I've posted this question to comp.lang.php a couple of days ago, but up
till now didn't get a really useful answer. So, here it is:
I' m facing the following problem. I try to retrieve the Common Name
(cn) from an LDAP database, using
Hi,
You are missing a quote after widgetType:
[...@alias=widgetType and @value=system]
should be
[...@alias=widgetType and @value=system]
Regards,
Jonathan
On Mon, Dec 14, 2009 at 1:52 PM, Christoph Boget
christoph.bo...@gmail.com wrote:
Given the following XML:
Pages
Page
You are missing a quote after widgetType:
Yeah, I realized that about 2 minutes after I sent the message. Man,
I'm dumb. :p I was banging my head against the wall for a while
because of that. I guess when you bring your stupidity public, you'll
find the solution yourself that much quicker. ;)
Christoph Boget wrote:
You are missing a quote after widgetType:
Yeah, I realized that about 2 minutes after I sent the message. Man,
I'm dumb. :p I was banging my head against the wall for a while
because of that. I guess when you bring your stupidity public, you'll
find the solution
Original Message
From: JC jcflo...@cablenet.com.pe
To: php-general@lists.php.net
Sent: Sat, October 3, 2009 12:22:21 PM
Subject: [PHP] problem with mod_php
I'm trying to install a webmail in a new server with the following items:
Debian 2.6.26-2-amd64
horde 3.2.2
imp 4.2.4
On Sat, 2009-10-03 at 09:07 -0400, Andrew Burgess wrote:
I hope this isn't too basic of a question . . .
I'm having a problem with the Filesystem Functions, I think.
Specifically, I'm recursing through a directory, and have this code:
$size = filesize($file);
$type = filetype($file);
On Sat, Oct 3, 2009 at 9:29 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Sat, 2009-10-03 at 09:07 -0400, Andrew Burgess wrote:
I hope this isn't too basic of a question . . .
I'm having a problem with the Filesystem Functions, I think.
Specifically, I'm recursing through a
Adding the number of seconds in a day could fall in the same day due
to daylight saving time, a more reliable way of adding one day (or a
given number of days) is this:
$tomorrow = mktime(0, 0, 0, date(m) , date(d)+1, date(Y));
Then use date() with $tomorrow to format it.
(Taken from example
strtotime would be a neater way of solving the problem...
ie (untested):
$n = 0;
while ($n = 9)
{
$date = d.$n;
$$date = date(Y-m-d, strtotime(+ $n days)
$n++;
}
If you are just enquiring about the maths though, I'm not sure!
-Original Message-
From: Korgan
At the beginning of the code add following lines
error_reporting(E_ALL);
ini_set('display_error',1);
On Sat, Aug 29, 2009 at 8:28 AM, Keith Davis keithda...@pridedallas.comwrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array()
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can
you provide little more information or code snippet?
$tweettable .=
preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@',
'a href=$1$1/a',$row[TWEET_TEXT]) . br . Sent at: .
John Meyer wrote:
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can
you provide little more information or code snippet?
$tweettable .=
preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@',
'a href=$1$1/a',$row[TWEET_TEXT]) . br .
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
Sent from my magic iPhone,
Keith Davis 214-906-5183
On Aug 28, 2009, at 7:39 PM, John Meyer
johnme...@pueblocomputing.com wrote:
Devendra Jadhav wrote:
No need to do
Keith Davis wrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
mysql_fetch_assoc()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Aug 14, 2009 at 7:14 AM, Jean Michel
Malatrayjm.malat...@schaefer-shop.de wrote:
Hello folk!
Currently, we use memcached as caching solution.
We provide a link to 3 servers, a server-2x the Memcache daemon is started
(2 different ports (depending 4GB)
192.168.0.1:11211 (4 GB)
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database either. I have made sure that the data being
sent when the class is
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database either. I have
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem to be working, it throws no errors but doesn't
insert anything to the database
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nlwrote:
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com:
Hi guys,
I've been learning about object oriented programming and I wrote this
test
class but it doesn't seem
Luke Slater wrote:
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nl
mailto:p...@addmissions.nl wrote:
Luke wrote:
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com
mailto:ro0ot.w...@googlemail.com
2009/4/16 Luke l...@blog-thing.com
Date: Thu, 16 Apr 2009 14:43:46 +0100
From: l...@blog-thing.com
To: p...@addmissions.nl
CC: ro0ot.w...@googlemail.com; php-general@lists.php.net
Subject: Re: [PHP] problem with my class
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink p...@addmissions.nlwrote:
Luke wrote:
2009
2009/4/16 abdulazeez alugo defati...@hotmail.com:
Date: Thu, 16 Apr 2009 14:43:46 +0100
From: l...@blog-thing.com
To: p...@addmissions.nl
CC: ro0ot.w...@googlemail.com; php-general@lists.php.net
Subject: Re: [PHP] problem with my class
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink
p
Excuse my bad spelling. I should have read the message again before
hitting send. :-)
2009/4/16 Jan G.B. ro0ot.w...@googlemail.com:
I think the problem was with the $title. As above, you defined the private
variable $rtitle but you were trying to call the variable later as $title.
The
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote:
I have bean trying to right a PHP script to generate XHTML code from
the
class documentation xml files created by Doxygen(the HTML it outputs
is
invalid, messy and virtually imposable to integrate into another web
page). One thing
I HAVE THE SAME PROBLEM, PLEASE HOW HAVE YOU DONE IT
On Sun, Apr 5, 2009 at 4:08 PM, hessi...@hessiess.com wrote:
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote:
I have bean trying to right a PHP script to generate XHTML code from
the
class documentation xml files created by
I HAVE THE SAME PROBLEM, PLEASE HOW HAVE YOU DONE IT
On Sun, Apr 5, 2009 at 4:08 PM, hessi...@hessiess.com wrote:
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote:
I have bean trying to right a PHP script to generate XHTML code from
the
class documentation xml files created
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote:
I have bean trying to right a PHP script to generate XHTML code from
the
class documentation xml files created by Doxygen(the HTML it outputs
is
invalid, messy and virtually imposable to integrate into another web
page). One thing has
I don't had the oportunity to test it yet, but today i will.
Today i will make two tests:
- Save the files without BOM.
- If i dont have success i will disable the output buffering.
Thanks to everybody for all support.
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar
BOM problems, a prepended
file in the Apache configuration which is broken/bugged/crap, or something
truly bad in the configuration.
Date: Tue, 31 Mar 2009 10:20:24 -0300
From: titiolin...@gmail.com
To: phps...@gmail.com
CC: php-general@lists.php.net
Subject: Re: [PHP] Problem with header
2009/3/30 Igor Escobar titiolin...@gmail.com:
Hi guys, probably everybody goes think: its the same problem ever HTML
before header() functions ... but it is not.
I has working on a project and this are a running in Windows (shame on
me).
Recently i migrate to *Ubuntu *and some problems
Output buffering turned off?
Bastien
Sent from my iPod
On Mar 30, 2009, at 15:03, Igor Escobar titiolin...@gmail.com wrote:
Hi guys, probably everybody goes think: its the same problem
ever HTML
before header() functions ... but it is not.
I has working on a project and this are a
At 1:30 PM -0700 3/15/09, Richard Kurth wrote:
tedd wrote:
At 8:56 AM -0700 3/15/09, Richard Kurth wrote:
This is the form that is being sent as a post and the fieldorder[]
is the part that is not sending properly. But it has worked for
about a year in the script. It just stopped working.
At 6:31 PM -0700 3/14/09, Richard Kurth wrote:
I have a script that is passing a area in a $_POST and it does not pass
the data. When I try to look at the data with $_POST['fieldorder'] it
its empty but when I look at it with $_REQUEST['fieldorder'] the data is
there. This seams very strange to
tedd wrote:
At 6:31 PM -0700 3/14/09, Richard Kurth wrote:
I have a script that is passing a area in a $_POST and it does not pass
the data. When I try to look at the data with $_POST['fieldorder'] it
its empty but when I look at it with $_REQUEST['fieldorder'] the data is
there. This seams
tedd wrote:
At 6:31 PM -0700 3/14/09, Richard Kurth wrote:
I have a script that is passing a area in a $_POST and it does not pass
the data. When I try to look at the data with $_POST['fieldorder'] it
its empty but when I look at it with $_REQUEST['fieldorder'] the data is
there. This seams
Shawn McKenzie wrote:
tedd wrote:
At 6:31 PM -0700 3/14/09, Richard Kurth wrote:
I have a script that is passing a area in a $_POST and it does not pass
the data. When I try to look at the data with $_POST['fieldorder'] it
its empty but when I look at it with $_REQUEST['fieldorder']
I don't think that fieldorder needs to be an array. I don't see you
using it as a multiselect. Does this field occur multiple times on the
form?
Bastien
Sent from my iPod
On Mar 15, 2009, at 11:56, Richard Kurth richardku...@centurytel.net
wrote:
Shawn McKenzie wrote:
tedd wrote:
Phpster wrote:
I don't think that fieldorder needs to be an array. I don't see you
using it as a multiselect. Does this field occur multiple times on the
form?
Bastien
Sent from my iPod
On Mar 15, 2009, at 11:56, Richard Kurth richardku...@centurytel.net
wrote:
Shawn McKenzie wrote:
At 8:56 AM -0700 3/15/09, Richard Kurth wrote:
This is the form that is being sent as a post and the fieldorder[]
is the part that is not sending properly. But it has worked for
about a year in the script. It just stopped working. and I did not
change anything in this script
-snip- code
tedd wrote:
At 8:56 AM -0700 3/15/09, Richard Kurth wrote:
This is the form that is being sent as a post and the fieldorder[] is
the part that is not sending properly. But it has worked for about a
year in the script. It just stopped working. and I did not change
anything in this script
Richard Kurth wrote:
tedd wrote:
At 8:56 AM -0700 3/15/09, Richard Kurth wrote:
This is the form that is being sent as a post and the fieldorder[]
is the part that is not sending properly. But it has worked for
about a year in the script. It just stopped working. and I did not
change
2009/3/15 Jason Pruim pru...@gmail.com:
Personally... I don't care who's code it is, if it was me, I'd still go
out and validate it... If someone typed something out real quick and
missed a period, it wouldn't be their fault :)
As has been said by some big higher up's in this very mailing
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote:
Hi all,
This is my first post to the list. Have been observing for a few weeks and
have learnt a lot.
I am having an issue in one of my scripts where using the
mysql_real_escape_string function is stripping content out
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote:
Hi all,
This is my first post to the list. Have been observing for a few weeks and
have learnt a lot.
I am having an issue in one of my scripts
On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote:
Hi all,
This is my first post to the list. Have been observing for a few weeks
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote:
Hi
On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu,
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote:
On Thu,
On Thu, Mar 5, 2009 at 1:47 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar
On Thu, Mar 5, 2009 at 2:00 PM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 1:47 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote:
On Thu, Mar
On Thu, Mar 5, 2009 at 3:07 PM, haliphax halip...@gmail.com wrote:
Sadly, my company is throwing PHP out the window in favor of ASP.NET,
as they have an irrational fear of Open Source software. Don't get me
wrong--.NET is pretty darn cool--but I literally enjoy working in PHP.
The fact that I
On 05/03/09, Eric Butera wrote:
Make sure to always pass your active database connection into the
second parameter of mysql_real_escape_string. There could be
character set differences between your two servers too that might be
causing issues for you. If at all possible I would recommend
On Thu, Mar 5, 2009 at 3:29 PM, Nigel Green ni...@greenlemur.com wrote:
On 05/03/09, Eric Butera wrote:
Make sure to always pass your active database connection into the
second parameter of mysql_real_escape_string. There could be
character set differences between your two servers too that
On Thu, Mar 5, 2009 at 2:11 PM, Eric Butera eric.but...@gmail.com wrote:
On Thu, Mar 5, 2009 at 3:07 PM, haliphax halip...@gmail.com wrote:
Sadly, my company is throwing PHP out the window in favor of ASP.NET,
as they have an irrational fear of Open Source software. Don't get me
wrong--.NET is
Mousa Masri wrote:
Dear
I have problem with writing large data (large text) in the database or any file
.
If we try to do, the field in the DB or the file will be empty . (We lose the
data) .
I mean by large data more them 60 Kbyte .
But if we try to write small text (less then 60K) , the
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
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
So, PostgreSQL catch the array by name
pg_fetch_array($db_query, null, PGSQL_ASSOC)
and MySQL use the position
mysql_fetch_array($db_query, MYSQL_NUM)
Why?
http://www.php.net/mysql_fetch_array
Use MYSQL_ASSOC as the 2nd param, or leave it out and by default it uses BOTH.
--
On Sun, Dec 28, 2008 at 10:41 AM, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Hello,
I have to code a compatibility layer under PHP5 for PostgreSQl and
MySQL, which mean, I have to code something like db_query() which then
can be used with mysql_query() and pg_query().
On 22 Oct 2008 at 14:39, Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell me the
A neat way to transcode between different encodings is htmlentities
and html_entity_decode [1, 2]
EXAMPLE:
?php
# encode a string in UTF-8 to html entities
$string = 'øæåöäü';
$string = htmlentities($string, ENT_QUOTES, 'UTF-8');
# transcode it into ISO-8859-15
$string =
On 22 Oct 2008 at 14:39, Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell me the
On Wed, 2008-10-01 at 11:40 -0700, Tanner Postert wrote:
I'm pulling a value from a database, and adding it to an array.
The values come from the database like this:
[0]
Erm... I think you may need to repost this question!
Ash
www.ashleysheridan.co.uk
On Wed, 2008-10-01 at 12:02 -0700, Tanner Postert wrote:
ignore previous. sorry.
I'm trying to display values from a database, the values come from the
database like this:
[0] = Array
(
[id] = 5
[order_id] = 10
[key] = ship_to_name
[value] = John Anderson
)
[1] = Array
Hi forum
I try install library GD on Centos 5
I download the gd-2.0.35.tar with the next sentece
./configure --prefix=/usr/local --with=/usr/local --with-jpeg=/usr/local
make
make install
Here all ok.
And next install the php-5.2.6
./configure (... n parameter...) --with-gd=/usr/local/lib
Did you change php.ini to load in the php_gd.so file?
Is this in Apache, and did you restart apache, which only reads php.ini on
startup?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 3:35 PM
To: php-general@lists.php.net
Michelle Konzack schreef:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
Jason Pruim schreef:
So, I am fighting with a problem function... I have used this function
on a previous project and it worked just fine, so I'm not sure what
changed...
The only difference is that on this site, I'm using mod_rewrite to write
all non-existent folder requests into a php file
On Sep 12, 2008, at 8:44 AM, Jochem Maas wrote:
Jason Pruim schreef:
So, I am fighting with a problem function... I have used this
function on a previous project and it worked just fine, so I'm not
sure what changed...
The only difference is that on this site, I'm using mod_rewrite to
Jason Pruim schreef:
my guess is you never reach this line.
I don't think notify_email() is called, find out what is dying before you
get to this line.
note you'll get 'echo '10';' before you get 'echo '1';'
notify_email($Record, $salesRepID);
$stmt = mysqli_stmt_init($link);
On Sep 12, 2008, at 544AM, Jochem Maas wrote:
the current error_reporting/display_errors settings. and learn about
error_log() and how to 'tail' the error log (fuck knows how you go
about
that on windows ... then there are reasons I have a Mac ;-))
The ability to tail error logs is one of
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 seen this
101 - 200 of 1893 matches
Mail list logo