Is it possible to build SoapClient as a loadable extension? For various
reasons, I don't want to have to recompile PHP from scratch. It would be much
simpler to just distribute another .so and .ini file.
How would I do that, if it's possible?
-jsd-
--
PHP General Mailing List
Phpster phpster at gmail.com writes:
It's already done
http://wso2.com/products/web-services-framework/php/
I don't know what that has to do with what I asked.
I found the answer on my own:
./configure --enable-soap=shared
Produces a modules/soap.so file that can be loaded in to php
Terion Miller wrote:
*Warning*: Cannot modify header information - headers already sent by
(output started at
C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
line *3*
Line 32-36 are:
?php
If
Vinny Gullotta wrote:
Well, what I need to be able to do is then take the numbers of each
count and figure out which is used the most. We use this database to log
actions taken on servers in our network. What my boss wants me to come
up with is a list of which commands are issued the most,
Matt Palermo wrote:
I'm using the following command and I'm not getting any feedback:
exec(echo 'adminPass' | sudo -u adminAccount -S whoami, $f, $r);
Both $f and $r don't contain any data. This leads me to believe that
the command is not being run for whatever reason. Is there something
Neil wrote:
Hi Thanks
I have tested the path, that works fine. I set up a dummy file on the
same path just to check that, it found that and printed out some echo'd
text from that file.
I can see the content of core_js.php file in the the IE view source view.
debugging javascript in IE
Chetan Rane wrote:
But this does not work:
?php
class Foo {
}
class Bar {
function __construct() {
public $f = new Foo();
}
}
?
do this:
?php
class Foo {
}
class Bar {
public $f;
function __construct() {
$this-f = new Foo();
}
}
$x =
R B wrote:
Hello,
I´m developing a PHP system that needs one of these lines in the .htaccess,
depending of the server configuration:
AddHandler application/x-httpd-php .xyz
or
AddHandler application/x-httpd-php4 .xyz
or
AddHandler application/x-httpd-php5 .xyz
How can i detect on the fly
On Wed, Jun 18, 2008 at 9:19 AM, Nate Tallman
[EMAIL PROTECTED] wrote:
Not to beat a dead horse, but why would you *not* want to preserve the 404?
If it's a bad url anyways, you probably *want* to return a 404 (albeit
prettier) and you probably *don't* want search engines indexing it.
the
Ryan S wrote:
Hey!
Thanks for replying.
Digging a bit more i found
IfModule mod_rewrite.c
RewriteEngine On
RewriteRule ^([a-z][0-9][A-Z][aA0-zZ0])$ jj.php?show=$1
/IfModule
But it does not work :( do you see any fault with the above?
this is an apache issue, not a php issue, so you'll
Nate Tallman wrote:
Why is an ErrorDocument insufficient or not the elegant way?
It accomplishes the goal in a clean way, no?
It's *WRONG*. ErrorDocument still preserves the 404 error code, it just
gives it a prettier face. If the page really is there, returning a 404
for it is not
R.C. wrote:
I'm going to ask you PHP gurus if someone can give me a hand in trying to
get this resolved. I'm fairly new to PHP and learning as I go.
I've got two page login.php and video.php. Video.php is supposed to be
protected i.e. if someone clicks on the direct link or brings up the page
I've been trying to smoke out some problems with APC under high load.
We're using PHP 4.4.6 and APC 3.0.13. We are finding loads of this in
our error log:
realpath failed to canonicalize PEAR.php - bailing
I know APC prefers you to use absolute paths but lots of PEAR modules
just do
Dan McCullough wrote:
For me it doesnt matter I dont want Google in the section that I'm
obfuscation.
use nonsequential ids (as you do) and a robots.txt file to stop google
(and any search engine that obeys robots.txt)
http://www.robotstxt.org/wc/exclusion.html
also google has a thing
Paul Goepfert wrote:
function determineDay ()
{
$return = ;
$query1 = mysql_query(SELECT months FROM Month WHERE m_id =
month(curdate()));
$query2 = mysql_query(SELECT dayNum FROM Days WHERE dayNum =
day(curdate()));
Paul Goepfert wrote:
I included the or die function on the end of my query statement. When
I tested this on my web page I got the following error
Query2 Failed: You have an error in your SQL syntax near '(curdate())' at line 1
When this code executed:
$query2 = mysql_query(SELECT dayNum
Jed R. Brubaker wrote:
I have a PHP script that populates a database table. No big deal. It creates
mailing labels. However, a weird things keeps happening - every once in a
while, a query is run twice. It is the same query, same information, even
the same time (there is a now() in the query -
Octavian Rasnita wrote:
Does anyone around here knows a *good* and *free* encoder for PHP5 ?
I used to run Turck, but it seems that somehow it has been discontinued.
(At least, the last release occured about a year ago).
Did it stop working? My Turck copy still works. ;-)
turck never worked for
with this code fragment:
?
$string='/mobile/phone.html';
if (strpos($string,'/mobile/')!==false) { print one: yes\n; }
if (strpos($string,'/mobile/')===true) { print two: yes\n; }
?
only the first if statement prints anything. why is !== false not the
same as === true ?
-jsd-
--
PHP General
in my apache server i have a bunch of virtualhost sections like:
virtualhost *
servername bob.domain.com
documentroot /var/httpd/users/bob
php_value include_path .:/var/httpd/users/bob
/virtualhost
virtualhost *
servername sally.domain.com
documentroot /var/httpd/users/sally
php_value include_path
Redmond Militante wrote:
$essay2=nl2br($essay2);
$essay2 = str_replace( br /, \par, $essay2 );
$output = str_replace( essay2, $essay2, $output );
to preserve line breaks when generating rtf documents from the text blob essays we have in the mysql db.
this is working fine. i have recently had
Curt Zirzow wrote:
* Thus wrote Jon Drukman ([EMAIL PROTECTED]):
$dbh=mysql_connect() or die(mysql connect failed: . mysql_error());
. Ensure your error_reporting level is high enought to allow
Warnings, and make sure display_errors is on.
or
. Turn on track_errors and use the variable
Decapode Azur wrote:
is it possible to remove an element of an indexed array such as this exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
array_remove($A, 2);
If such a
i've got a library file that i require() in all my scripts. it starts
with this line:
$dbh=mysql_connect() or die(mysql connect failed: . mysql_error());
about 5% of the time, this fails for no apparent reason. it just prints
mysql connect failed:
with no error message.
there's nothing
Jean-Christian IMbeault wrote:
I want to create the following:
1- A screen a series files and associated buttons
2- if the user clicks the button a File | save as dialog opens up
3- after the file the user is redirected to a new page
I've gotten 1 and 2 to work but I can't figure out how to do
At 05:22 PM 8/5/2003, Chris W. Parker wrote:
David Nicholson mailto:[EMAIL PROTECTED]
on Tuesday, August 05, 2003 5:12 PM said:
$output = array();
exec(command,$output);
$output = implode(,$output);
That's a good idea!
Well how about this? (posted in another message)
$output =
At 06:33 PM 8/3/2003, Robert Mena wrote:
a) apache
It seems that apache + php does not work well under
heavy load so I should stick with 1.3.X right ?
i don't know about that. i'm running an extremely high traffic website
with apache + php + linux and it's a total champ. we've got 6 compaq
At 02:45 PM 8/4/2003, Ralph Guzman wrote:
Been working on this one for a while but can't get it working properly.
I need a regular expression to match if address is
1. PO Box
2. P.O. Box
3. P.O.Box
I'm using /i to make this case insensitive.
I got it working with 1 2, but it's still not matching
can you change session.cookie_lifetime on the fly? some users might want
their sessions to persist between browser invocations, and others might want
their sessions to expire.
-jsd-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
is it possible to have session.cookie_lifetime different for each user?
some users may want their cookies to live past a browser shutdown and others
may not. i'd like to give them a choice, if possible.
-jsd-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
At 09:03 PM 1/31/2002 -0400, Miles Thompson wrote:
If you want persistence then use a cookie to
- store the information
- to provide a key for fetching data from a database
or accept that if preservation of inter-invocation data is impt enough to
require registration of users and a login if the
I have a file called sessionvars.php that I require() as the very first
thing on all my pages, it has
session_register(blah...) and about 40 or 50 variable names after that.
sometimes I am seeing behavior where a form on one page that references a
session variable doesn't carry over the change
Jon Drukman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
sometimes I am seeing behavior where a form on one page that references a
session variable doesn't carry over the change to the next page.
i just figured this out from reading the user
33 matches
Mail list logo