[PHP-WIN] Re: PHP 4.3.2, Windows 2000 IIS 5, MySQL 4.013 CPU usage problem

2003-08-14 Thread Sek-Mun Wong
are you running php4isapi.dll (ISAPI) or php.exe (CGI) version? I know people recommend CGI, but post 4.2.3, the ISAPI version is very stable and you'd be nuts to run a busy site in CGI mode. If you're running CGI, here is an explanation: The most expensive operation is the *connection*, why mysq

[PHP-WIN] Can't Pass variable to other page

2003-08-14 Thread Jack
Dear all I had write a script like this : $link = "page.php?day=$day&month=$month&year=$year"; when i click on the link, it should pass the parameter to "page.php" with $month and $year variables. It actually works fine in php4.2.1, but when i went to other office which got php5.0 above installed

php-windows Digest 7 Aug 2003 16:58:49 -0000 Issue 1858

2003-08-14 Thread php-windows-digest-help
php-windows Digest 7 Aug 2003 16:58:49 - Issue 1858 Topics (messages 21052 through 21062): Resource Sharing or Resource Scheduling ?? 21052 by: Raheel Hussain 21060 by: Miha Nedok 21061 by: Raheel Hussain HTTP Authentication using PHP & MySQL 21053 by: tashfo

RE: [PHP-WIN] Is this a bug in PHP

2003-08-14 Thread Svensson, B.A.T. (HKG)
[...] > I didn't think I had specified 17 arguments in the call to OpenDataSource. [...] > If someone could let me know if its me before I report it as a bug that > would be good. Yes indeed, this is a bug! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Aidal
http://dk2.php.net/manual/en/function.chmod.php "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 se

[PHP-WIN] Form Handling

2003-08-14 Thread Frank Tudor
Hi all! I am looking for a way to handle emply form fields on one page instead of catching it on the response page. I have seen some good handling where the same page comes back with a colored field or a red aterik. Also, if I do the form handling on one page can I still have my database conn

[PHP-WIN] RE: [PHP] Still can't pass variable through url

2003-08-14 Thread Martin Towell
See if changing it to page.php?year=$year&month=$month works The separator between the page and the query string is "?" The separator between each key/value pair is just "&" -Original Message- From: Jack [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2003 4:30 PM To: [EMAIL PRO

[PHP-WIN] michaels question...

2003-08-14 Thread Daniel
to answer michaels question... to use a relative path, you must not include the "/" at the beginning of the path. if you have "/" at the beginning of the path, it goes all the way to the root directory. to access the relative folder "files/include.inc", type "files/include.inc", instead of "/files/

[PHP-WIN] Functions in included files cannot be called

2003-08-14 Thread Krishna Murali-A19032
If index.php includes top1.php, there cannot be any calls to funstions defined in top1.php from index.php Please let me know where I went wrong /index.php http://localhost/dss-tee/top1.php";); setHeader('title'); ?> //top1.php > -Original Message- > From: Mikey [mailto

RE: [PHP-WIN] Still can't pass variable through url

2003-08-14 Thread Svensson, B.A.T. (HKG)
I am an not a pedagogue, but an engineer, and today my very limit pedagogic skill I have has failed (again): MY POINT IS: You do not still after a couple of remarks realizes that I am NOT the original author of the question!?! Thus I never ask anything. I just made a remark on another users

RE: [PHP-WIN] not able to pass values to OR access global values by the included file

2003-08-14 Thread Svensson, B.A.T. (HKG)
Isn't include a preprocessing action? -Original Message- From: Krishna Murali-A19032 [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] not able to pass values to OR access global values by the included file when i include php fi

[PHP-WIN] Contact Management Scripts?

2003-08-14 Thread Arthur
I am looking for a Contact Management system. I found these on the web: http://www.horde.org/turba/ http://www.phprojekt.com/ Does anyone have experience with these or do you know of others? Many thanks Arthur -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

RE: [PHP-WIN] How to preserve value ?

2003-08-14 Thread Krishna Murali-A19032
Check whether you are using PHP 3 or PHP 4 In PHP 4 you have to use $_SESSION["value"] > -Original Message- > From: Thomas Edward Lawrence [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 09, 2003 12:16 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] How to preserve value ? > > > I ha

php-windows Digest 15 Aug 2003 02:18:01 -0000 Issue 1871

2003-08-14 Thread php-windows-digest-help
php-windows Digest 15 Aug 2003 02:18:01 - Issue 1871 Topics (messages 21152 through 21158): Re: Hack Q... 21152 by: erythros PHP/Apache installation set up problem 21153 by: Paul Cullen 21154 by: Dennis Lee Re: using PHP to find out windows user name? 21155

[PHP-WIN] email confirmation

2003-08-14 Thread Anthony Ritter
Maybe someone can give me a heads up on this code. Ideally what I am looking for is this: The user submits their email address for registration. Before the e-mail gets submitted to a database, if it's bogus the user does not get an e-mail confirmation sent back to them. However, If it's a vaild

[PHP-WIN] Re: How to compile a win32 php extension module ???

2003-08-14 Thread Ika Oscaos
Hello, Thanks for your proposition, but I prefer to try to compile it by myself, I want to learn how to do this, I have VC++, but I don't know how to use it for compiling this module as a PHP DLL. I'm looking for a personn who has already done this . Thank you. -- Ika "Dvdmandt" <[EMAIL PROTECT

php-windows Digest 11 Aug 2003 03:55:51 -0000 Issue 1864

2003-08-14 Thread php-windows-digest-help
php-windows Digest 11 Aug 2003 03:55:51 - Issue 1864 Topics (messages 21100 through 21107): How to preserve value ? 21100 by: Thomas Edward Lawrence 21101 by: Krishna Murali-A19032 21102 by: skate 21103 by: Thomas Edward Lawrence Hack Q... 21104 by: j

[PHP-WIN] How to preserve value ?

2003-08-14 Thread Thomas Edward Lawrence
I have three pages : page1.php page2.php page3.php I would like I can preserve value of $value now is 3 when I come back to page1.php from page3.php , when I come back page1.php value of $value is now set to 1, please help me , thanks -- PHP Windows Mailing List (http://www.php.net/

[PHP-WIN] Randomize mySQL result array

2003-08-14 Thread H Marc Bower
This probably isn't strictly a PHP question, but I beg the indulgence of those who know mySQL as well... I have a result array grabbed from a mysql table. Is there a quick way to randomize the order that the rows fall into the array instead of "as they are extracted from the table" order? Tha

RE: [PHP-WIN] Randomize mySQL result array

2003-08-14 Thread Svensson, B.A.T. (HKG)
> BTW there is a nice MySQL Windows mailing list. I wouldn't say that. Some of the authers there really need a lay... ;) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] date question

2003-08-14 Thread Harpreet
I use the below sql statement to add one day to the date select DATEADD(day,1,'2003-08-11 23:59:59') as datered It returns $expir="Aug 12 2003 11:59PM" To convert the format to -MM-DD I use $expir=date('Y-m-d', $expir); The new value returned is 1969-12-31. What am i doing wrong. The only t

Re: [PHP-WIN] Randomize mySQL result array

2003-08-14 Thread Ignatius Reilly
SELECT ... ORDER BY RAND() BTW there is a nice MySQL Windows mailing list. hth Ignatius _ - Original Message - From: "H Marc Bower" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 10, 2003 11:46 PM Subject: [PHP-WIN] Randomize mySQL result array

Re: [PHP-WIN] installation problem in win98 system

2003-08-14 Thread Alejandro C. Garrammone
Hi Muhammadwell...when you start Apache...they must said that Apache and PHP are working. Second, do you install the php as a service of apache??. You must do that in order to achieve full functionality and coordiantion between Apache and PHP. If you have any answers, email me. Best regards,

[PHP-WIN] PHP Oci8 segmentation fault

2003-08-14 Thread Radovan Radic
Hello I tried with this question on php.db but still no answer and it is pretty urgent, maybe it can go on php.install as well. I have php 4.3.2 installed as apache 2.0.45 module on RH Linux (7.3) with oci8 support. Things work fine when php scripts are accessed via web, but when i try to start t

RE: [PHP-WIN] Apache web server problem

2003-08-14 Thread Mikey
Have you added: AddType application/x-httpd-php .php to your httpd.conf? You will need to restart Apache after doing this for it to take effect. HTH, Mikey >= Original Message From "Ashish Borkar" <[EMAIL PROTECTED]> = >Hello , > I have installed Apache web server and PHP on a A

[PHP-WIN] PHP COM error

2003-08-14 Thread Herhuth, Ron
I am working on a simple COM script using PHP. I found a tutorial and I'm simply trying to initiate a MS Word instance but I am getting this rather interesting error: -- CODE $word = new COM("word.application") or die("Unable to instantiate Word"); -- ERROR Warning: Invalid ProgID, GUID stri

[PHP-WIN] installation problem in win98 system

2003-08-14 Thread Muhammad Imran
Dear Professional, I have try to install Apache 1.3.22 and PHP 4.3.2 on my win98 system. First I have edit the "php.ini" file as doc_root ="c:\phpweb" //my folder where .php files will be placed. extension_dir = "c:\php4win" // php4win is my folder, where i have install my php and

[PHP-WIN] RegExing

2003-08-14 Thread Herhuth, Ron
I'm new to Reg Exing and I'm in a bind trying to learn it quickly enough to finish a component I'm working on. Basically I have converted a Word Doc to a text string, now I want to remove all "noise" words which I'm storing in an array. In addition, I want to remove all duplicates in the array s

php-windows Digest 11 Aug 2003 16:46:50 -0000 Issue 1865

2003-08-14 Thread php-windows-digest-help
php-windows Digest 11 Aug 2003 16:46:50 - Issue 1865 Topics (messages 21108 through 21119): Re: Randomize mySQL result array 21108 by: Svensson, B.A.T. (HKG) Re: Hack Q... 21109 by: Nils Schmidt 21110 by: Svensson, B.A.T. (HKG) Apache web server problem 2111

[PHP-WIN] PHP My first function (help)!!!!

2003-08-14 Thread Frank Tudor
Guys I need help! I think I am on the right track with my logic but my code fails. Can someone help? (my coding is weak no formal training). Thanks, Frank $TotalString = "$total"; function Price($total) { if "$total" <= "24" then "$total" * "3200" else if "$total" >= "25" and "$total"

php-windows Digest 13 Aug 2003 00:02:17 -0000 Issue 1867

2003-08-14 Thread php-windows-digest-help
php-windows Digest 13 Aug 2003 00:02:17 - Issue 1867 Topics (messages 21124 through 21130): installation problem in win98 system 21124 by: Muhammad Imran 21127 by: Alejandro C. Garrammone 21130 by: Dean Hayes PHP COM error 21125 by: Herhuth, Ron PHP Oci8 seg

Re: [PHP-WIN] RegEx help needed

2003-08-14 Thread Bob Hall
On Wed, Aug 13, 2003 at 02:48:11PM -0400, Herhuth, Ron wrote: > I have an array of a submitted text string (called $submittedTextString). > And I have an array of common words (called $commonWordArray). > > I'm trying to use Regex to: These aren't necessarily regex problems. > 1. Remove any wor

[PHP-WIN] Re: How to preserve value , this question so difficult

2003-08-14 Thread J.Veenhuijsen
Try this for page 2: In your version session_start() should be sent before any other output is sent. Jochem Thomas Edward Lawrence wrote: this is page1.php Next page this is page2.php when I come back to page1.php from page2.php , this is result : page1.php ( run at first time)

Re: [PHP-WIN] Hack Q...

2003-08-14 Thread Jon Phipps
That is the tell tale sign that either nimda or code red, I for get which have been scouting your system. If you run apache server dont worry about it as they can only opperate on IIS platforms. JON Skate wrote: Is someone trying to hack my computer? "GET /scripts/..%255c%255c../winnt/system

RE: [PHP-WIN] PHP My first function (help)!!!!

2003-08-14 Thread Svensson, B.A.T. (HKG)
> $TotalString = "$total"; > function Price($total) > { > [...] > return "$Price"; > } > > echo "$Price"; It is not clear what your problem is, or what you tries to achive. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP My first function (help)!!!!

2003-08-14 Thread Svensson, B.A.T. (HKG)
> You cannot use comparision operaters (<=, >=, >) with strings. > When you put quotes around your variable it defines it to > php as a string, which translated means that it's words, not > numbers. So you could say > if ("$total" == "lowprice") { > code code code > } > > but not say ("$tot

[PHP-WIN] Re: PHP My first function (help)!!!!

2003-08-14 Thread David
Dear Frank You probably need to get a book, but here are two examples, one using if statements, and the other using the switch/case statement. Untitled Untitled -- Kind Regards David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com/davec/tec

[PHP-WIN] PHP/Apache installation set up problem

2003-08-14 Thread Paul Cullen
I have just installed Apache on my Windows XP machine, quickly followed by an installation of php-4.2.3. When I add the load module line to the Apache httpd.conf file the Apache service refuses to restart and gives me an error message saying that it is an error code 1. The line I added to httpd.co

Re: [PHP-WIN] Re: How to compile a win32 php extension module ???

2003-08-14 Thread Daniel Beulshausen
At 12:37 10.08.2003 +0200, you wrote: Hello, Thanks for your proposition, but I prefer to try to compile it by myself, I want to learn how to do this, I have VC++, but I don't know how to use it for compiling this module as a PHP DLL. I'm looking for a personn who has already done this . what do

[PHP-WIN] How to preserve value , this question so difficult

2003-08-14 Thread Thomas Edward Lawrence
this is page1.php Next page this is page2.php when I come back to page1.php from page2.php , this is result : page1.php ( run at first time) Warning: Cannot send session cookie - headers already sent by (output started at C:\PHP\page1.php:9) in C:\PHP\\page1.php on line 10 Warning: Ca

[PHP-WIN] embedding php to an application

2003-08-14 Thread Ariz Jacinto
how do i embed php to an application? should i simply link the application to php4embed.lib library? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Re: How to compile a win32 php extension module ???

2003-08-14 Thread Svensson, B.A.T. (HKG)
Create a Win32 DLL project in VC++ that export symbols, and then just fill in the code you want. This will create the libs you need for the other project. > -Original Message- > From: Ika Oscaos [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 10, 2003 12:38 PM > To: [EMAIL PROTECTED]

php-windows Digest 10 Aug 2003 10:37:44 -0000 Issue 1863

2003-08-14 Thread php-windows-digest-help
php-windows Digest 10 Aug 2003 10:37:44 - Issue 1863 Topics (messages 21096 through 21099): Re: How to compile a win32 php extension module ??? 21096 by: Svensson, B.A.T. (HKG) 21097 by: Ika Oscaos 21098 by: Ika Oscaos 21099 by: Ika Oscaos Administrivia: To

[PHP-WIN] EncPHP, turns PHP scripts into EXEs

2003-08-14 Thread Adam Zey
Hey, I've written a program to encapsulate a PHP script inside an EXE, along with everything the script needs to run. The net result is to make a PHP script completely portable, without the need for the client PC to have PHP installed. The website is a bit of a mess (Not done yet), so I point you

Re: [PHP-WIN] installation problem in win98 system

2003-08-14 Thread Dean Hayes
You need to add the following lines to the apache httpd file make sure you have set the dir that you have php in and not just add what is here.. also i noticed under Win98 SE i needed to add the 2 files into the system and system32 folder for php to work with out crashing my system you might wan

Re: [PHP-WIN] Zip archive & File Encryption

2003-08-14 Thread Miha Nedok
Look at PhpMyAdmin they have a ZIP file class. But no encryption, you would have to implement it yourself. But ZIP file encryption is weak and easy breakable. I'm recommind you to encrypt your data with some encryption that is provided by Mcrypt (check for libmcrypt). -Mike On Mon, 11 Aug 2003

[PHP-WIN] Re: How to preserve value ?

2003-08-14 Thread Mike Jenck
You might try something like this if !isset($value) { $value = 1 } "Thomas Edward Lawrence" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have three pages : > > page1.php > session_start() ; > session_register("value") ; > $value = 1 > ?> > > page2.php > session_start() ;

php-windows Digest 12 Aug 2003 10:18:26 -0000 Issue 1866

2003-08-14 Thread php-windows-digest-help
php-windows Digest 12 Aug 2003 10:18:26 - Issue 1866 Topics (messages 21120 through 21123): Re: Subject: date question 21120 by: Neil Smith Re: Randomize mySQL result array 21121 by: H Marc Bower Can anyone suggest a user authentication script that works? 21122 by:

RE: [PHP-WIN] Zip archive & File Encryption

2003-08-14 Thread UHL Fabrice
hi, according to the zip white pages, encryption working with RIJNDAEL algorithm is avialable for zip filez, see http://www.winzip.com/aes_info.htm my question is, witch function and parameters can I use to get such encryption ? I have not much experience in the domain, but winzip talk about "

php-windows Digest 14 Aug 2003 12:48:59 -0000 Issue 1870

2003-08-14 Thread php-windows-digest-help
php-windows Digest 14 Aug 2003 12:48:59 - Issue 1870 Topics (messages 21145 through 21151): Re: How to preserve value , this question so difficult 21145 by: J.Veenhuijsen Re: PHP My first function (help) 21146 by: Svensson, B.A.T. (HKG) 21147 by: Svensson, B.A.T.

[PHP-WIN] Re: PHP My first function (help)!!!!

2003-08-14 Thread David
Sorry outlook screwed my code a bit Dear Frank You probably need to get a book, but here are two examples, one using if statements, and the other using the switch/case statement. Untitled Untitled -- Kind Regards David Anagram Systems http://www.anagram-sys.co.uk

[PHP-WIN] Re: embedding php to an application

2003-08-14 Thread Adam Zey
I've never heard of this library before, however I point you towards EncPHP (http://www.sourceforge.net/projects/encphp), which will allow you to encapsulate a PHP script inside an EXE along with everything needed to run it. Regards, Adam. "Ariz Jacinto" <[EMAIL PROTECTED]> wrote in message news:

Re: [PHP-WIN] embedding php to an application

2003-08-14 Thread Ariz Jacinto
php4embed.lib is included in the php windows binary installer. thanks for the link. Adam Zey wrote: I've never heard of this library before, however I point you towards EncPHP (http://www.sourceforge.net/projects/encphp), which will allow you to encapsulate a PHP script inside an EXE along wit

RE: [PHP-WIN] Hack Q...

2003-08-14 Thread Svensson, B.A.T. (HKG)
It seams like your system is exposed for an old worm named "Nimda". (And I think you should follow another authors advivice and do a reverse lookup on the IP# and contact the domain owner about this incident.) Check out http://www.cert.org/advisories/CA-2001-26.html for more information and how t

[PHP-WIN] Re: How to compile a win32 php extension module ???

2003-08-14 Thread DvDmanDT
I'd use VC++ and compile it... I think I can do it if you send the source... Not sure though, never compiled myself before... HMm.. Yes, I have... Well... You make a project and compile I think... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ika Oscaos" <[EMAIL PROTECTED]> skre

[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Craig Roberts
Check that you have closed the file properly - XP Wont let you delete files it thinks are still open... and it usually dosn't understand when you close them. Craig Roberts "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It seems that when I try to unlink a file in php whic

Re: [PHP-WIN] Main Directory and E_mail Extractor

2003-08-14 Thread John Yu
For the email addresses. You are not allowed to take and store people's email without people giving them out or getting their promission first. If you do so, you can be sued for privacy infringment. RealNetwork got sued and paid millions for it... - Original Message - From: "Michael Bao"

php-windows Digest 8 Aug 2003 06:29:50 -0000 Issue 1859

2003-08-14 Thread php-windows-digest-help
php-windows Digest 8 Aug 2003 06:29:50 - Issue 1859 Topics (messages 21063 through 21068): Re: Main Directory and E_mail Extractor 21063 by: John Yu 21065 by: Rob Adams E_mail Address extractor 21064 by: Michael Bao Form Handling 21066 by: Frank Tudor

RE: [PHP-WIN] how to install imap with php on windows 2000 server under IIS

2003-08-14 Thread BQ777
hi everybody,... is here anybody how knows how to create an ftp and ssh account under linux red hat? the problem is, i have "only" ssh root access, but i don't know what is to do and it is 4:28 in the morning. it would be really nice, if somebody know a solution. best regards codingbq -Origi

[PHP-WIN] php, oracle and xitami web server

2003-08-14 Thread ZeeJay
Hi, I have php on windows 2000 running in cgi mode using Xitami Web Server I want to connect to an Oracle 8i db. what do I need to do? I already added the php_oracle.dll to winnt/system32 and removed the ; from the extensions block in php.ini ... nothing so far... do I need another dll ? a

[PHP-WIN] PHP 4.3.2, Windows 2000 IIS 5, MySQL 4.013 CPU usage problem

2003-08-14 Thread Gary Broughton
I wonder if anyone could offer any advice. We have a series of message boards using a MySQL database running under ASP on Windows 2000 IIS 5 fine. Today I put the a PHP version live after it had been tested over the weekend with about 20 users. As soon as I enabled PHP on the live website (separa

php-windows Digest 13 Aug 2003 12:41:21 -0000 Issue 1868

2003-08-14 Thread php-windows-digest-help
php-windows Digest 13 Aug 2003 12:41:21 - Issue 1868 Topics (messages 21131 through 21134): Re: How to preserve value ? 21131 by: Mike Jenck How to preserve value , this question so difficult 21132 by: Thomas Edward Lawrence embedding php to an application 21133 by:

RE: [PHP-WIN] Still can't pass variable through url

2003-08-14 Thread Svensson, B.A.T. (HKG)
As far as I can see you are not able to read and understand a written and indented text. > -Original Message- > From: Aidal [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 9:36 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Still can't pass variable through url > > > Hmm

[PHP-WIN] Problem with installing Php

2003-08-14 Thread Almaz Ibragimov
I installed php 4.3.2 version on Windows 2000 Server Family. HTTP Server is: IIS 5.0. But php is not working. I installed like in manuals. Then I add phpmyadmin. And PhpMyAdmin is working, but php-nuke is not working? What can be the problem? -- PHP Windows Mailing List (http://www.php.net/) To

php-windows Digest 9 Aug 2003 22:05:29 -0000 Issue 1862

2003-08-14 Thread php-windows-digest-help
php-windows Digest 9 Aug 2003 22:05:29 - Issue 1862 Topics (messages 21091 through 21095): Re: Subject: selecting data from file with php 21091 by: Svensson, B.A.T. (HKG) Contact Management Scripts? 21092 by: Arthur How to compile a win32 php extension module ??? 21

[PHP-WIN] Still can't pass variable through url

2003-08-14 Thread Jack
Dear all I had set the "register_global=on" and "magic_quotes_runtime=off" already, but when i click my hyperlink "page.php?year=$year&?month=$month", it doesn't pass the variable for ?year and ?month to the destination page "page.php" I'm using php 5.0 above , if the same case apply to php4.04, th

RE: [PHP-WIN] PHP My first function (help)!!!!

2003-08-14 Thread Flint Doungchak
Frank, There's a lot to mention, you might want to look at PHP arithmetic operators for an understanding between strings and integers at: http://www.php.net/manual/en/language.operators.arithmetic.php You might also want to review the function reference at: http://www.php.net/manual/en/function

Re: [PHP-WIN] Hack Q...

2003-08-14 Thread skate
> Is someone trying to hack my computer? > > "GET /scripts/..%255c%255c../winnt/system32/cmd.exe?/c+dir" > > Any idea what this means? > there's a thousand and one tools that will run searches for regular exploits. someone is trying to gain access to your computer, but unless you have a /scrip

[PHP-WIN] Re: Can anyone suggest a user authentication script that works?

2003-08-14 Thread Shadow
http://www.hotscripts.com/ -- Shadow www.shadowsnetwork.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Apache web server problem

2003-08-14 Thread Ashish Borkar
Hello , I have installed Apache web server and PHP on a AIX machine. I wrote a test script called test.php which had a call to phpinfo(); Then I added the file php to htdocs folder. Then i went to a windows machine ,opened Internet Explorer and tried the URL http://192.200.8.19/test.php

RE: [PHP-WIN] Subject: selecting data from file with php

2003-08-14 Thread Svensson, B.A.T. (HKG)
Another option wuld be to couple the text file with ODBC, and then the text file can be treated as a relational database table, e.g. a SELECT [...] would work fine on the text file. -Original Message- From: Neil Smith To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: 9-8-03 11:55 Subject:

[PHP-WIN] Can anyone suggest a user authentication script that works?

2003-08-14 Thread Acorn Tutors
HI folks, Ive been trying to get a user authentication script to work, but they seem to error on my system. Anyone know of one (and where to get it) that works on Win XP Pro, IIS, MySQL, PHP 4? (Or a web site where I can get help with getting one to work) TIA, Doug -- PHP Windows Mailing List

php-windows Digest 8 Aug 2003 19:00:20 -0000 Issue 1860

2003-08-14 Thread php-windows-digest-help
php-windows Digest 8 Aug 2003 19:00:20 - Issue 1860 Topics (messages 21069 through 21086): Re: [PHP] Still can't pass variable through url 21069 by: Martin Towell 21070 by: John Manko Re: Still can't pass variable through url 21071 by: Svensson, B.A.T. (HKG)

RE: [PHP-WIN] Making a service with php

2003-08-14 Thread Svensson, B.A.T. (HKG)
Then you might want to open a socket with php, and I think php is able to do this. Check out http://www.php.net/socket, but also socket_bind in particular. //Anders > -Original Message- > From: John Yu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 4:17 PM > To: Sven

[PHP-WIN] Re: How to preserve value , this question so difficult

2003-08-14 Thread J.Veenhuijsen
It is not a browser warning but a warning from the php interpretor! The out put you see is generated by php.exe Jochem Thomas Edward Lawrence wrote: Excellent , thank so much , and I also want to ask why my browser warns this when I run page1.php at first time , whether I must make something in ph

[PHP-WIN] E_mail Address extractor

2003-08-14 Thread Michael Bao
require ("d:/iis/www3/lib/common/auth.inc"); require ("/lib/common/auth.inc"); I need. When I want to include some file, I must key in the absolute directory. So I change include_path line to "include_path = d:/iis/www3/" in "php.ini" file. But it doesn't work.Please tell me the reason.

php-windows Digest 7 Aug 2003 01:20:41 -0000 Issue 1857

2003-08-14 Thread php-windows-digest-help
php-windows Digest 7 Aug 2003 01:20:41 - Issue 1857 Topics (messages 21034 through 21051): Re: PHP 4.3.2, Windows 2000 IIS 5, MySQL 4.013 CPU usage problem 21034 by: Miha Nedok 21040 by: Gary Broughton 21042 by: Cesar Cordovez 21046 by: Sek-Mun Wong 21

[PHP-WIN] Re: unable to delete php created files in php

2003-08-14 Thread Aidal
Have you tried using chmod() on the files you create? chmod(file_name, 0777) gives everyone all rights to the file. "John Yu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It seems that when I try to unlink a file in php which has been created by > php on a winxp machine I always g

RE: [PHP-WIN] Making a service with php

2003-08-14 Thread Svensson, B.A.T. (HKG)
> I would like to know if it's possible to have a PHP script that listens on a > specific port for incoming requests. If so, how would one go about doing > that? > > If not, what language would be good to make that in on windows plateform? Would configure an apache server to listen on your desir

php-windows Digest 14 Aug 2003 00:46:05 -0000 Issue 1869

2003-08-14 Thread php-windows-digest-help
php-windows Digest 14 Aug 2003 00:46:05 - Issue 1869 Topics (messages 21135 through 21144): Re: How to preserve value , this question so difficult 21135 by: J.Veenhuijsen 21137 by: Thomas Edward Lawrence Re: Zip archive & File Encryption 21136 by: UHL Fabrice Re: em

[PHP-WIN] Re: Can't Pass variable to other page

2003-08-14 Thread Ben
I had the same problem a couple of weeks ago. register_globals=On magic_quotes_runtime=Off Ben "Jack" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear all > I had write a script like this : > > $link = "page.php?day=$day&month=$month&year=$year"; > > when i click on the link,

Re: [PHP-WIN] Absolute and Relative directory

2003-08-14 Thread skate
> > but I need relative directory, like require ("/lib/common/auth.inc"); > try loosing the first / "lib/common/auth.inc"; -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Notice: Undefined variable: link in

2003-08-14 Thread David Adade
Thanks passed that on to the programmer worked a treat Regards "Sven" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi david, > > although you can supress those notices in your php.ini, you can correct your > syntax errors like this: > > AdminMain.php (line 7 and 8) > old: $tpl-

[PHP-WIN] Re: Main Directory and E_mail Extractor

2003-08-14 Thread Rob Adams
"Michael Bao" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > require ("d:/iis/www3/lib/common/auth.inc"); > > require ("/lib/common/auth.inc"); I need. > > > > When I want to include some file, I must key in the absolute directory. So I change include_path line to "include_path = d

[PHP-WIN] RegEx help needed

2003-08-14 Thread Herhuth, Ron
I have an array of a submitted text string (called $submittedTextString). And I have an array of common words (called $commonWordArray). I'm trying to use Regex to: 1. Remove any words from $submittedTextString that appear in $commonWordArray (about a hundred words). 2. Remove any numbers from $

Re: [PHP-WIN] Making a service with php

2003-08-14 Thread Luis Moreira
What version of PHP do you use ? On PHP-4.1.0 there is an EXPERIMENTAL set of functions (so they say) - socket_create, socket_bind, socket_listen, socket_accept - that combined should do your trick... Luis - Original Message - From: "John Yu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: [PHP-WIN] RegEx help needed

2003-08-14 Thread Adam Zey
Commenting on the replacing-numbers part, the simplest solution is probably to do a regex replace to replace 0-9 with a blank string. This would cut the entire search-replace to one line of code. Regards, Adam. "Bob Hall" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, Aug 1

[PHP-WIN] Re: how to install imap with php on windows 2000 server under IIS

2003-08-14 Thread Craig Roberts
Hey, I don't think you need to compile it on Windows. Go into your php/extentions directory, and copy the file php_imap.dll into C:\winnt\system32 - then uncomment the line extention = php_imap.dll in php.ini. You may need to restart IIS but i dont think so... With any luck it should work Crai

[PHP-WIN] Re: Hack Q...

2003-08-14 Thread Nils Schmidt
I think it's an request of an robot or worm trying to get into your system by using known security bugs. I have requests similar to this one; most from with nimda infected IIS 5 servers, or others like: "GET www.google.com". (don't know what's this about??) If I'm wrong tell me! (I'm only 16) And

[PHP-WIN] Zip archive & File Encryption

2003-08-14 Thread UHL Fabrice
hi all, I am looking for a php class for creating zip encrypted files archives. does anyone have an idea ? thanks UF -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] how to delete file in windows

2003-08-14 Thread guest
Hii... How to delete file under windows with php, i found function unlink, but this function run under linux, is there true that there are no function to delete file in windows with php...?? Is there any idea..??? thanx - Do you Yahoo!? Yahoo! SiteBuilder - F

[PHP-WIN] Main Directory and E_mail Extractor

2003-08-14 Thread Michael Bao
require ("d:/iis/www3/lib/common/auth.inc"); require ("/lib/common/auth.inc"); I need. When I want to include some file, I must key in the absolute directory. So I change include_path line to "include_path = d:/iis/www3/" in "php.ini" file. But it doesn't work.Please tell me the reason.

php-windows Digest 5 Aug 2003 20:27:53 -0000 Issue 1855

2003-08-14 Thread php-windows-digest-help
php-windows Digest 5 Aug 2003 20:27:53 - Issue 1855 Topics (messages 21019 through 21026): Re: how to install imap with php on windows 2000 server under IIS 21019 by: BQ777 21021 by: Craig Roberts Re: Connecting to another server 21020 by: Craig Roberts Re: CLI File

FW: [PHP-WIN] Apache web server problem

2003-08-14 Thread Mikey
In addition to below, have you moved php4ts.dll to your windows system directory? > -Original Message- > From: Mikey [mailto:[EMAIL PROTECTED] > Sent: 11 August 2003 13:46 > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Apache web server problem > > > Have you added: > > AddType applicati

[PHP-WIN] Re: Failure remote includes

2003-08-14 Thread m.r.
Update for the record: remote includes work with the latest stable snapshot (my version: php4-win32-STABLE-200308051230.zip). You might encounter the famous "cannot load php/sapi/php4apache2.dll" after this one. Experiment with location of the php4ts.dll, I had to move it to the PHP/sapi dir to ge

Re: [PHP-WIN] Resource Sharing or Resource Scheduling ??

2003-08-14 Thread Miha Nedok
An alternative could be switching to a SQL server ( MS SQL ) or the free MySQL (which performes on unix-like systems better ). I avoid using Access databases because of problems like you described. -Mike On Wed, 6 Aug 2003, Raheel Hussain wrote: > Date: Wed, 6 Aug 2003 23:16:58 -0700 (PDT) > Fr

[PHP-WIN] Re: How to preserve value , this question so difficult

2003-08-14 Thread Thomas Edward Lawrence
Excellent , thank so much , and I also want to ask why my browser warns this when I run page1.php at first time , whether I must make something in php.ini , I use IE6 , win2k , thank for your anwsering . Warning: Cannot send session cookie - headers already sent by (output started at C:\PHP\baita

RE: [PHP-WIN] using PHP to find out windows user name?

2003-08-14 Thread Mikey
If you are running from IIS, you can switch off anonymous access (found in Directory Security) and then access $_SERVER['AUTH_USER']. If you are using Apache, I wouldn't have a clue... HTH, Mikey > -Original Message- > From: Chen, Mao [mailto:[EMAIL PROTECTED] > Sent: 13 August 2003 23:

Re: [PHP-WIN] Hack Q...

2003-08-14 Thread erythros
just google it... paste that sting into google. you'll learn all about what its trying to do and if you need to worry about it. "Jon Phipps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That is the tell tale sign that either nimda or code red, I for get > which have been scouting

[PHP-WIN] Re: PHP/Apache installation set up problem

2003-08-14 Thread Dennis Lee
"Paul Cullen" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > I have just installed Apache on my Windows XP machine, quickly followed by > an installation of php-4.2.3. When I add the load module line to the Apache > httpd.conf file the Apache service refuses to restart and gives me an error

  1   2   >