Re: [PHP] Finding if a number is in the range

2001-05-17 Thread Zak Greant
MaD dUCK wrote: > also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600): > > Or just use a simple chain of if statements :) > > yeah, but that's so O(n) ! > i can do in O(lg n) > or, given n CREW processors, in O(1) time! > > yes, i have just finished my computational theory and computer

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-17 Thread John Lim
Visit http://php.weblogs.com/ There currently is a big debate on this issue. Also see the PHP advocacy pages. ""Scott A Winkle"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Im currently running many scripts myself and other staff members wrote in

Re: [PHP] Finding if a number is in the range

2001-05-17 Thread Joseph Blythe
MaD dUCK wrote: > also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600): > >> Or just use a simple chain of if statements :) > > > yeah, but that's so O(n) ! > i can do in O(lg n) > or, given n CREW processors, in O(1) time! > > yes, i have just finished my computational theory and c

Re: [PHP] Finding if a number is in the range

2001-05-17 Thread MaD dUCK
also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600): > Or just use a simple chain of if statements :) yeah, but that's so O(n) ! i can do in O(lg n) or, given n CREW processors, in O(1) time! yes, i have just finished my computational theory and computer algorithms honors exam. martin

Re: [PHP] Finding if a number is in the range

2001-05-17 Thread Zak Greant
Or just use a simple chain of if statements :) if ($num >= 200 && $num <= 299) { echo "$num is between 200 and 299"; } else if ($num >=1000 && $num <= 2263) { echo "$num is between 1000 and 2263"; } else if ($num >=2264 && $num <= 2499) { echo "$num is between 2264 and 2499"; } else {

RE: [PHP] running a stand-alone PHP program

2001-05-17 Thread Peter Houchin - SunRentals Australia
Why can't you specify the #!/usr/local/bin/php line in your systems path ?? ie something like this set PATH=$PATH;/usr/local/bin/php and then you should be able to go ./foo.php Peter Houchin Short Term Rental Manager [EMAIL PROTECTED] Telephone : (03) 9329 1455 Facsimile : (03) 9

RE: [PHP] plain text email address to hyperlink?

2001-05-17 Thread Jason Lotito
> -Original Message- > From: Robert Reed [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 10:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] plain text email address to hyperlink? > > > I've attempted to use the following snippet to convert an > email address in plain tex

Re: [PHP] PGP with MySQL

2001-05-17 Thread Joseph Blythe
Jeff wrote: > I am trying to find the maximum security for storing credit card > numbers. > > >From reading the archives someone mentioned using a PGP based encryption > to encrypt the credit card number and store it into the database, and > have the company that is processing the order have the

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
Yes, it has the path to PHP on the first line. So there's no way to hide it? It doesn't show up when it's a perl script and it's the path to perl. On Thu, 17 May 2001, Nathan Cook wrote: > Does your script happen to look like this? > > #!/usr/local/bin/php > > If so then it is because of t

[PHP] PGP with MySQL

2001-05-17 Thread Jeff
I am trying to find the maximum security for storing credit card numbers. >From reading the archives someone mentioned using a PGP based encryption to encrypt the credit card number and store it into the database, and have the company that is processing the order have the decryption key on the th

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-17 Thread Jeff
Look at www.rit.edu for php examples. Right now the site has a lot of different stuff. But some key areas use php, like SIS, which allowa students to register for classes, get grade reports, etc. are all done via php Jeff Phillip Bow wrote: > Well from my experience development time with PHP

Re: [PHP] how to format a date variable

2001-05-17 Thread Fredrik de Vibe
Carlos Fernando Scheidecker Antunes wrote: > If I issue the comand date(d."/".m."/".Y." ".H.":".i.":".s) > I get the Today's date and time formated accordingly. Don't you want to put the letters inside the quotes? > So what I need is to format variable $OrderDate to Day/Month/year Hour:Min:Sec.

[PHP] plain text email address to hyperlink?

2001-05-17 Thread Robert Reed
I've attempted to use the following snippet to convert an email address in plain text to a hyperlink, and while it works fine in a function to verify an email address, it doesn't seem to work to replace all occurances of an email address within a body of text. $page = eregi_replace("^[0-9a-z

Re: [PHP] How Do I Escape from This List???

2001-05-17 Thread David Robley
On Fri, 18 May 2001 07:07, Ron Pitts wrote: > Ron Pitts > Caravela Books > 134 Goodburlet Road > Henrietta, NY 14467 http://caravelabooks.com Didn't I send instructions off list on how to unsubscribe a particular address? Do they not work? -- David Robley Techno-JoaT, Web Maintainer, Ma

Re: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread David Robley
On Fri, 18 May 2001 04:46, Brandon Orther wrote: > For some reason that doesn't provoke a Pop-up. Maybe this is because I > am on an IIS server. Any Ideas? > > I am Running PHP4.0.5 on Windows2k Adv. > > Thanks For The Help d:) > > Brandon > > -Original Message- > From: Sam Masiello [mail

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-17 Thread Alok K. Dhir
Just tested your code in both NS3, 4 and 6.01 - works fine in all three... > -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]. net] On Behalf Of Brandon Orther > Sent: Thursday, May 17, 2001 7:21 PM > To: PHP User Group > Subject: RE: [PHP] Netscape 6, What a p

Re: [PHP] Mail with Win2K

2001-05-17 Thread David Robley
On Fri, 18 May 2001 01:41, Brandon Orther wrote: > Hello, > > I usually use Linux as my OS so I am not to familure with Windows as a > web server. The problem I am facing now is the mail function in > windows. It doesn't seem to work. Does anyone know what I need to do > to use the mail() func

[PHP] HOW DO I UNSUBSCRIBE? NOTHING WORKS!

2001-05-17 Thread Ron Pitts
INSTRUCTIONS FOR GIVING YOUR CAT A PILL 1) Pick cat up and cradle it in the crook of your left arm as if holding a baby. Position right forefinger and thumb on either side of cat's mouth and gently apply pressure to cheeks while holding pill in right hand. As cat opens mouth pop pill into mo

Re: [PHP] Finding if a number is in the range

2001-05-17 Thread MaD dUCK
also sprach Joseph Blythe (on Fri, 18 May 2001 11:12:23AM +0930): > How do I find if a number is in a range example: assuming that the ranges are continuous, make an array of the first number for each range and then implement a custom binary search for O(lg n) performance. martin; (

Re: [PHP] MYSQL Password

2001-05-17 Thread John Monfort
Can you connect to MySQL manually? If so, then you should be able to connect with PHP's mysql_connect($username,$password,$host); __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is wa

[PHP] Finding if a number is in the range

2001-05-17 Thread Joseph Blythe
hello, How do I find if a number is in a range example: 0200-0299 1000-2263 2264-2499 Lets say I choose 203 how would find which number range it was in? I was sort of thinking of using arrays of all the number ranges and using the in_array function to find which range the numbers are in, but

Re: [PHP] sessions / cookies / header("Location...

2001-05-17 Thread Christian Dechery
it does not have anything to do with my browser... that's for sure... I'm using MSIE 5.5, and never had any trouble... and as I said on the email... it used to work fine... it just stopped working... and now yet some fresh info... it's working again now... I've tried... one thing I noticed, that

Re: [PHP] referer from email client

2001-05-17 Thread Eris Ristemena
the case was i do not have such control to put any variable on the URL. :( ers --- [EMAIL PROTECTED] wrote: > simpler to just put a variable on the link > > http://foo.bar?refer=email or whatever...  > > [EMAIL PROTECTED] wrote: > > hellos, > > > > how can we know the referer link is from an

Re: [PHP] Can't download 4.0.5

2001-05-17 Thread nbrosnahan
It works now. I guess someone heard my plea. ""nbrosnahan"" <[EMAIL PROTECTED]> wrote in message 9e1p7l$cdv$[EMAIL PROTECTED]">news:9e1p7l$cdv$[EMAIL PROTECTED]... > Anyone know why? > > http://www.php.net/do_download.php?download_file=php-4.0.5-Win32.zip&source_ > site=www.php.net > > > > > --

Re: [PHP] Why is this not working

2001-05-17 Thread Chris Fry
Peter, You are correct - I did this last year: $strEncryptedPasswd = crypt($Password, "\0"); $strUserInfo = $UserID.":".$strEncryptedPasswd."\n"; where $Password is the input password & $UserID is the user id. Just read your .htpasswd file into an array and cycle through it writing out each

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
I thought about. But I need to be able to change user passwords also. Writing directly to the file will only add another user. Unless you know any ways of breaking apart the file and picking out the user names then changing the password for that name. EG A typical htpasswd file with two entries..

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
Actually, I found out this By executing what you mentioned earlier: ls -l the path I get for htpasswd is... usr/local/apache/utils I have then tried in my PHP code $go = "/user/local/apache/utils/htpasswd -b users/domain/.htpasswd abc pass"; passthru ("$go"); Still no luck. "MaD dUCK" <[EM

[PHP] Can't download 4.0.5

2001-05-17 Thread nbrosnahan
Anyone know why? http://www.php.net/do_download.php?download_file=php-4.0.5-Win32.zip&source_ site=www.php.net -- 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-

Re: [PHP] Why is this not working

2001-05-17 Thread Peter Dudley
can you write directly to the password file using crypt() instead of trying to run the htpasswd program? I think I used to do this in Perl, but it's been a LONG time since I tried it. I think it worked, though. Pete. PS: I'm also pretty sure that if you can't write direclty to the .htpasswd fi

[PHP] authenticating in other web server

2001-05-17 Thread Romulo Roberto Pereira
Hello! I am in an server with Apache and PHP. I want PHP to authenticate in other server (Novell with Netscape). Like this: SSL (PAGE 1 SERVER 1) ->-->- SSL (PAGE 2 SERVER 2) SERVER 1: Apache and PHP SERVER 2: Novell with Netscape PAGE 1: PHP script page PAGE 2: PHP script page Wi

[PHP] Incoming XML request

2001-05-17 Thread Michael Conley
I want to set up a page that can accept an XML string, which I will then parse for the data I need, perform a database lookup based on that data and return an XML string to the client. I am unsure of where to start this. 1. I don't know how to have my PHP page capture the XML string they send m

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
The .htpasswd file lives in the root of my user account. ie: [www] directory .htpasswd file It then goes: [www] | [public_html] [htocs] | All website content etc If I go beyond the www directory, I get a list of hundreds of directories and files. This is whe

RE: [PHP] Help..Date Format

2001-05-17 Thread Don Read
On 17-May-01 Jack Sasportas wrote: > OK I have asked the question before and not really gotten the answer, so > I will re-word what I am trying to do. > First I figured out that part of my problem may be how I am storing the > date into mysql from php. > Currently we are using the now() function

[PHP] url_rewriter.tags & PHPSESSID automaticly added to URLS

2001-05-17 Thread Chris Cowan
Does anyone know why the $PHPSESSID would be automaticly added to the url on PWS on Win2000 but not on IIS 4 on WinNT 4.0? Is this a feature dependent on the web server of is there something wrong on my server? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] Why is this not working

2001-05-17 Thread MaD dUCK
also sprach YoBro (on Fri, 18 May 2001 10:45:12AM +1200): > If I try su nobody it asks for nobody's password. If i enter no > password a I get Authentication denied. you aren't root. can you give me an output of 'ls -l ' martin; (greetings from the heart of the sun.) \ echo m

RE: [PHP] xmlHTTP.send equiv?

2001-05-17 Thread Michael Conley
does anyone have info on this? -Original Message- From: Todd Kennedy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 1:38 PM To: [EMAIL PROTECTED] Subject: [PHP] xmlHTTP.send equiv? Does anyone know of an equivilent for ASP's xmlHTTP.send command for PHP? i need to send a XML st

Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else hadproblems with php and Netscape 6?

2001-05-17 Thread DAve Goodrich
You need some closing table row tags in lines 19,34,49,64,79,94. DAve on 5/17/01 4:21 PM, Brandon Orther at [EMAIL PROTECTED] wrote: > > -- > Dave Goodrich > Director of Interface Development > Reality Based Learning Company > 9521 NE Willows Road, Suite 100 > Redmond, WA 98052 > Toll Free

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread Nathan Cook
Does your script happen to look like this? #!/usr/local/bin/php To: "Nathan Cook" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 3:15 PM Subject: Re: [PHP] running a stand-alone PHP program > Excellent. I got this working. From a command line the standalone PHP > scrip

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-17 Thread Johnson, Kirk
Always a good idea to do a View Source, capture that to a file, then run it through a tag checker program. Kirk > -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 5:21 PM > To: PHP User Group > Subject: RE: [PHP] Netscape 6, What a piece

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Jack Dempsey
looking at it quickly, it looks like you don't close your tag before you open another, right about here: > > > > href="menu.php?open=Web%20Mail"> > > href="menu.php?open=Web%20Mail">Web > Mail should be a closing here >

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-17 Thread Jeff Pearson
Brandon, The tag at the end of the Billing row is not closed. Ive seen NS choke because of that. Jeff Pearson > -Original Message- > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 4:21 PM > To: PHP User Group > Subject: RE: [PHP] Netscape 6, What a p

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Brandon Orther
This is the HTML that is returned by PHP. Does anyone know why Netscape Would have problems viewing it? Control Maestro Menu System Web Mail

Re: [PHP] dynamically naming arrays

2001-05-17 Thread Matt McClanahan
On Thu, May 17, 2001 at 01:27:52PM -0400, Matthew Luchak wrote: > any hints on dynamically naming arrays? > > ie: > > $stuff= explode ("!", $contents); > > //$stuff[3] is "foo" > > $stuff[3]=explode("&",$stuff[4]); ${$stuff[3]} = '...'; http://www.php.net/manual/en/language.variables.variab

Re: [PHP] MYSQL Password

2001-05-17 Thread Jack Sasportas
pass the parameter -p and it will ask you for the password Andreas Pucko wrote: > Hello, > > I am trying to get mysql running and connect via php to it. > > how can I set the password in a unixshell to get access to it? > > When I try to access the db I get: > > Warning: MySQL Connection Fai

[PHP] Help..Date Format

2001-05-17 Thread Jack Sasportas
OK I have asked the question before and not really gotten the answer, so I will re-word what I am trying to do. First I figured out that part of my problem may be how I am storing the date into mysql from php. Currently we are using the now() function to store the date in one field and the time in

[PHP] MYSQL Password

2001-05-17 Thread Andreas Pucko
Hello, I am trying to get mysql running and connect via php to it. how can I set the password in a unixshell to get access to it? When I try to access the db I get: Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /psr/mysqladmin/lib.inc.php o

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
If I try su nobody it asks for nobody's password. If i enter no password a I get Authentication denied. I am able to add users to the htpasswd file via telnet or zoc but my mission is to get it working using PHP All the syntax to do it, from what I have seen is relatively straight forward. but f

Re: [PHP] Why is this not working

2001-05-17 Thread MaD dUCK
also sprach YoBro (on Fri, 18 May 2001 10:34:34AM +1200): > If i do that using telnet it asks for nobody's password. do it as root. su is 'switch user' and nobody has no password. he's trying to get you to execute the command htpasswd just like apache would execute it when you call passthru in ph

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
If i do that using telnet it asks for nobody's password. What does this mean? "Tyrone Mills" <[EMAIL PROTECTED]> wrote in message 25636AA0C9F6D31192CE00E02905E08602D6E476@mailkel01">news:25636AA0C9F6D31192CE00E02905E08602D6E476@mailkel01... > su nobody -c "/usr/local/bin/htpasswd -b /users/domai

[PHP] help installing

2001-05-17 Thread McShen
i was trying to install php on windows 2k pro. i got this message when i was trying to run the test scrpt "PHP CGI binary (\php) is not executable. Please compile PHP as a CGI executable and try again. " why is that? and should i read the instruction for IIS 4.0+ (isapi) or IIS 4.0+ (CGI)

Re: [PHP] Why is this not working

2001-05-17 Thread Tyrone Mills
su nobody -c "/usr/local/bin/htpasswd -b /users/domain/.htpasswd abc pass" See what you get... "YoBro" <[EMAIL PROTECTED]> wrote in message news:<9e1i8t$op5$[EMAIL PROTECTED]>... > I have set the htpasswd file to 777 while i attempt to get this to work. > > I have found the htpasswd executable

Re: [PHP] Why is this not working

2001-05-17 Thread Tyrone Mills
This works for me... $update = exec ("/usr/local/apache/bin/htpasswd -b ./.htpasswd $username $password"); Just make sure that the user that Apache runs under has the appropriate permissions to the .htpasswd file. Tyrone "YoBro" <[EMAIL PROTECTED]> wrote in message news:<9e1fcd$pir$[EMAIL PROT

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
Excellent. I got this working. From a command line the standalone PHP scripts work well, but if I hit them via http, it renders the path to PHP at the top of the page (but does execute the code). Any fix for that? Thanks, Rory On Thu, 17 May 2001, Nathan Cook wrote: > Not if you are currentl

[PHP] how to format a date variable

2001-05-17 Thread Carlos Fernando Scheidecker Antunes
Hello All, If I issue the comand date(d."/".m."/".Y." ".H.":".i.":".s) I get the Today's date and time formated accordingly. I can do the same with MySQL by using an internal function on the SQL select statement. I've got a variable that is a MySQL native Date field but it was not and cannot be

[PHP] XSLT variables in PHP

2001-05-17 Thread nick
I'm building an XSLT style sheet for a web site, and part of it revolves around the fact that sometimes a group of will be highlighted and the rest of the time they will be a standard background colour. In the example below, if the XML data that matches "primary", is equal to 1, than i want

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
I have set the htpasswd file to 777 while i attempt to get this to work. I have found the htpasswd executable. /usr/local/bin So my code now reads: Still no go. Any ideas to view errors while I attempt to write to the file .htpasswd YoBro "Shawn Reed" <[EMAIL PROTECTED]> wrote in message 01C0

Re: [PHP] Why is this not working

2001-05-17 Thread Shawn Reed
the user that the webserver runs as (usually "apache" or "nobody") must have write permissions to the file which htpasswd is attempting to write to, or else it won't be able to make the changes you are attempting to make. ~shawn YoBro <[EMAIL PROTECTED]> wrote in message news:<9e1h4j$8k5$[EM

[PHP] PHP ICQ Channel

2001-05-17 Thread Charles Williams \(CEO\)
For those of you interested. There is a ICQ channel for PHP at: 74684492 -- 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]

Re: [PHP] Why is this not working

2001-05-17 Thread Phillip Bow
What permissions do you need to execute htpasswd? -- phill ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9e1h4j$8k5$[EMAIL PROTECTED]">news:9e1h4j$8k5$[EMAIL PROTECTED]... > That didn't seem to work. > I am beginning to pull my hair out now. > > ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote

Re: [PHP] compile with apxs

2001-05-17 Thread Martín Marqués
On Vie 18 May 2001 00:39, Angerer, Chad wrote: > I am trying to configure php using --with-apxs .. here is my configure file > > ./configure --with-apxs=/usr/local/www/bin --with-mysql=/usr/local/ That should be --with-apxs=/usr/local/www/bin/apxs Saludos... :-) > mysql --enable-discard-path --

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
That didn't seem to work. I am beginning to pull my hair out now. ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote in message 9e1gjb$u1q$[EMAIL PROTECTED]">news:9e1gjb$u1q$[EMAIL PROTECTED]... > I mean the absolute path for executable. > > passthru ("/usr/bin/htpasswd -b /users/domain/.htpasswd

Re: [PHP] Why is this not working

2001-05-17 Thread Tolga \"thorr\" Orhon
I mean the absolute path for executable. thorr ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9e1gb1$jnn$[EMAIL PROTECTED]">news:9e1gb1$jnn$[EMAIL PROTECTED]... > My message described the absolute path with the provider I use. > > I am able to download the .htpasswd file from > /users/domain/

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Brandon Orther
Hello, It is on a local site and is a security risk if I give out the address. I am sorry :( Thanks for your interest Brandon -Original Message- From: DAve Goodrich [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:02 PM To: Billy Harvey; [EMAIL PROTECTED] Subject: Re: [PHP] Ne

Re: [PHP] Why is this not working

2001-05-17 Thread YoBro
My message described the absolute path with the provider I use. I am able to download the .htpasswd file from /users/domain/ Still not working though. ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote in message 9e1fth$vi3$[EMAIL PROTECTED]">news:9e1fth$vi3$[EMAIL PROTECTED]... > May be you nee

[PHP] How Do I Escape from This List???

2001-05-17 Thread Ron Pitts
Mens Rules For Women 1.If you think you are fat, you probably are. Do not ask us. 2. Learn to work the toilet seat; if it's up, put it down. 3. Do not cut your hair. Ever. 4. Sometimes, we are not thinking about you. Live with it. 5. Get rid of your cat. 6. Sunday = Sports. 7. Anything you

[PHP] compile with apxs

2001-05-17 Thread Angerer, Chad
I am trying to configure php using --with-apxs .. here is my configure file ./configure --with-apxs=/usr/local/www/bin --with-mysql=/usr/local/ mysql --enable-discard-path --enable-safe-mode --enable-calendar --with-dom-dir =ext/domxml --enable-ftp --with-gd=shared --with-jpeg-dir=/usr --with-ja

Re: [PHP] Why is this not working

2001-05-17 Thread Tolga \"thorr\" Orhon
May be you need to use absolute path for htpasswd. eg. /usr/bin/htpasswd Did u check for any error msgs? thorr ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9e1fcd$pir$[EMAIL PROTECTED]">news:9e1fcd$pir$[EMAIL PROTECTED]... > After much investigation through many newsgroups and websites, I foun

[PHP] Why is this not working

2001-05-17 Thread YoBro
After much investigation through many newsgroups and websites, I found out that this is the way you can execute a unix apache command to add a user to the htpasswd list with PHP. Problem is, it doesn't add any information to the htpasswd file. Note: The example below is... domain = my user name a

[PHP] Re: mailing list php-general@lists.php.netµÄ×Ô¶¯»ØÐÅ

2001-05-17 Thread Tolga \" thorr\" Orhon
?? - Original Message - From: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 4:17 PM Subject: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ >ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡ > > > =

RE: [PHP] Re: removing PHP

2001-05-17 Thread Michel 'ZioBudda' Morelli
On Thu, 17 May 2001, Joseph Bannon wrote: >I did --with-apache. For some reason, when I install 4.0.5, it doesn't >catch. It still says 4.0.4. Is there a main file(s) I can remove to make >sure 4.0.5 catches? hmmm A in the source of apache try to find libphp.a (or something like it). delete

Re: [PHP] sessions / cookies / header("Location...

2001-05-17 Thread Chris Lee
yup, your browser is not accepting cookies. thats a good guess. when a browser does not accept cookies, trans-sid will kick in, trans-sid will not work on full urls, just reletive urls. no trans-sid http://www.mediawaveonline.com/index.php trans-sid /index.php header redirectect require (supp

Re: [PHP] A universal Database Class

2001-05-17 Thread Tolga \"thorr\" Orhon
PHPLib may be another option. "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am making a suite of online tools. Right Now I am connecting to a MS SQL > 2000 database. Is there any class out there that will let you send a query >

Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else hadproblems with php and Netscape 6?

2001-05-17 Thread DAve Goodrich
Do you have a URL I could try? I've used PHP to generate a lot of dynamic js and css. DAve on 5/17/01 1:50 PM, Billy Harvey at [EMAIL PROTECTED] wrote: >> 1. I am not making a JavaScript version at all I don't see where I ever say >> this. ??? >> >> 2. If I copy the html outputted to the brows

Re: [PHP] preprocessing

2001-05-17 Thread Tolga \"thorr\" Orhon
Well, one solution may be (although might not easy) to make your page A to submit to page B which process information and submits to page C via PHP - Curl functions. You may POST variables and even use SSL connection. It worked just fine for me. It is more reliable any javascript solution and rest

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Billy Harvey
> 1. I am not making a JavaScript version at all I don't see where I ever say > this. ??? > > 2. If I copy the html outputted to the browser and past it into an html file > it loads good. When I say I suspect this to be something wrong with PHP I > mean that Netscape doesn't play good

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-17 Thread Brandon Orther
1. I am not making a JavaScript version at all I don't see where I ever say this. ??? 2. If I copy the html outputted to the browser and past it into an html file it loads good. When I say I suspect this to be something wrong with PHP I mean that Netscape doesn't play good with PHP.(No

[PHP] mysql: dumping data

2001-05-17 Thread PeterOblivion
anyone have a CGI scipt/compiled linux cgi that will dump the contents of a file somewhere on the net into my mysql database? I dont have telnet nor ftp access to my mysql server, and phpMyAdmin has failed everytime. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] Installation PHP4 on UNIX problems

2001-05-17 Thread Christian Reiniger
On Thursday 17 May 2001 19:23, Andreas Pucko wrote: > Hi there, > > I am trying to install PHP4 on a unix server. > > Apache is already running. I installed the binary version. after > sending the command: > ./configure -with-mysql -with-apache=../apache_1.3.x -enable-track-vars > like in the manu

RE: [PHP] group comparision

2001-05-17 Thread Don Read
On 17-May-01 [EMAIL PROTECTED] wrote: > i have a php script that has three variables that could be set to "1" > depending on the values of a form being sent to the .php file. > > $add > $remove > $view > > i need to do some error control in my script to make certain that one and > only one of t

[PHP] ftp_nlist not listing directories

2001-05-17 Thread Fredrik de Vibe
Hi I'm having problems using ftp_nlist() to list directories. I've scanned the internet and found that there's probably some incompability with the version of wu-ftp used on the server and ftp_nlist(). With version 2.6.1, this doesn't work, but with version 2.5.0 it does. Anybody know why this is

RE: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Matt Schroebel
There are some user notes under that manual page that might be of use to you. > From: Brandon Orther [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 3:17 PM > > For some reason that doesn't provoke a Pop-up. Maybe this is > because I am on an IIS server. Any Ideas? > http://www.php

Re: Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
This looks like it will do it. I haven't tested it, so don't take my word for it. http://www.holotech.net/ * December 1999 * / function PostIt($DataStream, $URL) { // Strip ht

RE: [PHP] A universal Database Class

2001-05-17 Thread Hoover, Josh
There are several database abstraction classes out there. There are three that come to my mind right away: ADODB - http://php.weblogs.com/ADODB Metabase - http://phpclasses.upperdesign.com/browse.html/package/20/ PearDB - Not sure of the URL, but you can look in the PEAR directory of a PHP inst

Re: [PHP] A universal Database Class

2001-05-17 Thread Rick St Jean
What you want is a database abstraction layer. search the archives for pear or metabase. Another option is use the lousy ODBC At 03:21 PM 5/17/01, Brandon Orther wrote: >Hello, > >I am making a suite of online tools. Right Now I am connecting to a MS SQL >2000 database. Is there any class ou

[PHP] A universal Database Class

2001-05-17 Thread Brandon Orther
Hello, I am making a suite of online tools. Right Now I am connecting to a MS SQL 2000 database. Is there any class out there that will let you send a query to more than just one type of databases? Like someone could run it off a MSSQL server and another could run it off a MySQL database. tha

RE: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Brandon Orther
For some reason that doesn't provoke a Pop-up. Maybe this is because I am on an IIS server. Any Ideas? I am Running PHP4.0.5 on Windows2k Adv. Thanks For The Help d:) Brandon -Original Message- From: Sam Masiello [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 11:42 AM To: Bra

RE: [PHP] load balancing...

2001-05-17 Thread Dan Harrington
Take a look at www.coyotepoint.com :-) > -Original Message- > From: Juan Claudio Santana Saldana [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 8:19 PM > To: [EMAIL PROTECTED] > Subject: [PHP] load balancing... > > > Does anybody know how to do load balancing with php and

Re: [PHP] preprocessing

2001-05-17 Thread infoz
You'll actually want to do a little more than that, i.e. read the socket and dump it to the browser so that the output from the page you're posting to gets displayed. There is another version of that function around that handles that too. I can post it later today if nobody else finds it first.

RE: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Sam Masiello
See the following URL in the manual: http://www.php.net/manual/en/features.http-auth.php HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 1:48 PM To:

RE: [PHP] preprocessing

2001-05-17 Thread Johnson, Kirk
Thanks, Tim! http://marc.theaimsgroup.com/?l=php-general&m=98582357009336&w=2 Kirk > -Original Message- > From: infoz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 12:21 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] preprocessing > > > There's a public

RE: [PHP] preprocessing

2001-05-17 Thread Johnson, Kirk
Louis, if you track this down, please post back to the list what you find. TIA Kirk > -Original Message- > From: infoz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 12:21 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] preprocessing > > > There's a publi

Re: [PHP] preprocessing

2001-05-17 Thread infoz
There's a public domain function kicking around called "post_to_host" or something like that which will do exactly what you wish. If you search the list archives I'm sure there will be several pointers to where you can find it. - Tim -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: Re: [PHP] preprocessing

2001-05-17 Thread Johnson, Kirk
I don't know of any way to make a script "self-submitting" for POST data, wish I did. Alternatives: 1. Do the processing with JavaScript on the original input page. 2. Get the other company to modify C to look for GET variables, and build a query string as suggested earlier. 3. Add a simple FORM

Re: Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
In that case you may be able to assemble the headers of a get using the header() function. I will look up a few more things for you and get back to you after lunch! :) Nathan Cook [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTEC

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread Nathan Cook
Not if you are currently running it as an apache module. If you are running it as a cgi, then it might. But it sounds as if you are running it as an apache module. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "midget2000x" <[EMAIL PROTECTED]> To: "Nathan Cook" <[EMAIL PROTEC

RE: Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
At 10:48 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: >Unfortunately, I don't control page c, or else this would be a mute point. >That's why I need page B. Good idea though. Well, it sounds like an auto-redirect is about your only choice. -- Dave's Engineering Page: http://www.dvanhorn.org Wher

[PHP] How do I have a Authentication box pop up?

2001-05-17 Thread Brandon Orther
Hello, How to I make the browser pop up a authentication box? Thanks Brandon -- 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]

RE: Re: [PHP] preprocessing

2001-05-17 Thread pkshifted
This is a fairly solid suggestion, and it may be what I have to do. But, unfortunately, Page C is expecting a POST, not a GET, which may make it not work. Also, I would like to avoid this if possible due to some of the sensitive information that will be being passed to and fro. Even if it will

RE: Re: [PHP] preprocessing

2001-05-17 Thread pkshifted
Unfortunately, I don't control page c, or else this would be a mute point. That's why I need page B. Good idea though. >At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: >>I have what I feel to be a strange problem (I'm most likely wrong here). >>I have page A, which is an internal page, whic

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread midget2000x
OK, thanks. This is great. But will this affect my existing installation of PHP? excuse the newbie questions! I appreciate your help. Thanks, Rory On Wed, 16 May 2001, Nathan Cook wrote: > Assuming you are running linux... > > Just remove the "--with-apache", from the ./configure statement

  1   2   3   >