Hi, i made a SSL Client using JAVA, with a key generated by Keytool.
The command was the next:
*keytool -genkey -keystore mySrvKeystore -keyalg RSA*
Password: 123456
Now, im tryint to send a simple text using this kind of connection in PHP.
The server already works with a Java Server / Java Cli
Hm.
Commented out the line & re-tested. Absolutely no change whatsoever :(
Even made it false.
I'm really hoping I've been an idiot on this one. Makes no sense
otherwise but this is where I am.
Hope to hear further suggestions.
James
On 20 February 2011 03:05, Daniel Brown wrote:
> On Fri, Fe
On Fri, Feb 18, 2011 at 10:21, James Green wrote:
> Been reading through
> http://uk.php.net/manual/en/features.connection-handling.php and
> trying to implement a solution using it. So far the documented
> behaviour rarely occurs.
>
> This code is a minimal test case: http://codepad.org/GqNlcWiM
Been reading through
http://uk.php.net/manual/en/features.connection-handling.php and
trying to implement a solution using it. So far the documented
behaviour rarely occurs.
This code is a minimal test case: http://codepad.org/GqNlcWiM
I run this behind Apache 2.2 with PHP 5.3 on Linux. The in-li
Code below from the manual. I changed $ldaphost to some fictitious name.
When I ran the script, I always get the message "Connection was successful
!" Why didn't the script bomb and give the could not connect message?
TIA.
--
al
Hi all
I am having a problem in connection to an SSL enabled ldap server.
In localhost is easily connects to the ldap server with SSL but if try to
connect remotely then it cannot bind to ldap server but can connect.
In the slapd.conf I added the 3 lines to enable SSL
TLSCACertificateFile /usr/loc
Skip Evans wrote:
> Hey all,
>
> I'm working on someone else's code that tries to read an XML transaction
> from a remote server with the following code.
>
> $url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
>
> // $url = urlencode($url);
T
Here's the output with the call to error_reporting(255); in place.
Calling Sassnet...
Warning:
file_get_contents(http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=59)
[function.file-get-contents]: failed to open stream:
Connection timed out in
/usr/sites/sassnet
2009/1/28 Skip Evans :
> Hey all,
> $url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
> $xml_response = file_get_contents($url, true);
>
> But this transaction times out and returns an empty transaction, even with
> the call to urlencode, which I t
Hey all,
I'm working on someone else's code that tries to read an XML
transaction from a remote server with the following code.
$url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
// $url = urlencode($url);
$xml_response = file_get_contents($u
On 6/14/08, Per Jessen <[EMAIL PROTECTED]> wrote:
> hce wrote:
>
> > Anyway, thanks for all your responses and suggestions. It was good
> > suggestion to use SOAP and Web services, but we have very small
> > latency requirement, I have already worried about the delay in the
> > lower level of
hce wrote:
> Anyway, thanks for all your responses and suggestions. It was good
> suggestion to use SOAP and Web services, but we have very small
> latency requirement, I have already worried about the delay in the
> lower level of socket, it will be evern more processing delays for
> useing SOAP
On 6/13/08, Per Jessen <[EMAIL PROTECTED]> wrote:
> hce wrote:
>
> > I am not certain if the msg_send / msg_receive in PHP can talk to the
> > external C program msg_send / msg_receive as PHP and external C
> > program are in different processes, different memory spaces.
>
>
> System V message
hce wrote:
Let me first describe the requirement more:
The C program is a major business server
I would not connect applications on low level.
I would think of a "web services" type of interface - http request and
xml response (Steven suggested, for example, SOAP - but it does not need
to b
hce wrote:
> I am not certain if the msg_send / msg_receive in PHP can talk to the
> external C program msg_send / msg_receive as PHP and external C
> program are in different processes, different memory spaces.
System V message queues are intended for just that; IPC = Inter Process
Communicati
On Thu, Jun 12, 2008 at 9:30 PM, Stut <[EMAIL PROTECTED]> wrote:
> On 12 Jun 2008, at 12:20, hce wrote:
>>
>> What is the best way for a PHP web application to connect to an
>> external application written by C in Linux OS?
>>
>> (1) Can PHP directly call external C functions, or similar solution?
hce wrote:
> What is the best way for a PHP web application to connect to an
> external application written by C in Linux OS?
>
> (1) Can PHP directly call external C functions, or similar solution?
PHP can call external executables via e.g. exec().
> (2) Can PHP pass messages to message queue
On 12 Jun 2008, at 12:20, hce wrote:
What is the best way for a PHP web application to connect to an
external application written by C in Linux OS?
(1) Can PHP directly call external C functions, or similar solution?
No, but you can wrap the C functions in a PHP extension.
(2) Can PHP pass me
On Thu, 2008-06-12 at 21:20 +1000, hce wrote:
> Hi,
>
> What is the best way for a PHP web application to connect to an
> external application written by C in Linux OS?
>
> (1) Can PHP directly call external C functions, or similar solution?
>
> (2) Can PHP pass messages to message queue which
Hi,
What is the best way for a PHP web application to connect to an
external application written by C in Linux OS?
(1) Can PHP directly call external C functions, or similar solution?
(2) Can PHP pass messages to message queue which external C program can access?
(3) Socket connection between t
At 10:20 AM -0500 4/3/06, Kenn wrote:
Greetings.
I'm having a problem with my upload handler. If I send small files
(under 1M or so), it works fine. if I send larger files, I get the
following error
If nothing else works, send smaller segments. Nothing wrong with
appending to a file, is the
Jay Blanchard wrote:
> [snip]
> Jay Blanchard wrote:
>
>> [snip]
>> That was my first thought, but two things: 1. the error occurs
>> IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think
>>
> that
>
>> arbitrarily high number would prevent that error?
>> [/snip]
>>
>>
neglected to mention:
upload_max_filesize = 200M
post_max_size = 250M
Kenn wrote:
> That was my first thought, but two things: 1. the error occurs
> IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that
> arbitrarily high number would prevent that error?
>
>
>
> Jay Blanchar
That was my first thought, but two things: 1. the error occurs
IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that
arbitrarily high number would prevent that error?
Jay Blanchard wrote:
> [snip]
> The connection was reset.
> The connection to the server was reset while the
[snip]
The connection was reset.
The connection to the server was reset while the page was loading.
[/snip]
Script timeout
Max upload size
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings.
I'm having a problem with my upload handler. If I send small files
(under 1M or so), it works fine. if I send larger files, I get the
following error in Firefox:
The connection was reset.
The connection to the server was reset while the page was loading.
When using Internet Explorer
On Thu, Dec 22, 2005 at 05:23:51PM -0500, Michael B Allen wrote:
>...
>
> #
> # KeepAlive: Whether or not to allow persistent connections (more than
> # one request per connection). Set to "Off" to deactivate.
> #
> KeepAlive Off
>
> Mmm, why does the Fedora 4 apache package ship with keep-alive
On Thu, 22 Dec 2005 17:16:03 -0500
Michael B Allen <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Dec 2005 09:42:08 +0100
> Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> > Michael B Allen wrote:
> > > Why does PHP always close the connection with Connection: close? I'm
> > > using PHP 4.3.11 w/ Firefox 1.0
On Thu, 22 Dec 2005 09:42:08 +0100
Jochem Maas <[EMAIL PROTECTED]> wrote:
> Michael B Allen wrote:
> > Why does PHP always close the connection with Connection: close? I'm
> > using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
> > keep-alive is requested.
> >
>
> a very sma
Michael B Allen wrote:
Why does PHP always close the connection with Connection: close? I'm
using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
keep-alive is requested.
a very small sum of money says that this is due to your
webserver config and not php (check httpd.conf?)
Why does PHP always close the connection with Connection: close? I'm
using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
keep-alive is requested.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: HarryG [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 02, 2005 6:29 AM
> I am connecting to two database in my index.php.
If the 2 databases are on the same mysql server and the MySQL user has access
to both databases, You can easily use join:
Select name
both db's on the same host ?
I would try select * from second_db2.theothertable :)
On 02/04/2005, at 6:53 PM, Jochem Maas wrote:
HarryG wrote:
Hi,
I am connecting to two database in my index.php.
Here is how:
@ $db = mysql_connect("localhost", USERLOGIN, USERDBPASS);
if (!$db)
{ print "Error: Co
HarryG wrote:
Hi,
I am connecting to two database in my index.php.
Here is how:
@ $db = mysql_connect("localhost", USERLOGIN, USERDBPASS);
if (!$db)
{ print "Error: Could not connect to database. Please try again later.";
exit; }
mysql_select_db(DATABASE);
@ $userdb = mysql_connect("localhost"
Hi,
I am connecting to two database in my index.php.
Here is how:
@ $db = mysql_connect("localhost", USERLOGIN, USERDBPASS);
if (!$db)
{ print "Error: Could not connect to database. Please try again later.";
exit; }
mysql_select_db(DATABASE);
@ $userdb = mysql_connect("localhost", USERLOGIN
Bosky, Dave wrote:
What options are available regarding connection pooling using PHP?
I understand how to accomplish this using Java but PHP is another language.
for most db extensions there are persistent variants of the connect
functions.
e.g. ibase_pconnect()
php is unlike java in that there is
What options are available regarding connection pooling using PHP?
I understand how to accomplish this using Java but PHP is another language.
Thanks.
HTC Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the read
Dennis Gearon wrote:
When I connect to a database on the same machine as the apache server us
running under, that's server name "localhost", right?
Yes. You can also use the IP address or computer name.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: T
Please CC me.
When I connect to a database on the same machine as the apache server us running under, that's
server name "localhost", right?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear All,
Except for "--with-mssql" options ( configure command ) , which any
other options ( configure commands ) must be compiled with php also,
then the php will be good for working with MS-SQL ?
BTW, "--with-mssql" is better than "--with-sybase" ?
Thank for your help !
Edward.
--
PHP Gene
Dear All,
If you are connecting php ( RPM package ) and mssql by jdbc driver
freetds...
please reply to me, I may need your help !
Many Many thank for your help !
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Was reading through:
http://uk.php.net/manual/en/features.connection-handling.php
And I was wondering how PHP handles script termination when you have
'output_buffering = On' in your php.ini?
If I have a long script that does lots of database stuff for example,
and is riddled with echo() fun
Hi guys,
Was reading through:
http://uk.php.net/manual/en/features.connection-handling.php
And I was wondering how PHP handles script termination when you have
'output_buffering = On' in your php.ini?
If I have a long script that does lots of database stuff for example,
and is riddled with echo
);
--
@ James Lobley | Intranet Developer & Sysadmin
\/ --
() This message was written on 100% recycled spam
-Original Message-
From: mohamad taghlobi [mailto:[EMAIL PROTECTED]
Sent: 30 October 2003 22:56
To: [EMAIL PROTECTED]
Subject: [PHP] Connection AS40
I would like to establish a connection between AS400 - Windows NT and PHP, to make
requetes on data base AS400, from forms PHP. I do not know how to make, could you help
me?
-
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Ya
I want to connect with my PHP - script to a shell that is located on another
Server.
Is there a command to connect via a PHP script to the shell? Perhaps over
IP
It would be very nice if you can help me because
I don´t know how to do it
With best regards
Dennis Dujan
Hello All,
I have some data in a MySQL table and I need to format it better. I have some
thousands of data from my users connections like this:
++-+-++--+---++
| id | unixtime| ip
I'm a new php studient.
I have downloaded a webmail example that's have a error.
When i attach a file in a newmessage, the browser send me
a error, On MSIE i receive "page not found" and on KDE
i receive "Connection Broken".
This occurs after this command:
fread($fd, filesize($path));
I have do ma
TED]>
Sr. Software Designer
Geodesic Information Systems Ltd.
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:00 PM
To: 'Vinod Panicker'; [EMAIL PROTECTED]
Subject: RE: [PHP] Connection pool extension?
PHP suppo
er
Geodesic Information Systems Ltd.
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 1:00 PM
To: 'Vinod Panicker'; [EMAIL PROTECTED]
Subject: RE: [PHP] Connection pool extension?
PHP supports sockets check out
; To: [EMAIL PROTECTED]
> Subject: [PHP] Connection pool extension?
>
>
> Hi,
>
> I was wondering if there is a php extension available that
> allows me to do the following -
>
> 1.Connect to a given IP address and port
> 2.Allow me to send and receive data from
Hi,
I was wondering if there is a php extension available that allows me to
do the following -
1. Connect to a given IP address and port
2. Allow me to send and receive data from a particular ip and port
3. Pool the connections so that further requests to the given ip
and port will
Hello,
There could be a lot of problems here but what *exactly* is the problem? No
more coffee, perhaps? :)
Post the error, if there's any. Or, take away the "@" sign and see what
happens...
- E
"Paul Dionne" <[EMAIL PROTECTED]> wrote:
> Ug, I hate Mondays. must drink more coffee.
>
> Anyway
Ug, I hate Mondays. must drink more coffee.
Anyway, got a problem I hope someone can help with or at least jumpstart my
brain.
I wrote a few web pages, work fine on my machine. Uploaded them on Friday
and they don't seem to work. Looks like I am not connecting to the
database because every
You need to set the parameters to whatever your ISP granted you for use of
MySQL...
$dbcnx = mysql_connect("servername","username","password");
You should ask your ISP what these are.
Justin French
on 29/09/02 9:54 PM, DC ([EMAIL PROTECTED]) wrote:
> Hi,
>
> OK I have my first php/mysql
Hi,
OK I have my first php/mysql web site complete & working on my computer
using apache server. When I transfer the files to web space, I receive
errors regarding connection to database. Obviously the various pieces of
code I have used to connect it all up eg
etc etc
needs to be changed to wh
Looking for this file, php_pgsql.dll
running php 4.1.2 on w2k.
anyone where i can find it.
Regards
Nyon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I am trying to set up a connection between my site and a payment system (bibit). Does
anybody know some good URL's which can help set up the connection and parse all XML
messages. I'm sure this must have been done before...so there should be no reason to
invent the wheel again.
thx.
Jason,
One option you have is to install OpenLink's Multi-Tier driver, ODBC
Agent, which will allow you to "piggyback" on DSNs on other machines,
e.g:
webserver with PHP, client side MT driver
DSN (let's call it "local_dsn") with ODBC as ServerType, and IDS as Name
db server with MS Access, s
Forgive my ignorance but i can not find how to connect to an Access 2000
(mdb) file through PHP if the file is on another computer in a lan (not on
same computer as Apache/PHP server) I have no problem connectig to an mdb
through ODBC and a valid DSN(system) for a local mdb file, but i get a
gener
There aren't too many elegant ways to do this, that I know of.
You can create a flash movie with a big chunk of nothing in it... With a
couple of calls, you can find how long it took to load So if it took 4
secs to load 200k You can sort of figure out their connection speed.
But unfortun
Hey,
How can I detect the users connection speed? I dont want to ask them.. :)
Regards,
Kunal Jhunjhunwala
"Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can substitute for inspired thought." - Clifford Stoll
--
PHP General Mailing List (http://www.
Hi,
if a MySQL server is compiled with SSL support (that's for the 4 series),
is it possible to use this secure connection from a PHP script (with
mysql_connect)?.
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On Wednesday, November 28, 2001, at 05:40 PM, Fred wrote:
>
>> The browser has no direct connection to MySQL, so you are correct --
>> "those privilege tables are not helping to check on the privileges if
>> the client is from browser".
>>
>
> I find this a bit misleading.
Yes, I did too -- bu
> The browser has no direct connection to MySQL, so you are correct --
> "those privilege tables are not helping to check on the privileges if
> the client is from browser".
>
I find this a bit misleading. The privilege tables still work exactly as
they are intended.
That is, they check for a v
Basically, you don't "log on to mysql" through the internet browser.
You are using the internet browser only to request a file that is on a
web server. The web server is handing the request to PHP, and PHP is
accessing the MySQL database. PHP is accessing MySQL as whatever host
and user has
the client
host IP?
-Original Message-
From: Ryan Fox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 4:44 PM
To: Wee Chua; MySQL (E-mail)
Subject: Re: Php connection with mysql?
In your situation, MySQL sees the client to be the web server, as it is the
box that conne
Hello,
I'm trying to understand the connection handling in PHP. I've read the
documentation page, but everything I've tried doesn't seem to work.
I have a script that downloads and parses 5 search engine xml feeds and
returns them... a meta search engine of sorts.
I'm having problems with it's
Not enough "}".
Change it to:
--
Plutarck
Should be working on something...
...but forgot what it was.
""Francois Boucher"" <[EMAIL PROTECTED]> wrote in message
9bsk0h$r2e$[EMAIL PROTECTED]">news:9bsk0h$r2e$[EMAIL PROTECTED]...
> I wrote this code but nothing append. If i look de code in
I suggest you should check if the mysql server is running.
And also you should check if there is a user "php" with password "php" and
with access from "localhost" granted on your mysql server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
I wrote this code but nothing append. If i look de code in the browser it's
stopping to starting!
What is the problème?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-= François Boucher =-
-= [EMAIL PROTECTED]=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Wed, Apr 18, 2001 at 09:22:32AM -0500, Plutarck wrote:
> Hm...can't say I've seen many subjects about this, but you might want to
> look around for information on WAP/WML.
>
> Maybe someone else would know more though, because I have no experiance with
> non-PC browsers.
For Palm/PocketPC/bla
De: Plutarck [SMTP:[EMAIL PROTECTED]]
> Enviado el: miércoles 18 de abril de 2001 10:42
> Para: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Connection with a Palm
>
> "exporting data to a palm" is far too vague.
>
> PHP can produce data in a format suitable for saving on a Palm
pg_exec( $conn, ...
What do you think about this way ?
> -Message d'origine-
> De: Johannes Janson [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 18 avril 2001 12:42
> À: [EMAIL PROTECTED]
> Objet: Re: [PHP] Connection to postgresql DB used by 2 scripts ?
>
> Hi,
>
>
Thank you ,where i can download more info about this ?
> -Mensaje original-
> De: Plutarck [SMTP:[EMAIL PROTECTED]]
> Enviado el: miércoles 18 de abril de 2001 10:42
> Para: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Connection with a Palm
>
> "exporting
"exporting data to a palm" is far too vague.
PHP can produce data in a format suitable for saving on a Palm, or you can
have it interpret data from a Palm. To physically save data from a webpage
to a palm requires client-side scripting.
--
Plutarck
Should be working on something...
...but forgo
I ' m trying to develop a page that exports data to a Palm ,my question is
,can i do this with PHP or with JavaScript ? .If it's possible please let me
know ,thnks
Sebastián Renzi
Consultoría & Desarrollo de Sistemas.
CODES S.A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
vril 2001 12:42
> À:[EMAIL PROTECTED]
> Objet: Re: [PHP] Connection to postgresql DB used by 2 scripts ?
>
> Hi,
>
> put: include("connect.php"); at the beginning of query.php.
>
> Johannes
>
> ""Picard, Cyril"" <[EMAIL PROTE
Hi,
put: include("connect.php"); at the beginning of query.php.
Johannes
""Picard, Cyril"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would like to query a postgresql db with the php language.
> Today I wrote a script (connectandquery.php) perfor
I would like to query a postgresql db with the php language.
Today I wrote a script (connectandquery.php) performing the following :
- connect to the DB : $conn = pg_Connect("dbname = foo");
- execute the query : $res = pg_Exec($conn,"SELECT * from BAR");
But I would like to write this in two s
drop the
connection when the script ends.
Cheers,
-Jonathan Sharp
js_AT_imprev.com
> -Original Message-
> From: andrie [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 3:38 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] connection id
>
>
Hello php mania,
i was connecting into mysql using mysql_connect, and i just saved
the return value from this funtion. now i want to use this connection
id in the other page so i dont have to connect into mysql again.
is it possible for me to do that ?
anybody could tell me the different
Addressed to: <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from <[EMAIL PROTECTED]> Fri, 2 Mar 2001 15:59:55 -0500
>
> Hi,
>
> When I run the code:
>
>mysql_connect ("LOCALHOST","webmaster2","hironsc0");
> ?>
>
> I got error message:
> Fatal error: Call to unsupp
o:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 4:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Connection error
Hi,
When I run the code:
I got error message:
Fatal error: Call to unsupported or undefined function mysql_connect() in
...
HELP!
Thanks in advance,
Sharon
--
PHP General Mailing Li
Hi,
When I run the code:
I got error message:
Fatal error: Call to unsupported or undefined function mysql_connect() in
...
HELP!
Thanks in advance,
Sharon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
85 matches
Mail list logo