Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread robert mena
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread robert mena
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
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   =

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread Richard Quadling
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-29 Thread robert mena
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.

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-28 Thread Richard Quadling
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

Re: [PHP] Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized

2010-06-28 Thread robert mena
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

RE: [PHP] Problem with ssh2_connect

2010-06-24 Thread Radek Krejča
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

RE: [PHP] Problem with ssh2_connect - finished

2010-06-24 Thread Radek Krejča
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,

Re: [PHP] Problem with ssh2_connect

2010-06-23 Thread Daniel P. Brown
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

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

Re: [PHP] Problem with ssh2_connect

2010-06-23 Thread Daniel P. Brown
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

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

Re: [PHP] Problem with ssh2_connect

2010-06-23 Thread Brandon Rampersad
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

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

Re: [PHP] Problem in image placing

2010-05-26 Thread Ashley Sheridan
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

Re: [PHP] problem with passing-by-reference

2010-05-14 Thread Peter Lind
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;

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Karl DeSaulniers
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

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Charlene Wroblewski
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');

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Karl DeSaulniers
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.

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Phpster
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,

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Phpster
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

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Charlene Wroblewski
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

Re: [PHP] Problem with IE7 caching

2010-05-07 Thread Karl DeSaulniers
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

Re: [PHP] Problem with pg_prepare function

2010-04-23 Thread Adam Richardson
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

Re: [PHP] Problem retrieving CN with ldap_search()

2010-02-18 Thread Marcel Loose
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

Re: [PHP] Problem retrieving CN with ldap_search()

2010-02-17 Thread List
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

Re: [PHP] Problem with XPath query

2009-12-14 Thread Jonathan Tapicer
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    

Re: [PHP] Problem with XPath query

2009-12-14 Thread Christoph Boget
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. ;)

Re: [PHP] Problem with XPath query

2009-12-14 Thread Lester Caine
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

Re: [PHP] problem with mod_php

2009-10-04 Thread Tommy Pham
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

Re: [PHP] Problem with Filesystem Functions

2009-10-03 Thread Ashley Sheridan
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);

Re: [PHP] Problem with Filesystem Functions

2009-10-03 Thread Andrew Burgess
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

Re: [PHP] Problem with date

2009-09-15 Thread Jonathan Tapicer
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

RE: [PHP] Problem with date

2009-09-15 Thread Mayer, Jonathan
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

[PHP] Re: [PHP-WIN] Re: [PHP] Problem outputting MySQL Date field

2009-08-31 Thread Devendra Jadhav
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()

Re: [PHP] Problem outputting MySQL Date field

2009-08-28 Thread John Meyer
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: .

Re: [PHP] Problem outputting MySQL Date field

2009-08-28 Thread Jim Lucas
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 .

[PHP] Re: [PHP-WIN] Re: [PHP] Problem outputting MySQL Date field

2009-08-28 Thread Keith Davis
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

[PHP] Re: [PHP-WIN] Re: [PHP] Problem outputting MySQL Date field

2009-08-28 Thread John Meyer
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

Re: [PHP] Problem with memcache - help needed

2009-08-14 Thread Eddie Drapkin
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)

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
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

Re: [PHP] problem with my class

2009-04-16 Thread Luke
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

Re: [PHP] problem with my class

2009-04-16 Thread Thijs Lensselink
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

Re: [PHP] problem with my class

2009-04-16 Thread Luke Slater
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

Re: [PHP] problem with my class

2009-04-16 Thread Thijs Lensselink
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

RE: [PHP] problem with my class

2009-04-16 Thread abdulazeez alugo
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

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
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

Re: [PHP] problem with my class

2009-04-16 Thread Jan G.B.
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

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread hessiess
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

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread Andrew Williams
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

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-05 Thread hessiess
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

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-03 Thread Phpster
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

Re: [PHP] Problem with header();

2009-03-31 Thread Igor Escobar
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

RE: [PHP] Problem with header();

2009-03-31 Thread Andrea Giammarchi
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

Re: [PHP] Problem with header();

2009-03-30 Thread Stuart
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

Re: [PHP] Problem with header();

2009-03-30 Thread Phpster
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-16 Thread tedd
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.

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread tedd
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Shawn McKenzie
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Richard Kurth
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Richard Kurth
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']

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Phpster
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:

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Richard Kurth
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:

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread tedd
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Richard Kurth
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Jason Pruim
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

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Jan G.B.
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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,

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
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,

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Nigel Green
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
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

Re: [PHP] problem with sending data

2009-02-09 Thread Chris
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

Re: [PHP] problem using crypt() without a salt

2009-01-14 Thread Thodoris
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

Re: [PHP] problem using crypt() without a salt

2009-01-14 Thread port23user
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

Re: [PHP] Problem with fetching values...

2008-12-29 Thread chris smith
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. --

Re: [PHP] Problem with fetching values...

2008-12-28 Thread Nathan Nobbe
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().

Re: [PHP] Problem changing file encoding

2008-10-22 Thread Ian
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

Re: [PHP] Problem changing file encoding

2008-10-22 Thread Yeti
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 =

Re: [PHP] Problem changing file encoding

2008-10-22 Thread Thodoris
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

Re: [PHP] problem with slash / characters

2008-10-01 Thread Ashley Sheridan
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

Re: [PHP] problem with slash / characters

2008-10-01 Thread Ashley Sheridan
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

Re: [PHP] Problem with install lybrary GD

2008-09-26 Thread Thodoris
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

RE: [PHP] Problem with install lybrary GD

2008-09-24 Thread Richard Lynch
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

Re: [PHP] Problem with sorting

2008-09-22 Thread Jochem Maas
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*

Re: [PHP] Problem with function

2008-09-12 Thread Jochem Maas
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

Re: [PHP] Problem with function

2008-09-12 Thread Jason Pruim
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

Re: [PHP] Problem with function

2008-09-12 Thread Jochem Maas
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);

Re: [PHP] Problem with function

2008-09-12 Thread Brady Mitchell
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

Re: [PHP] Problem using APC

2008-09-11 Thread Nathan Nobbe
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

<    1   2   3   4   5   6   7   8   9   10   >