php-windows Digest 5 Aug 2003 08:02:09 -0000 Issue 1854
Topics (messages 21012 through 21018):
calling a user defined java class method .....
21012 by: toby z
Re: unable to delete php created files in php
21013 by: Luis Moreira
CLI File Open Problem
21014 by: Gareth Thomas
Re: Java Extension for PHP
21015 by: Isaac Moreno Cervera
Connecting to another server
21016 by: Derrick Hermanson
Searching or Indexing PDFs and Docs
21017 by: Herhuth, Ron
how to install imap with php on windows 2000 server under IIS
21018 by: Ha Duy Thien
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 ---
hay guyz
im stuck a bit ....
i am trying to call a java class method which happens to be my own as
well .... user defined that is
how do i go about this ????
n that also if its possible at all .....
thnx a bill
toby
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
--- End Message ---
--- Begin Message ---
John,
I don't really know XP, but it seems that maybe the problem is within
"xp permissions", because you can have permission to write/create, but not
to delete.
Double check wether Apache really has rights (delete or full) on the
directory were you put the files.
Again, I don't know Xp, but there's were I would start at.
Luis
----- Original Message -----
From: "John Yu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 3:41 PM
Subject: [PHP-WIN] unable to delete php created files in php
> It seems that when I try to unlink a file in php which has been created by
> php on a winxp machine I always get a unable to delete file, permission
> denied error...
>
> This seems to me to be very strange since the file was created by php and
> yet php doesn't have the rights to delete it.
>
> Anyone else ran into this and any suggestions at all?
>
> thanks in advance.
>
> John
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,
I am trying to write data to a text file on my Windows 2000 server using PHP
at the command line. I am running PHP 4.3.2, and the script uses the 'touch'
function to create the file (which works fine) but when I try and open the
file to write to it and errors. Anyone any idea? I have checked the security
and also IIS access.. I would assume however that if touch works then so
would fopen... I am stumped. Any help would be much appreciated.
G.
--- End Message ---
--- Begin Message ---
Hi there,
Sorry for my english. I'm spanish.
I'm trying to run my Java classes through php. I've tried all the possible
settings in my php.ini file (I've read everything in php.net), and althought
php doesn't crash, the Java code does nothing. I get no errors neither
warnings but the Java classes seems not to run. And when I run that classes
from the command line they work.
However, if I run this piece of code (that it's very similar to mine):
<?php
$systemInfo = new Java("java.lang.System");
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>
It works perfectly!!! Why my classes don't work? I'm sure it isn't the
CLASSPATH. And PHP settings in php.ini seems to be OK.
And there is more. If after a while, I reload the page I get a PHP Fatal
Error because it can't create a JVM. I've seen this issue in lots of sites
but it seems that no-one has solved it on Windows. Did anybody find a
solution?
I've also tried to run "java myclass" from "system" and "exec" PHP commands
with no success.
Can anybody help me, please?
Thanks a lot.
Running: W2K, SP3.
Apache 1.3.27.
PHP 4.3.1.
J2RE v1.4.1_01.
Isaac
--- End Message ---
--- Begin Message ---
Was wondering if there was a way to call a php program from a different
server. Have a program and I want it to call a program on one of our other
servers. Not sure of how to get it done, if it can be done.
Thanks in advance for any help.
Derrick Hermanson
Programmer Analyst I
--- End Message ---
--- Begin Message ---
I'm looking for a way to search and index PDFs and Word Docs and store
pointers in MSSQL to the appropriate file(s) as links to the user, using
PHP.
Has anyone done this before, and/or have links to any sample scripts to do
this?
Thanks,
Ron
--- End Message ---
--- Begin Message ---
Dear everyone,
Hi i would want to install Imap extension.
i saw the right packet on this page :
http://www.php.net/manual/fr/ref.imap.php
but i don't know how to install it on windows 2000!!!
My Php version is : Php 4.3.3
Server : Windows 2000 Server
Web Server : IIS 5.0
it seems i must compil the packet, but i don't have a compiler....
It seems very difficult to me, so if anypne have any experience, please tell
me step by step how to solve this problem
Thanks you very much
Thien
--- End Message ---