[snip]
I am looking for suggestions on a tool to "load stress" a php application.
We want to make sure that the application/web server will be able to handle
the amount of users we expect. I have found a few but they seem to be very
expensive. Can anyone suggestion an "affordable" and user friendly
>header("Location: registratie.html");
That is exactly how you do the PHP version of a response.redirect().
Regards.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect
call as a second parameter. Regards.
-Gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You probably want to add the mime type with 'header("Content-type:
application/x-ms-word");'. Regards.
-Gregory
-Original Message-
From: Alex James [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] [PHP-GENERAL] Serving docs from PHP
Remove the second 'global $payment;'. Regards.
-Gregory
-Original Message-
From: Frank Tudor [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 2:01 PM
To: 1PHP
Subject: [PHP] RE: function help redirect help
Here is what Ihave
I am getting a elseif parse error. Is there somethin
Make that:
function payment{
global $payment;
-Gregory
-Original Message-
From: Gregory Kornblum [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 1:30 PM
To: 'Frank Tudor'; 1PHP
Subject: RE: [PHP] function problem (simple redirect)
>function $payment{
C
>function $payment{
Change that to:
function payment{
$global $payment;
Regards,
-Gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
For this you will want to use a standard socket to port 80 with "GET
yourscript.php?var=foo HTTP/1.0\r\n\r\n" in the send method and the recieve
method will return the results. They have higher level APIs for HTTP but
this is my preference. You should easily be able to find examples on using
socket
route you'll want to
go. You'll have to read up on it's API and usage at
http://www.mysql.com/doc/en/index.html and
http://www.mysql.com/documentation/mysql++/index.html. Regards.
- Original Message -
From: "Gregory Kornblum" <[EMAIL PROTECTED]>
To: <[EMA
>I have apache under linux and I want to exchange data
>from a php script to a c programm (some strings): is it possible?
Yes in multiple ways. First off you need to figure out if you have the
source for the C application. If so you can use sockets, the MySQL client
API, and various other connec
echo "";
Also here's some functions to help.
function Array2URLString($array_in) {
$ser = serialize($array_in);
$ser = urlencode($ser);
return $ser;
}
function URLString2Array($url_string_in) {
$ser1 = stripslashes($url_string_in);
$arr1 = urldecode($ser1);
$arr1
11 matches
Mail list logo