Re: [PHP-WIN] .htaccess

2001-05-17 Thread OoCobra97
With apache, in the httpd.conf file, you can change the .htaccess file to whatever file you want it to access (and protect) ...1st change: AccessFileName .htaccess to AccessFileName whateverfilename.filetype This changes the file apache looks for in each directory for its settings Then right b

Re: [PHP-WIN] extracting email addresses

2001-05-17 Thread Paul Meagher
> Most normal intelligent persons without any programming skills are able > to put together a workable program if they only have a manual, because > humans are creative beings. But then manage to make a program that works > for a task doesn't mean that these guy can do programming! These fellows >

RE: [PHP-WIN] My SQL

2001-05-17 Thread Ignatius Teo
Don't you mean beatification? Ignatius -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 May 2001 13:11 To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] My SQL (First he posts the entire contents of a large file, and then he wants to know where we want him to

RE: [PHP-WIN] PHP3 with mySQL

2001-05-17 Thread Ignatius Teo
I think you've answered your question. Perhaps this might help you decide... Does the new provider run PHP (version?) and MySQL on their NT box? Ignatius Teo Project Manager, Internet Access Services Information Technology Directorate Southern Cross University PO Box 157, Lismore NSW 2480 Emai

php-windows Digest 18 May 2001 05:17:15 -0000 Issue 604

2001-05-17 Thread php-windows-digest-help
php-windows Digest 18 May 2001 05:17:15 - Issue 604 Topics (messages 7682 through 7705): doesn't work too 7682 by: M. Weller include paths 7683 by: mjrobey.maxoncorp.com 7684 by: Michael Kelley 7685 by: Netcom Mail 7703 by: Netcom Mail Re: PHP and M

Re: [PHP-WIN] .htaccess

2001-05-17 Thread William Jay
Rename any test text file to "tester.htaccess", open, choose open with, check always open with, notepad.exe, and Description of type may be httpd DIR OverRide Settings ... This will associate .htaccess with notepad and make life easier. ""Matt Hivner"" <[EMAIL PROTECTED]> wrote in message 9dr8f

[PHP-WIN] Some question about LDAP

2001-05-17 Thread Lin Bill
Excuse me, I have some question about LDAP, need help! Thanks. What is LDAP? Does Windows 98 support LDAP? When I run my php program, a message seems to say: unable to load dynamic library 'C:\Windows\System\php_ldap.dll', cannot find files to execute this application. I am using PWS & PHP, I p

Re: [PHP-WIN] include paths

2001-05-17 Thread Alan Popow
On Thu, 17 May 2001 11:30:59 -0500, you wrote: On second thought (see my previous note), how exactly are you typing your include() in code? I realized after posting previously, that include() automatically traverses the path(s) set by the include_path variable, so as long as that is set up proper

RE: [PHP-WIN] Canceling a Query

2001-05-17 Thread Brinkman, Theodore
The database is structured so that what we expect will be the most common queries will run as quickly as possible. Unfortunately, some of the queries which are expected to be run less often are also the longer-running queries which get data from lots of different tables. We're expecting 6,000 -

[PHP-WIN] Exec() and Windows 2000 SP1

2001-05-17 Thread Philip J. Murphy
I have tried running the PHP funciton exec() on a Microsoft Windows 2000 (5.00.2195 Service Pack 1) box and it does not run. The cmd.exe process loads but just sits there, as if it either crashed quietly or is still waiting for something (like it doesn't know how to process the request). The same

Re: [PHP-WIN] Trouble loading extension/module under win98

2001-05-17 Thread Michel Meyers
Yep, putting gnu_gettext.dll into c:\windows\system fixed it ... thanks a lot to everybody who replied. Greetings, Michel ""Liquidice"" <[EMAIL PROTECTED]> wrote in message 9ds97o$2s4$[EMAIL PROTECTED]">news:9ds97o$2s4$[EMAIL PROTECTED]... > your missing a dll file.. > i found that *.

[PHP-WIN] Need help with Cookies

2001-05-17 Thread Iván Milanez Castellanos
Hi: I have sucsessfuly installed PHP on my Win2k/IIS5/SQL Server 7 machine, and I moved an application that I had developed in my computer that has Win ME/Apache/PHP/SQL Server 7 to it. It all works fine except for one thing, I can't get the setcookie() function to work on this server, in my dev

RE: [PHP-WIN] Canceling a Query

2001-05-17 Thread Svensson, B.A.T.
Dear Brinkman, With out having seen the design, my objections below might be misplace, but: have the database been designed with respect of your queries? Even though the designer might have optimized the database for a special intention, your queries might be out of this scope, this is just a fir

RE: [PHP-WIN] extracting email addresses

2001-05-17 Thread Svensson, B.A.T.
>1. I have "some" basic programming skills >(see sites I already programmed by Well, quite nice design!, but... what do you want for that? A medal or what? ;-) >and some more sites...) BUT I expect to find here some >people they will TEACH me something I still do not know >(and, of course, th

RE: [PHP-WIN] Canceling a Query

2001-05-17 Thread Brinkman, Theodore
Well, the queries are taking a long time because they're searching through 8GB+ of database doing joins across multiple tables. The guy who did the database design and indexing has gotten the database to the fastest point he knows how. Any other indexes he's tried so far have actually SLOWED the

[PHP-WIN] PHP3 with mySQL

2001-05-17 Thread Kim Littell
I'm in a tricky situation with a client and I was hoping to get some advice. Someone (old provider) wrote a php3 script that creates a mySQL database from a text file for access over the web. The problem is my client has switched providers and has decided to run on an NT server. Their new provid

RE: [PHP-WIN] Canceling a Query

2001-05-17 Thread Svensson, B.A.T.
Dear Brinkman, First I wonder one thing: Why are the queries long running in the first place? Might it be because improper indexing of the attribute in the tables? Maybe it can be worth to have alook at this to see if you can increase performance this way. You might very well be able to speed up

Re: [PHP-WIN] extracting email addresses

2001-05-17 Thread afan
- Original Message - From: "Svensson, B.A.T. " <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "afan" <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 11:36 AM Subject: RE: [PHP-WIN] extracting email addresses > >there is my problem: I have a large text file with a lot of > >email addresses

Re: [PHP-WIN] Why Blank Screen ?

2001-05-17 Thread Michael Kelley
Have you copied your php.ini file to the C:Windows\system folder yet?? Calvin Chang wrote: > When I try to execute my php file, the netscape brower only show blank > screen. > > I have done all the necessary setup in window98 , apache, php4. Someone > please help me to trouble-shoot this probl

RE: [PHP-WIN] Canceling a Query

2001-05-17 Thread Svensson, B.A.T.
Well, a query can be long running without having to return lots of rows!!! One can easliy construct a query that will run for hours, and just returning some few rows, even zero rows. First things is basically to drop all index on the database... ;-) And then start to make nested table scans... e

[PHP-WIN] Why Blank Screen ?

2001-05-17 Thread Calvin Chang
When I try to execute my php file, the netscape brower only show blank screen. I have done all the necessary setup in window98 , apache, php4. Someone please help me to trouble-shoot this problem. Thanks a lot. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

RE: [PHP-WIN] My SQL

2001-05-17 Thread Svensson, B.A.T.
Well, I hardly believe it will work: I spotted some semantic faults in the SQL code... >-Original Message- >From: Zak Greant >Sent: Thursday, May 17, 2001 12:17 AM >To: Manesh Manickam; [EMAIL PROTECTED] >Subject: Re: [PHP-WIN] My SQL > > >Manesh, > >Don't be surprised that people are les

Re: [PHP-WIN] PHP, network shares, and IIS5

2001-05-17 Thread JayAchTee
Looks like a Zend error according to the PHP source code. Maybe they "improved" the engine to the point that it doesn't work any longer. I tried many different ways including "file" and "fopen" but to no avail. "Paul Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PRO

RE: [PHP-WIN] extracting email addresses

2001-05-17 Thread Svensson, B.A.T.
>there is my problem: I have a large text file with a lot of >email addresses included in text. I have to extract just email >addresses from a whole text. >What's the way to do that? They way to do it is first to do your homework: which simply is to develop some basic programming skills with

RE: [PHP-WIN] PHP and Multiple databases

2001-05-17 Thread andrew morton
Yes you can. I'd say the major annoyance is that each database has it's own functions that you have to learn. There are some projects to create a uniform database wrapper classes. andrew -Original Message- From: Scott Ellis [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 08:43 To

Re: [PHP-WIN] include paths

2001-05-17 Thread Netcom Mail
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 12:30 PM Subject: [PHP-WIN] include paths Try typing the include() line in your code like this: include($include_path."\SomeFilenameToInclude"); Alan > Greetings, > > I'm running Apac

Re: [PHP-WIN] include paths

2001-05-17 Thread Michael Kelley
my include looks like ; ; Paths and Directories ; ; include_path =\apache\includes do you have the quotes & ; & . in yours?? [EMAIL PROTECTED] wrote: > Greetings, > > I'm running Apache with the PHP mod under Windows 2000, but I seem to h

[PHP-WIN] include paths

2001-05-17 Thread mjrobey
Greetings, I'm running Apache with the PHP mod under Windows 2000, but I seem to have a recurring problem with includes. Every time I try to view a page with an include() statement, it returns an error of the following sort: Warning: Failed opening 'menutop.php' for inclusion (include_path='')

[PHP-WIN] doesn't work too

2001-05-17 Thread M. Weller
Thanks Guiseppe, I tried this class before and received this error which I cannot resolve. Warning: Bad Message destination in class.html.mime.mail.inc on line 285 Markus ""Giuseppe D'Ambrosio"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 008301c0deed$9371d460$[EMAIL PROTECTED]">news:008301c

php-windows Digest 17 May 2001 15:55:50 -0000 Issue 603

2001-05-17 Thread php-windows-digest-help
php-windows Digest 17 May 2001 15:55:50 - Issue 603 Topics (messages 7657 through 7681): truncating of file in fopen. 7657 by: pratap.ladhani.processbiz.co.in Re: [PHP] Web Host 7658 by: Deependra B. Tandukar Re: error in ip2long 7659 by: Chris Adams Re: Web Host

Re: [PHP-WIN] it's frustrating

2001-05-17 Thread M. Weller
Thank you Michael, it isn't working with images larger then 3kB. I start to belive Windows is making the trouble. Who knows why. Meanwhile I tried a lot of different mail classes, wrote my own code but nothing works. Markus "Michael Kelley" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PR

[PHP-WIN] still frustrating must be a configuration problem

2001-05-17 Thread M. Weller
Thank you Michael and Brian, I tried your code and the behavior is still the same. It isn't working with images larger then 3kB. No idea what to do. I am using W2k server running IIS 5 and the latest release of php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP-WIN] PHP and Multiple databases

2001-05-17 Thread Scott Ellis
I am fairly new to PHP and have used it on a few sites but I have not been dealing with databases much (in PHP). I am wanting to know if a single instance of PHP can be configured to connect to multiple databases or does is a new instance required for each DB. The scenario is that I may be pul

[PHP-WIN] R: [PHP-WIN] it's frustrating

2001-05-17 Thread Giuseppe D'Ambrosio
>I found this on PHP.net It works when you hardcode the values (where I >have the value arrows.gif). I've been playing with it trying to modify >it to do an upload and sending of an email with any kind of attachment. > > >/* > * Class mime_mail > * Original implementation by Sascha Schuman

Re: [PHP-WIN] I need help!!!

2001-05-17 Thread Michael Kelley
They way I handled something like this was, I read the line in with fread breaking it up into "$chunks" $chunk1 = fread( $fp, 12); //Your string#1 $chunk2 = fread( $fp, 11); //The URL $chunk3 = fread( $fp, 5); //the INT $chunk4 = fread( $fp, 50); //The final Stri

RE: [PHP-WIN] My SQL

2001-05-17 Thread Bob Hall
(First he posts the entire contents of a large file, and then he wants to know where we want him to put it. A world full of comedians, and he's volunteering to be the straight man!) You can put it anywhere you want. But if you put it in your bin folder, you won't have to include the path. (I

Re: [PHP-WIN] it's frustrating

2001-05-17 Thread Michael Kelley
I found this on PHP.net It works when you hardcode the values (where I have the value arrows.gif). I've been playing with it trying to modify it to do an upload and sending of an email with any kind of attachment. * Modified by Tobias Ratschiller <[EMAIL PROTECTED]>: * - General code

Re: [PHP-WIN] it's frustrating

2001-05-17 Thread M. Weller
Thanks Brian for your fast respond. I tried but still the same: it doesn't work. I used the following code: --- $filename = 'background.gif'; $myimage = fread($fp = fopen($filename, 'r'), filesize($filename)); fclose($fp); $content = chun

Re: [PHP-WIN] extracting email addresses

2001-05-17 Thread afan
I found this as a solution: $content = eregi("([[:alnum:]_.-]+)@([^[:space:]>;\"]*)", $contents, $EmailArray); echo"$EmailArray[0]"; but I have to try with your solution too. Thank you Mike. p.s. It's not for spam. Client want to check his incoming emails! - Original Message - From: "

Fw: [PHP-WIN] extracting email addresses

2001-05-17 Thread afan
Thanks Johan for your HELP! - Original Message - From: "Johan Lundqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 12:38 AM Subject: Re: [PHP-WIN] extracting email addresses > Get in contact with some SPAM people... they all seem to get it done... > > afan

RE: [PHP-WIN] it's frustrating

2001-05-17 Thread Brian Paulson
Are you trying to attach it or put the image in the body of the message? If you are trying to attach it try looking at this message from the archives http://marc.theaimsgroup.com/?l=php-general&m=99003506223055&w=2 Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain www.chieftain.co

[PHP-WIN] it's frustrating

2001-05-17 Thread M. Weller
Hello, does anybody know if it is possible to sent mails with Windows2000 including images??? I am trying now since ages. As long as I echo the result of all works fine. - $filename = 'mypicture.jpg'; $myimage = fread($fp = fopen($filename, 'rb'), filesize($filename));

[PHP-WIN] PHP development DLL where Docs?

2001-05-17 Thread Igor
Could someone help me to find tutorials or any kind of docs on the subject "How to develop, build and compile my own code libs in C/C++ for PHP-Win32 in form of DLLs or implement it in the PHP source" Many Thanks, Igor Grigin. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP-WIN] Session variables

2001-05-17 Thread Bob Sears
For the following code blocks: #-- top.php first program entered session_start(); session_register ('trackingnumber'); if (IsSet($trackingnumber)){ print ("Issued session destroy because trackingnumber = $trackingnumber"); session_destroy(); print ("trackingnum

[PHP-WIN] postgresql extension hanging

2001-05-17 Thread Joseph Okomba
Hi, I have installed the php_pgsql extension that comes with php-4.0.5 on NT but it keeps hanging. I tried running PHP both as CGI and as an Apache module but keeps hanging whenever I enable the php_pgsql extension. All other PHP extensions for windows are running properly. I will be very grate

Re: [PHP-WIN] Getting the URL of the parent script/page in an included script

2001-05-17 Thread Alessio Bernesco Làvore
I've used this script to include modify date and copyright notes in every page. It grab the informations of the page where was included... i think you can do something similar for other varibles than the last modification date. Greets, Alessio. note.php.inc \n"; echo "\n"; ?> "Timo Würsch" <[

[PHP-WIN] Getting the URL of the parent script/page in an included script

2001-05-17 Thread Timo Würsch
I've got a bit of a problem here: I've got a php script which is included and will thus be executed in every page on my web site. How can i change the behaviour of this included script depending on the parent page's URL? Many thanx Timo -- PHP Windows Mailing List (http://www.php.net/) To unsu

[PHP-WIN] Discussion about using data with Scriptview.

2001-05-17 Thread Alessio Bernesco Làvore
Hi everyone, I'd like to know your opinion about these question: I have to create a redistribuitable CD using Scriptview. The CD will contain a limited edition of an actual website, based on a MySQL database. The question is: what's the best way to use the data with Scriptview? The data are some

Re: [PHP-WIN] extracting email addresses

2001-05-17 Thread Johan Lundqvist
Get in contact with some SPAM people... they all seem to get it done... afan wrote: > > Hi all, > there is my problem: I have a large text file with a lot of email addresses included >in text. I have to extract just email addresses from a whole text. > What's the way to do that? > > Thanks for