Re: [PHP-WIN] directory/file comparing

2001-01-11 Thread alain samoun
Also look at: http://zend.com/search_code_author.php?author=bleach Alain phobo wrote: > > Has anyone out there written, or know of sorce for a directory comparing > algorythm? > > I want it to compare two folders (and their subfolders) on: > - different filesize > - different time/date modif

Re: [PHP-WIN] directory/file comparing

2001-01-11 Thread Alain Samoun
Have look at: www.suneworld.com/programs/ I don't know if the sources are available? Alain On Thu, Jan 11, 2001 at 07:36:31PM +1300, phobo wrote: > Has anyone out there written, or know of sorce for a directory comparing > algorythm? > > I want it to compare two folders (and their subfolders) on

[PHP-WIN] PHP as a module on Windows

2001-01-11 Thread adam
Ok, I have to ask - can you run PHP as a module on a stock Apache intall on Windows? I've tried it here several times, and I just can't seem to get it to work. I get the EAPI/DEAPI error, which seems to imply that you have to compile Apache on Win32 to do it. When I load a page, I get a "unable

Re: [PHP-WIN] Removing Content

2001-01-11 Thread Alain Samoun
Yeah, but if he wants to know the pond, he better swim in it, he will learn by his mistakes, like we all do... Alain On Thu, Jan 11, 2001 at 08:24:18PM +0100, kill-9 wrote: > alain I agree with you but its a big fish pond and the fish he is looking > for is in one corner of it wouldn't it be nice

[PHP-WIN] compile failure with zlib 1.1.3 on NT5

2001-01-11 Thread Cynic
I wanted to build zlib on my machine, but nmake says: NMAKE : fatal error U1073: don't know how to make 'adler32.c' Stop. Does anyone know what's wrong? It's zlib 1.1.3. Cynic: A member of a group of ancient Greek philosophers wh

Re: [PHP-WIN] error PHP4.0.4 with Apache1.3.12

2001-01-11 Thread Cynic
Oh, great, I screwed up. Larry I'm sorry. At 22:38 11.1. 2001, Larry Forrister ,[EMAIL PROTECTED] wrote the following: -- >I wanted to build zlib on my machine, but nmake says: > >NMAKE : fatal error U1073: don't know how to make 'adler

Re: [PHP-WIN] error PHP4.0.4 with Apache1.3.12

2001-01-11 Thread Cynic
I wanted to build zlib on my machine, but nmake says: NMAKE : fatal error U1073: don't know how to make 'adler32.c' Stop. Does anyone know what's wrong? It's zlib 1.1.3. At 17:59 8.1. 2001, Cynic wrote the following: -- >the shutdown

Re: [PHP-WIN] How do we Redirect a page: Newbie

2001-01-11 Thread adam
Mujahid <[EMAIL PROTECTED]> said: > How do we redirect a user from a PHP page to another ? > In ASP I would do a Response.Redirect. > What is the equalent function in PHP ? > header() header("Location: http://www.something.com/somewhere/"); Note that header() has to be used before anything is

[PHP-WIN] Inner Joins

2001-01-11 Thread samsom, debra
I am writing some PHP code with calls to Mysql. I am trying to do a Inner join and I am not getting any results back from my query (and no errors). If I cut the Inner join out of the SQL statement it works. If I link the MySql tables into Microsoft Access and run the exact SQL statement it work

Re: [PHP-WIN] How do we Redirect a page: Newbie

2001-01-11 Thread Trond A BrĂ¥then
Header("Location: http://your.domain.com"); Note; you must do this before anything is sent to the browser. You can easily do this by using Output Buffering. Refer to the manual for more info on OB. ""Mujahid"" <[EMAIL PROTECTED]> wrote in message 93l4q6$8fb$[EMAIL PROTECTED]">news:93l4q6$8fb$[EM

[PHP-WIN] How do we Redirect a page: Newbie

2001-01-11 Thread Mujahid
How do we redirect a user from a PHP page to another ? In ASP I would do a Response.Redirect. What is the equalent function in PHP ? Thanks -MW -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP-WIN] Problem with CURSOR under MS SQL 7

2001-01-11 Thread Thomas
Hello Mauro, Sorry! As you maybe have seen, this is another version than the "countermove-select" (bloody copypaste :), but should work anyway. Cu, Thomas Thomas wrote: > Hello Mauro, > > I don't know exactly why your Cursor doesn't work (e.g. a SET . desn't work > yet also, but will be i

Re: [PHP-WIN] Problem with CURSOR under MS SQL 7

2001-01-11 Thread Thomas
Hello Mauro, I don't know exactly why your Cursor doesn't work (e.g. a SET . desn't work yet also, but will be in the next version). Since you just want simulate the LIMIT (x,y) from mySQL, here's the way I've done it (Simple "countermove-Select"): SELECT TOP $limit WITH TIES * FROM $table W

Re: [PHP-WIN] Probably there is better solution

2001-01-11 Thread Gonzalo Vera
Check out mysql_num_rows and the COUNT function in MySQL: both are good, quick ways of getting that number without looping through your whole result set. Gonzalo. > Hi all, > I have to know how many entries I have in table/database. Usually, I use > $result = mysql_query("SELECT any_name_of_

RE: [PHP-WIN] mail() - Failed to connect

2001-01-11 Thread Asendorf, John
Have you set up your SMTP server in your php.ini file? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 The benefit to the government of replacing all $1 Federal Reserve no

Re: [PHP-WIN] Probably there is better solution

2001-01-11 Thread kill-9
$result = mysql_query("SELECT any_name_of_column FROM table_name", $db); if (mysql_num_rows($result)==0) { echo "the table is empty "; } check the manual under mysql functions there are a lot of very useful functions there. kill-9 www.kill-9.dk for all your mysql and php needs

php-windows Digest 11 Jan 2001 19:28:31 -0000 Issue 391

2001-01-11 Thread php-windows-digest-help
php-windows Digest 11 Jan 2001 19:28:31 - Issue 391 Topics (messages 4916 through 4925): directory/file comparing 4916 by: phobo mail() - Failed to connect 4917 by: Vlad 4919 by: phobo Removing Content 4918 by: Ben Cairns 4924 by: Alain Samoun

Re: [PHP-WIN] Removing Content

2001-01-11 Thread kill-9
alain I agree with you but its a big fish pond and the fish he is looking for is in one corner of it wouldn't it be nice to at least tell him what section of the pond to look in? Ben: check the manual under string functions most of what you need is there. kill-9 www.kill-9.dk for all your php a

Re: [PHP-WIN] Removing Content

2001-01-11 Thread Alain Samoun
Ben: People here can give you a lot of different solutions (more or less 'elegant') to solve your problem. But it seems that at this point, you need to READ THE MANUAL or at least to get the description of the many PHP functions (Booklet from RASMUS at O'Reilly for example). You know the story of

Re: [PHP-WIN] Probably there is better solution

2001-01-11 Thread Jan Walter
afan wrote: > I have to know how many entries I have in table/database. Usually, I use > > $result = mysql_query("SELECT any_name_of_column FROM table_name", $db); > while($myrow = mysql_fetch_array($result)); > { > $Counter++; > } > echo"No of entries: $Checker\n"; Hi Afan, try query SELE

[PHP-WIN] Probably there is better solution

2001-01-11 Thread afan
Hi all, I have to know how many entries I have in table/database. Usually, I use $result = mysql_query("SELECT any_name_of_column FROM table_name", $db); while($myrow = mysql_fetch_array($result)); { $Counter++; } echo"No of entries: $Checker\n"; Probably there is better and faster soluti

Re: [PHP-WIN] Help get sockets working

2001-01-11 Thread kill-9
I had the same problem. the problem is that there is no dll for the php socket functions available for win32 yet (to my knowledge). If you find one let me know to please! I want it. kill-9 www.kill-9.dk for all your php and mysql needs - Original Message - From: "Tripp Allen" <[EMAIL

[PHP-WIN] Help get sockets working

2001-01-11 Thread Tripp Allen
I'm trying to use the socket functions (php ver 4.04), but I keep getting the error "call to undefined function socket()". Can anyone tell me how to enable the sockets library? Thanks

Re: [PHP-WIN] mail() - Failed to connect

2001-01-11 Thread phobo
What mail settings do you have in the php.ini ? ensure the win32 only ones are correctly specified (i assume you are win32 on this list!) SMTP = your.smtp.server sendmail_from = [EMAIL PROTECTED] siggy - Original Message - From: "Vlad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

[PHP-WIN] Removing Content

2001-01-11 Thread Ben Cairns
I have a script that looks at a web page, parses it and grab the HTML content between two Tags, then outputs the result to a file. What I need to do is another script to read this file, remove more text between two tags, and then display this. How can I do this? -- Ben Cairns - Head Of Techni