Re: [PHP] STRINGS

2001-05-17 Thread Manuel Román
THANKS But I fix the problem with other way. Thanks for reply me. Manuel Román VIVA EL ALAVES ("LIFE ALAVES" IN ENGLISH, is the spanish futbol club than yesterday played with Liverpool the UEFA final) ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9e0lsi$e5v$[EMAIL PROTECTED]">news

[PHP] Has anybody linked with UPS online tools?

2001-05-17 Thread phpman
Has anyone done a XML linking with UPS online rates tool? Please respond to me - i need help! -dave -- 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

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Troy Moreland
I fully understand what you are saying. The problem is that I'm storing their password so that they don't have to re-enter it on each new page visited. If I can't decrypt it, then I can't pass that password for the user. How do I keep passing the password then w/o having to write it to the sess

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

2001-05-17 Thread Phillip Bow
Well from my experience development time with PHP is generally much faster than Java development time. Definately something most people would want to factor in. YMMV --phill ""Scott A Winkle"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Im currentl

[PHP] preprocessing

2001-05-17 Thread pkshifted
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, which posts to page C which is external (belongs to another company). What I would like is to insert a preprocessing script (let's call it page b). So, the end result would be, use

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread David VanHorn
At 12:05 PM 5/17/01 -0500, Troy Moreland wrote: >I fully understand what you are saying. The problem is that I'm storing >their password so that they don't have to re-enter it on each new page >visited. If I can't decrypt it, then I can't pass that password for the >user. How do I keep passing

[PHP] US$5,000

2001-05-17 Thread Michelle Jones
?, ??, ???, US$5000. : ??: http://www.haveattitude.com/email/chinese_t ?: ??: http://www.haveattitude.com/email/chinese_s/ Click Here for English: http://www.haveattitude.com/english ??!

[PHP] dynamically naming arrays

2001-05-17 Thread Matthew Luchak
any hints on dynamically naming arrays? ie: $stuff= explode ("!", $contents); //$stuff[3] is "foo" $stuff[3]=explode("&",$stuff[4]); print_r($foo); Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) T

[PHP] Installation PHP4 on UNIX problems

2001-05-17 Thread Andreas Pucko
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 manual I get the error message that there is no httpd.h file in the ap

Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
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, which posts to page C which is >external (belongs to another company). What I would like is to insert a >preprocessing script

Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
Try going to the page with the vars you need in the URL. i.e.: http://www.www.com/cgi-bin/script?var1=test&var2=testing If that works then just use a simple header location forward in script 'b': // process vars header("LOCATION:http://www.www.com/cgi-bin/script?var1=test&var2=testing";); T

RE: [PHP] dynamically naming arrays

2001-05-17 Thread King, Justin
I guess I'm kind of not understanding what you're trying to do. Besides dynamically create an array. I'd think what you're trying would work though --Justin King, School District of Superior Web Coordinator (www.superior.k12.wi.us) -Original Message- From: "Matthew Luchak" <[EMAIL PROT

RE: [PHP] Installation PHP4 on UNIX problems

2001-05-17 Thread scott [gts]
you could either install php as CGI stanalone or download the apache header files and put them somewhere that PHP can find them if you've got no *.h files, that probably means that someone deleted them, that you've got a binary distribution of apache on your system, or that you're telling PHP

RE: [PHP] dynamically naming arrays

2001-05-17 Thread scott [gts]
even though it can be done, i strongly reccomend that you re-evaluate the reasons why you want to do this. making var-of-a-var is usually not the easiest/best way to accomplish something why not use assoc. arrays?? $stuff['foo'] = explode(...); > -Original Message- > From: King,

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

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: 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

[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 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

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 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: 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: [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: [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 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] 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 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] 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] 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

[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] 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

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: 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] 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

[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] 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

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

[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] 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

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] 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 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] 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] 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] 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

[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]µÄ×Ô¶¯»ØÐÅ >ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡ > > > =

[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

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] 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

[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

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

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 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] 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 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

[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 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

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

[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

[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

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

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] 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

[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 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

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 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

[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

[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

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

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] 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] 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 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 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] 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 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] 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] 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

[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] 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

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

[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

[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

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] 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 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

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 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] 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] 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] 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

[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] 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

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; (

[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] 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

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] 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] 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

<    1   2   3   >