php-general Digest 1 Jan 2002 23:54:06 -0000 Issue 1086

Topics (messages 79165 through 79188):

Name of the Frame
        79165 by: Duikplas Info
        79166 by: Duikplas Info

Re: Need some Linux/Apache help
        79167 by: Todd Cary
        79168 by: David Jackson
        79169 by: Todd Cary
        79171 by: David Jackson
        79173 by: Brian Clark
        79178 by: Todd Cary

cron test
        79170 by: caspar kennerdale
        79172 by: David Jackson

Generating Static Pages
        79174 by: David Jackson
        79175 by: David Jackson
        79176 by: Prottoss

imap extensions..
        79177 by: Philip Jeffs
        79181 by: LaserJetter
        79184 by: Philip Jeffs
        79185 by: LaserJetter
        79187 by: Philip Jeffs

Re: What the hell?!?!
        79179 by: LaserJetter
        79180 by: David Jackson
        79182 by: LaserJetter

Manuel Lemo's Soap Server?
        79183 by: Chris Boothe
        79186 by: Manuel Lemos

Oracle
        79188 by: Phillip B. Bruce

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi all,

Happy new Year to you all.

CAn anybody tell me the way to know, while compiling your page, what the
name is of frame/window where your page is gonna be presented in?

Thanx for the suggestions.

Met vriendelijk groeten
(Kind regards)

Robert Elsenaar
Duikplas "AquaView"
Website: www.duikplas.nl
e-mail: [EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Hi all,

Happy New Year to you all.

When compiling a page I want to know the name of the frame/window where my
page is gonna be presented. Somebody a suggestion which variable or function
I can use?

Thanx

Robert


--- End Message ---
--- Begin Message ---
When I run the "make" after a successful "configure", I get the
following errors:

stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1

Any suggestions on how I may resolve this?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Try Cross posting to: linux-admin list
[EMAIL PROTECTED]


> When I run the "make" after a successful "configure", I get the
> following errors:
> 
> stub.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1
> 
> Any suggestions on how I may resolve this?
> 
> Todd
> 
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 


--- End Message ---
--- Begin Message ---
David -

<<<
Try Cross posting to: linux-admin list
>>>

How do I join the list?

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Todd --

Send email to [EMAIL PROTECTED]

In body of email: subscribe linux-admin

You might also check for distrbution specific forum/list
Slackware has one, I'm sure Redhat has some.

By the why, were you compile Apache/Mysql and PHP from *tgz sources ? 


> David -
> 
> <<<
> Try Cross posting to: linux-admin list
>>>>
> 
> How do I join the list?
> 
> Todd
> 
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 


--- End Message ---
--- Begin Message ---
* Todd Cary ([EMAIL PROTECTED]) [Jan 01. 2002 10:39]:

> When I run the "make" after a successful "configure", I get the
> following errors:

> stub.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1

> Any suggestions on how I may resolve this?

That seems to be a known problem with some older PHP versions when
you're building --with-apxs but not static.

Remove the PHP source you have..

Then try grabbing either 4.1.1 from php.net (the tar.gz) or a new 
snapshot from snaps.php.net.

tar -xzf [file]

to unpack it, then try your same configure line, then make and see if
you get the same problem.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I'm not panicking. I'm examining all options at high speed.

--- End Message ---
--- Begin Message ---
Brian et al -

What a way to start the new year!!  I now have PHP 4.1.1 *with*
Interbase running on Linux 7.2 *with* Samba.  And I am greatly indebted
to the generous help of many people on this List.  This means I can move
my family picture album (uses Interbase) off of the IIS system and onto
Linux.

Before I do that, I have some questions about directory use in
Unix/Linux which really do not belong on this list.  So, maybe my basic
questions can be answered by direct email - whatever is best for the
List.

My question is about where I should put my databases?  I notice that the
"/var" is often used, but is "/usr".  So, for a guy coming from the NT
world, what would you suggest?

1) /var/databases/app1; /var/databases/app2  - or -
/var/databases/interbases/app1

2) The same as above, but with "/usr"

Also, Brian, I have several questions about "compiling" in the "C" world
which, if you do not mind, I'll send directly.  Probably not that much
different from Object Pascal (Delphi 5/6).

Again, Happy New Year to you all, *and* many thanks for the
help..........

Todd

--
Todd Cary
Ariste Software
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---


-----Original Message-----



Sorry this is offtopic

I have set up a cron job and this is the message I havereceived

Your terminal lacks the ability to clear the screen or position the cursor.

any ideas?

--- End Message ---
--- Begin Message ---
How about posting to the OS specific related forum?
For Linux try subscribing to linux-admin at [EMAIL PROTECTED]

for Solaris, HP-UX and other check news group list

DJJ


> 
> 
> -----Original Message-----
> 
> 
> 
> Sorry this is offtopic
> 
> I have set up a cron job and this is the message I havereceived
> 
> Your terminal lacks the ability to clear the screen or position the
> cursor.
> 
> any ideas?
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 


--- End Message ---
--- Begin Message ---
This may seem a little odd?
But what I want to do is use PHP/MySQL to generate static pages.
The applet I tinkering with is a sales worksheet and to start with will
consist of catalog/product maintience page, and a worksheet allow sales reps 
work up pricing for customers. Eventfully this would tie into an
"contact manager". The code to generate the catalog is below:
I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
the most effective why to write the HTML out to file?

-- Thanks for your time -- David

------------- Make Catalog PHP -------------




Attachment: mkcatalog.php
Description: application/unknown-content-type-php_auto_file

--- End Message ---
--- Begin Message ---
Sorry here's the code unattached:

<?php
include("/home/sites/www.pickledbeans.com/web/html_header.php");
// include("/home/sites/www.pickledbeans.com/web/connect.php");
include("/connect.php");
echo "<body >\n";
echo "<form method = \"post\" action =\"invoice.php\">\n";
echo "<p>Sales Date:</p>\n";
echo "<p><input type=\"Text\" name=\"frm_date\" size=\"15\"></p>\n";
echo "<p>Sales Rep:</p>\n";
echo "<p><input type=\"text\" name=\"frm_sid\" size=\"4\"></p>";
// Define table
echo "<br><table bgcolor=\"gray\" border=\"1\" >";
// Generate book listing
$result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM 
catalog ") or die("Dis ain't right !!"); 
while ( 
list($pid,$date,$title,$subtitle,$author,$amount)=mysql_fetch_row($result)){
echo "<tr>\n";
echo "<td><input type=\"checkbox\" name=\"frm_pid[]\" value = \"$pid\" 
></td>";
echo "<td>$title</td>";
echo "<td>Price: $amount</td>";
echo "</tr>\n";
}
echo "</table>";
echo "<p><input type=\"Submit\" name=\"submit\" value=\"Submit\">";
echo "<input type=\"Reset\" name=\"reset\" value=\"Reset\"></p>";
echo "</form>";
echo "</body>";
echo "</html>";
mysql_free_result ($result);
mysql_close($link);
exit;
?

--- End Message ---
--- Begin Message ---
In my experience the speediest way was to create a temporary buffer to which 
you append the html you wish to output and then write the buffer to file in 
one go.

Prottoss
[EMAIL PROTECTED]
http://www.mediaminer.org/

On January 1, 2002 01:41 pm, David Jackson wrote:
> This may seem a little odd?
> But what I want to do is use PHP/MySQL to generate static pages.
> The applet I tinkering with is a sales worksheet and to start with will
> consist of catalog/product maintience page, and a worksheet allow sales
> reps work up pricing for customers. Eventfully this would tie into an
> "contact manager". The code to generate the catalog is below:
> I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
> the most effective why to write the HTML out to file?
>
> -- Thanks for your time -- David
>
> ------------- Make Catalog PHP -------------

-- 
--- End Message ---
--- Begin Message ---
Hi,

I'm having trouble getting the imap extensions to load. I'm running Windows2000 with 
IIS5.

I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions directory in 
php.ini is set to 'c:\php\'

I still get told that php was 'unable to load dynamic library 'c:\php\php_imap.dll'

Any help would be gratefully recieved.

Thanks,

Phil
-----------------------------
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
    [EMAIL PROTECTED] (evening)
-----------------------------
--- End Message ---
--- Begin Message ---
This sounds similar to the problem I had but with other extensions.
Does the IMAP extenstion need any dlls from the c:\php\dlls folder to work?
(You can find out this somewhere on www.php.net). If it does then you need
to copy these to your system folder. (system32 folder probably). Better
still, why not just copy the lot into that folder to save future hassle!!
;o)

LJ


"Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
Hi,

I'm having trouble getting the imap extensions to load. I'm running
Windows2000 with IIS5.

I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions
directory in php.ini is set to 'c:\php\'

I still get told that php was 'unable to load dynamic library
'c:\php\php_imap.dll'

Any help would be gratefully recieved.

Thanks,

Phil
-----------------------------
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
    [EMAIL PROTECTED] (evening)
-----------------------------



--- End Message ---
--- Begin Message ---
I've looked around php.net and i can't find anything about extra dll's.

Does anyone know where i can get an up to date version of php_imap.dll from?

Maybe my version is old.

Thanks

Phil

----- Original Message -----
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 8:32 PM
Subject: [PHP] Re: imap extensions..


> This sounds similar to the problem I had but with other extensions.
> Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
work?
> (You can find out this somewhere on www.php.net). If it does then you need
> to copy these to your system folder. (system32 folder probably). Better
> still, why not just copy the lot into that folder to save future hassle!!
> ;o)
>
> LJ
>
>
> "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
> Hi,
>
> I'm having trouble getting the imap extensions to load. I'm running
> Windows2000 with IIS5.
>
> I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions
> directory in php.ini is set to 'c:\php\'
>
> I still get told that php was 'unable to load dynamic library
> 'c:\php\php_imap.dll'
>
> Any help would be gratefully recieved.
>
> Thanks,
>
> Phil
> -----------------------------
> Philip Jeffs
>
> The Tickle Group
> The Gate House
> Summerseat
> Bury
> Lancashire
> BL9 5PE
> United Kingdom
> W: http://www.tickle.co.uk
> T: 01706 823456
> F: 01706 829500
> E: [EMAIL PROTECTED] (daytime)
>     [EMAIL PROTECTED] (evening)
> -----------------------------
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

--- End Message ---
--- Begin Message ---
http://www.php.net/manual/en/install.windows.php#install.windows.extensions

I'm not sure if this says you need an extra dll for just PHP3 though.



"Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
002501c19307$6824a250$01010101@PHIL">news:002501c19307$6824a250$01010101@PHIL...
> I've looked around php.net and i can't find anything about extra dll's.
>
> Does anyone know where i can get an up to date version of php_imap.dll
from?
>
> Maybe my version is old.
>
> Thanks
>
> Phil
>
> ----- Original Message -----
> From: "LaserJetter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 01, 2002 8:32 PM
> Subject: [PHP] Re: imap extensions..
>
>
> > This sounds similar to the problem I had but with other extensions.
> > Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
> work?
> > (You can find out this somewhere on www.php.net). If it does then you
need
> > to copy these to your system folder. (system32 folder probably). Better
> > still, why not just copy the lot into that folder to save future
hassle!!
> > ;o)
> >
> > LJ
> >
> >
> > "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> > 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
> > Hi,
> >
> > I'm having trouble getting the imap extensions to load. I'm running
> > Windows2000 with IIS5.
> >
> > I've put 'php_imap.dll' in 'c:\php\' and i've checked that the
extensions
> > directory in php.ini is set to 'c:\php\'
> >
> > I still get told that php was 'unable to load dynamic library
> > 'c:\php\php_imap.dll'
> >
> > Any help would be gratefully recieved.
> >
> > Thanks,
> >
> > Phil
> > -----------------------------
> > Philip Jeffs
> >
> > The Tickle Group
> > The Gate House
> > Summerseat
> > Bury
> > Lancashire
> > BL9 5PE
> > United Kingdom
> > W: http://www.tickle.co.uk
> > T: 01706 823456
> > F: 01706 829500
> > E: [EMAIL PROTECTED] (daytime)
> >     [EMAIL PROTECTED] (evening)
> > -----------------------------
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>


--- End Message ---
--- Begin Message ---
I just re-installed php from scratch.
It seems to have done the trick.

Thanks for the help!

----- Original Message -----
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 8:59 PM
Subject: Re: [PHP] Re: imap extensions..


>
http://www.php.net/manual/en/install.windows.php#install.windows.extensions
>
> I'm not sure if this says you need an extra dll for just PHP3 though.
>
>
>
> "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> 002501c19307$6824a250$01010101@PHIL">news:002501c19307$6824a250$01010101@PHIL...
> > I've looked around php.net and i can't find anything about extra dll's.
> >
> > Does anyone know where i can get an up to date version of php_imap.dll
> from?
> >
> > Maybe my version is old.
> >
> > Thanks
> >
> > Phil
> >
> > ----- Original Message -----
> > From: "LaserJetter" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 01, 2002 8:32 PM
> > Subject: [PHP] Re: imap extensions..
> >
> >
> > > This sounds similar to the problem I had but with other extensions.
> > > Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
> > work?
> > > (You can find out this somewhere on www.php.net). If it does then you
> need
> > > to copy these to your system folder. (system32 folder probably).
Better
> > > still, why not just copy the lot into that folder to save future
> hassle!!
> > > ;o)
> > >
> > > LJ
> > >
> > >
> > > "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> > > 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
> > > Hi,
> > >
> > > I'm having trouble getting the imap extensions to load. I'm running
> > > Windows2000 with IIS5.
> > >
> > > I've put 'php_imap.dll' in 'c:\php\' and i've checked that the
> extensions
> > > directory in php.ini is set to 'c:\php\'
> > >
> > > I still get told that php was 'unable to load dynamic library
> > > 'c:\php\php_imap.dll'
> > >
> > > Any help would be gratefully recieved.
> > >
> > > Thanks,
> > >
> > > Phil
> > > -----------------------------
> > > Philip Jeffs
> > >
> > > The Tickle Group
> > > The Gate House
> > > Summerseat
> > > Bury
> > > Lancashire
> > > BL9 5PE
> > > United Kingdom
> > > W: http://www.tickle.co.uk
> > > T: 01706 823456
> > > F: 01706 829500
> > > E: [EMAIL PROTECTED] (daytime)
> > >     [EMAIL PROTECTED] (evening)
> > > -----------------------------
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

--- End Message ---
--- Begin Message ---
I need a program which will let me open it!
Using notepat just runs wordpad which wont let me scroll down to see what it
says because it's still processing the file.
Internet explorer didnt work and MS-DOS editor just said "Out of memory" and
closed on me
Never mind!



"Laserjetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've just been preparing a site for upload from my local test server to
the
> net and have come accross a php.error.log file which was 13.4Mb!
> I'm using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
to
> 4.1 PHP
> has been creating these error log files all over the place. Does anyone
know
> what to change in php.ini to stop it doing this?
> Also, apart from my coding being rubbish and causing lots of errors, does
> anyone know of any reason why an error log file would grow to such a huge
> size? The page has onle been accessed a few times and I can't think of any
> way a single page could create 1Mb of error text on each hit.
>
> LJ
>
>
>
>


--- End Message ---
--- Begin Message ---
copy php.log php.txt, now you have a static log to look at.
then do "more php.txt" this will display a screen at a time,hitting <space>
goes to the next screen.

To do more advanced work with text files goto:
http://simtel.net "gnuish" directory and download "gawk" and "grep", mainly
grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
the command string would look this: grep -i seach_string filename |more
or grep -i "fatal* filename |more, you get the idea.


> I need a program which will let me open it!
> Using notepat just runs wordpad which wont let me scroll down to see
> what it says because it's still processing the file.
> Internet explorer didnt work and MS-DOS editor just said "Out of
> memory" and closed on me
> Never mind!
> 
> 
> 
> "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I've just been preparing a site for upload from my local test server
>> to
> the
>> net and have come accross a php.error.log file which was 13.4Mb! I'm
>> using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
> to
>> 4.1 PHP
>> has been creating these error log files all over the place. Does
>> anyone
> know
>> what to change in php.ini to stop it doing this?
>> Also, apart from my coding being rubbish and causing lots of errors,
>> does anyone know of any reason why an error log file would grow to
>> such a huge size? The page has onle been accessed a few times and I
>> can't think of any way a single page could create 1Mb of error text on
>> each hit.
>>
>> LJ
>>
>>
>>
>>
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 


--- End Message ---
--- Begin Message ---
Nice one, thanks! I forgot about using the more command!!



"David Jackson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> copy php.log php.txt, now you have a static log to look at.
> then do "more php.txt" this will display a screen at a time,hitting
<space>
> goes to the next screen.
>
> To do more advanced work with text files goto:
> http://simtel.net "gnuish" directory and download "gawk" and "grep",
mainly
> grep, NOTE: using grep is O.T. for this forum, but you in a nutshell,
> the command string would look this: grep -i seach_string filename |more
> or grep -i "fatal* filename |more, you get the idea.
>
>
> > I need a program which will let me open it!
> > Using notepat just runs wordpad which wont let me scroll down to see
> > what it says because it's still processing the file.
> > Internet explorer didnt work and MS-DOS editor just said "Out of
> > memory" and closed on me
> > Never mind!
> >
> >
> >
> > "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >> I've just been preparing a site for upload from my local test server
> >> to
> > the
> >> net and have come accross a php.error.log file which was 13.4Mb! I'm
> >> using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading
> > to
> >> 4.1 PHP
> >> has been creating these error log files all over the place. Does
> >> anyone
> > know
> >> what to change in php.ini to stop it doing this?
> >> Also, apart from my coding being rubbish and causing lots of errors,
> >> does anyone know of any reason why an error log file would grow to
> >> such a huge size? The page has onle been accessed a few times and I
> >> can't think of any way a single page could create 1Mb of error text on
> >> each hit.
> >>
> >> LJ
> >>
> >>
> >>
> >>
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
>
>
> --
>
>


--- End Message ---
--- Begin Message ---
Has anyone tried this sample project?
Soap Server Class
http://phpclasses.upperdesign.com/browse.html/package/251

I can't seem to get it to go, it is returning:
500 internal server error

The APACHE Log reads:
Premature end of script headers: C:/php/php.exe

Any ideas?

Chris Boothe
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hello,

Chris Boothe wrote:
> 
> Has anyone tried this sample project?
> Soap Server Class
> http://phpclasses.upperdesign.com/browse.html/package/251
> 
> I can't seem to get it to go, it is returning:
> 500 internal server error
> 
> The APACHE Log reads:
> Premature end of script headers: C:/php/php.exe
> 
> Any ideas?

This means there was a fatal error handling the SOAP request. The
protocol spec, requires that when something fails the service request
returns error 500.

Unfortunately, PHP does not return the response body when a HTTP returns
error 500. This makes impossible for SOAP responses be returned
correctly using Apache. I already mentioned this to Rasmus once. It
seems that PHP needs to work differently with Apache to prevent this
behaviour and let SOAP XML response body be returned correctly.

The work around for this is to set a property of the SOAP server class
named failure status to something else than "500 Internal server error".
You may set it to "200 OK" like in the date.soap example SOAP service
script:

$soap_server_object->failurestatus="200 OK";

If this does not solve your problem, is because the problem is something
else. Just let me know if you still have problems.

Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
Hi,

  Has any one on this list worked with Oracle, Apache and PHP. My apache
is configured
   for apache and working with mysql. Just wondered if there is any docs
on connecting to
  Oracle in the same manner mysql is being done?

--
************************************************************
*** Phillip B. Bruce                                     ***
*** http://pbbruce.home.mindspring.com                   ***
*** [EMAIL PROTECTED]                               ***
***                                                      ***
*** "Have you ever noticed? Anybody going slower than    ***
*** you is an idiot, and anyone going faster than you    ***
*** is a maniac." - George Carlin                        ***
************************************************************



--- End Message ---

Reply via email to