[PHP] How to str-replace

2001-03-13 Thread Martin Thoma
Hi ! How can I replace a string (like "TABLE") case-insensitive (replace also "table", "Table","tABle"...) ? str_replace is case-sensitive. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Grab and print user IP address

2001-03-13 Thread Dream
thanks! ""Jon Snell"" [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... These are normally already stored as variables in PHP for you. Run the phpinfo(); function and it will display a list of the current variables and values... -Original

[PHP] re: Site

2001-03-13 Thread Darrell Harder
ARRRHHH!!!... talk about crap.. what happened to all the content? -- 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] How to str-replace

2001-03-13 Thread Martin Thoma
I found out to use eregi_replace. Martin Thoma schrieb: Hi ! How can I replace a string (like "TABLE") case-insensitive (replace also "table", "Table","tABle"...) ? str_replace is case-sensitive. Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Replace everything except of...

2001-03-13 Thread Martin Thoma
Hello ! How can I use eregi_replace to replace every "BR" with "", except when it's "BBR" ?? Martin -- 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:

[PHP] Problem with PHP_POST_VARS

2001-03-13 Thread Jean Beney
hello, I transfered a site from PHP3/Apache/SUNOS to PHP4/Apache/Linux RedHat and the php scripts do not work anymore. The problem appears with post variables. withinput type="submit" name="Enregistrer" value="Enregistrer" I doif ($Enregistrer=="Enregistrer") that now never says OK

Re: [PHP] Escape slashes?

2001-03-13 Thread Christian Reiniger
On Monday 12 March 2001 20:27, you wrote: Hi! I am trying to do some fileuploading.. but I am running into a problem with escaping spaces. Basically, I have this directory that includes spaces and I need to be able to change the spaces to "\ " so for example.. my directory is: Fun

Re: [PHP] Get next record

2001-03-13 Thread Christian Reiniger
On Monday 12 March 2001 20:38, you wrote: How can one get the next record to compare two fields... I want to check if the date of the first record matches the date of the next record with the least amount of code... SELECT First.id, Second.id from mytable First, mytable Second WHERE

Re: [PHP] Mailing List

2001-03-13 Thread Peter Sabaini
On Tue, Mar 13, 2001 at 11:06:37AM +1030, David Robley wrote: On Mon, 12 Mar 2001 19:41, Peter Sabaini wrote: On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: Ok, I've tried time and time again to unsubscribe from php.net's

[PHP] TXT files

2001-03-13 Thread Bruno Freire
Hey Everybody! Its me...Bruno From Brazil. Look, How can i read txt files with php Thanks See ya!

RE: [PHP] TXT files

2001-03-13 Thread Dominick Vansevenant
Hi Dokter Nick !! D. -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: dinsdag 13 maart 2001 11:41 To: '[EMAIL PROTECTED]' Subject: [PHP] TXT files Hey Everybody! Its me...Bruno From Brazil. Look, How can i read txt files with php Thanks See ya! --

RE: [PHP] TXT files

2001-03-13 Thread Rudolf Visagie
See fread() under filesystem functions in the php manual at http://www.php.net/manual/en/ Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 12:41 To: '[EMAIL PROTECTED]' Subject: [PHP] TXT files Hey Everybody! Its

[PHP-CVS] cvs: php4 /main reentrancy.c

2001-03-13 Thread Daniel Beulshausen
dbeuTue Mar 13 03:09:37 2001 EDT Modified files: /php4/main reentrancy.c Log: fix bug in php_gmtime_r Index: php4/main/reentrancy.c diff -u php4/main/reentrancy.c:1.25 php4/main/reentrancy.c:1.26 --- php4/main/reentrancy.c:1.25 Sun Feb 25 22:07:31 2001

[PHP] Two Way Encryption

2001-03-13 Thread Joe Njeru
Hi All, I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its one way. Is there one I can use with a key in php? Thanks in advance, Joe Njeru, Nairobi Kenya. "Where the women are beautiful" -- PHP General Mailing List

Re: [PHP] Two Way Encryption

2001-03-13 Thread Mukul Sabharwal
Hey, http://www.devhome.net/php/tutorials/230101.html that's RC4 implementation in PHP. you don't need mcrypt. --- Joe Njeru [EMAIL PROTECTED] wrote: Hi All, I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its

Re: [PHP] Replace everything except of...

2001-03-13 Thread Robin Vickery
"MT" == Martin Thoma [EMAIL PROTECTED] writes: Hello ! How can I use eregi_replace to replace every "BR" with "", except when it's "BBR" ?? You need a lookbehind assertion... $string = preg_replace( '/(?!b)br/i', '', $string ); -robin -- Robin

[PHP-CVS] cvs: php4 /ext/midgard preparser-scanner.l

2001-03-13 Thread David Guerizec
davidg Tue Mar 13 04:19:41 2001 EDT Modified files: /php4/ext/midgard preparser-scanner.l Log: fixed bug http://www.midgard-project.org/bugs/?id=135 Index: php4/ext/midgard/preparser-scanner.l diff -u php4/ext/midgard/preparser-scanner.l:1.6

[PHP] WOW!!! THIS WORKS $$$

2001-03-13 Thread John Riggins (Your friend)
This really is worth your valuable time, so... PLEASE PRINT THIS NOW FOR READING AT YOUR LEISURE, YOU WILL NOT REGRET IT. ++ Dear Friend, You can earn $50,000 or more in next the 90 days sending E- mail. Seem impossible? Read on for details. Is

[PHP] Detect if user has changed form data

2001-03-13 Thread Ide, Jim
Is there an easy way to detect if a user has changed the values in the fields of an HTML form? I want to be able to check this during the onUnload event and warn the user that he/she has not clicked the "Save" button to save changes to the form fields. The only way I can see to do this is to

Re: [PHP] Best way to pass SQL TEXT field via a link

2001-03-13 Thread Jason Stechschulte
1) The mySQL text data ($description) won't populate my form. I'm using textarea input, and it just won't accept and display the value of $description. It's empty, and when the form is re-submitted after editing, it empties the $description variable. How are you printing the value? With

Re: [PHP] upload file problems

2001-03-13 Thread Jason Stechschulte
On Mon, Mar 12, 2001 at 10:08:57AM -0800, Jerry Lake wrote: copy($userfile, "/www/workbox/htdocs/audio"); I keep getting the following error. the directory exists and is chmoded to 777, what am I doing wrong ? Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in

[PHP] ANN: OpenLink Press Release

2001-03-13 Thread Andrew Hill
Hi PHPers, OpenLink is pleased to announce the commercial availability of its new version 4.0 high-performance ODBC Drivers for PHP. Features Summary: ODBC 3.5 Compliance JDBC 2.0 Compliance Multithreaded Drivers for ODBC and JDBC Full Scrollable Cursor Model implementation, including Mixed and

[PHP] Variable variables

2001-03-13 Thread John Meyer
Okay, I read about this feature in the php manual. What I can't figure out is why in the world would anybody want to use this feature? Not to start a flame war, just would like an explanation of why this feature is useful. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Variable variables

2001-03-13 Thread Jason Stechschulte
On Tue, Mar 13, 2001 at 06:36:10AM -0700, John Meyer wrote: Okay, I read about this feature in the php manual. What I can't figure out is why in the world would anybody want to use this feature? Not to start a flame war, just would like an explanation of why this feature is useful. I've

Re: [PHP] Oracle error messages

2001-03-13 Thread Hardy Merrill
Rudolf Visagie [[EMAIL PROTECTED]] wrote: Hi All, Does anybody have an idea how to stop the automatic error and warning messages from the Oracle data base being displayed on the screen. I want to do my own error message display but by the time I get the error message using OCIError it was

RE: [PHP] Variable variables

2001-03-13 Thread John Meyer
Okay, that makes a little sense, but isn't there some sort of collection that will do the same thing (coming from vb). -Original Message- From: Jason Stechschulte [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 6:38 AM To: John Meyer Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

[PHP] Dynamic pages

2001-03-13 Thread Jason Mockler
I have some dynamic pages which pull content from a DB using a PHP function. I have just found out that the production server for the project won't allow MySQL/PHP. The editors will need to use the input tool on a test server and then FTP to the production server. What I need to know is

Re: [PHP] Good Free PHP Editor?

2001-03-13 Thread Jens Nedal
About good editors with FTP inbuilt on the Windows side. Most of the FTP features are crap! Completly. The only Editor i know that works good with its inbilt FTP feature is BBEdit, but that again is another platform. BUT if you want a good combination on Windows side you could use Ultraedit and

php-general Digest 13 Mar 2001 13:54:29 -0000 Issue 564

2001-03-13 Thread php-general-digest-help
php-general Digest 13 Mar 2001 13:54:29 - Issue 564 Topics (messages 43594 through 43659): Linux Journal ? 43594 by: Luis Re: Have you ever seen this? 43595 by: Tiki wordwrap() in php4.03pl1 does not work(?) 43596 by: Nicole Lallande 43598 by: Nicole

RE: [PHP] Good Free PHP Editor?

2001-03-13 Thread John Meyer
Actually, I picked up htmlkit when it was mentioned in this group and it's just as good as Visual InterDev, in my opinion. -Original Message- From: Jens Nedal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 6:58 AM To: Angerer, Chad; 'Simon Garner'; Boget, Chris; [EMAIL

RE: [PHP] Good Free PHP Editor?

2001-03-13 Thread Knotek Vlastimil
If you are running under Windows, try HTML-Kit. It's free, and so powerfull. At the following page you can download editor, and a lot of plugins, inlcluding PHP one. http://www.chami.com/html-kit/ http://www.chami.com/html-kit/

Re: [PHP] Quotes in inputfields Reload

2001-03-13 Thread Jens Nedal
Ah yeah, thx everybody That does it and i am a littel pissed since i can go over alllooott of code now to insert that. BATCH here i come! Jens on 12.03.2001 17:49 Uhr, PHPBeginner.com at [EMAIL PROTECTED] wrote: hi Jens, PHP automatically escape the dangerous characters from the user

RE: [PHP] Oracle error messages

2001-03-13 Thread Greig, Euan
To suppress the error messages on a single command, you can put an @ in front of it, eg: @$conn=ora_plogon(... -Original Message- From: Hardy Merrill [mailto:[EMAIL PROTECTED]] Sent: 13 March 2001 13:43 To: Rudolf Visagie Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Oracle error messages

[PHP] Employment Opportunities - UK based.

2001-03-13 Thread Paul Tweedy
My apologies for using the list, but it's the best way to contact the PHP community. We are a successful web agency based in the UK and are looking for talented html and technical developers. Our company 5e, has progressed from two to almost twenty people over the last couple of years, working

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

2001-03-13 Thread Daniel Beulshausen
dbeuTue Mar 13 06:24:26 2001 EDT Modified files: /php4/ext/printer printer.c Log: nuke alot unnecessary globals fetches Index: php4/ext/printer/printer.c diff -u php4/ext/printer/printer.c:1.9 php4/ext/printer/printer.c:1.10 ---

[PHP] include() from one server to another server

2001-03-13 Thread Scott Fletcher
Hi! I tried to use the php code, "include()" to have the ghost server to point to the file in the origial server. And I got the error message instead. Warning: Failed opening 'https://www.whatever.com/DBconn.ini' for inclusion (include_path='.:/usr/local/lib/php.ini') in

RE: [PHP] Detect if user has changed form data

2001-03-13 Thread PHPBeginner.com
no, the JavaScript is the only way to do that. When you close your browser JavaScript is what can do a check, PHP does nothing - it's not in your browser - it's on the server. Plus, with JavaScript this kind of things are much cooler. Sincerely, Maxim Maletsky Founder, Chief Developer

RE: [PHP] Variable variables

2001-03-13 Thread PHPBeginner.com
Hey, there are also arrays, these can do much more and can be used most of the times you think of var-var solution... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: John

Re: [PHP] include() from one server to another server

2001-03-13 Thread Chris Lee
include_once can handel http connection if --disable-url-fopen-wrapper is not compiled intophp or allow_url_fopen = off in php.ini then you can use http, not https though, secure connections are not supported. also not that when using include() this way that the script is accually executed

[PHP] PHP | MySQL Search

2001-03-13 Thread Andre \Tuin\ Boontjes
Hya'll, I've got a little problem with coding some php/mysql, this is what I have : - Table Search - HouseID | FacilityID | SurroundingID | PriceID | TypeID |

Re: [PHP] update two frames at once?

2001-03-13 Thread Paul
This may work, but it defeats the purpose of frames, which is to reduce reloading time. You would need to point to the frameset page, and have variables passed into each frame: html head title(your title)/title /head frameset rows="45%,55%" frameborder="NO" border="0" framespacing="0" cols="*"

Re: [PHP] TXT files

2001-03-13 Thread Rick St Jean
include() require() readfile or fopen the file and use fgets to read. Rick At 07:41 AM 3/13/01 -0300, Bruno Freire wrote: Hey Everybody! Its me...Bruno From Brazil. Look, How can i read txt files with php Thanks See ya! ## #

Re: [PHP] $HTTP_POST_VARS

2001-03-13 Thread David Minor
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 happening. What I have is a radio button list all named="update" each with it's own value (ie. 2,3,4,5,etc.). The form is self-submitting and tests on 'update'

[PHP] Web Page/MySql

2001-03-13 Thread Mike
I have a Mysql Database on a web site.On very large record retrieval I want to split the recorset so there is "Page 1, Page 2"links at the bottom.This is the only part I dont have.Any Suggestions? Thank Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Oracle error messages

2001-03-13 Thread Rudolf Visagie
Thanks guys, In the meantime I also discovered that setting the error reporting level works, e.g. in // redefine the user error constants define (FATAL,E_USER_ERROR); define (ERROR,E_USER_WARNING); define (WARNING,E_USER_NOTICE); // set the error reporting level for this script error_reporting

Re: [PHP] Web Page/MySql

2001-03-13 Thread Fredrik Wahlberg
Read this (http://www.phpbuilder.com/columns/rod2221.php3) article over at phpbuilder which covers exactly that. /Fredrik Ursprungligt meddelande Mike [EMAIL PROTECTED] skrev 2001-03-13, kl. 16:52:00 angende mnet [PHP] Web Page/MySql: I have a Mysql Database on a web site.On very

Re: [PHP] Two Way Encryption

2001-03-13 Thread Chris Adams
On 13 Mar 2001 03:40:30 -0800, Joe Njeru [EMAIL PROTECTED] wrote: I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its one way. Is there one I can use with a key in php? Check out the mcrypt extension for conventional

[PHP] PHP.Net India

2001-03-13 Thread Mukul Sabharwal
Hi, Well this is the second time I've made such an announcement. I was wondering if some individuals or groups would be interested in mirroring PHP.net for indian programmers, so that downloads are faster ? If not a complete mirror, atleast manuals, and binaries, and tars. thanks,

Re: [PHP] Web Page/MySql

2001-03-13 Thread Chris Lee
simple example ?php $database_db = 'bookmarks'; include_once('database_class.egn'); $HOW_MANY = 10; if (!isset($pos)) $pos = 0; $pos_prev = $pos - $HOW_MANY; $pos_next = $pos + $HOW_MANY; $product_count = $database-count('site', ''); $result = $database-select_array('', 'site',

[PHP] Getting path of script

2001-03-13 Thread Jordan Elver
Hi, I want to get the path of a script. I know about HTTP_SERVER_VARS["SCRIPT_FILENAME"] this returns someting like: /phpcode/misc/phpinfo.php But I want to strip off the file name and just have the directory path, like: /phpcode/misc/ Any ideas? Jord -- PHP General Mailing List

[PHP] Changing Directory rights with chgrp or exec(chown)

2001-03-13 Thread Dominique Paquin
Hi all, Is it possible to change the group rights on a directory like this? chgrp("/home/www/host/sitedir.com", "site1.com"); It doesn't work for me and i have tried this: exec(chown apache:site1.com /home/www/host/sitedir.com") Where sitedir.com is the directory i wish to be affected and

[PHP] RE:Two Way Encryption

2001-03-13 Thread Dennis Gearon
I would look at 'TINY', very powerful, very fast (the processor in your watch can do it), and open and free. snip I'm looking for a two way encryption function that I can use to encrypt a cookie value. I have had experience with MD5 but its one way. Is there one I can use with a key in php?

[PHP] DICKHEAD multi level marketers

2001-03-13 Thread Dennis Gearon
Anyone care to write me in private about how to trace where stuff like this REALLY comes from, i.e. the correct mail server, mailbox? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Good Free PHP Editor?

2001-03-13 Thread Dennis Gearon
I have tried many editors on windblows for php. UltraEdit-32 is good, but it doesn't show the whole filename, just the msdos version of the filename. Hard to hunt for files that have same name almost. So I didn't bother with it after that. I use EditPlus-2. Has built in FTP. Almost beyond

[PHP] Upload user account

2001-03-13 Thread Lasse Laurila
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 world write access to the destination directory (the one I moved the file with move_uploaded_file() function). How should this be done safely? Lasse -- PHP General

[PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 08:23:53 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/main php_version.h Log: Rebranch Index: php4/configure.in diff -u php4/configure.in:1.221 php4/configure.in:1.221.4.1 --- php4/configure.in:1.221

[PHP] Oracle Fulltext indices?

2001-03-13 Thread Jens Kisters
Hi, everybody! Does Oracle offer a feature similar to MySQL's Fulltext-index? -- Gre aus dem schnen Kleve Jens Kisters rosomm et partner Agentur fr neue Medien GmbH Dienstleistungszentrum am Weien Tor - Eingang B Gocher Landstrasse 2 47551 Kleve / Bedburg-Hau Telefon: 02821 - 97856-20

Re: [PHP] DICKHEAD multi level marketers

2001-03-13 Thread Ashley M. Kirchner
Dennis Gearon wrote: Anyone care to write me in private about how to trace where stuff like this REALLY comes from, i.e. the correct mail server, mailbox? www.spamcop.com AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere.

AW: AW: [PHP] Cache Database-driven site

2001-03-13 Thread Joe Maier
Aaron, this is obviously exactly what i need!! Thanks a lot - this saved me days of work! Joe -Ursprungliche Nachricht- Von: Aaron Tuller [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 13. Marz 2001 05:41 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: AW: [PHP] Cache

Re: [PHP] Getting path of script

2001-03-13 Thread Hardy Merrill
How 'bout using a Perl regex with $HTTP_SERVER_VARS["SCRIPT_NAME"] like this: echo "Starting with SCRIPT_NAME=[" . $HTTP_SERVER_VARS["SCRIPT_NAME"] . "]BR"; if (preg_match("/(\S+)\/\S+$/", $HTTP_SERVER_VARS["SCRIPT_NAME"], $matches)) { echo "Found $matches[1]br"; } HTH. --

[PHP] PHPDoc and file with function only

2001-03-13 Thread Remi Ricard
Hi, I'm trying to document a file which include only function and it does not work can you help me on that. The file look like: /** * Small comments * * Bigger comments lkjadfhlkjgaljfdgag ;kajhdflhgdsbf * @module mod1 * @modulegroup mod_group1 */ /** * Small comment for the

Re: [PHP] Getting path of script

2001-03-13 Thread Pierre-Yves Lemaire
check out, dirname() // Returns directory name component of path py - Original Message - From: Hardy Merrill [EMAIL PROTECTED] To: Jordan Elver [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 5:21 PM Subject: Re: [PHP] Getting path of script How 'bout using a

[PHP] selected option values not being captured by form processing software

2001-03-13 Thread Nicole Lallande
Hi, Working on a code that uses a select/option field. All my other fields are passing through to the form processing software just fine. Meloni's PHP Essentials does this funky thing, declaring each function value as selected or not although she shows it with the individual values not with

[PHP] searching over static pages...

2001-03-13 Thread Marcos
hi, i have a mysql table like this: - id | htmlpage (or php) - 3 baco.php 23 help.php 43 admin.html i have been using htdig before i have made those changes. it work really well but know i do not want to receive a

Re: [PHP] selected option values not being captured by form processing software

2001-03-13 Thread Chris Lee
your checking the value every time you loop so that you can see if that value is checked or not. Im sure Ive missunderstood your question... please email. ?php function selected($val_1, $val_2) { if ($val_1 == $val_2) return ' selected '; else return; }

[PHP-CVS] cvs: php4(PHP_4_0_5) / NEWS

2001-03-13 Thread Zeev Suraski
zeevTue Mar 13 08:27:40 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 NEWS Log: Update NEWS for the branch... Index: php4/NEWS diff -u php4/NEWS:1.611 php4/NEWS:1.611.2.1 --- php4/NEWS:1.611 Mon Mar 12 18:09:17 2001 +++ php4/NEWS Tue Mar

[PHP-CVS] cvs: php4 /ext/mssql php_mssql.c php_mssql.h

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 08:33:39 2001 EDT Modified files: /php4/ext/mssql php_mssql.h php_mssql.c Log: Changed email Index: php4/ext/mssql/php_mssql.h diff -u php4/ext/mssql/php_mssql.h:1.11 php4/ext/mssql/php_mssql.h:1.12 --- php4/ext/mssql/php_mssql.h:1.11

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

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 08:39:48 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Fixing compiler warning on win32 Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.89 php4/ext/pcre/php_pcre.c:1.90 --- php4/ext/pcre/php_pcre.c:1.89

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

2001-03-13 Thread Sascha Schumann
sas Tue Mar 13 08:53:35 2001 EDT Modified files: /php4/ext/session mod_files.c session.c Log: Nuke calls to sprintf, snprintf, strcat, strcpy and rely on memcpy and smart_strs. Index: php4/ext/session/mod_files.c diff -u

[PHP] Payflow Pro

2001-03-13 Thread Dan Harrington
Hello, I am using Payflow Pro as a payment processor on RedHat Linux and I need to be able to specify the cert directory so that we can process transactions. I can make things work with a shell script: --- #!/bin/sh PFPRO_CERT_PATH=/usr/local/ssl/certs;export PFPRO_CERT_PATH ./pfpro

[PHP] [?] Call a function with a button/link click?

2001-03-13 Thread John Voth
I am wondering how to call a function simply by clicking a button or a hyperlink? I would like to use this technique to avoid passing things in a link Presently, I use this technique: a href="../php/delete_something.php?tid=$thing_id"Delete/a I would like to clean things up by having one

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

2001-03-13 Thread Sascha Schumann
sas Tue Mar 13 08:58:36 2001 EDT Modified files: /php4/ext/session session.c Log: Replace another sprintf Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.194 php4/ext/session/session.c:1.195 --- php4/ext/session/session.c:1.194

[PHP-CVS] cvs: php4 /ext/yaz php_yaz.c php_yaz.h

2001-03-13 Thread Adam Dickmeiss
dickmeiss Tue Mar 13 09:04:05 2001 EDT Modified files: /php4/ext/yaz php_yaz.c php_yaz.h Log: Added yaz_database. Option bit ExtendedServices set for InitRequest. Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.13

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

2001-03-13 Thread Sascha Schumann
sas Tue Mar 13 09:11:44 2001 EDT Modified files: /php4/ext/session session.c Log: buf is gone. Don't reference it. Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.195 php4/ext/session/session.c:1.196 ---

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

2001-03-13 Thread Aviv Revach
Hey! I have a few questions: 1. How could I get the browser's location bar value (the full path of the file we are dealing with)? I have index.php3 which include's an external php3 script("ext.php3"), and I need the 'ext.php3' script to get the full path of the main file it was

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

2001-03-13 Thread Sascha Schumann
sas Tue Mar 13 09:14:47 2001 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: Replace memcpy and sprintf with smart_strs. Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.38 php4/sapi/thttpd/thttpd.c:1.39 ---

[PHP-CVS] cvs: php4 /pear/Net Dig.php

2001-03-13 Thread Colin Viebrock
cmv Tue Mar 13 09:40:24 2001 EDT Modified files: /php4/pear/Net Dig.php Log: add capability to define server in the constructor Index: php4/pear/Net/Dig.php diff -u php4/pear/Net/Dig.php:1.1 php4/pear/Net/Dig.php:1.2 --- php4/pear/Net/Dig.php:1.1

Re: [PHP] Payflow Pro

2001-03-13 Thread John Donagher
Hi Dan- I'm one of the two guys who wrote the extension. This would seem to be a different SDK than the one we use. Can you point me to (or send me) the one you downloaded? I'm unfamiliar with the VENDOR and PARTNER attributes, and I'm not sure I understand the point behind using your own

[PHP-CVS] cvs: php4 /build rules_pear.mk

2001-03-13 Thread Andrei Zmievski
andrei Tue Mar 13 09:54:38 2001 EDT Modified files: /php4/build rules_pear.mk Log: Remove config.h instead of php_config.h Index: php4/build/rules_pear.mk diff -u php4/build/rules_pear.mk:1.13 php4/build/rules_pear.mk:1.14 --- php4/build/rules_pear.mk:1.13

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell
I believe that he is using the V3 SDK that Verisign just released. I just went through this same thing. The support in PHP 4.0.2+ is for the V2.11 beta SDK. The API in the new V3 sdk is completely different and was unusable with the current PHP implementation (i.e. There is no PNVersion()

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell
I forgot. THe new VENDER and PARTNER are exclusive to the new SDK. The beta V2.11 will still work with the new V3 architecture that Verisign has put in place but it will not utilize the new functionallity. This I have verified with Verisign due to the PHP not supporting the new SDK yet.

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-03-13 Thread Andrei Zmievski
andrei Tue Mar 13 10:11:11 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Adding Jared Skinner to PHP-GTK web. Index: CVSROOT/avail diff -u CVSROOT/avail:1.117 CVSROOT/avail:1.118 --- CVSROOT/avail:1.117 Sun Mar 11 16:30:21 2001

RE: [PHP] Payflow Pro

2001-03-13 Thread Dan Harrington
I removed the PNVersion from the code (by force) and it works nowall I need is to be able to tell it where to find the f73e89fd.0 file (in my ssl certs path) and it should work. Functionally, it seems to work, its just that it can't find that file. -Original Message- From: Robert

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell
I did the same thing (Removed the PNVersion) and Apache seg faulted at weird times. Now I am not a C guru so I might have done something wrong but this solution was not reliable due to our clients utilizing a system that we were not sure was stable. Sincerely, Robert T. Covell President /

RE: [PHP] Payflow Pro

2001-03-13 Thread John Donagher
This is something the extension will probably have to implement. I'm going to have to talk to Verisign; there seems to be a difference between a Signio account and a Verisign account, because there are two different manager interfaces. There is no new SDK available in the Signio interface, so

[PHP-CVS] cvs: CVSROOT / cvsusers

2001-03-13 Thread Andrei Zmievski
andrei Tue Mar 13 10:12:11 2001 EDT Modified files: /CVSROOTcvsusers Log: Whitespace. Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.238 CVSROOT/cvsusers:1.239 --- CVSROOT/cvsusers:1.238 Tue Mar 13 10:11:11 2001 +++ CVSROOT/cvsusersTue Mar

RE: [PHP] Payflow Pro

2001-03-13 Thread Robert Covell
Yea, the old accounts do not have the new SDK. If you want to sign up for a V3 account you can utilize our VeriSign signup sheet at http://www.rolet.com/ecommerce.php3 which has been linked to the new V3 system. I actually just tried it and it seems that they are having a problem at the other

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

2001-03-13 Thread Stanislav Malyshev
stasTue Mar 13 10:39:38 2001 EDT Modified files: /php4/sapi/apache mod_php4.c Log: Fix off-by-one on config values set from Apache config # It didn't really hurt, since the extra character was always \0, # but the phpinfo() display came out ugly.

[PHP] Mysql Show SQL

2001-03-13 Thread Mike
Im trying to use the SHOW syntax and the following code is returning nothing.The Table name is correct and there are records in the table (not that that should matter).I dont get an error. ?php require("Connection.php"); $query="Show Columns from Inventory"; $result= mysql_query($query); while

Re: [PHP] Getting path of script

2001-03-13 Thread Jordan Elver
Hi, Thanks for all the suggestions. I worked out a fix in the meantime: $path = strstr(strrev($SCRIPT_FILENAME), '/'); echo strrev($path); Cheers, Jord On Tuesday 13 March 2001 12:35, you wrote: check out, dirname() // Returns directory name component of path py - Original Message

[PHP] write form data to a text file

2001-03-13 Thread Jerry Lake
How can I write the form data a user fills out and send it to a text file? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Jordan Elver [mailto:[EMAIL PROTECTED]]

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

2001-03-13 Thread Jerry Lake
This goes along with my previous question I don't see a php function to make a file I am trying to use an online form to create an addweb profile.ini file to in turn be emailed to my customer service dept. so they can save the file into the addweb batch directory for an import and autorun thus

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:

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

[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

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

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

[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

  1   2   >