Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Daniel Tryba
On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote: > I have several PHP files that I only want users to be able to access via > HTTPS. How can I control that on an Apache 1.3.14 server running on RedHat > 7? I have openssl and mod_ssl working fine. Currently, I can access all of >

RE: [PHP] Searching HTML file for tags

2001-02-08 Thread Tyler Longren
Ah ha! So i see. :) thanks. -Original Message- From: Mukul Sabharwal [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:21 PM To: Tyler Longren; [EMAIL PROTECTED] Subject: Re: [PHP] Searching HTML file for tags Hi, You've forgot to put fread() : '; $data = fread($file

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Aaron Tuller
HTTPS is set to "on", at least on my Apache when SSL is enabled. it's undefined when it's not. this is what I would do (untested code below): function UsingHTTPS() { $HTTPS = getenv("HTTPS"); return ($HTTPS == "on"); } function UsingHTTP() // might be useful? { return

[PHP] indexing text

2001-02-08 Thread Robert Mena
Hi, i am trying to store some digital books under mysql and give a chapter/page access using php as scripting lanaguage. Besides htdig is there any other solution (perhaps written in php) to index a content of a TEXT field in order to have an "altavista-like" search engine for my use ? I've read

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Christopher Allen
> On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote: > > I have several PHP files that I only want users to be able to access via > > HTTPS. One way is to place these files only where the https server can see them. heres an example: . . DocumentRoot "/secure/secure_di

Re: [PHP] Files only available via HTTPS

2001-02-08 Thread Jason Brooke
http://www.modssl.org/docs/2.6/ssl_reference.html#ToC22 jason - Original Message - From: "Daniel Tryba" <[EMAIL PROTECTED]> To: "Michael Conley" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 12:24 PM Subject: Re: [PHP] Files only available via HTTPS > On

[PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread The Hermit Hacker
Simple ... everything compiles cleanly, but as soon as I try and run it, I get: pegasus# /usr/local/apache/bin/httpsd httpsd: module "mod_php4.c" is not compatible with this version of Apache. Please contact the vendor for the correct version. The only thing I can find on the list archives deal

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread Larry Rosenman
* The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]: > > Simple ... everything compiles cleanly, but as soon as I try and run it, I > get: > > pegasus# /usr/local/apache/bin/httpsd > httpsd: module "mod_php4.c" is not compatible with this version of Apache. > Please contact the vendor for the

Re: [PHP] indexing text

2001-02-08 Thread Steve Werby
"Robert Mena" <[EMAIL PROTECTED]> wrote: > Besides htdig is there any other solution (perhaps > written in php) to index a content of a TEXT field in > order to have an "altavista-like" search engine for my > use ? mnoGoSearch (formerly udmsearch) will do the trick. It's written in C++, it's ver

[PHP] echo vs print

2001-02-08 Thread Todd Cary
I have "Profession PHP Programming" and I see that echo() and print() are used alomst interchangeably. When should each one be used? Also, I see "http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] indexing text

2001-02-08 Thread David Robley
On Fri, 9 Feb 2001 13:45, Steve Werby wrote: > "Robert Mena" <[EMAIL PROTECTED]> wrote: > > Besides htdig is there any other solution (perhaps > > written in php) to index a content of a TEXT field in > > order to have an "altavista-like" search engine for my > > use ? > > mnoGoSearch (formerly u

Re: [PHP] Web Based Project Management Tools

2001-02-08 Thread David Robley
On Fri, 9 Feb 2001 11:46, Nathan Cook wrote: > Do any of you know of a comprehensive web-based project management tool > written in php? > > Thank You! > .:: Nathan Cook [ [EMAIL PROTECTED] ] ::. > Systems & Network Administrator :: Programmer > [ phone - 208.343.3110 ][ pager - 208.387.9983 ] K

Re: [PHP] PHP4.0.4pl1 with Apache 1.3.17/SSL and Frontpage ...

2001-02-08 Thread The Hermit Hacker
On Thu, 8 Feb 2001, Larry Rosenman wrote: > * The Hermit Hacker <[EMAIL PROTECTED]> [010208 21:12]: > > > > Simple ... everything compiles cleanly, but as soon as I try and run it, I > > get: > > > > pegasus# /usr/local/apache/bin/httpsd > > httpsd: module "mod_php4.c" is not compatible with this

[PHP] Wierd OCI Problem... [Urgent, and please help]

2001-02-08 Thread Chien-Pin Wang
Dear all, My server is running RedHat6.2/Apache 1.3.14/PHP 4.0.4pl1/Oracle 8.0.5. The way I make connection from PHP to Oracle is through php's Oracle 8 extension OCIPLogon. Since the server was made available to the public, *EVERY ONCE A WHILE* I got error messages logged in apache's

Re: [PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database

2001-02-08 Thread Richard Lynch
I'm not sure I'm following the purpose, but you need to access a whole 'nother page (or, at least, a whole 'nother HTTP connection) to select HELP1 or HELP2 from your phone. It seems like you're trying to get your WAP to execute PHP somehow, and that won't happen. [This week, anyway :-)] Disclaim

Re: [PHP] Mysql connection problems

2001-02-08 Thread Richard Lynch
> Warning: MySQL Connection Failed: Can't connect to MySQL server on > 'localhost' (10061) in c:\arquivos de > programas\apache group\apache\htdocs\db_connect.php on line 3 > Couldn't connect. Is the MySQL deamon running? IE, is there a black MS-DOS window (maybe minimized) that has something not

Re: [PHP] Php (&mysql) & different char-sets

2001-02-08 Thread Richard Lynch
> Is it possible to make three textareas on one page (of course it is, but > read til the end, you`ll get the point) and let the user type into each > box in a different language with different charsets. > > For example, lets say I want to insert three versions of one text on one > page (without s

Re: [PHP] Should this work?

2001-02-08 Thread Richard Lynch
> foreach($some2DArray as &$refToArrayRow) > { > } > > It won't even parse with an error of > Parse error: parse error, expecting `T_VARIABLE' or `'$'' in > ./myFile.php on line 473 > > > Can you not use a reference within a foreach loop? With the & removed, > it works fine but then when I updat

Re: [PHP] PHP not sending email

2001-02-08 Thread Richard Lynch
> sendmail_path = /usr/lib/sendmail -t > ;for unix only, may supply arguments as well (default is 'sendmail -t -i') Those apostrophes on the default setting are not just for show. sendmail_path = 'usr/lib/sendmail -t' Actually, I use " not ', but either should work. An .ini file delimits on a

Re: [PHP] interoperating with perl

2001-02-08 Thread Richard Lynch
> I have some web agent type stuff to do for which there are some handy perl > modules. I can just wrap them in scripts and system() them of course, but > I though I'd check if there is some more elegant approach to integrating > with perl before I do that? http://php.net/virtual may or may not

Re: [PHP] Insert Data AS400

2001-02-08 Thread Richard Lynch
> I'm having troubles inserting records into our AS400. I've tried just about > every combination I can think of when trying to insert a record, but nothing > is working. Here is the most recent error I keep getting: > > Warning: SQL error: [IBM][CLI Driver][AS] SQL7008N REXX variable "WBO230P "

Re: [PHP] test for undefined variables & renaming variables

2001-02-08 Thread Ankur Verma
you can test for undefined variables using isset($var) or empty($var) look into the php manual for more details on these functions yes php does provide you with an option to create variables from variables themselves refer to the following http://www.php.net/manual/en/language.variables.var

php-general Digest 9 Feb 2001 04:28:08 -0000 Issue 501

2001-02-08 Thread php-general-digest-help
php-general Digest 9 Feb 2001 04:28:08 - Issue 501 Topics (messages 38776 through 38894): Re: gif support 38776 by: Chris Lee Re: radiobutton 38777 by: Jon Haworth 38778 by: Reuben D Budiardja 38816 by: James, Yz Re: splitting a class across separate files?

RE: [PHP] echo vs print

2001-02-08 Thread Jeff Oien
>From recent posts: http://www.zend.com/zend/tut/using-strings.php also see the doc for print in the PHP manual: http://www.php.net/manual/en/function.print.php Jeff Oien > I have "Profession PHP Programming" and I see that echo() and print() > are used alomst interchangeably. When should each o

[PHP] version'ng problem with php4 and apache 1.3.17 ...

2001-02-08 Thread The Hermit Hacker
I feel so dense :( I've gotten into a habit of upgrading my apache with a simple 'make install-program', but, of course, php needs 'make install-include' to happen as well ... so, my include files for apache was out of sync with the server, causing the problem ... all appears well now ...

[PHP] TCP/IP Question

2001-02-08 Thread JCampell
I'm working on a TCP/IP server using PHP, but the example I found on www.php.net is only a one connection. Does anyone have an example of a multiple connection php script? I'd really appreciate looking at it.. www.PictureArena.com === The lack of humility before nat

RE: [PHP] echo vs print

2001-02-08 Thread Maxim Maletsky
If you search archives you'll find some blody battles on this kind of issues, there are some slight differences but work both well and are very similar in performance - so this is the question of style. You see, Professional PHP Programming was written by 5 young guys (including Sascha) and that

[PHP-CVS] cvs: php4 /sapi/caudium caudium.c

2001-02-08 Thread David Hedbor
neotron Thu Feb 8 21:32:42 2001 EDT Modified files: /php4/sapi/caudium caudium.c Log: Fixed PHP authentication and some other minor things. Index: php4/sapi/caudium/caudium.c diff -u php4/sapi/caudium/caudium.c:1.8 php4/sapi/caudium/caudium.c:1.9 --- php4/sap

[PHP] looping variables

2001-02-08 Thread Wen Ni Leong
Please help me to solve this problem. I have looping selected menu and I want to use javascript to control each function. For example if select Text Form,the javascript will automate to open new window. Right now my problem is I can't differentiate from which menu or location I had selected beca

Re: [PHP] UN-Escaping text from a form submit?

2001-02-08 Thread Ankur Verma
there are two ways of achieving thi - stripslashes($data) or if you want this to be global, then set magic_quotes_gpc = Off in php.ini file hope that helps regards Ankur Verma > - Original Message - > From: "John Vanderbeck" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: T

Re: [PHP] PHP File Uplaod Path

2001-02-08 Thread Ankur Verma
The default file upload path is the Temporary directory of your system. But the problem that I percieve in your case is that when PHP uploads the file, it gives it a temporary file name ( such as /tmp/shsgtW ). if you are loooking to store the files in an intelligent manner, I would suggest that

[PHP] PHP support for hexadecimal

2001-02-08 Thread Michael
Hi, I have a question about PHP's support for unsigned integers. I was trying out the following code fragment $val = 0x8000; $hexval_str = sprintf("%X", $val); echo $hexval_str; result= -8000 It seems here that I can not represent $val as an unsigned integer. Since settype does not

Re: [PHP] PEAR

2001-02-08 Thread Dean Hall
> Can anyone point me in the direction of a good site documenting PEAR? There is none. Although you should look at . Also see . Also check out the stuff in the pear directory of the source installation. Dean. -- PHP General Mailing

Re: [PHP] Converting CFML to PHP

2001-02-08 Thread Dean Hall
Seeing as how CFML is just more markup and PHP is an embedded language, your task will be interesting. IMHO, CFML is the worst thing out; it's not a real scripting language, and it blurs the distinction between markup and logic. Sorry I couldn't help. (Just wanted to voice my opinion -- no flameb

Re: [PHP] include("blah.php?var=this"); doesn't work?!

2001-02-08 Thread Dean Hall
> Uh, why? Adding ?asin$asin makes absolutely no sense in an include since > included files share the same namespace as the parent file. You can > simply do: Er, Rasmus. Do you mean "scope"? You're usually right on target with your comments, so I'm sure that's what you meant :-) Speaking o

Re: [PHP] Super SQL problem! Please advise!

2001-02-08 Thread Graham Reeves
Sandeep try this SELECT d.id, d.thedate, d.topic, d.entry, count(c.id) AS comments FROM diary d left outer join comments c on (d.id = c.id) WHERE d.month='$month' GROUP BY c.id ORDER BY d.id DESC " Cheers _ Graham Reeves Consultant PQ Africa - Q Data C

[PHP] looking for a class to replace our own tags with it's HTML equivalent

2001-02-08 Thread Maxim Maletsky
Hi, I refer to: http://forums.devshed.com/index.php?action=bbcode Do you guys know who has written something like that before? I am looking for a class that could do that kind of job. What I am trying to do is to parse articles replac

Re: [PHP] echo vs print

2001-02-08 Thread Philip Olson
On Thu, 8 Feb 2001, Todd Cary wrote: > I have "Profession PHP Programming" and I see that echo() and print() > are used alomst interchangeably. When should each one be used? What is the difference between echo and print ? ---

[PHP] Raspuns: [PHP] Cron + PHP

2001-02-08 Thread Ovidiu EFTIMIE
0 20 * * * lynx -dump http://localhost/file.php every day at 20:00 this file will be executed Ovidiu -Mesaj original- De la: GAYTAN BAHAMONDEZ DANIEL EDUARDO [mailto:[EMAIL PROTECTED]] Trimis: Friday, February 09, 2001 12:37 AM Catre: [EMAIL PROTECTED] Subiect: [PHP] Cron + PHP How ca

RE: [PHP] Web Based Project Management Tools

2001-02-08 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] Raspuns: [PHP] indexing text

2001-02-08 Thread Ovidiu EFTIMIE
Try here http://www.searchtools.com/tools/tools-unix.html Ovidiu -Mesaj original- De la: Robert Mena [mailto:[EMAIL PROTECTED]] Trimis: Friday, February 09, 2001 4:35 AM Catre: php mailing list Subiect: [PHP] indexing text Hi, i am trying to store some digital books under mysql and giv

Re: [PHP] looping variables

2001-02-08 Thread Michael Dearman
Hey Wen, Had me going there for a bit, cause I had just put down a book on C, where variables are not preceded by such things as $. But for PHP, your missing a few $'s on your variables. And, your taking care of matching that javascript opening tag from where your calling this function? MD Wen

[PHP] RE: Wierd OCI Problem... [Urgent, and please help]

2001-02-08 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] test

2001-02-08 Thread Plamen Slavov
test -- 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]

<    1   2   3