Re: [PHP] Where is php.ini located by default?

2001-04-28 Thread Martin Skjldebrand
idban secandri wrote: On Saturday 28 April 2001 00:37, you wrote: I've built php from a tarball. Now I need to specify a special include path in the php.ini file. But I can't find it. There is a php.in-dist in the build catalog but I can't find a production php.ini anywhere. The docs says

Re: [PHP] undefined symbol: SSL_CTX_set_rsa_callback

2001-04-28 Thread Dean Hall
j2n tech [EMAIL PROTECTED] wrote in message 9cd2bn$55m$[EMAIL PROTECTED]">news:9cd2bn$55m$[EMAIL PROTECTED]... After compiling php404pl1 and Apache 1.3.12: [root@ conf]# ../bin/apachectl restart ../bin/apachectl restart: httpd not running, trying to start Syntax error on line 207 of

[PHP] dynamically adding rows to same form.

2001-04-28 Thread Rahul Bhide
Gurus , Problem : my php form has a 4 text field with one row . I want to put an add another row button at the end of the row such that clicking will bringup the previous row as well as add a new row below it for further input of data . let me know , thanks and regards, ~Rahul -- PHP

[PHP] Re: columns

2001-04-28 Thread Adrian D'Costa
On Sat, 28 Apr 2001, Adrian D'Costa wrote: hi, I have listed the code below. I have the below table: | id | int(11) | | PRI | | auto_increment | | operator | varchar(30) | | | || | email| varchar(35) | YES | | |

Re: [PHP] Where is php.ini located by default?

2001-04-28 Thread idban secandri
On Saturday 28 April 2001 01:23, you wrote: It's /usr/local/lib/php.ini NEW: Unix install paths changed Please note that the PHP 4.0.5 release will have a new set of installation paths for any Unix-like operating systems. The default php.in path is now /usr/local/etc (previously

[PHP] bd access

2001-04-28 Thread Sandro Spadaro
Hi! does anybody of you know like effect a connection to a db access, without use the ODBC? Thank you

[PHP] run du command uder php

2001-04-28 Thread Mark Lo \(3\)
Hi, I would like to know how to run du command under PHP. is this correct ?? exec (du -ks /home/apache,$test[]); echo $test[0]; -- I would like to print out the result in web browser Thank you Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] run du command uder php

2001-04-28 Thread idban secandri
On Saturday 28 April 2001 04:56, you wrote: Hi, I would like to know how to run du command under PHP. is this correct ?? exec (du -ks /home/apache,$test[]); echo $test[0]; -- I would like to print out the result in web browser Thank you Mark u can use backtick, exec(), system(),

[PHP] can someone debug this vote.php script for me?

2001-04-28 Thread Joe Truong
can some one debug this script for me... it say's Warning: Undefined variable: total in PHP_poll.php on line 63 thanxz alot!!! ?php // En: Begin PHP Code /*** ***\ * PHP Poll Version 1.0 * * Copyright 2000 Frederic

Re: [PHP] Where is php.ini located by default?

2001-04-28 Thread Steven Haryanto
btw, i found that the configure option: --with-config-file-path=PATH is slightly misleading, as PATH to usually refers to a file location. moreoever, php does not report if it fails to read a php.ini. perhaps the text should be rewritten as: --with-config-file-path=DIR Steve At

[PHP] Please review our coding standards

2001-04-28 Thread Steven Haryanto
Dear folks, I am composing a coding standards for our team. Bottom line, we are using PEAR, object-oriented programming, extreme programming, and PHPDoc. Below is the draft so far. I'd greatly appreciate it if anybody care to give inputs on the document. Nevertheless, I hope this could be useful

Re: SV: [PHP] PHP Book?

2001-04-28 Thread Christian Reiniger
On Saturday 28 April 2001 00:36, [EMAIL PROTECTED] wrote: IO 340 pages function references (copied from the manual) [2] That is wrong. Leon havent copied 340 pages from the manual. I should know this myself because I have finished the translation into German. Ok, I guess

[PHP] Re: Where is php.ini located by default?

2001-04-28 Thread yanto
i think the easiest way to see php setting is by running info.php script. if it's not on your webserver, just create one php file with content like this : ? echo phpinfo() ?; -toto- idban secandri writes: On Saturday 28 April 2001 01:23, you wrote: It's /usr/local/lib/php.ini NEW:

[PHP] Newbie question - adding vars

2001-04-28 Thread Jamie Saunders
Hi, How do you add text vars together e.g. $varone = hello; $vartwo = world; $varthree = ($varone, $vartwo); Obviously the above example doesn't work so can someone tell me how to do this? Thanks Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- PHP General Mailing

Re: [PHP] Newbie question - adding vars

2001-04-28 Thread Alexander Wagner
Jamie Saunders wrote: How do you add text vars together e.g. $varone = hello; $vartwo = world; $varthree = ($varone, $vartwo); $varthree = $varone . $vartwo; although $varthree = $varone . ' ' . $vartwo; might be more appropriate. regards Wagner -- In place of infinity we usually put

[PHP] Links

2001-04-28 Thread Ben Quinn
Hi all, I've been trying for many hours to find information on this, but not having much luck. What i want to do is have an index.php page, and then each link on that page has a URL like index.php?linkidie. index.php?links etc Can anyone point me in the right direction? -- PHP

php-general Digest 28 Apr 2001 10:54:53 -0000 Issue 654

2001-04-28 Thread php-general-digest-help
php-general Digest 28 Apr 2001 10:54:53 - Issue 654 Topics (messages 50704 through 50746): Re: online site builder 50704 by: Godd Strange Question - Please Read This 50705 by: Chris Anderson 50709 by: Zak Greant Why is this? 50706 by: Manesh Re: line

Re: [PHP] run du command uder php

2001-04-28 Thread John Monfort
you might want to consider add the html PRE tag, to preserve the output format. Something like, exec (du -ks /home/apache,$test[]); echo pre$test[0] /pre; This will display the result in the browser, just as it does in the Unix shell. __John Monfort_

Re: [PHP] Re: Where is php.ini located by default?

2001-04-28 Thread eschmid+sic
On Sat, Apr 28, 2001 at 10:05:45AM +, yanto wrote: i think the easiest way to see php setting is by running info.php script. if it's not on your webserver, just create one php file with content like this : ? echo phpinfo() ?; ?phpinfo()? -Egon -- LinuxTag, Stuttgart, Germany: July

[PHP] Caching Authentification

2001-04-28 Thread Steve Haemelinck
Hi all I use sessions the authenticate users, but I seem to have a problem. This is what happens: 1) A user logs in on PC one with his username and password. (So far so good) 2) Another user logs in with his details on the same computer -- He is logged in with his details but the page displayed

RE: [PHP] Links

2001-04-28 Thread Taylor, Stewart
How about something like. 'start_page.php' Some HTML... A HREF=index.php?action=displayScreen1display screen 1/A A HREF=index.php?action=displayScreen2display screen 2/A More HTML... 'index.php' ?php Some Code switch($action) { case displayScreen1: { include_once

[PHP] localhost with $REMOTE ADDR

2001-04-28 Thread Johannes Rumpf
Hi! I'm writting a PHP script which has to print the IP address of a visitor, I'm using the variable $REMOTE_ADDR. I've seen it working on other servers, but for me it doesn't work, if I visit the script I allways get ip 127.0.0.1 and localhost as a name. The script is on a webserver, not on

[PHP] sorting filenames using opendir and readdir

2001-04-28 Thread Johannes Rumpf
Hi! I wanted to get a txt files in a dircetory, I wrote the script using opendir and readdir functions. But now I would like to sort the files while I read them in. how could I solve this problem? Greetings, Johannes Rumpf -- PHP General Mailing List

RE: [PHP] sorting filenames using opendir and readdir

2001-04-28 Thread Taylor, Stewart
Read them into an array then sort the array. while more files { get file name $arrFilenames[] = $filename; $arrFilenames = array_sort($arrFilenames); } The above sorts the array each time a file is read as you requested, however its more efficient to read them all in then sort while

[PHP] PHP.INI

2001-04-28 Thread Manesh
Do u have to resart ur comp after you change ur PHP.INI -- 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] PHP.INI

2001-04-28 Thread Kath
Not with Linux, in my experience at least. - Kath - Original Message - From: Manesh [EMAIL PROTECTED] To: Taylor, Stewart [EMAIL PROTECTED]; 'Johannes Rumpf' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, April 28, 2001 8:56 AM Subject: [PHP] PHP.INI Do u have to resart ur comp

RE: [PHP] PHP.INI

2001-04-28 Thread PHPBeginner.com
Computer? wow! no, just restart your apache (whatever system you use) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Manesh [mailto:[EMAIL PROTECTED]] Sent: Saturday, April

[PHP] STMP

2001-04-28 Thread Manesh
can someone gimme step by step direction on setting up a STMP server? i have IIS5 -- 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]

[PHP] Secure authentication-Is this good?

2001-04-28 Thread Scott
Can anyone tell me if this example would be considered a secure method for authentication using sessions. The login page is a form to validate the user and begin the session. The second bit of code is at the top of every page to authenticate the user. I can't figure out if this is the best way.

[PHP] Using the php_interbase.dll

2001-04-28 Thread José León Serna
Hello: I'm relatively new to php and I want to use Interbase instead of MySQL. I have found a problem loading the module php_interbase.dll , because it always shows me an error Unable to load dynamic library 'c:/php/extensions/php_interbase.dll' I have modified the extension_dir in the

[PHP] Why I can not make the PHP acitve?

2001-04-28 Thread Xiaoshu Xu
I have install my apache_1.3.17 with php-4.0.4 as the following the steps but I can not make the php active. First I have download apache_1.3.17.tar.gz and php-4.0.4.tar.gz to the same directory. 1 gunzip apache_1.3.17.tar.gz 2 tar xvf apache_1.3.17.tar 3 gunzip php-4.0.4.tar.gz 4

[PHP] grabbing variables from the query string

2001-04-28 Thread Jamie Saunders
Hi, How do you grab variables from a query string in a URL? I've used this with ASP and it would be done as follows: firstName = request.querystring(fName) I've tried different variations of this in my PHP pages but I can't seem to get it to work. I've looked in the PHP manual but can't find

[PHP] mysql_connect() error

2001-04-28 Thread Siim Einfeldt
I get this kind of error when trying to connect to mysql - http://myhost/~myname/baas.php What migth be the problem? The error exists on all accounts. PS: Drop a line to my private email as well

[PHP]OT, but dual-boot operating system question

2001-04-28 Thread Chris Cocuzzo
Hey, completely OT i know... In a few months when I put together for college, I'm considering doing a dual-boot type system, with some windows OS, and also a unix OS. However, I don't know that much about any free unix OS' that are out there. The two I can think of to use would be Solaris and

RE: [PHP] grabbing variables from the query string

2001-04-28 Thread PHPBeginner.com
try: echo $fName; they are loaded in the page automatically. or.. loop HTTP_GET_VAR Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jamie Saunders [mailto:[EMAIL

Re: [PHP] grabbing variables from the query string

2001-04-28 Thread Philip Olson
if register_globals setting is on (in php.ini) then $foo will be available, otherwise use the predefined variable HTTP_GET_VARS : index.php?foo=blah print $foo; print $HTTP_GET_VARS['foo']; http://www.php.net/manual/en/language.variables.predefined.php

[PHP] variables within variables

2001-04-28 Thread Robert Morrissey
Hi, I have a form on one page with a text box called 'emailtext'. This gets passed to a php script that gets info from a database (such as $name, $email, etc) and mails selected email addresses; my problem is this: Say, the form passes $emailtext as Hello $name, how're you?, and this is passed

[PHP] PHP script that creates an SSL connection

2001-04-28 Thread Tom Beidler
Can you create an SSL connection directly through PHP? I'm trying to integrate a form with a payment processing center, Authorize.net and I'm running into a problem. The documentation for what they call ADC Direct Response requires a secure socket which I wrongfully assumed to mean posting from

[PHP] using zip from php4

2001-04-28 Thread Shawn Reed
Hello all, I am attempting to write a script which will compress a group of files on my server into a zip file, and then set a password on the zip file. The code below is what I have come up with: ? $zipfile = popen(zip -eR /tmp/test.zip tf/*, w); fputs($zipfile,

[PHP] How do I call_user_func_array() on 4.0.1pl2 ?

2001-04-28 Thread Jimmy Lantz
Hi, I wonder if there's a way to get the same result as with call_user_func_array()on 4.0.1pl2 . I need to do the following : foreach($formArray as $arrays){ foreach($arrays as $key = $value){ call_user_func_array($key, explode

[PHP] How do I call_user_func_array() on 4.0.1pl2 ?

2001-04-28 Thread Jimmy Lantz
Hi, I wonder if there's a way to get the same result as with call_user_func_array() on 4.0.1pl2 . I need to do the following : foreach($formArray as $arrays){ foreach($arrays as $key = $value){ call_user_func_array($key, explode (,, $value)); //Not working since I

[PHP] integer checking problem from query string

2001-04-28 Thread Jamie Saunders
Hi, I'm submitting a phone number from an HTML form to a PHP page that examines it to see if it's an integer: form.html: html form method=get action=validate.php input type=text name=phonenumber input type=submit /form validate.php: html ?php $phonenumber = trim($phonenumber); if

Re: [PHP] integer checking problem from query string

2001-04-28 Thread Philip Olson
It's a string, not an integer. Try using is_numeric() instead. To see what type it is, do this : echo gettype($phonenumber); // prints string You may want to strip all non-numbers first, just in case they enter : 333-333- Something like : $phonenumber =

[PHP] Problems after reversing a guestbook

2001-04-28 Thread Mogens Nielsen
Hey there! This is my absolutely first time posting in a newsgroup, so be nice please ; ) I've written a guestbook, and in an attempt to get the newest entries first I reversed the guestbook-txt-file. Like so: $tabell = file( gjestebok.txt ); $revtab = array_reverse( $tabell ); $antall = count(

php-general Digest 28 Apr 2001 23:01:02 -0000 Issue 655

2001-04-28 Thread php-general-digest-help
php-general Digest 28 Apr 2001 23:01:02 - Issue 655 Topics (messages 50747 through 50774): Re: run du command uder php 50747 by: John Monfort Re: Where is php.ini located by default? 50748 by: eschmid+sic.s.netic.de Caching Authentification 50749 by: Steve

[PHP] Content_Type is included in uploaded file!

2001-04-28 Thread Siamak Amirghodsi
Hello, When I upload a file with php 4 and apache using the call move_upload_file(-,-); the file gets uploaded, but the file ( which is just a text file ) at the server side contains some extra lines at the top : Content-Type: text/plain

[PHP] php suck

2001-04-28 Thread idban secandri
i found this when surfing this morning http://www.phpsucks.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-mail: [EMAIL PROTECTED]

RE: [PHP] phpsucks.com

2001-04-28 Thread Daevid Vincent
someone has way too much time on their hands... what a dick. -Original Message- From: idban secandri [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 3:54 AM To: [EMAIL PROTECTED] Subject: [PHP] php suck i found this when surfing this morning http://www.phpsucks.net/

RE: [PHP] phpsucks.com

2001-04-28 Thread Jason Lotito
i found this when surfing this morning http://www.phpsucks.net/ -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 5:53 PM someone has way too much time on their hands... what a dick. Mockery is the biggest form of flattery.

Re: [PHP] php suck

2001-04-28 Thread Jack Lauman
After 25 years in the advertising business, I'd say the PHP Group has a hell of a good copyright infringement and defamation case here. The bums are in Manchester, England... Jack idban secandri wrote: i found this when surfing this morning http://www.phpsucks.net/ -- PHP General

Re: [PHP] php suck

2001-04-28 Thread Kath
I would doubt it if they are in America. But they are in England so it is questionable. If they were in America, they are protected by parody laws. AOL tried to shutdown www.aolsucks.com and lost. I think the only thing they were able to do is to stop them from using directly taken AOL

Re: [PHP] php sucks

2001-04-28 Thread Chris Fry
I guess the PHP Group has plenty of witnesses to support their case! Chris Jack Lauman wrote: After 25 years in the advertising business, I'd say the PHP Group has a hell of a good copyright infringement and defamation case here. The bums are in Manchester, England... Jack idban

[PHP] tricky...seek in mysql result set based on text value?

2001-04-28 Thread andrew
hi, this one is stumping me! assuming I return a mysql result set from an SQL query, with multiple rows of: field1, field2, field3 is it possible to use something like mysql_data_seek, but set the pointer based on a specific text value of a field, as opposed to specifying a row number?

[PHP] STMP

2001-04-28 Thread Manesh
Can someone host my STMP server, or can i get a place to get one for free! -- 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]

[PHP] Do You Like This Book?

2001-04-28 Thread Jeff Oien
Has anyone read this new book yet? PHP and MySQL Web Development by Luke Welling, Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1 07-0943347-2161363 Would be interested in hearing opinions. Jeff Oien -- PHP General Mailing List