I just upgraded to 4.3.11 and now my web service apps do not work. I
downloaded the latest version of nuSoap.php and still no luck. Is
anyone else running into issues with this?
Charles Killmer
You could print_r $rs and see exactly what it contains. Otherwise you
could add this to your code to make things simpler.
$soap_proxy = $client->getProxy();
$result = $soap_proxy->HelloWorld();
This is how I do it.
Charles
-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]
Sent:
Anyone know how to connect to a SQL Server through PHP using Windows
Auth instead of SQL Auth?
Charles Killmer
Netgain Technology
[EMAIL PROTECTED]
Office: (320) 251-4700 ext 107
Try not echoing the word FORM.
change
FORM';
to this
';
Charles
-Original Message-
From: Patrick Roane [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 1:34 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Has anyone seen t
yahoo.com
_SERVER["SERVER_PORT"] 80
The client approached my webserver with www.yahoo.com in the host
header. So this is a strange situation. Anyone seen anything like this
before?
Charles
-Original Message-
From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, D
cts in PHP?
Charles
-Original Message-
From: Bowden, Zeb [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 7:19 AM
To: Charles P. Killmer
Subject: RE: [PHP-WIN] Marty Yantzie - COM Object help- have working
.asp example - Paymentech
Looks to me like you're on the right tr
Marty Yantzie wrote a question about Paymenttech and php back in July
of 2003. Marty did you ever get this figured out.
Anybody else, has anyone else run into problems with this?
Original Message:
I am trying to setup an small ecommerece site. I would like to use php
to accomplish this.
ROTECTED]
Sent: Wednesday, December 01, 2004 10:03 AM
To: [EMAIL PROTECTED]
Cc: Charles P. Killmer
Subject: RE: [PHP-WIN] Strange internet problem
Definitely strange. Are you having it send you a copy of the header
information so you can verify that you're capturing the correct info and
you
This isn't related to php but there are many knowledgeable people here
that I though might find this curious.
I host an IP based site. Based on the host header that is sent to the
site, I pull different content from a database. When the host header is
not found in the database, I send an email
: Charles P. Killmer
Subject: re: [PHP-WIN] Secure SMTP
So many conditional questions...
your SUBJECT states "Secure SMTP"
your message just says "SMTP"
Are you looking for plain or Secure?
If plain, php.net/mail
If your looking for Secure SMTP, give me a few days and I&
Does anyone know of a class or something to send email with smtps?
Thanks
Charles Killmer
header("Location: http://www.google.com";);
or
header("Location: /otherfile.php");
-Original Message-
From: Allen D. Tate [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirecting A Webpage
I would like to setup an index.p
In IIS, for the configuration of PHP check the box that says "check If
file exists."
Charles
-Original Message-
From: Adam Clauss [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 9:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] "No input file specified." instead of 404?
I can
I was in the same boat and ended up calling them to find out. The
WinEnabler has been pulled from the site in order to test the installer
better. Apparently a few clients were having problems after the install
involving a process leak.
This is the explanation of the issue and what to watch for:
; test bug?
I think PHP converts to whatever type is on the left of the equal sign
which will make a lot of sense to me. I haven't thoroughly tested it.
Christian
- Original Message -
From: "Charles P. Killmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
I would think that PHP should make the conversion in the other direction
to avoid losing data. In other words, if a conversion is necessary,
convert to the data type that can handle the greater variety of data.
In this case to strings. It would probably always be to strings though.
Charles
---
If the headers and data are correct then the server is handling it
correctly. What I have notice in the past is that simply hitting
refresh in IE doesn't always work. Try copying to url to the clipboard
and going to some other site. Like google.com. Then paste the url back
from the clipboard.
l -s "Hello, world." [EMAIL PROTECTED]
Bob, could you please write me a program that prints "Hello,
world."?
I need it by tomorrow.
^D
Senior Manager
% zmail jim
I need a "Hello, world." program by this afternoon.
Chief Executive
% letter
letter: Com
uot;=","",$temp))."'";
} else {
$temp = $field."='".rtrim($temp)."'";
}
$output = " AND ".$temp;
}
I hope you are not allowing the client to send T-SQL through the query
string. Consider them sending something like
File.php?Query='; drop table XXX; --
Charles Killmer
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 8:25 AM
To: [EMAIL PR
Thanks. Is there any way to catch fatal errors, and have the script do
something else more gracefull. Like maybe log the error and redirect or
something.
Charles
-Original Message-
From: Vincent Jansen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 3:03 AM
To: Charles P
:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 12:58 PM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] PHP 5 try catch block
Have you tried the if statement with the isset command?
For example:
**
$SomeVariable = "NoneTheLess";
if (!isset($SomeVariables))
{
echo "Vari
Has anyone figured out how to catch fatal errors? Something like a
script like this with an obvivous parse error.
I want to know how to catch any klind of error so I can deal with it
gracefully instead of crashing the CGI.
Charles Killmer
Netgain Technology
[EMAIL PROTECTED]
Office: (320)
other people to go through extra work, that can be
easily automated anyway, just to send me an email.
Sorry my little rant. :)
Charles Killmer
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 9:37 AM
To: Charles P. Killmer
Subject: [QRfsoto]: RE: [PHP-WIN
When you use the header function, you must include the SID. There are
numerous ways to do this but the way that I use is like this.
session_start();
$row['id']=545;
$_SESSION['individual_id'] = $row['id'];
header("location:dataFilterExpander.php?".sid);
Charles Killmer
-Original Message
Killmer
-Original Message-
From: Kretschmer, Daniel
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 9:04 AM
To: Charles P. Killmer
Subject: [PHP-WIN] Windows 2003 and SQL Server issues
Hello Charles,
i have the same problem like you (see below) and i hope you have
meanwhile a
The function I like using is strtotime. You should be able to do
something like
strtotime("now") - strtotime("2/7/2004")
Or I think there is a date difference function. Though that might be
strtotime("now - 2/7/2004")
Charles Killmer
-Original Message-
From: [EMAIL PROTECTED]
[mailto:
select which sections they see and possibly organize
the layout as they see fit.
Charles Killmer
Netgain Technology
Open Source Rocks!
-Original Message-
From: Jim MacDiarmid [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 9:38 AM
To: Charles P. Killmer
Subject: RE: [PHP-WIN
I have been very fond of this method that I developed over the last few
years.
Lets say you have a site with three pages. Index, about us, and contact
us.
I create index.php like this
html stuff here
About us and contact us look the same
Template then just has
HTML Stuff
More
Make sure that the user php is running as has permission to delete files
from that directory. Usually IUSR_machinename
Charles
-Original Message-
From: Brent [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 9:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] unlink command on a wi
you to view my commments and advice on PHP.
Charles
-Original Message-
From: Alan Hale [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 1:31 PM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] Windows 2003 and SQL Server issues (SpamEnder:
BLOCKED [EMAIL PROTECTED])
In an effort to
I am having trouble configuring PHP 4.3.4 on Windows Server 2003 to
connect to SQL Server 2000 on a Windows 2003 Server across the LAN.
Now PHP is configured correctly because when I run the script from the
command line, ie c:\php\php.exe c:\site\file.php, I get the results from
the query.
Its a
Mainly the php.net documentation and this forum.
-Original Message-
From: Cyrus Misthalin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How have you learned PHP?
How have you learned PHP?
--
PHP Windows Mailing List (http://
No it was lengthened by 12 characters. And I checked and the email did
contain 1008 characters. So it didn't miss any in my test.
-Original Message-
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 8:49 AM
To: Disko_kex
Cc: Charles P. Ki
probably
-Original Message-
From: Kamran fff [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Help me out with Session problem
Hi,
I have WinPro2000 with IIS (PWS) and PHP4.
When i strat session receive an error.
Can you t
I just tried it on my server with both PHP 4.3.2 and 4.3.3 and I got the
last 5. The only thing I changed was the email address to send to.
Charles
-Original Message-
From: Disko_kex [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN
running PHP 4.3.2 as CGI under IIS 5.0.
The piece of code that I pasted is the first line of the file after the
mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 7:17 AM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] weird random parse errors on PHP 4.1.x / Win2k
Is it possible that the
Does anyone have any code that will create a windows .lnk file?
Charles Killmer
I don't know if this is related but every once in a while I get timeout
issues. A script that usually runs just fine will timeout on line 2 or
3.
A few times it has been on a line like this.
If (isset($REMOTE_ADDR)) {
//stuff
}
The if statement is the line that times out.
Just a weird thi
Use nuSoap.php It is an include file that I have used to create a few
web service client pages.
http://dietrich.ganx4.com/nusoap/index.php
http://www.google.com/apis/
http://api.google.com/GoogleSearch.wsdl','wsdl');
$soap_proxy = $soapclient->getProxy();
$temp = $soap_proxy->doGoog
An issue that I ran into involved two things.
First: Inorder for IE to send the pdf to Acrobat, the pdf data must not
be Gzipped. Turn of output compression
Second: Don't use sessions on the page that sends the headers and the
pdf data
Charles Killmer
-Original Message-
From: Paulo
I have this script in the prepend directive.
This records the time that the script starts and a few other things and
writes them to a file.
A few days ago I got this error three times.
[19-Aug-2003 21:10:26] PHP Fatal error: Maximum execution time of 240
seconds exceeded in c:\php\include
...
PHP will get an array of the selected values in a variable named $test
Charles Killmer
-Original Message-
From: Harpreet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 4:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Multiple selection in php
I want to select multiple
---
From: Luis Moreira [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 9:31 AM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] checkboxes in php
Must be whitout coffee, but don't see the point.
The passing of check boxes comes from the fact of selecting them or not.
I tried to insert yo
Try this
';
echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
echo '';
//Then in PHP whether the box is checked or not your indexes are
correct.
print_r($temp);
?>
Charles Killmer
Netgain Technology
-Original Message-
From: Luis Moreira [m
If you notice he has it commented out. I doubt that that was the
problem.
I read somewhere a while ago about a difference in operator precedence
between || and or.
Perhaps the die is being invooked first?
Charles Killmer
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
S
The servers are all in the same office. For the mail that is showing
the wrong time, it never leaves the office.
Thanks
Charles
-Original Message-
From: Max Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:44 PM
To: [EMAIL PROTECTED]; Charles P. Killmer
Subject: Re
When I send email through php, the mail is stamped witha time that is an
hour after I send it. I have checked the time zone and daylight
settings one ALL servers.
I forwarded it to another account and this is the original message.
This was actually sent at 7:53 am. When I log onto the mail se
I had the parameters backwords but you get the idea.
$test = explode(",","no commas");
-Original Message-----
From: Charles P. Killmer
Sent: Thursday, May 29, 2003 3:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] explode...
It returns an array with one element
It returns an array with one element.
Array
no commas
-Original Message-
From: David Martinez [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 3:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] explode...
Here is the explode function: explode($delimiter, $string); This
function
Set session values like this
session_start();
$_SESSION["username"] = "sjohnson";
Get session values like this
session_start();
echo $_SESSION["username"];
The $_SESSION MUST be uppercase.
Charles Killmer
-Original Message-
From: Iggy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04
PHP will use the session id that your browser specifies. If you have
php setup to store session id in cookies, every time you refresh the
page your browser is telling php what session id to use. Then when you
close your browser, your cookies may be getting deleted.
Charles Killmer
-Original
Has anyone heard anything about getting PHP into the .NET CLR? Visual
Studio .NET would be a very cool programming environment for PHP. Also
it would add credibility to PHP in the eyes of corporate decision
makers.
Does anyone know what it takes to get another language into the CLR?
Thanks
Ch
I ran into problems with IIS, IE, pdfs, and Sessions. Try not using a session and see
if it works. If it does I think there are some functions to use before you send the
pdf. Session_write_close() I think.
Charles
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
S
including it from is located at:
e:\sites\website1\somefile.php
using either:
include("E:\Sites\Website1\template.php");
OR:
include("template.php");
will both work :)
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I thin
ry 28, 2003 2:53 PM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] Re: Include virtual?
[EMAIL PROTECTED] (Charles P. Killmer) wrote:
>I think my original question has been lost.
>
>
>Include("/template.php");
>
>I want this to include the file located at
>e:\
I think my original question has been lost.
Include("/template.php");
I want this to include the file located at
e:\sites\website1\template.php
Not
e:\template.php
Charles
-Original Message-
From: Wayne Pearsall [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:09 PM
To:
Exactly. I made a function to do this just wondering if this will be
built into PHP.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 6:01 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: Include virtual?
Not sure
Make sure ntwdblib.dll is in the windows directory.
Charles Killmer
-Original Message-
From: Joshua Groboski [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 10:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Problem with extensions w2k/IIS PHP4.3.0
I seem to be unable to trac
I love php but I must choose the fastest scripting language. Without
going to extremes like c++ compiled. At least not until I get a library
that provides most of the things that make php convenient.
Does anyone have any thoughts about PHP vs ASP.NET?
Charles Killmer
I know this sounds simple but make sure that index.php is the document
that is being served.
Either remove all other files from the web root. Or remove all other
documents from the default documents tab in IIS. Also make sure that
the webroot is in the right place.
Also make sure that a scrip
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 8:50 AM
To: Charles P. Killmer; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Include virtual?
I've wondered this before also but currently use;
include($_SERVER["DOCUMENT_ROOT"].'/'.'template.php
For those familiar with asp does php have something similar to the
include virtual?
I don't want to have to use the full system path to include a template
that is at the doc_root of the site.
Include_virtual("/template.php"); ??
This would include the template.php at the root of the sit
A problem that I ran into with pdf's was while using sessions. If you use a session
be sure you call session_write_close() before sending the first headers for the pdf.
What is your webserver configuration. OS,Webserver, version,php version, cgi,
isapi
Charles
Windows 2000 Server,
I submitted a bug report and never got a notification like usual.
Someone posted a comment to it and again no response. It doesn't look
like anyone working on PHP has looked at the bug report. Bug ID 21312.
Also I have never had a bug report last this long without any developer
comments.
Charles
vember 07, 2002 1:42 PM
To: Charles P. Killmer; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Tough decision ASP or PHP
I'm filling out form PDFs on the fly with IIS and FDF without any
problems... I don't know if that's what you mean by "creating PDF's"
but if
this ( ht
When is Isapi for IIS 5.0 going to be considered production quality? Or
is it already? What issues has anyone run into?
Thanks
Charles Killmer
Well I would love to switch to Apache but we are a Microsoft shop. I am
lucky to be using PHP and have had to defend it a few times against asp.
Thanks for everyones help.
Charles Killmer
-Original Message-
From: Wojciech Owczarek [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16,
Darn. Some of the directives cannot be set at runtime though.
Oh well.
Thanks
Charles
-Original Message-
From: Matt Kynaston [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 10:47 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Per site php.ini
> I saw nothing in the inst
: Charles P. Killmer; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Per site php.ini
The easiest way is to use the windows installer: it asks about php
directory, IIS version, etc., it's very easy to install. Otherwise you
should follow the instructions from the install.txt in the php zip
package.
With
Does anyone know how to configure PHP to have per website ini files. I
am using IIS 5.0 on Windows 2000 Server. I have searched and only found
people asking. I have found a few responses but only for servers with
Apache. And while I would love to switch, that is not my decision. Oh
well.
Any
PHP Warning: MS SQL error: Unable to connect: SQL Server is
unavailable or does not exist. (severity 9) in pathtofile\test.php4 on
line 5
PHP Warning: MS SQL: Unable to connect to server: 192.168.168.168 in
pathtofile\test.php4 on line 5
Why would I get these errors when I access a php fil
AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: IIS/PHP w/ NTFS issue
And i think that IIS uses the user IWAN for running CGIs instead of the
IUSR user...
Cheers...
Luis Ferro
Charles P. Killmer wrote:
>The problem when it was running as a cgi is the php.ini may not have
>been acce
The problem when it was running as a cgi is the php.ini may not have
been accessible by the user. Since it is in the winnt directory by
default permission would only exist admins and everyone(Read) unless you
tightened it down. Also check any dll that may be needed.
Charles Killmer
PHP 4.2.3 IIS
I think you are missing } before the else
-Original Message-
From: Dash McElroy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 12:57 AM
To: zeus
Cc: Howard, Robert P; phpwin
Subject: Re: [PHP-WIN] parse error
What line number are you getting the parse error at? It's amazing
"Connection: Close" header I would be very grateful.
Thanks
Charles Killmer
-Original Message-----
From: Charles P. Killmer
Sent: Thursday, November 07, 2002 2:43 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP vs ASP headers
I tried that. It seems PHP will only replace headers tha
I tried that. It seems PHP will only replace headers that PHP sent. Not headers sent
by IIS.
-Original Message-
From: Maxim Maletsky [mailto:maxim@;php.net]
Sent: Thursday, November 07, 2002 2:42 PM
To: Charles P. Killmer
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PHP vs ASP headers
Why does this code in ASP
Response.addheader "Content-type","application/pdf"
Response.addheader "Content-Disposition","inline; filename=25-1.pdf"
Result in these headers
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 07 Nov 2002 19:57:52 GMT
Content-type: application/pdf
Conte
Maletsky [mailto:maxim@;php.net]
Sent: Thursday, November 07, 2002 12:00 PM
To: Charles P. Killmer
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Tough decision ASP or PHP
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote... :
> I have to start building a a web site. And it need
I have to start building a a web site. And it needs to be very stable. It will be
creating a lot of pdf's on the fly also. The problem that I have had with php
creating pdfs is that IIS sends a connection: close header. This makes the pdfs very
unreliable.
I am guessing that the isapi ver
under W2k for about a month now with no
problems.
j-
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
news:B141BE87473AA64FB24370C43CEA54BD011B45@;ngexbe1.my-netgain.com...
Is anyone using 4.2.3 as an ISapi module?
All the documentation still says unstable but it hasnt cha
Is anyone using 4.2.3 as an ISapi module?
All the documentation still says unstable but it hasnt changed in years. Is it now
stable?
Thanks
Charles Killmer
Windows 2000 Server IIS 5.0 PHP 4.2.2
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Also check and make sure that you have register_globals set to on in php.ini Some
argue that you shouldn't use that though.
Charles Killmer
-Original Message-
From: Stephen Edmonds [mailto:stephen.edmonds5@;btinternet.com]
Sent: Saturday, November 02, 2002 10:12 AM
To: PHP Helplist Wind
83 matches
Mail list logo