php-windows Digest 12 Dec 2001 07:45:37 -0000 Issue 896

2001-12-11 Thread php-windows-digest-help
php-windows Digest 12 Dec 2001 07:45:37 - Issue 896 Topics (messages 10839 through 10853): PHP 4.06 + IIS5 + header download 10839 by: Bryant Brabson PHP + IIS5 works like hell 10840 by: Bryant Brabson IIS Virtual Directories 10841 by: PHP 10851 by: Alastai

[PHP-WIN] Mysql connection

2001-12-11 Thread A. Bacon
Hi...I'm new to php and mysql so please bear with me. I am having a problem connecting to mysql through php. If I go into the mysql monitor, the username and password that I set up are present in the user db, and my scripts using $connection = mysql_connect("localhost", "myusername", "mypassword

[PHP-WIN] Re: IIS Virtual Directories

2001-12-11 Thread Alastair Smith
After poking google's USENET search I found this article: http://groups.google.com/groups?q=IIS+php++%22virtual+directories+%22&hl=en&; rnum=3&selm=41575B2947B7D411A03C00508BCFF1620E0D38%40usa07.cs.lmco.com All you have to do is right click the site in IIS and select properites. >From there go t

[PHP-WIN] Re: IIS Virtual Directories

2001-12-11 Thread Alastair Smith
I'm getting the same error. It comes up as a 500 internal error, but the strange thing is that it sometimes works. I can really make it not work by adding a '?sadfsad' at the end of my PHP file. Also I sometimes get a string that says "The directory name is invalid. ". If you find any solution

RE: [PHP-WIN] Microsoft Word .doc to HTML

2001-12-11 Thread Ross Fleming
Recently when using linux, I came across a command called mswordview which does exactly that. I'm sure there must be a windows equivalent somewhere, so you might try searching mswordview on google or something. The man page for mswordview gives http://www.csn.ul.ie/~caolan/ as the authors page,

Re: [PHP-WIN] email script...

2001-12-11 Thread Anthony Ritter
Thanks Ross. It works fine. TR -- 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]

Re: [PHP-WIN] email script...

2001-12-11 Thread Ross Fleming
Easy one this. You've if (send!="no") { do all the send stuff} where you should have if ($send!="no") {do all the send stuff} note the $ sign that tells PHP to reference the variable. It should work now but I haven't looked very closely at it yet Ross Anthony Ritter wrote: > > I'm working t

Re: [PHP-WIN] Existing File...

2001-12-11 Thread Anthony Ritter
Got it to work using the code below. I forgot the to put in the fclose ()function before the closing brace in my first post. Thank you D. Creating a new file -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP-WIN] Existing File...

2001-12-11 Thread Daniel Parsons
You need to escape the back slashes like this: $filename="C:\\My Documents\\Linda\\mydata1.txt"; > -Original Message- > From: Anthony Ritter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 12 December 2001 12:22 p.m. > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Existing File... > > > I've

Re: [PHP-WIN] subject line complete

2001-12-11 Thread Ross Fleming
If at first you don't succeed Julian Easterling wrote: > > unsubscribe > > -- > 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-WIN] Existing File...

2001-12-11 Thread Anthony Ritter
I've got a file that already exists called: mydata1.txt I'm trying to test the code below so that if the file is found it will say: File Exists When I run the following script, it doesn't write out: File Exists... I get nothing on the screen. eventhough I thought the code below would work. An

[PHP-WIN] [ADMIN] spam protection for lists.php.net lists

2001-12-11 Thread Jim Winstead
as some of you may have noticed over the last few days, a new method of spam protection has been implemented on lists.php.net. if you post to one of the lists.php.net lists (via mail or the news server at news.php.net) from a mail address that is not subscribed to the mailing list, you will rece

[PHP-WIN] email script...

2001-12-11 Thread Anthony Ritter
I'm working through Julie Meloni's book PHP - Fast and Easy using MS Win 98 with Apache. She has an example of a PHP script where both the html form for input and the php code to send the form are in one php script using the mail() function and the $PHP_SELF global variable. I've included the co

[PHP-WIN] IIS Virtual Directories

2001-12-11 Thread PHP
I have been searching all over for a solution with no help... I got some virtual folder under the root of my website.. when i tried to read the contents of the folder and its subdirectories...it returned and error...because its a virtual folder and not physically under the root of the website.. i

[PHP-WIN] PHP + IIS5 works like hell

2001-12-11 Thread Bryant Brabson
We had problems using the isapi.dll with W2K and IIS5, but the cgi has worked very well.

[PHP-WIN] PHP 4.06 + IIS5 + header download

2001-12-11 Thread Bryant Brabson
I think that I had a similar problem recently while trying to return a Flash file. Here's how I did it: $fd = fopen ($filename, "rb"); $contents = fread ($fd, filesize ($filename)); header("Content-type: application/x-shockwave-flash"); echo $contents; fclose ($fd); -- PHP Windows Mailing Lis

php-windows Digest 11 Dec 2001 15:11:39 -0000 Issue 895

2001-12-11 Thread php-windows-digest-help
php-windows Digest 11 Dec 2001 15:11:39 - Issue 895 Topics (messages 10834 through 10838): Re: Microsoft Word .doc to HTML 10834 by: alain samoun Re: A referer code needed 10835 by: Brad Thomas DNS 10836 by: Mike Re: Apache+PHP4 in Win95 OS, config. problem

[PHP-WIN] PHP 4.06 + IIS5 + header download

2001-12-11 Thread Ryan Marrs
I'm attempting to pass a .exe file, using the header call and fpassthru as shown in the example on the php.net site, and I noticed there is a note that says this will not work with 4.06 or newer. I have discovered this, or at least I think so, and am curious if we have a work around figured out y