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

2001-01-25 Thread Rasmus Lerdorf
rasmus Thu Jan 25 17:42:59 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: doc account for Clemens Gutweiler Index: CVSROOT/avail diff -u CVSROOT/avail:1.55 CVSROOT/avail:1.56 --- CVSROOT/avail:1.55 Wed Jan 24 11:54:47 2001 +++ CVS

RE: [PHP] password protection

2001-01-25 Thread James Atkinson
The only way to keep a password secure between the client and server is to use a Secure Socket Layer (SSL) to create an encrypted channel of communication between the client and server. You can see this in practice over at Sourceforge.net. They use PHP over an SSL connection to handle user logins.

Re: [PHP] Search for the documentation

2001-01-25 Thread Brian Clark
Hello Philip, (PO == "Philip Olson") [EMAIL PROTECTED] forecasted: PO> http://www.php.net/tips.php PO> it will turn your browser into a search machine. Even better, for people who use EditPlus (sorry, unsure about other editors) you can do this with just one shortcut from within EditPlus its

[PHP] password protection

2001-01-25 Thread Bill Rausch
Hi all, This isn't strictly a PHP issue but is quite related. Given that you have a PHP-driven web site with user authorization and session identifiers etc., what can you do to prevent electronic "snooping" of the clear text password that is passed from the browser to the server? When filling o

[PHP] session without cookies

2001-01-25 Thread tassilo
hi.. i use the session-functions with php4 and everything works fine. but if a visitor turns off cookies nothing seems to work.. is there a way to support a sessionid with cookies and thru the url ? thanks markus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[PHP] APC patch (PHPLIB support?)

2001-01-25 Thread Daniel Cowgill
George and I have identified and fixed a bug involving class member data initialization. This seems to fix session support in PHPLIB, and possibly other related problems as well. A simple example of offending code: class Foo { var $x = array("b" => "c"); var $y = array("a");

Re: [PHP] Ver 3 vs. Ver 4

2001-01-25 Thread Zeev Suraski
At 01:36 26/1/2001, Karl J. Stubsjoen wrote: >Hello, > >Does Version 4 support either { } "squiglees" or [ ] "brackets" in this >code: > >if($retrn{strlen($retrn)-1} == '&') >-or- >if($retrn[strlen($retrn)-1] == '&') Yes. This is a 4.x feature only. The idea is that in the long run, [] will no

Re: [PHP] Greek PHP mailing list

2001-01-25 Thread Stephan Ahonen
> Ah now, but who would use a HP, when you've got your trusty TI? :-) Yup, especially since all the games are on the TI, though they're pretty scarce for the 89, my personal preference, since they're more expensive, so fewer people have them. The options: Get a graph-link cable (which I can't fi

Re: [PHP] CGI and PHP

2001-01-25 Thread John Meredith
One of exec, system or backtick (ie. `) functions will do it for you. - John On Fri, Jan 26, 2001 at 12:14:47PM +1300, Dave Stewart wrote: > Hi, > > I have this line in my shtml pages... > > > > How do I write this as a function to include in my .php files. > > (I've looked up virtual ()

[PHP] Ver 3 vs. Ver 4

2001-01-25 Thread Karl J. Stubsjoen
Hello, Does Version 4 support either { } "squiglees" or [ ] "brackets" in this code: if($retrn{strlen($retrn)-1} == '&') -or- if($retrn[strlen($retrn)-1] == '&') I am developing on ver 3.0 and the { } don't work in the above, but the brackets do. Karl -- PHP General Mailing List (http://www

[PHP] exec() bug?

2001-01-25 Thread Dustin Butler
Hi, Can someone confirm this behavior on their system. I've tried it on 4.0.2 and 4.03pl1, both on Linux boxes, both with the same results. echo "One Character: " . exec("echo 't'",$tmp) . "\n"; echo "One Character: " . $tmp[0] . "\n"; echo "Two Characters: " . exec("echo 'te'",$tmp) . "\n"; My

Re: [PHP] Post without submit?

2001-01-25 Thread Remco Chang
there is some code at the PHP code exchange that allows you to do http post with only PHP (not using java script)... it might not do exactly what you have in mind, but it's an interesting alternative. remco chang www.bountyquest.com - Original Message - From: "Richard S. Crawford" <[EM

Re: [PHP] Post without submit?

2001-01-25 Thread Richard S. Crawford
Sorry, just to be a bit clearer... Suppose you wanted to associate it with a link, you could do something like the following: click here to submit Hope that helps. At 03:22 PM 1/25/01 -0800, Richard S. Crawford wrote: >Without knowing exactly what you want to do, I would try something like

RE: [PHP] Post without submit?

2001-01-25 Thread DanO
yes, with javascript: function sendIt(form) { form.submit(); return true; } function startIt() { setTimeout('sendIt(document.formName)',3000); } timeout is in milliseconds. you could alternately pass document.formName directly to sendIt. HTH, DanO > -Original Message- > From:

Re: [PHP] Post without submit?

2001-01-25 Thread Richard S. Crawford
Without knowing exactly what you want to do, I would try something like the following in JavaScript: function doSubmit() { document.form.submit() } Then associate the function with any sort of desired event. In a project of mine, I have it attached to a keypress function so that the

[PHP] Post without submit?

2001-01-25 Thread Chris
is there anyway to post without clicking a submit button?

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
Oops! Copied the numbers wrong. Here's are the numbers I meant to type: R> $onum output R> 4.166 4.12 4.1166 4.12 R> 4.135 4.11 4.1135 4.11 R> 4.000 4 R> 4.30004.3 R> Is that what you wanted? To me, it's much easier to code and use R> than reg expressions an

Re: [PHP] edit plus

2001-01-25 Thread Dell Coleman
Hi Going to http://www.editplus.com/files/ will give you the index of all the available files. HTH D. Coleman Pat Hanna wrote: > Anyone who uses Edit Plus. Can you send me the php function files and auto > complete file. The edit plus web page has the links but none of them work. > Thanks > Pa

[PHP] memory leak with mcrypt 2.4.5

2001-01-25 Thread Remco Chang
i found out that the mcrypt functions/library leak memory (libmcrypt 2.4.5) with PHP 4.0.2 (on Solaris 2.6) and Apache 1.3.12 (actually, it's Stronghold 3.0). the function that leaks is mcrypt_generic_init(). the PHP manual states that if you call mcrypt_generic_end (), it will clear up the buff

Re: [PHP] file_exists search the include_path?

2001-01-25 Thread John Donagher
It doesn't. Some of the file-related functions have that capability and some don't. This may be what you're looking for: function file_exists_in_path($file) { foreach(split(':', ini_get('include_path')) as $dir) { if ($dir[sizeof($dir)-1] != '/') {

[PHP] CGI and PHP

2001-01-25 Thread Dave Stewart
Hi, I have this line in my shtml pages... How do I write this as a function to include in my .php files. (I've looked up virtual () in the manual but can't make head nor tail of it). Many thanks, Dave Stewart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

Re: [PHP] edit plus

2001-01-25 Thread Randy
Hello Kristi, Sure, I'm sending them now... Best regards, Randy Thursday, January 25, 2001, 4:56:03 PM, you wrote: KR> Could you email them to me too? :) KR> - Original Message - KR> From: "Randy" <[EMAIL PROTECTED]> KR> To: <[EMAIL PROTECTED]> KR> Sent: Thursday, January 25, 200

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
Hello Ethan, $onum=4.11440; $onum =number_format($onum,2)+0; echo $onum; With this technique, you get the following: $onum output 4.166 4.12 4.135 4.11 4.000 4 4.30004.3 Is that what you wanted? To me, it's much easier to code and use than reg expressions and replaces. Bes

[PHP-I18N] Web based Time Sheets for Professionals

2001-01-25 Thread Web Time Sheets
Announcing the eTech Online Time Sheet system for gathering Employee Time over the Internet. Online TimeSheets easily integrate with Payroll, Billing & Project Management. Simplified Time Tracking and Project Management is a click away. http://www.solutioncorp.com/timesheet.shtml Please call

[PHP] Web based Time Sheets for Professionals

2001-01-25 Thread Web Time Sheets
Announcing the eTech Online Time Sheet system for gathering Employee Time over the Internet. Online TimeSheets easily integrate with Payroll, Billing & Project Management. Simplified Time Tracking and Project Management is a click away. http://www.solutioncorp.com/timesheet.shtml Please call

[PHP-CVS] cvs: php3 /functions apache.c

2001-01-25 Thread Derick Rethans
derick Thu Jan 25 14:57:50 2001 EDT Modified files: /php3/functions apache.c Log: Fix for bug #8917 Index: php3/functions/apache.c diff -u php3/functions/apache.c:1.53 php3/functions/apache.c:1.54 --- php3/functions/apache.c:1.53Sun Aug 20 09:22

Re: [PHP] html table

2001-01-25 Thread Randy
I use a slightly different technique... Defined in database or global file: $tblbgcolor1="FF"; $tblbgcolor2="CC"; Program Loop to create the table: $altcolor=$tblbgcolor2; while ($row = mysql_fetch_array($Query)) { if ($altcolor==$tblbgcolor2) $altcolor=$tblb

[PHP] Get rid of da Zero's

2001-01-25 Thread Ethan Nelson
Almost there... actually this creates one problem... It turns 40.00 into 4 It needs to quit shaving zero's when it hits the decimal point. 40.00 into 40 45.50 into 45.5 40.25 into 40.25 Thanks -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote: [ . . . ] > OK, lets see if we can understand what each other is saying (maybe I'm not > getting your point here). > Lets say browser A connects to the apache server, to a page using php code. > Lets say the code is OK (no bugs).

Re: [PHP] edit plus

2001-01-25 Thread Randy
Hello Pat, I've emailed you the files that I use. I've customized them a bit since I downloaded them from editplus.com. Best regards, Randy Thursday, January 25, 2001, 4:02:45 PM, you wrote: PH> Anyone who uses Edit Plus. Can you send me the php function files and auto PH> complete file.

Re: [PHP] Ideas?? (OT- MySQL)

2001-01-25 Thread Randy
You will probably be much happier in the future if you make a one-to-many setup rather than a many-to-many. As Mathew said, create your tables with: BID table: bidid, projectid, OtherFields PROJECT table: projectid, OtherFields If you are at a project and want to look at bids, just "select * f

[PHP-CVS] cvs: php4 /ext/msql msql.dsp php_msql.c php_msql.h /win32 php_modules.dsw

2001-01-25 Thread Daniel Beulshausen
dbeuThu Jan 25 14:07:31 2001 EDT Added files: /php4/ext/msql msql.dsp Modified files: /php4/ext/msql php_msql.c php_msql.h /php4/win32 php_modules.dsw Log: make msql build under win32 Index: php4/ext/msql/php_msql.c

[PHP] edit plus

2001-01-25 Thread Pat Hanna
Anyone who uses Edit Plus. Can you send me the php function files and auto complete file. The edit plus web page has the links but none of them work. Thanks Pat

[PHP] file_exists search the include_path?

2001-01-25 Thread Dean Hall
I thought I saw in one of the older manuals that there is an optional second parameter to 'file_exists' that will tell it too search the 'include_path' for a file instead of using an absolute path. However, I can't seem to find this documentation any more. Does anyone know if this still works?

Re: [PHP] VAR and variables

2001-01-25 Thread Steve Edberg
At 3:00 PM -0600 1/25/01, Matt wrote: >I have a question that may seem kind of silly, but I'm curious... > >When using PHP why would one use "var" to define a variable as >opposed to just regularly creating it? Because that's the way it is ;). The var is part of the syntax of a class definitio

RE: [PHP] html table

2001-01-25 Thread Brian V Bonini
$color = "tan"; FOR ($i=0 ; $i < $numrows ; $i++) { if ( ($i % 2) == 0 ) { ECHO ("\n"); } else { ECHO ("\n"); } } > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 25, 2001 4:19 PM > To: Mike > Cc: [EMAIL PROTECTED] >

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Rasmus Lerdorf
> Yes, but name me one way that will ensure your code in the manner that Zend > does it, making your code unreadable just pisses the people off who wish to > alter the parts which are intended to be altered. And with Zend, its > possible to write readable code, encode the sensitive parts, and invi

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Dallas Kropka
Yes, but name me one way that will ensure your code in the manner that Zend does it, making your code unreadable just pisses the people off who wish to alter the parts which are intended to be altered. And with Zend, its possible to write readable code, encode the sensitive parts, and invite the o

Re: [PHP] html table

2001-01-25 Thread Rasmus Lerdorf
> How do I get every other column to be a different color (or font ect.)when > I'm populating a table from a db(different field counts all the time) If $i is a counter then $i%2 will alternate between 0 and 1 $i%3 would cycles through 0,1 and 2 -Rasmus -- PHP General Mailing List (http://www

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Dallas Kropka
I haven't read all the posts, but as you stated> Charge $6000 to the big companies, I have no problem with that. I personally would be willing to pay that if web applications was my business. But at the same time, allow those who don't necessarily need to have the encoder but just want some c

[PHP] html table

2001-01-25 Thread Mike
How do I get every other column to be a different color (or font ect.)when I'm populating a table from a db(different field counts all the time) Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
Rasmus Lerdorf wrote: > > You wrote: > > without the Encoder the entire *possibility* of "seriously proprietary > > kickass scripts" that people distribute and sell is out of the question. > > "out of the question" does not imply this "some people" idea. The above > says that if you wish to ser

[PHP] VAR and variables

2001-01-25 Thread Matt
I have a question that may seem kind of silly, but I'm curious... When using PHP why would one use "var" to define a variable as opposed to just regularly creating it? For example, if I have a class defined as below: class Simple { var $a; function Simple() { $this->a = 5; }

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Rasmus Lerdorf
> I never said that obfuscating the code is a requirement for all people. > I'd like to know where I said that. It's easy to make me sound like an > idiot or worse when you put words in my mouth. I said that for some > people it is. BIG difference. That was not how I understood what you wrote.

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

2001-01-25 Thread Hartmut Holzgraefe
hholzgraThu Jan 25 12:52:53 2001 EDT Modified files: /php4/ext/gdgd.c Log: gd didn't work if no WBMP was available after rev 1.107 -> fixed Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.109 php4/ext/gd/gd.c:1.110 --- php4/ext/gd/gd.c:1.1

Re: [PHP] regular expression help

2001-01-25 Thread Jeff Warrington
In article <005801c08668$e0459070$0201010a@shaggy>, "Jamie Burns" <[EMAIL PROTECTED]> wrote: I tried something like this and your examples worked: $str = ""; if (eregi("=[[:space:]]*\"([^\"]+)|=[[:space:]]*([[:alnum:]]+)",$str,$regs)) { print("yes - ".$regs[1].":".$regs[2]."\n"); } since th

[PHP] number_format() buggy round when usind database resultset

2001-01-25 Thread Lucas Persona
Hi, I'm finding some problems on using number_format($value, $decimal, ",", ".") when I have a value comming from a resultset (database query results)... If I had something like '123.45', using number_format it will return '123,00'. I think this happens because my value is

Re: [PHP] PostgreSQL + PHP + SQL warning messages

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:36, Evelio Martinez escribió: > Hi! > > Is there any way to get the equivalent sqlca.sqlcode value of informix > in PostgreSQL from php ? > > I would like to use the sqlcode to print the messages in Spanish. The problem is that informix puts in an array (sort of) all the inf

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
Rasmus Lerdorf wrote: > > > Well, without the Encoder the entire *possibility* of "seriously proprietary > > kickass scripts" that people distribute and sell is out of the question. > > Let's not go overboard here. You can build and sell serious stuff without > an encoder. Obfuscating the code

Re: [PHP] Enabling track_vars.

2001-01-25 Thread Philip Olson
Here's a tutorial : http://www.oreillynet.com/pub/a/php/2001/01/11/php_admin.html Here's track_vars in the manual : http://www.php.net/manual/en/configuration.php#ini.track-vars So in .htaccess it would be something like : php_flag track_vars 1 To have it off, it would be :

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:49, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: > [ . . . ] > > > Of course. But the persistent connection are not working as the manuals > > say they should work. > > It appears this riddle has been solved: From a post by Ada

[PHP] Fopen

2001-01-25 Thread Nate
Hi there, I am trying to open remotely the file http://www.parentprofiles.com/clicker.php and am useing the code: http://www.parentprofiles.com/clicker.php?profile_id=" . $this->profile_id . "&code=1","r"); echo $fp; ?> to do it. however when I do all I get is a response that say

[PHP] Splitting at word count

2001-01-25 Thread H. Wade Minter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm doing a page where the front page will show "news" stories. What I'd like is if the story is longer than X words/chars/etc, the index page will show the first X words, then a link for the full story. Does anyone have a good idea on how to split

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: [ . . . ] > Of course. But the persistent connection are not working as the manuals say > they should work. It appears this riddle has been solved: From a post by Adam Lang on pgsql-php on Dec 8: Well, there's a problem with

[PHP] Enabling track_vars.

2001-01-25 Thread April
Is it possible to enable track_vars from a .htaccess doc, and does anyone have a link to a good basic (as in, insanely beginner) tutorial to do it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] PostgreSQL + PHP + SQL warning messages

2001-01-25 Thread Evelio Martinez
Hi! Is there any way to get the equivalent sqlca.sqlcode value of informix in PostgreSQL from php ? I would like to use the sqlcode to print the messages in Spanish. Thanks in advance -- Evelio Martínez Testanet. Dept. desarrollo software. Av. Reino de Valencia, 15 - 5 46005 Valencia (Spain)

Re: [PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Monte Ohrt
use Date_Calc. http://www.phpinsider.com/php/code/Date_Calc/ Diego Fulgueira wrote: > > I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of > seconds between that date and the date specified by its parameters. If this > date is before 1/1/1970, it always returns -1, not a

[PHP] mktime() not allowing dates before 1970

2001-01-25 Thread Diego Fulgueira
I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of seconds between that date and the date specified by its parameters. If this date is before 1/1/1970, it always returns -1, not a large negative number, which would be more reasonable, i think. The question is: How can I know

[PHP] Question about dopping zeros

2001-01-25 Thread Ethan Nelson
I need to format decimals that are percise to the second place in the following format: 4.00 to 4 4.50 to 4.5 4.25 to 4.25 As you can see, I just want to drop the trailing zeros, and if necessary the decimal. Thanks ___ Ethan Nelson, Systems Administrator Net So

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 14:34, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: > [ . . . ] > > > No, and thats why in the postgres list we talked about persistent > > connections not having much benefits. That is because the connection is > > persistent to

RE: [PHP] SQL Server DB to mySQL DB

2001-01-25 Thread Jason Bouwmeester
Thanks for the tip. I actually read that the default for mySQL is TAB and LF for delimiters, so I used those in SQL and exported a .txt file, imported it into mySQL database and voila! A few code modifications and we be running on mySQL. Thanks again! Jason -Original Message- From: Chris

[PHP] Password security from PHP to MySQL

2001-01-25 Thread Egan
I know that ~.my.cnf with [client] password={mypass} is the recommended method of securing your MySQL password when using a shell command line to access MySQL. But what is the recommended method for MySQL password security via PHP? Is there some way to make it use the ~.my.cnf file? It se

[PHP] PHP/MYSql equivalent to Hypermail/Monharc?

2001-01-25 Thread Greg Schnippel
Hi, I have been using Hypermail for archiving our mailing lists but I'm becoming and more frustrated with its limitations. Is there an equivalent PHP script to hypermail out there? Ideally, I would like to maintain the incoming e-mail addresses in a mysql database. Thanks, -Greg -- PHP G

php-general Digest 25 Jan 2001 18:46:34 -0000 Issue 476

2001-01-25 Thread php-general-digest-help
php-general Digest 25 Jan 2001 18:46:34 - Issue 476 Topics (messages 36575 through 36680): Re: warning 1 is not mysql result index 36575 by: Jacky.lilst 36585 by: Christopher Allen Re: Ideas?? (OT- MySQL) 36576 by: Matthew Kendall mysql auto increment question

php-general@lists.php.net

2001-01-25 Thread Ethan Nelson
Hello, I've got 4.25, 4.50 and 4.00. I want to format them so that they give back 4.24, 4.5 and 4 I've already seen a pattern replacement that looks close to what I want, but not quite. Thanks ahead of time Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] Anyone who can help me making a loop of this?

2001-01-25 Thread Christian Sakshaug
Anyone who can help me making a loop of this? http://www.sakshaug.net/phps/loop.txt I have tried many things, but I can't get it perfect... Best Regards, Christian Sakshaug -- Email: [EMAIL PROTECTED] Web: www.sakshaug.net Tel: +47 913 95 618 -- PHP General Mailing List (

[PHP] telnet timeout

2001-01-25 Thread Pablo Martin De Natale
Hi, anybody knows where can i change the telnet timeout on a linux red hat 6.2? Thanks Pablo -- 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 PROTEC

RE: [PHP] Search Engine...

2001-01-25 Thread Marko Perich
I am using htdig from htdig.org. It is an external program that executes like a cgi. It is simple, fast and configurable. I recommend it. Hope it helps Marko. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [PHP] [newbie]subtracting date

2001-01-25 Thread Hardy Merrill
For PHP's data and time functions, see this page: http://www.php.net/manual/en/html/ref.datetime.html You didn't mention a database - are you going to be selecting records in a database based on a date? I haven't seen this anywhere in the documentation, but my favorite way of doing date math

[PHP] Read Vs. Include

2001-01-25 Thread Karl J. Stubsjoen
Hello, I want to *read* a file into a page and not process any PHP. I'm just reading an HTML file. I though it was simple, I thought I had it figured out, but now when I try, I get the following error: Fatal error: Call to unsupported or undefined function read() in /var/www/wherever.com/betas

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Rasmus Lerdorf
> Well, without the Encoder the entire *possibility* of "seriously proprietary > kickass scripts" that people distribute and sell is out of the question. Let's not go overboard here. You can build and sell serious stuff without an encoder. Obfuscating the code is not a requirement for all peopl

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-25 Thread Uwe Steinmann
On Wed, Jan 24, 2001 at 11:21:28AM -0600, Dominic wrote: > I have successfully installed pdflib with PHP4.0.4pl1 and all the > necessary components. However, I don't know how to output a generated > pdf to the browser without writing it to disk first and then reading it > in. Below are the example

Re: [PHP] Search Engine...

2001-01-25 Thread Jason Jacobs
go to www.devshed.com Look in their PHP section, and there should be something there. -j - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 3:47 PM Subject: [PHP] Search Engine... > Hello... > I would like to code a search engine to

[PHP] Search Engine...

2001-01-25 Thread php4
Hello... I would like to code a search engine to use just inside my home page...Anyone has an idea where can I find informations about how is the process to code a search engine with PHP?? Thank you Felipe Lopes MailBR - O e-mail do Brasil -- http://www.mailbr.com.br Faça já o seu. É gra

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Winstead
please, please take this discussion elsewhere. if you have questions for the zend guys about their pricing and want to lecture them on what you think the right pricing is, there are a number of message boards on their site that are more suitable. if you want to explore alternatives to the zend c

[PHP] I still don't get it

2001-01-25 Thread Carsten Gehling
I've brought this up in reference to other questions but haven't got a straight answer. Suppose I've created a session variable: session_register("foo") and receive a posted form with the input field "bar". If register_globals = off, I can only access the form-field like this: $HTTP_POST_VARS["

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Michael A. Peters
My question is- Does the encoder license permit a company to purchase the license, and then optionally encode php for third parties? Can I, for example, encode purchase the encoder, and then make a deal with John who can't afford the encoder to encode John's web application for $150 and give J

Re: [PHP] How do I see the data in list()?

2001-01-25 Thread Steve Edberg
At 11:33 AM -0500 1/25/01, Scott Fletcher wrote: >Hi! > > When I use the echo to see what is inside the list(). Instead I got the >message on screen saying "ArrayArray". > > The array are being assigned first then then list come second. ie. > > $test = array(); > $test1 =

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: [ . . . ] > No, and thats why in the postgres list we talked about persistent connections > not having much benefits. That is because the connection is persistent to the > httpd child that called it and not to all. Well, yes, bu

Re: [PHP] Greek PHP mailing list

2001-01-25 Thread Carsten Gehling
From: "Brian White" <[EMAIL PROTECTED]> Sent: Thursday, January 25, 2001 4:55 AM > >At least you're not sitting in high school calculus and actually > >understanding everything on the board, but not being able to use any of it > >because Texas Instruments is the only company that's figured out h

Re: [PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Pavel Jartsev
Jamie wrote: > > ... > > "; > $day = (date ("d")); > $daysinmonth = (date("t")); > for ($i=00;$i<$daysinmonth;$i++){ > if ($i == $day) { >echo("$i\n"); > } else { > echo("$i\n"); >} > } >

[PHP] [newbie]subtracting date

2001-01-25 Thread Matthew Ley
I am working on a project where I need a function that will take the current date and subtract however many days off of it a client specifies. Would anybody know a way I can set this up? I pretty new at this so my vocabulary is very basic. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread szii
You are entirely correct. However, I (personally) feel that by pricing it so high you're targeting a very small niche market at a higher rate. Pricing it in the "$300.00" range would not cost you that niche - but it would gain you the "x-million" users/freelance developers. Sure, $6,000 is 20x

Re: [PHP] date

2001-01-25 Thread Hardy Merrill
[EMAIL PROTECTED] [[EMAIL PROTECTED]] wrote: > Addressed to: "Randy Johnson" <[EMAIL PROTECTED]> > [EMAIL PROTECTED] > > ** Reply to note from "Randy Johnson" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 >11:25:52 -0500 > > > I am wondering if it would be more efficient to store the in

Re: [PHP] how to rename a database

2001-01-25 Thread php3
Addressed to: "Chris Doyle" <[EMAIL PROTECTED]> "Fang Li" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Chris Doyle" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 09:38:55 +1000 To be completely safe: cd /var/mysql# or where ever your databases

[PHP] A second question about http File Upload...

2001-01-25 Thread Tim Meader
In my previous message I stated how some uploads were failing past a certain size. What I want to know is, is it possible to force PHP to write the uploaded contents as it receives them, or must they all be written at the end? In other words, does the file you are currently uploading have to c

Re: [PHP] How do I see the data in list()?

2001-01-25 Thread Pavel Jartsev
Scott Fletcher wrote: > > ... > > What are the better way to see the data in the array? > Maybe var_dump(). http://www.php.net/manual/en/function.var-dump.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Jim Jagielski
[EMAIL PROTECTED] wrote: > > But I do know that for $6,000 I sure as hell am not buying it. > Maybe for a couple hundred...but $6,000? No way. I'd have to have > some seriously proprietary kickass scripts that cost me a huge investment > in time/money to develop to blow $6,000 just on keeping p

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
All of them servers give my error 111, not authorised :(. Dead end again :). I have been trying to do sort this out but no luck. Any way Thanks On Thu, 25 Jan 2001, Ernest E Vogelsinger wrote: > At 15:13 25.01.2001, Andy Woolley said: > [snip] > >I kn

[PHP] trouble with updating the id numbers

2001-01-25 Thread Jason Jacobs
Hi all. In the project I'm working on, I've got a table with ids that are written based on how many records are in the table. i.e., the first record has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a web interface, I don't want all these members using phpMyAdmin), the ID'

[PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Jamie
I need to enable a user to insert an 'NEWS' item into a mySQL table one of the definable limits for the user is to be the date that the news is to be displayed. Currently the collum is in a 'date' format and should be stored in a MMDD - being Australian we are used to the exact reverse of that

Re: [PHP] Best way to describe Doc as HTML

2001-01-25 Thread php3
Addressed to: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 08:36:43 -0700 > > Hello, So I think I've found 3 ways to describe the HTML Doc as > "HTML". Which one is the best? > > 1) Via MetT

Re: [PHP] Zend hit (Encoder price)

2001-01-25 Thread szii
IMHO, if you want to sell it then it's your right. You coded it, you own it, you get to sell it. But I do know that for $6,000 I sure as hell am not buying it. Maybe for a couple hundred...but $6,000? No way. I'd have to have some seriously proprietary kickass scripts that cost me a huge inv

[PHP] can't upload files if extension has more than one dot.

2001-01-25 Thread david klein
Hello! I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached

Re: [PHP] date

2001-01-25 Thread php3
Addressed to: "Randy Johnson" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Randy Johnson" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 11:25:52 -0500 > I am wondering if it would be more efficient to store the integer > value that the php function time() returns when a tra

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
On Thu, 25 Jan 2001, Andy Woolley wrote: > Ajdin, > > I know this is a little off topic but for your information 'whois.ripe.net' > provide information for the .ba TLD Ripe has only 10 .ba domains registred in their db :(. It is not up to date. Ajdin > > I too am looking for a database of T

[PHP] How do I see the data in list()?

2001-01-25 Thread Scott Fletcher
Hi! When I use the echo to see what is inside the list(). Instead I got the message on screen saying "ArrayArray". The array are being assigned first then then list come second. ie. $test = array(); $test1 = array() list($test,$test1); --- Whe

[PHP] Urgent answers needed for FILE UPLOAD problem....

2001-01-25 Thread Tim Meader
Hello all. I've spent the past month or two implementing a file upload utility for the web based on PHP's http upload method. It works fine for smaller files, and it's been working fine for files I've tried up to and including 400 megs at a time. The problem I'm having is that we want to roll

[PHP] date

2001-01-25 Thread Randy Johnson
I am wondering if it would be more efficient to store the integer value that the php function time() returns when a transaction is inserted into the database and then when querying the database to get certain transactions just use basic math functions to get the certain transactions. For exampl

Re: [PHP] Zend Debuger

2001-01-25 Thread Jim Jagielski
Andrew Sitnikov wrote: > > Hello php-general, > > I have some problem with Zend debuger: > > debug.php > for ($i=0;$i<10;$i++){ > echo $i."\n"; >} > ?> > What happens if you modify it as: debug.php > Configuration: > Server: Apache1.3.14_Linux2.2

  1   2   >