php-windows Digest 10 Jul 2001 04:25:07 -0000 Issue 644

Topics (messages 8198 through 8213):

Income on the Net!
        8198 by: Noel Hadfield

Re: Spell checking w. PHP in Windows
        8199 by: Jason Gan
        8202 by: Christian Sandfeld

Re: Instilation problem
        8200 by: Ivan Milanez Castellanos
        8201 by: Justin Blake
        8207 by: Johan
        8211 by: Justin Blake

php > XML output in IE: no display
        8203 by: Patrick Sibenaler
        8204 by: Michael Rudel
        8209 by: Johan

Re: [PHP] php > XML output in IE: no display
        8205 by: Mark Charette

Re: [PHP] RE: [PHP-WIN] php > XML output in IE: no display
        8206 by: Mark Charette

Apache Direcotry indexing
        8208 by: Ivan Milanez Castellanos
        8210 by: Johan

Re: access remote files
        8212 by: Jeremy Bettis

php and Dreamweaver (How To)
        8213 by: Michael

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]


----------------------------------------------------------------------


Here is an opportunity that you can take up FREE. If you join as an 
affiliate, we'll teach you how to build a profitable business on the 
Internet, using our system to create an income stream and earn income 
globally, 24 hours a day.

Don't let this opportunity slip past you - our organization is already well 
over 1 million strong and growing at around 6,000 each day! Join us and 
let's work together to get a share of all those members.

Just hit:

mailto:[EMAIL PROTECTED]?Subject=Opportunity

To be removed from this list, hit:

mailto:[EMAIL PROTECTED]?Subject=Remove




There is a COM spell checker. It happens to cost a lot of money.

-----Original Message-----
From: Johan [mailto:[EMAIL PROTECTED]]
Sent: Monday, 9 July 2001 5:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Spell checking w. PHP in Windows


Workaround2: Isn't there any COM-spell checker? I belive I've heard
something about it, but since I don't use COM that much...

/Johan







Hi list,

All the replies to my question arrived in my inbox after leaving work
friday, hence the late response.


John:
I never meant to offend you (or anyone else for that matter) with my
question. But I still feal it justifies as a question for the PHP-WIN list.
I mean, there are functions in PHP made to utilize aspell/pspell. When
looking for ways to utilize these PHP functions on the Win platform, a
WIN-PHP list sounds just right to me since people on this list probably all
deal with just that - PHP on Windows.

If this is your way of helping, please disregard all mails from me in the
future.


Jesse:
Thanks for sticking up for me on this one. :)


Flint:
I'm happy to see that you are intrieged by my question. Unfortunately I
don't have the skills necessary to start dealing with compilation of dll's.
This is why I hopped that someone else already looked into this. Thank you
for your time looking at it (if you stumble accross a solution I would be
happy to know).


Thomas:
I am aware of the nature of this (and other) mailing lists, and truly
appreciate it. As it happens, the fact that there are so many skilled people
out there willing to "lend a hand" is one of the things I cherrish the most
on the internet. I do also try to help out whenever I can, but in this
particular area I'm still kind off "green".

I realise now that the way I asked could be misinterpreted as taking out my
frustrations on you guys. This was deffinately not my objective, and I
appologise. The reason I asked a second time is that 1) There has been
problems with the list, so I wasn't sure if people actually saw my question.
2) The list has quite a high volume of messasges, so it's easy for a
question to "drown" so to speak, in the many messages that come through in a
day.

I am however glad I did ask again, as I got some very interesting and
helpfull answers this time.

I appologise once again if my mail seemed harsh, I probably should have
worded it differently :)


Jason:
Reg. dll's: That seems like a plausible explanation.
Reg. COM: Thanks, unfortunately I don't have money to spend on this (atleast
not now).


Johan:
Workaround1: This could probably be done, even utilizing the Win32
executable version of aspell, however this will take a lot of coding (I
think) and I'm not sure I would be up to the task.

Workaround2: Unfortunately I don't know first thing about COM :)


Last but not least, thank you to all who took the time to answer, and once
again, my appologies to anyone who was offended by my question.


Regards,

Christian


-----Original Message-----
From: John Catron [mailto:[EMAIL PROTECTED]]
Sent: 6. juli 2001 18:16
To: PHP-WIN
Subject: Re: FW: [PHP-WIN] Spell checking w. PHP in Windows
>
> 
> Could it realy be that no one really cares?
> 
> I thought this was a PHP mailing list, not a Pspell mailing list!
> 
> I have seen all kinds of special interest questions and MySQL
> questions that do not pertain directly to PHP.  People learn to
> put a few HTML tags in a txt doc and call themselves "web programmers".
> If you do not know anything about RDBMS then why are you messing with
> it?
> 
> Keep it real.
> (Keep it PHP)
> 
> thanks
> 
> John
> 

--- Christian Sandfeld <[EMAIL PROTECTED]> wrote:
> Could it realy be that no one knows about this (I can't possibly be the
> first to get this idea) ?
> 
> Brgds,
> 
> Christian
> 
> -----Original Message-----
> From: Christian Sandfeld [mailto:[EMAIL PROTECTED]]
> Sent: 28. juni 2001 12:39
> To: '[EMAIL PROTECTED]'
> Subject: [PHP-WIN] Spell checking w. PHP in Windows
> 
> 
> I have been looking for a while for a way to supply spell checking to the
> users of my submit forms, and stumbled accross the tutorial at Zend
> Technologies
(http://www.zend.com/zend/spotlight/spellchecking.php?print=1)
> dealing with this, utilizing the Aspell/Pspell modules.
> 
> Now, this is all dandy, but I have not been able to find any info what so
> ever on how to accomplish this on the Windows platform. So my question is,
> does anyone know how to make this work on a WinNT system, and (preferably)
> where to obtaion the needed modules?
> 
> I thank you in advance for your time :)
> 
> /Christian
> 
> -- 
> PHP Windows 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 Windows 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]
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-- 
PHP Windows 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]




Justin: Are you including the myfile.php into another php file, if so, it
seems you left the include_dir variable blank in your php.ini, so what you
have to do is put a path to a directory where you want to always find your
includes, or you can type in the relative path to your included file from
the path where you have the file you are including it to.

Say for example that the myfile.php is in a dir called "bin" and the file in
which you are including it is in a dir called "help" both on your webroot
dir, what you would do is call it this way: include ('../bin/myfile.php'),
this will help you get around the fact that no include_dir value is
available.

Later.

Iván


-----Original Message-----
From: Justin Blake [mailto:[EMAIL PROTECTED]]
Sent: Sábado, 07 de Julio de 2001 08:00 p.m.
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Instilation problem


I am running Sambar Server Pro v5.0 on Win ME. It requires php4 to run as
isapi. I know my sambar config files are correct but I'm not sure about php.
When I try to run any php file I get:

Warning: Failed opening 'D://docs/bin/myfile.php' for inclusion
(include_path='') in Unknown on line 0

php.ini is in c:\windows and msvcrt.dll and php4ts.dll are in
c:\windows\system

Thanks for any help,
Justin





> Justin: Are you including the myfile.php into another php file...

That's whats weird about it. I am not using any includes. All I am doing is
trying to test my instillation with:

<? phpinfo(); ?>

I also tried:

<? echo "Hello."; ?>

But I still get the same error.




Hi Justin,

Have you checked in php.ini?
There's 2 lines that coul'd make this happend:
auto_prepend_file =
auto_append_file =

If these are not empty, they try to include files...

/Johan






> If these are not empty, they try to include files...

They are empty. Still doesn't work.






Has anyone figured out how to trick IE into displaying an XML file 
that is produced by a PHP script (script.php) properly?

What happens usually is that you send the mime 'text/xml', but IE 
still sees content as php because the script is called php. Also 
adding <Content-disposition: filename="some.xml"> to the header 
does not help and is boldly ignored by IE.

Nice detail: if the url is called using Netscape, Netscape will 
save the file out to the disk, give it the suffix .xml and call 
IE which then will display content perfectly. 


Any hints are greatly appreciated.

greets, 
   patrick./




Hi Patrick,

your first output should be:

header( "Content-type: text/xml" );

echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>\n';

It works for me.

Gruezie's,
  Mike

Michael Rudel
- Web-Development, Systemadministration -

Besuchen Sie uns am 20. und 21. August 2001 auf der
online-marketing-düsseldorf in Halle 1 Stand E 16
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
_______________________________________________________________



> -----Original Message-----
> From: Patrick Sibenaler [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 5:24 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] php > XML output in IE: no display
>
>
>
>
> Has anyone figured out how to trick IE into displaying an XML file
> that is produced by a PHP script (script.php) properly?
>
> What happens usually is that you send the mime 'text/xml', but IE
> still sees content as php because the script is called php. Also
> adding <Content-disposition: filename="some.xml"> to the header
> does not help and is boldly ignored by IE.
>
> Nice detail: if the url is called using Netscape, Netscape will
> save the file out to the disk, give it the suffix .xml and call
> IE which then will display content perfectly.
>
>
> Any hints are greatly appreciated.
>
> greets,
>    patrick./
>
> --
> PHP Windows 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]
>





Stupid IE!!!

When sending PDF's, I found that I allways have to send content-length as
header to get IE to understand...

<? //Like this:
header("Content-type: application/pdf");
ob_start();
-- create pdf --
$len = ob_get_length();
header("Content-Length: $len");
ob_end_flush();
?>

Hope it helps, havn't tried (not workin with XML/PHP)

/Johan






There's a sequence of headers that almost works - but then Netscape does
screwy stuff.

What I ended up doing is creating a URL of the form

/createmyfile.php/variables/dummyname.xml

and strip the data I need out of PATH_INFO.

Mark C.

----- Original Message -----
From: "Patrick Sibenaler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 10:23 AM
Subject: [PHP] php > XML output in IE: no display


>
>
> Has anyone figured out how to trick IE into displaying an XML file
> that is produced by a PHP script (script.php) properly?
>
> What happens usually is that you send the mime 'text/xml', but IE
> still sees content as php because the script is called php. Also
> adding <Content-disposition: filename="some.xml"> to the header
> does not help and is boldly ignored by IE.
>
> Nice detail: if the url is called using Netscape, Netscape will
> save the file out to the disk, give it the suffix .xml and call
> IE which then will display content perfectly.
>
>
> Any hints are greatly appreciated.
>
> greets,
>    patrick./
>
> --
> 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]
>
>
>





IE does some "intelligent guessing" based on filename extension that will
override headers. If you send enough headers in the right sequence you can
get it to work right - with a weird name if you want to save it and
sometimes a double query on whether or not you want to save it. Tricking it
via PATH_INFO URLs works without any weird problems.

----- Original Message -----
From: "Michael Rudel" <[EMAIL PROTECTED]>
To: "'Patrick Sibenaler'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 10:36 AM
Subject: [PHP] RE: [PHP-WIN] php > XML output in IE: no display


> Hi Patrick,
>
> your first output should be:
>
> header( "Content-type: text/xml" );
>
> echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>\n';
>
> It works for me.





Does anybody know how to disable apache's directory indexing??

I tried commenting the lines that load the directory indexing module, but
that only disables the part that makes the directory index look nice.

Please help.

Iván




rtfm

Hi Ivan,

Take a look at:
http://httpd.apache.org/docs/mod/mod_dir.html
and
http://httpd.apache.org/docs/mod/mod_autoindex.html

You should be able to get it the way you want by that info.

/Johan






UNC paths were broken, but they work in the current CVS build. I don't know
if the fix was in 4.0.6 or not.

--
Jeremy Bettis
[EMAIL PROTECTED]

"Nicolas Toniazzi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does someone know if it is possible to list the content of a remote
> directory on a miscrosoft network (having all the permissions of course).
I
> tried the opendir and readdir functions, but they don't seem to work
> properly on remote directories.
> Thanks for any information.
>
> Nicolas Toniazzi
>
>






Hi

I have dreamweaver 3 installed and would like to know how I can integrate
php code into it and then get to see it running in my browser.

If possible I would also like to be able to connect to an already
established Microsoft Access database, is this possible.

I am very new to php and would be grateful for any pointers that you can
give me.

Kind Regards

Krysia




Reply via email to