[PHP] Using sessions

2001-03-13 Thread Rosen
Hi, When I use sessions, on the URL row of the browser shows "PHPSESSID=CXXX". Can I hide id ? Thanks, Rosen Marinov -- 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 admi

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Chung Ha-Nyung
> "YO" == Yasuo Ohgaki <[EMAIL PROTECTED]> writes: > As I posted right before, file is created in /tmp. > Franlking speaking, I did not make any change to default settings of php.ini > In other words, > session.save_handler = files > session.save_path=

Re: [PHP] foreach() faster than while()?

2001-03-13 Thread Yasuo Ohgaki
Thank you for your reply, Chris. - Original Message - From: "Chris Adams" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 3:50 PM Subject: Re: [PHP] foreach() faster than while()? > On 13 Mar 2001 18:10:45 -0800, Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > >It s

[PHP-CVS] cvs: php4 /ext/midgard article.c

2001-03-13 Thread Emiliano Heyns
emile Tue Mar 13 23:57:46 2001 EDT Modified files: /php4/ext/midgard article.c Log: Test parameter for existance before use. Index: php4/ext/midgard/article.c diff -u php4/ext/midgard/article.c:1.15 php4/ext/midgard/article.c:1.16 --- php4/ext/midgard/ar

RE: [PHP] Setting up test station on win 95

2001-03-13 Thread Leavell Digital Design
http://sourceforge.net/projects/phptriad/ There is also a tutorial over at phpbuilder.com You can set up different vhosts on your local win machine for each client if the need comes up. Kevin Leavell [EMAIL PROTECTED] P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From: Den

[PHP] Setting up test station on win 95

2001-03-13 Thread Dennis Gearon
Are there binaries around where I could put together: apache MySQL PHP on Win95 to run pages on 'localhost' so I could develop at home? -- Sites by friends of mine: http://www.myhiddentreasures.com/ __

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Yasuo Ohgaki
> As I posted right before, file is created in /tmp. > Franlking speaking, I did not make any change to default settings of php.ini > In other words, > session.save_handler = files > session.save_path= /tmp Then , as I wrote previous mail, you should at least have session data file

RE: [PHP] Multi-Step Script

2001-03-13 Thread Leavell Digital Design
Good point Kevin Leavell [EMAIL PROTECTED] P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From: Jason Murray [mailto:[EMAIL PROTECTED]] ---> Sent: Tuesday, March 13, 2001 11:59 PM ---> To: 'Leavell Digital Design'; [EMAIL PROTECTED] ---> Subject: RE: [PHP] Multi-Step Script

RE: [PHP] Multi-Step Script

2001-03-13 Thread Jason Murray
> if( $submit ){ > print "I love Montana"; > >>>put form #2 in here w/ action = $PHP_SELF make sure you > set $submit2 to > some value > ) > elseif( $submit2 ){ > print "Part two of script"; > } > else{ > >>>put your form in here w/ action= $PHP_SELF > } Actually - do it in the reverse order, be

FW: [PHP] Multi-Step Script

2001-03-13 Thread Leavell Digital Design
use if statements if( $submit ){ print "I love Montana"; >>>put form #2 in here w/ action = $PHP_SELF make sure you set $submit2 to some value ) elseif( $submit2 ){ print "Part two of script"; } else{ >>>put your form in here w/ action= $PHP_SELF } This is a quicky but hopefully you get the idea

RE: [PHP] software localization with PHP

2001-03-13 Thread Leavell Digital Design
You can use constants: in your language file define("HELLO", OLA); in your script which includes the language file you can write $greeting = HELLO . " $first_name"; print $greeting; Kevin Leavell [EMAIL PROTECTED] P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From: Tao

[PHP-CVS] cvs: php4 /ext/hyperwave hw.c

2001-03-13 Thread Uwe Steinmann
steinm Tue Mar 13 22:33:46 2001 EDT Modified files: /php4/ext/hyperwave hw.c Log: -fixed prototype and indention Index: php4/ext/hyperwave/hw.c diff -u php4/ext/hyperwave/hw.c:1.79 php4/ext/hyperwave/hw.c:1.80 --- php4/ext/hyperwave/hw.c:1.79Sun Feb

[PHP] I need the command line...

2001-03-13 Thread Dhaval Desai
Hi! CAn anybody give me the command line of Mysql for doing the following. I want to have three columns id firstname age the id field mu auto_inrement..meaning it should automatically goas 1.2.3.4.5.6 as someone inserts values into firstname and age. Thank You Dhaval Desai ___

Re: [PHP] I need the command line...

2001-03-13 Thread Jack Dempsey
i'm guessing you want a create clause: CREATE TABLE foo ( id INT PRIMARY KEY NOT NULL AUTO_INCREMENT, firstname CHAR(20), age INT); you'll want to tweak this to meet your needs, but it should do the trick... jack Dhaval Desai wrote: > > Hi! > > CAn anybody give me the command line of Mysql fo

Re: [PHP] I need the command line...

2001-03-13 Thread [EMAIL PROTECTED]
select id,firstname,age from (table name); this will do Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Dhaval Desai <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 12:05 AM Subject:

RE: [PHP] Getting name of the main file from external included s

2001-03-13 Thread Don Read
On 12-Mar-01 Aviv Revach wrote: > Hey! > > I already asked this once before, but nobody seems to answer. That's why > I'm re-writing > my question. > > I have a main file named: "main.php3" > It includes an external php3 script named: "ext.php3" > > Inside of the 'ext.php3' script -

Re: [PHP] Server side maps

2001-03-13 Thread David Robley
On Wed, 14 Mar 2001 09:45, Kevin Williams wrote: > > Is it possible to use server side maps with PHP, as you can in CGI ? > > Also is it possible to determine the x & y co-ords of a mouseclick ? > > regards If you are using Apache, have a look at the 'AddHandler imap-file map' which appar

Re: [PHP] Multi-Step Script

2001-03-13 Thread David Robley
On Wed, 14 Mar 2001 15:29, Andrew V. Romero wrote: > Is it possible to use different parts of one php script for multiple > html forms? I am not seeing how people create multiple pages of html > forms with each form importing information from the previous form. > Right now, for each html form pag

Re: [PHP] Multi-Step Script

2001-03-13 Thread Rick St Jean
Use switch with includes for each step. switch() { case 1: include(filestep1.php) break; case 2: include(filestep2.php) break; default: include(form.php) } but this way you can have a hierarchy and possibly run form one section into

Re: [PHP] Search & display *.txt files in dir

2001-03-13 Thread Andrew V. Romero
Wow, that exact question was asked. Sorry everyone. Thanks anyway. David Robley wrote: > On Wed, 14 Mar 2001 15:20, Andrew V. Romero wrote: > > Is there a way to have php display all the .txt files in a directory? > > I checked in the manual but didn't see anything that would seem to help > > m

[PHP] HTML character escape codes from beyond

2001-03-13 Thread Rob Salmond
A curiousity appeared in some code I put together almost six months ago now. The site owner emailed me the output of our script which pulls together a collection of $HTTP_POST_VARS, and emails them off as a plain text document with some other information. Strewn about in one of these emails

[PHP] Multi-Step Script

2001-03-13 Thread Andrew V. Romero
Is it possible to use different parts of one php script for multiple html forms? I am not seeing how people create multiple pages of html forms with each form importing information from the previous form. Right now, for each html form page I have, I create one php script to handle it but it would

Re: [PHP] Search & display *.txt files in dir

2001-03-13 Thread David Robley
On Wed, 14 Mar 2001 15:20, Andrew V. Romero wrote: > Is there a way to have php display all the .txt files in a directory? > I checked in the manual but didn't see anything that would seem to help > me do this. Thanks for any help. Wasn't this already asked and answered today? Anyhow, see the e

[PHP] php call java class to update database

2001-03-13 Thread vvsalon
I want to use php to call a java class to update database. However, seems fail. I have already specified the database driver on the java.class.path in php.ini, and have test the class can work well in dos. Can anyone tell me where is the problem? Thx all -- PHP General Mailing List (http://www.

[PHP] software localization with PHP

2001-03-13 Thread Tao
Hi all, I have a question about localizing PHP scripts. I understand that for basic localization one can have a "strings" file for each language, which contains string variables and values such as: Then, in the scripts just "include" the language file at the beginning and simply call the s

[PHP] Search & display *.txt files in dir

2001-03-13 Thread Andrew V. Romero
Is there a way to have php display all the .txt files in a directory? I checked in the manual but didn't see anything that would seem to help me do this. Thanks for any help. -Andrew V. Romero To reply personally, remove all numbers from my address. -- PHP General Mailing List (http://www

[PHP] Weird problem with Win2k

2001-03-13 Thread Tyler Longren
Hello everybody, I haven't made any changes to my system lately. This box is running Win2k w/ SP1. Whenever I try to run php.exe, I get the following error: Application popup: php.exe - Entry Point Not Found: The procedure entry point ??_U@YAPAXI@Z could not be located in the dynamic link libra

Re: [PHP] $HTTP_POST_VARS

2001-03-13 Thread Dennis Gearon
Check your browser settings, I had this problem when I had the 'check page never' setting selected, and it went away when I set it to 'check every session' >I am having a similar problem as the original poster. In my case, I _want_ >the second sumbission to overwrite the first, but it's not happ

[PHP] Authenticating happening on another box.

2001-03-13 Thread Brad Kittredge
I hope I can pose this question sensibly. I'm working on an application that will supply somewhat sensitive information to users that are authenticated against another server, and I'd like to know how this is possible: The user request a "home" page that will sit on an NT/IIS /ASP server, and th

Re: [PHP] RE:PHP | MySQL Search

2001-03-13 Thread Rick St Jean
If the fields are all integers then it is: >SELECT HouseID FROM Search WHERE CountryID=2 AND PriceID=3 AND (FacilityID=5) Rick At 07:12 PM 3/13/01 -0800, Dennis Gearon wrote: >I never have luck putting single quotes around anything but strings, or >column names when called for. You might try

[PHP] RE:PHP | MySQL Search

2001-03-13 Thread Dennis Gearon
I never have luck putting single quotes around anything but strings, or column names when called for. You might try your SELECT statement without 's >Query 1 : > >(I only want result on houses which are in country 2 and in price 3 and >facility 1 must be included on the spot) > >I've used : >

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Yasuo Ohgaki
SNIP > > YO> You must start session before output anything to browser, or you must use > YO> buffering to do this, > YO> or you must use URL mode for session. > YO> i.e. This code sends "" before starting session and cookie header > YO> must be sent before if session is cookie

Re: [PHP] tutorials on good database design

2001-03-13 Thread Justin French
Jason Murray wrote: > True - I find the best way to explain database design to someone is by > having them design a database (as with someone here last week whom I > helped out with an office sports tipping database as a little how-to-SQL > project) and help them out as they go. First up, thanks

[PHP] foreach() faster than while()?

2001-03-13 Thread Yasuo Ohgaki
It seems foreach() operates much faster than equivalent while() loop. This is result is not what I expect. Foreach() operates on copy of array and I thought it would work a little slower than while(). Anyone has a good explanation why foreach is faster? i.e. What kind of overhead cause this? I'm

Re: [PHP] tutorials on good database design

2001-03-13 Thread Andrew Halliday
It should be just as simple as understanding the following terms and when they should be used: - entity - attribute - relationship - cardinality - first normal form - second normal form - third normal form - fourth normal form - boyce-codd normal form (BCNF) - fifth normal form (could ignore this

RE: [PHP] tutorials on good database design

2001-03-13 Thread Jeff Oien
> I agree - throw us some examples of what you're thinking about, Justin. > > Jason I'm not Justin but I have a question. I would like to write a billing database to keep track of my hours for clients. I would like to keep track of what date I've been paid through and then create a report for

php-general Digest 14 Mar 2001 01:55:58 -0000 Issue 565

2001-03-13 Thread php-general-digest-help
php-general Digest 14 Mar 2001 01:55:58 - Issue 565 Topics (messages 43660 through 43753): Re: Good Free PHP Editor? 43660 by: John Meyer 43661 by: Knotek Vlastimil 43684 by: Dennis Gearon Re: Quotes in inputfields & Reload 43662 by: Jens Nedal Re: Oracle e

Fw: [PHP] tutorials on good database design

2001-03-13 Thread web100.co.uk
I recommend mysql.com , there annotated online manual is the db's :) shame i cant seem to find the annotated php manual !! Neil - Original Message - > From: "Rick St Jean" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]> > Sent: Wednesday, March 14, 2001 2:00

Re: [PHP] tutorials on good database design

2001-03-13 Thread Rick St Jean
One of my co-worker has a phenominal book on sql. You will want something that covers the different type of joins... when to use them, as well as database normalization, reinforcing data integrity with foreign and primary keys. You will also want some transact sql in there and some indexing.

RE: [PHP] tutorials on good database design

2001-03-13 Thread Jason Murray
> H... while there are abstract ideas which are generally useful > and prudent to adhere to, I don't think most people understand them > too well as abstracts and need concrete examples to map them to. > > Hence the employee contact database examples. And simple > shopping cart examples. :

Re: [PHP] tutorials on good database design

2001-03-13 Thread Philip Hallstrom
You could try the book SQL for Smarties by Joe Celko... I'm not through it yet, but it's got some theory (but not enough to make your head hurt) and goes over all the various SQL commands... in the TOC there's stuff on how to implement directed graphs (such as the organizational path from you to t

Re: [PHP] tutorials on good database design

2001-03-13 Thread Jack Dempsey
As usual, O'Reilly did a great job with MySQL/mSQL by Randy Jay Yarger, George Reese and Tim King jack Justin French wrote: > > hi, > > i'm looking for some good tutorials / articles / books on database > design, no, i'm not talking about the classic employee contact database > that nearly ever

Re: [PHP] tutorials on good database design

2001-03-13 Thread Michael Kimsal
H... while there are abstract ideas which are generally useful and prudent to adhere to, I don't think most people understand them too well as abstracts and need concrete examples to map them to. Hence the employee contact database examples. And simple shopping cart examples. :) Do you hav

RE: [PHP] tutorials on good database design

2001-03-13 Thread Jeff Oien
MySQL by Paul DuBois is a very good one. Jeff Oien > hi, > > i'm looking for some good tutorials / articles / books on database > design, no, i'm not talking about the classic employee contact database > that nearly every site has lingering somewhere... i'm after the good stuff: > > smart data

[PHP] tutorials on good database design

2001-03-13 Thread Justin French
hi, i'm looking for some good tutorials / articles / books on database design, no, i'm not talking about the classic employee contact database that nearly every site has lingering somewhere... i'm after the good stuff: smart data design smart data planning unique keys taking advantage of relatio

[PHP] PHP and Oracle Zombie processes

2001-03-13 Thread Bob Kakalec
When I execute an sql statement against my Oracle database from PHP, I create an oracle process. This eventually hits a "number of zombie process" limit and prevents my page from executing. The queries work properly (except for the zombie problem). Here is a sample that creates the zombie pro

[PHP-CVS] cvs: pear /PEAR pear.c php_pear.h

2001-03-13 Thread Stig Bakken
ssb Tue Mar 13 17:04:45 2001 EDT Modified files: /pear/PEAR pear.c php_pear.h Log: * implemented PEAR::isError() Index: pear/PEAR/pear.c diff -u pear/PEAR/pear.c:1.1 pear/PEAR/pear.c:1.2 --- pear/PEAR/pear.c:1.1Mon Mar 12 02:12:57 2001 +++ pear/

[PHP] phpize ??

2001-03-13 Thread py
Hello, I am trying to install apc php cache. When I try to run phpize, I get: unable to find config.m4 make shure you run phpize in the top level directory of the module Can somebody tell me how to run phpize and by the way, what is phpize ?? py -- PHP General Mailing List (http://www.php.n

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Chung Ha-Nyung
My second example program. a.php a.php result is as following. !name| and, /tmp/sess_7d755f490ba4e50da20d7167e2966771 file has only "!name|" without any stuff relating to "test" which I inserted into $HTTP_SESSION_VARS["name"]

[PHP] error on connect

2001-03-13 Thread Peter Houchin
Hiya, I was wondering if some one could shed some light on this error message for me Warning: MySQL Connection Failed: Can't initialize character set 12 (path: default) in /usr/local/apache/vfsa-erentals-temp/login.php on line 25 I can figure out that the connection failed but i don't understand

Re: [PHP] Finding existence of a value in a table

2001-03-13 Thread Michael Kimsal
try select count(fieldvaluein) from FROM TableOfInterest WHERE FieldValueIn=ValueOfInterest You don't need the GROUP if you just want the count - from your post and title, it sounds like you just want to know if a value exists in the table. You don't need to know what the value IS, because you'r

RE: [PHP] need some help..

2001-03-13 Thread Brandon Orther
Why, Don't you use the ftp functions to ftp everything over, instead of reading in all the files. If you can get telnet access you could ftp them straight from your telnet connection. -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 3:56 PM T

Re: [PHP] Finding existence of a value in a table

2001-03-13 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Dennis Gearon) wrote: > I would like to return ONE ROW if possible from a query that would tell > me > whether a value exists in a table. If the query could result in more than one record, but you only want to see one, 'limit 1' is helpful.

[PHP] Finding existence of a value in a table

2001-03-13 Thread Dennis Gearon
I would like to return ONE ROW if possible from a query that would tell me whether a value exists in a table. I've tried: SELECT FieldValueIn, COUNT(*) FROM TableOfInterest WHERE FieldValueIn=ValueOfInterest GROUP BY FieldValueIn; I can't seem to figure out how to test the return results to see

Re: [PHP] replacing a line in a file

2001-03-13 Thread enthalpy
that could work but i dont want to append the new line a the bottom which it looks like thats what your doing. i need to replace the line where it is <-CoreComm-Internet-Services---http://core.com-> (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Syst

RE: [PHP] Getting name of the main file from external included script..

2001-03-13 Thread Johnson, Kirk
Aviv, I'm not quite sure what you are asking. If you are just doing an include() or a require() on a chunk of code, then I think the usual server variables will give you the path of the main file, e.g. $PHP_SELF. If you are doing a *redirect* to a *different page*, then you could look at $HTTP_REF

Re: [PHP] need some help..

2001-03-13 Thread Rick St Jean
Do you have a friend with FTP and DSL??... pull out your drive an go to their place. Rick At 06:31 PM 3/13/01 -0500, [EMAIL PROTECTED] wrote: >Im moving servers within the week.. and I got about 600mbs worth of stuff on >there, and me being on 56K its nearly an impossible tasks. > >I thought

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-13 Thread Chung Ha-Nyung
> "YO" == Yasuo Ohgaki <[EMAIL PROTECTED]> writes: YO> - Original Message - YO> From: "Chung Ha-Nyung" <[EMAIL PROTECTED]> YO> To: <[EMAIL PROTECTED]> YO> Sent: Tuesday, March 13, 2001 3:19 PM YO> Subject: [PHP] [Q] session variables wouldn't keep contents. >

Re: [PHP] replacing a line in a file

2001-03-13 Thread Henrik Hansen
maybe this? while($line = fgets($fp, 1024)) { $line = str_replace("replace_this", "with_this", $line); $content .= $line; } fwrite($fp, $content); -- Henrik Hansen - Original Message - From: "enthalpy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 1

[PHP-CVS] cvs: php4 /ext/zziplib zziplib.c

2001-03-13 Thread Jani Taskinen
sniper Tue Mar 13 15:41:26 2001 EDT Modified files: /php4/ext/zziplib zziplib.c Log: Make phpinfo() output prettier + kill some compile warnings. Index: php4/ext/zziplib/zziplib.c diff -u php4/ext/zziplib/zziplib.c:1.4 php4/ext/zziplib/zziplib.c:1.5 --- p

Re: [PHP] replacing a line in a file

2001-03-13 Thread Aviv Revach
Hey! I didn't try to analyze your code, but why not using the file() function which opens a file and puts it's content into an array. After doing that, you could seek that array line-by-line for "$data[0]:$shadow[1]" and replace it with $data[0]:$data[1]. Since you're dealing with full lines i

[PHP] need some help..

2001-03-13 Thread PeterOblivion
Im moving servers within the week.. and I got about 600mbs worth of stuff on there, and me being on 56K its nearly an impossible tasks. I thought up of a solution, but need to get it implemented. Have a script open a directory and fopen all the files from the remote server and transfer it to m

[PHP] replacing a line in a file

2001-03-13 Thread enthalpy
having problems replacing a line in a file. need to search the whole document for a string and then replace that line with a string. any ideas? this is causing lots of problems now. $fpoint3 = fopen ($testshadow, "r+") or die("couldnt open shadow file again"); $contents = fread ($fpoint3, $s

[PHP-CVS] cvs: php4 / NEWS /ext/standard browscap.c

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 15:20:23 2001 EDT Modified files: /php4 NEWS /php4/ext/standard browscap.c Log: Make get_browser() read its information from $HTTP_SERVER_VARS[] if available Index: php4/NEWS diff -u php4/NEWS:1.611 php4/NEWS:1.612 --- php4/NEW

[PHP] Server side maps

2001-03-13 Thread Kevin Williams
Is it possible to use server side maps with PHP, as you can in CGI ? Also is it possible to determine the x & y co-ords of a mouseclick ? regards

[PHP] Getting name of the main file from external included script..

2001-03-13 Thread Aviv Revach
Hey! I already asked this once before, but nobody seems to answer. That's why I'm re-writing my question. I have a main file named: "main.php3" It includes an external php3 script named: "ext.php3" Inside of the 'ext.php3' script - I need to know the full path of the file which inclu

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell
Dan, The V2.11 SDK that they have is supported by PHP. They (Verisign & PHP developers) actually went to great lengths ensure that it did work by release the beta V2.11. The reason that the SDK your using (V3) does not work with PHP is due to it just being released about 1 1/2 monthes ago. So P

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c php_mysql.h

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 14:52:53 2001 EDT Modified files: /php4/ext/mysql php_mysql.c php_mysql.h Log: Implement mysql_unbuffered_query() - uses mysql_use_result() instead of mysql_store_result() Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_

[PHP-CVS] cvs: php4 /ext/fbsql config.m4

2001-03-13 Thread Jani Taskinen
sniper Tue Mar 13 14:50:02 2001 EDT Modified files: /php4/ext/fbsql config.m4 Log: cleanup. Index: php4/ext/fbsql/config.m4 diff -u php4/ext/fbsql/config.m4:1.3 php4/ext/fbsql/config.m4:1.4 --- php4/ext/fbsql/config.m4:1.3Tue Mar 13 14:44:49 2001 +

Re: [PHP] Upload user account

2001-03-13 Thread Henrik Hansen
- Original Message - From: "Lasse Laurila" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 6:07 PM Subject: [PHP] Upload user account > On what user account are PHP uploads handled? I tested the upload script > from PHP docs and it worked fine only if I gave the

[PHP-CVS] cvs: php4 /ext/fbsql config.m4

2001-03-13 Thread Jason Greene
jason Tue Mar 13 14:44:49 2001 EDT Modified files: /php4/ext/fbsql config.m4 Log: fix broken m4, you should have all checking code withing your withval test -Jason Index: php4/ext/fbsql/config.m4 diff -u php4/ext/fbsql/config.m4:1.2 php4/ext/fbsql

Re: [PHP] fputs?

2001-03-13 Thread enthalpy
figured it out just had to use fread first. $fpoint3 = fopen ($testshadow, "r+") or die("couldnt open shadow file again"); $contents = fread ($fpoint3, $shadowfilesize); fputs ($fpoint3, ereg_replace("$data[0]:$shadow[1]", "$data[0]:$data[1]", $contents)); tho i will say it was a pain in the a

Re: [PHP] Payflow Pro

2001-03-13 Thread Rick St Jean
apparently opayc has Payflow as one of the processors. Both the cheque and the card service. If it changes then you get a new driver. Comes with source code I am sure. Rick At 03:40 PM 3/13/01 -0700, Dan Harrington wrote: >Is anyone on this list using the PayFlow Pro extensions for PHP? >If

Re: [PHP] Seeking for files ending with '.txt' ..

2001-03-13 Thread Henrik Hansen
- Original Message - From: "Aviv Revach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 10:01 PM Subject: [PHP] Seeking for files ending with '.txt' .. > Hey! > > I have a directory that contains many files. Some of these files have a > '.txt' ending. > I would

[PHP] attach file from server to an email

2001-03-13 Thread Jerry Lake
Ok, I created a form handler that writes the .ini file that I need for an auto-import, now what should I look at attach it to an email the file is just ascii text Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.

[PHP] Payflow Pro

2001-03-13 Thread Dan Harrington
Is anyone on this list using the PayFlow Pro extensions for PHP? If so, I would like to know what version of the SDK you are using, and if you have knowledge of anyone at Verisign who deals with PHP. So far, I have only found out that they don't support PHP. Thanks Dan Harrington -- PHP Ge

[PHP-CVS] cvs: php4 /ext/fbsql config.m4

2001-03-13 Thread Jani Taskinen
sniper Tue Mar 13 14:33:53 2001 EDT Modified files: /php4/ext/fbsql config.m4 Log: Extension was enabled by default.. Index: php4/ext/fbsql/config.m4 diff -u php4/ext/fbsql/config.m4:1.1 php4/ext/fbsql/config.m4:1.2 --- php4/ext/fbsql/config.m4:1.1

Re: [PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h

2001-03-13 Thread Jason Greene
Frank, Your config.m4 breaks the build. -Jason - Original Message - From: "Frank M. Kromann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 2:58 PM Subject: [PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h >

[PHP] fputs?

2001-03-13 Thread enthalpy
can you use str_replace or ereg_replace in an fputs statement? something like this fputs("$fpoint2", "str_replace($oldcrypt, $newcrypt, $shadow[2])"); i need to replace a string in a file. the string is in an array tho.. is that why this isnt working? <-CoreComm-Internet-Services---http:

Re: [PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h

2001-03-13 Thread Jason Greene
Frank , Most C compilers do not support // comments, please use /* */ Thanks, -Jason - Original Message - From: "Frank M. Kromann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 2:58 PM Subject: [PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in confi

[PHP-CVS] cvs: php4 /ext/midgard .cvsignore

2001-03-13 Thread Chuck Hagenbuch
chagenbuTue Mar 13 14:09:08 2001 EDT Modified files: /php4/ext/midgard .cvsignore Log: cvs _knows_ to ignore the CVS directory; probably a bunch of these others, also... Index: php4/ext/midgard/.cvsignore diff -u php4/ext/midgard/.cvsignore:1.5 p

Re: [PHP] Session problem

2001-03-13 Thread Jack Dempsey
you're using php for windows, right? well, you try to open /tmp which is a *nix standard directory...i think you can fix that in your php.ini jack Brandon Orther wrote: > > Hello, > > Does anyone know how to fix this error? > > Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR)

[PHP-CVS] cvs: php4 /pear/Experimental/HTML Menu.php

2001-03-13 Thread Ulf Wendel
uw Tue Mar 13 14:03:29 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: API change: replaced getSitemap() with get("sitemap") Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experimental/HTML/Menu.php:1.7 php4/pe

[PHP] Session abuse?

2001-03-13 Thread Soma Interesting
I'm wondering about the limitations of session variables in PHP4 with regards to over-use. For example I've been taking huge advantage of them and would like to store about 14k per session - its actually only three or four variables, but one of them is multiple depth array. Does this seem a r

[PHP] Session problem

2001-03-13 Thread Brandon Orther
Hello, Does anyone know how to fix this error? Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR) failed: m (2) in c:/htdocs/br/br.php on line 2 Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-

[PHP-CVS] cvs: php4 /pear/Experimental/HTML Menu.php

2001-03-13 Thread Ulf Wendel
uw Tue Mar 13 13:49:04 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - fixed a rows bug - removed all \n Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experimental/HTML/Menu.php:1.6 php4/pear/Experimental/

Re: [PHP-CVS] cvs: php4 /pear pear.m4

2001-03-13 Thread Alexander Bokovoy
On Tue, Mar 13, 2001 at 10:45:45PM +0100, Stig Sæther Bakken wrote: > This is not different from the way it works in PHP. The problem is > that if you have an extension that uses "phpize" to make its own > configure script etc, and you want to define your own variables there, > configure will mak

Re: [PHP] Getting location bar and stripping file-ending of a string..

2001-03-13 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Aviv Revach) wrote: > 2. Let's say I have a string such as: > "http://www.blabla.com/dir1/dir2/file.php3", > How can I can strip the file-ending(".php3") out the string? Option 1: parse_url() Option 2: strpos() & str_replace() Option 3: e

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 13:42:43 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Centralize query code Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.74 php4/ext/mysql/php_mysql.c:1.75 --- php4/ext/mysql/php_mysql.c:1.74

Re: [PHP-CVS] cvs: php4 /pear pear.m4

2001-03-13 Thread Stig Sæther Bakken
This is not different from the way it works in PHP. The problem is that if you have an extension that uses "phpize" to make its own configure script etc, and you want to define your own variables there, configure will make a file called "php_config.h". Unless you explicitly put "." in your inclu

Re: [PHP] Maintaining Session State Across Clusters

2001-03-13 Thread Hardy Merrill
How about mounting a shared disk on all 4 webservers, and storing your session files on that? The database option is probably best though. HTH. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com Michael Kimsal [[EMAIL PROTECTED]] wrote: > Use a database to store

Re: [PHP] Maintaining Session State Across Clusters

2001-03-13 Thread Michael Kimsal
Use a database to store the session information. Or store everything in files on one machine and map connections from the other servers to the main one. (I prefer the first method) Martin Cameron wrote: > Does anyone know if it is possible to maintain session state across a > cluster of four

Re: [PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h

2001-03-13 Thread clayton collie
Frank, should modules be using c-style comments as opposed to cpp ? ""Frank M. Kromann"" <[EMAIL PROTECTED]> wrote in message cvsfmk984517128@cvsserver">news:cvsfmk984517128@cvsserver... > fmk Tue Mar 13 12:58:48 2001 EDT > > Added files: > /php4/ext/fbsql .cvsignore config.m4 fbsql.dsp

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 13:13:19 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Use a container struct instead of MYSQL directly Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.73 php4/ext/mysql/php_mysql.c:1.74 --- php4/ext

[PHP] Maintaining Session State Across Clusters

2001-03-13 Thread Martin Cameron
Does anyone know if it is possible to maintain session state across a cluster of four web servers? Regards Martin Cameron -- 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 administr

[PHP-CVS] cvs: php4 /win32 php_modules.dsw

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 13:02:52 2001 EDT Modified files: /php4/win32 php_modules.dsw Log: Adding FrontBase extension to modules Index: php4/win32/php_modules.dsw diff -u php4/win32/php_modules.dsw:1.38 php4/win32/php_modules.dsw:1.39 --- php4/win32/php_modules.dsw:

RE: [PHP] Seeking for files ending with '.txt' ..

2001-03-13 Thread Christian Joergensen
-Original Message- From: Aviv Revach [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Seeking for files ending with '.txt' .. > I have a directory that contains many files. Some of these files have a > '.txt' ending. > I would like to k

[PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 12:58:48 2001 EDT Added files: /php4/ext/fbsql .cvsignore config.m4 fbsql.dsp Makefile.in php_fbsql.c php_fbsql.h Log: Initial check-in of FrontBase extension Index: php4/ext/fbsql/.cvsignore +++ php4/ext/fbs

[PHP] Seeking for files ending with '.txt' ..

2001-03-13 Thread Aviv Revach
Hey! I have a directory that contains many files. Some of these files have a '.txt' ending. I would like to know how could I locate each one of the '.txt' files. For each file I find, I need to do a certain action, and should continue the search. Thank you in advance - Aviv Revach

RE: [PHP] write form data to a text file

2001-03-13 Thread Christian Joergensen
-Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 9:55 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] write form data to a text file > This goes along with my previous question > I don't see a php function to make a file Cut'n'paste from:

  1   2   >