Re: [PHP] Mailto: tag, how do I insert line breaks..?

2001-01-17 Thread David Bouw
Hi, thanks for the help.. The \r\n trick didn't work.. You can only see this back in the source.. But, the RFC "standard??" trick did work just perfectly.!!! Thanks Ignacio, I don't anything about the RFC.. Probably some standard which describes these special chars..? Will search for it to see i

Re: [PHP] Ethics question...

2001-01-17 Thread Les Neste
At 02:50 AM 1/18/2001 -0500, Egan wrote: >On Thu, 18 Jan 2001 02:45:01 -0500, "Romulo Roberto Pereira" ><[EMAIL PROTECTED]> wrote: > >>Copyright? This do not exist!!! See the case of NAPSTER > >The law is one thing. Whether people obey it or not, is another. I agree. I would also say that the l

Re: [PHP] stripping the keywords from a search engine... again...

2001-01-17 Thread Brian Clark
Hello Dallas, (DK == "Dallas Kropka") [EMAIL PROTECTED] writes: DK> Posted earlier but got no response so here it is again... I gave you a quick explanation of one way to do it earlier, but I know of no tutorials off the top of my head. Here is a lengthy example if you _have_ to see code

[PHP] below10host.com as webhost?

2001-01-17 Thread Jeff Lacy
Hello everyone, I was wondering if anyone had thought/opinions on below10host.com as a web host? I though phpwebhosting.com would be good, but then I read that some people really hated it, so I just wanted to check to make sure this would be okay and nobody had really trouble with it. Thanks,

Re: [PHP] Ethics question...

2001-01-17 Thread Egan
On Thu, 18 Jan 2001 02:45:01 -0500, "Romulo Roberto Pereira" <[EMAIL PROTECTED]> wrote: >Copyright? This do not exist!!! See the case of NAPSTER The law is one thing. Whether people obey it or not, is another. Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] archiving php lists ?

2001-01-17 Thread Hank Leininger
On 2001-01-18, =?iso-8859-1?q?Mukul=20Sabharwal?= <[EMAIL PROTECTED]> wrote: > how do sites like http://marc.theaimsgroup.com, make > mailing list indexes, like even phpbuilder and zend's > site which archive the list. > How do they index all the message ? Well, this is pretty OT, but since my

Re: [PHP] Ethics question...

2001-01-17 Thread Romulo Roberto Pereira
Copyright? This do not exist!!! See the case of NAPSTER... This drive me nuts! Rom - Original Message - From: Egan <[EMAIL PROTECTED]> To: Les Neste <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 2:38 AM Subject: Re: [PHP] Ethics question... On Thu, 18 Jan

Re: [PHP] Ethics question...

2001-01-17 Thread Egan
On Thu, 18 Jan 2001 01:56:18 -0500, Les Neste <[EMAIL PROTECTED]> wrote: >What Egan wrote is very true. I speak with some knowledge -- having >weathered a copyright violation suit based on the action of one of my >employees -- and if you write it (as anything other than an employee) then >you ow

Re: [PHP] fast question about session_start

2001-01-17 Thread Romulo Roberto Pereira
just discover - session by cookie sucks using db session handling it is better! Rom - Original Message - From: Romulo Roberto Pereira <[EMAIL PROTECTED]> To: php-general <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 1:39 AM Subject: [PHP] fast question about session_start He

[PHP] stripping the keywords from a search engine... again...

2001-01-17 Thread Dallas Kropka
Posted earlier but got no response so here it is again... Ok, I need either a tutorial or someone who has done so in the past to tell me how to do this I want to log and reference the key words used to find my site from referring search engines... like so: AltaVista: 211

Re: [PHP] Installing with apache

2001-01-17 Thread Richard Lynch
> ./configure --with-mysql --with_apache=../apache_2.0a9 Don't use relative dir with ./configure. It's not that smart. By Day:|By Night: Don't miss the Zend Web Store's| There's not enough room here... Grand Opening on January 23, 2001! | Start he

Re: [PHP] Ver3.0 Includes

2001-01-17 Thread Richard Lynch
> Are includes supported in ver 3.0? > I'm having troubles with my includes. Here is the include (after this > evening we will ver 4.0): > > include ($DOCUMENT_ROOT . "/gophp/Main.php"); include has been around, like, longer than me :-) By Day:|By Night: Don

Re: [PHP] How to avoid submitting twice?

2001-01-17 Thread Richard Lynch
> Here is the code that i have wrote, which is going > logically some where wrong. It looks to me like you are not checking if they already voted until after you let them vote a second (or third or...) time. Move the check for previous votes to the very top of the script. By Day:

Re: [PHP] determine number of days, hours & minutes between 2 dates

2001-01-17 Thread Richard Lynch
> The subject pretty much explains it all. I have 2 dates (MMDDHHSS > format) and want to determine the number of days, hours, minutes and seconds > left from the later date to the earlier date. I figure I could do all this > using date arithmatic, divide by 60 seconds in a minute, 60 minute

Re: [PHP] PHP connecting to FIlemaker Database

2001-01-17 Thread Richard Lynch
> Has anyone used PHP to connect to a FileMaker database? > > If you have a url to a tutorial please e-mail me. I'm pretty sure somebody posted something about that on the AMP (Apache/MySQL/PHP) mailing list last week or so... I think they got it to work via ODBC... To unsubscribe from this lis

Re: [PHP] calling static class functions using a function variable

2001-01-17 Thread Richard Lynch
> $junk="xml::hi_handler"; > $junk(); > > Fatal error: Call to undefined function: xml::hi_handler() Perhaps this: $j1 = "xml"; $j2 = "hi_handler"; $j1::$j2(); Wait. Are you saying you don't have an instance of an xml object?... I'm surprised you can even call xml::hi_handler() without one in

Re: [PHP] Images ??? ok,but...

2001-01-17 Thread Richard Lynch
>I can see... I mean, the images appears, now, is it possible when uploading images, do a copy to a small file, ie I will have 2 >files for each image, but with different sizes, where the small one is a small size of the original image...confused. This is >because You can create a thumbnail on th

Re: [PHP] session_start() and cache problem ...

2001-01-17 Thread Richard Lynch
> The other website does use session_start(). A "HEAD / HTTP/1.0" gives > I have the extra lines : Expires, Cache-Control, Pragama. > > I would like to get rid of those 3 lines : is it possible and how could > I achieve that ? Probably by sending your own (blank) headers with those names. Th

Re: [PHP] mysql error

2001-01-17 Thread Richard Lynch
> mysql_select_db("jamesmc",$db); > $result = mysql_query("SELECT * FROM comment WHERE pid='$poid' ORDER by > cid desc",$db); > $comm = mysql_fetch_array($result); This is in the FAQ, I think... Better re-read that. Start using or die() a lot: mysql_select_db("jamesmc",

Re: [PHP] How can I "download" information (file) without standard "save as" dialog ??

2001-01-17 Thread Richard Lynch
> "save as" dialog that will come up in all cases (you may have a > workaround this problem). If the dialog is not shown up the > download destination (directory) need to be passed to the server > when the session is initialized so that the web browser knows > where to save the information. Is

Re: [PHP] Forking email out

2001-01-17 Thread Richard Lynch
>Due to the sheer size of my mailing list, it would seems sensible to try streamlining the send -mailing script I run. > >In PERL I think the command to split the sending proccess was "fork", where the script launches a new command allowing >the script to continue on while each person is emailed.

Re: [PHP] Probs with browsecap.ini

2001-01-17 Thread Richard Lynch
> I'm using the function get_browser(), but the whole thing does not seem > to work properly. Please have a look at http://web.flynet.de/info.php > to see what I mean. > > Is there anyone who could tell me what's probably wrong? > > I'm using PHP 4.04, which compiled ok. I seems to find the > br

Re: [PHP] HTTP_POST

2001-01-17 Thread Richard Lynch
> > >For example there will be three rows with different values and each checkbox will have a unique name. >On the next page once a submit button has been pushed I want to do: >sqlExecute( "Select * from SkyDiary where AccNo = (Here I want the value of the checkbox) > >Do I use HTTP_POST_VARS her

RE: [PHP] Ethics question...

2001-01-17 Thread Dallas Kropka
Ok, The ethical question has been pounded to death... So Ill address the issue of the demo if you want a true demo, place a public copy on your own site. Allow the potential users to come in and mess with it. If it is truly good, you'll generate sales just from that... and until the Zend compi

Re: [PHP] Ethics question...

2001-01-17 Thread Les Neste
What Egan wrote is very true. I speak with some knowledge -- having weathered a copyright violation suit based on the action of one of my employees -- and if you write it (as anything other than an employee) then you own it, 'it' being the source code and the program compiled from that source cod

[PHP] HTTP_POST??

2001-01-17 Thread Wade Halsey
Hi I have a while loop which populates rows in a table, in each row is a checkbox which has a unique name: On another page I want to output all the details in a specific table row, how do I check which checkbox has been checked so that specific row can be displayed? Thanks for any help Wa

Re: [PHP] identifying clicked link?

2001-01-17 Thread Angus Mann
At 23:10 17/01/01 -0500, andrew wrote: >How can I pass an anchor tag attribute to a page? >e.g. If I want to echo "1" on page_two: > > >page_one.php contains: > > click All you're doing there is setting the variable id to "1". You're not even printing it. >page_two.php contains: > > > >but page

[PHP] Ms SQL Error with php3.0

2001-01-17 Thread Dhaval Desai
HI! I am switching from MYSQL to MsSql. While I tried making a conection like donw below...I get the following error: Fatal error: Call to unsupported or undefined function mssql_connect() in C:\HTTPD\HTDOCS\mssql.php3 on line 3 I have uncommented the ; in the php3.ini file. I am using Wi

[PHP] fast question about session_start

2001-01-17 Thread Romulo Roberto Pereira
Hello! Two scripts: first.php and second.php I am a little bit confused... since I session_start() in first.php, I will need to session_start() in second.php also? first.php thank you, Rom

[PHP] popen in safe_mode with pipe

2001-01-17 Thread Lic. Rodolfo Gonzalez Gonzalez
Hello, I need to encode some text using GPG in a PHP program. I've a class wich uses popen like this: //--- start --- // parameters to gpg omited... $command = "echo '$text' | gpg "; $fd = popen("$command","r") if (!$fd) { return -2; } $enc = ""; while (!feof($fd)) { $enc .= fgets($fd

Re: [PHP] Ethics question...

2001-01-17 Thread Angus Mann
At 21:24 17/01/01 -0500, Shane McBride wrote: >I have spent a lot of time working on a specific E-Commerce >(shopping-cart) to fill a need for a customer. Now that the project is >complete, I would like to market the product, which is entirely PHP and MySQL. > >My question is: Is it ethical to s

RE: [PHP] preg_replace pain!

2001-01-17 Thread Maxim Maletsky
maybe : $pattern = "/\[b\]([.\n]*)\[\/b\]/Ui";. have you tried it succesfully? P.S: I am not sure that \n in preg is a newline, you could also try this: $pattern = "/\[b\]([.".chr(10).chr(13)."]*)\[\/b\]/Ui";. one of these ... Cheers, Maxim Maletsky -Original Message- From:

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Hrishi
If you're still interested, try cooledit for linux/unix http://cooledit.sourceforge.net/ --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. -- PHP General Mailing List (http://www.php.net/

[PHP] archiving php lists ?

2001-01-17 Thread Mukul Sabharwal
hi, how do sites like http://marc.theaimsgroup.com, make mailing list indexes, like even phpbuilder and zend's site which archive the list. How do they index all the message ? thanks. = To Find Out More About Me : http://mukul.tsx.org/ __ Do

Re: [PHP] APC version 1.0.4 released

2001-01-17 Thread The Doctor
On Wed, Jan 17, 2001 at 07:00:12PM -0500, Daniel Cowgill wrote: > Fixes this time around: > > * class hierarchies more than two levels deep should work now :) > * should compile cleanly under PHP 4.0.2 through 4.0.4pl1 > > Dan > > Where do we get this?? -- PHP General Mailing List (http://

[PHP] Something cool I found in Wired,

2001-01-17 Thread Dallas Kropka
Ok, I know that this is PHP, but I thought that allot of the freelancers out there could find it as appealing as I do. In the current issue of Wired... page 163, there is a new product featured called Groove found at www.groove.net and while only for windows at the moment it allows p

php-general Digest 18 Jan 2001 03:58:48 -0000 Issue 461

2001-01-17 Thread php-general-digest-help
php-general Digest 18 Jan 2001 03:58:48 - Issue 461 Topics (messages 35050 through 35248): Re: XML, what is that supposed to do? 35050 by: Chris Lee Re: How can I get a random number 35051 by: Chris Lee Hello 35052 by: Karl J. Stubsjoen 35053 by: Augusto Ce

Re: [PHP] Session and Cookies

2001-01-17 Thread Brian Clark
Hello Hendry, (HS == "Hendry Sumilo") [EMAIL PROTECTED] writes: HS> Can someone tell me how to use Session Object because when the HS> user login the page I want to store the login,pass,and type_login HS> so that I can pass this throughout the process. I found that i can HS> store that by usin

Re: [PHP] Postgres pconnect

2001-01-17 Thread Brian Clark
Hello Wade, (HWM == "H. Wade Minter") [EMAIL PROTECTED] writes: HWM> So, can I change all of the pg_connect calls to pg_pconnect call HWM> and have the pages use persistent connections, or is there HWM> something more that needs to be done? Yes. AFAIK. -Brian -- The trouble with a lot of self

Re: [PHP] PHP not working on Win95/Apache

2001-01-17 Thread Brian Clark
Hello Phil, (PS == "Phil Scopes") [EMAIL PROTECTED] writes: PS> I am trying to run PHP in Windows '95 with Apache server. I followed all PS> the instructions in the installation doc, including editting the Apache and PS> PHP configuration files, and putting the PHP.INI file in my Windows PS>

Re: [PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-17 Thread Brian Clark
Hello Robert, (R == "Robert") [EMAIL PROTECTED] writes: R> PHP 4.0.5.dev I installed it on my Windows 2000 Pro machine with R> IIS and MySQL and it works like a champ I installed it on my R> Windows NT Server with IIS and MSSQL and it will not read the R> php.ini file I put it in the following

Re: [PHP] Grabbing referring keywords.....

2001-01-17 Thread Brian Clark
Hello Dallas, (DK == "Dallas Kropka") [EMAIL PROTECTED] writes: DK> (Note: I know about using $HTTP_REFERER But how can I take that DK> info and strip it, if that is what I need to do?) I've never done this, but I think the basic idea would be to determine what the query strings of each spide

Re: [PHP] Cookies still store old value(Help!!)

2001-01-17 Thread Brian Clark
Hello Hendry, (HS == "Hendry Sumilo") [EMAIL PROTECTED] writes: HS> When User "A" enter ,the cookies will store User "A" name,when he HS> enters the lecturer page,he will be directed to login page HS> again(because he is not allowed to enter lecturer page) and so do HS> User "B". BUT THE PROBL

Re: [PHP] changed database context message

2001-01-17 Thread Brian Clark
Hello Slappy, (SS == "Slappy Smith") [EMAIL PROTECTED] writes: SS> i am getting this message on top of one of my pages. i have read SS> up on it and everyone says its a warning message but from the SS> things ive seen online no one seems to know how to get rid of it. Something along the lines

Re: [PHP] Apache .htaccess Help (OT)

2001-01-17 Thread Brian Clark
Hello Website4S, (Wac == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes: Wac> Sorry this is off topic but I just can`t find anywhere with Wac> reliable information to help me get my .htaccess working on my Wac> server. I have followed many tutorials and none of them give me a Wac> working passw

Re: [PHP] A little problem

2001-01-17 Thread Brian Clark
Hello Emiliano, (EM == "Emiliano Marmonti") [EMAIL PROTECTED] writes: EM> I have a little problem: Sometimes when you invokes some .php EM> page, appears "could not redefine function...". It looks like a Try: -Brian -- You may be recognized soon. Hide. -- PHP General Mailing List (http

[PHP] preg_replace pain!

2001-01-17 Thread Nicholas Pappas
I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/Ui"; $message = preg_replace($pattern, "\\1", $message); The above works for: [b]bold text[/b] But does not work for: [b]bold text w/

Re: [PHP] identifying clicked link?

2001-01-17 Thread andrew
Phillip, Thanks! This is very helpful! I very much appreciate it. regards, andrew On 1/17/01 11:20 PM, "Philip Olson" <[EMAIL PROTECTED]> wrote: > Andrew, > > Close :-) > > click > > OR to complicate matters, add multiple names/values : > > click > > Where on page_two.php if you h

Re: [PHP] Merging PHPLIB into PEAR

2001-01-17 Thread Philip Olson
A discussion can be seen here : http://marc.theaimsgroup.com/?l=php-pear&m=97975277420628&w=2 Where the pearPosse have been and are discussing the issue. Looks interesting. Philip On Thu, 18 Jan 2001, [EMAIL PROTECTED] wrote: > On Wed, 17 Jan 2001, Alex Black wrote: > > > what are th

RE: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Gerald Buckmaster
James, I too have used various WYSIWYG html coders, and most of the time, I found my self hampered by application limitations. It is a fair way to study code generated...but that method of learning can be dangerous as well. I also find I have quicker response/fixes to bugs in handcode. Now I e

Re: [PHP] Merging PHPLIB into PEAR

2001-01-17 Thread [EMAIL PROTECTED]
On Wed, 17 Jan 2001, Alex Black wrote: > what are the plans in PEAR for dependencies on the pear components? Also what will be the implications for sites/developers already using PHPlib7.2c This move has really got me excited BUT also a bit aprehensive A clarification would be appreciated! C

Re: [PHP] identifying clicked link?

2001-01-17 Thread Philip Olson
Andrew, Close :-) click OR to complicate matters, add multiple names/values : click Where on page_two.php if you had : echo "$id $foo $blah"; Will print the following : 1 stuff shoes Note the ? for first name=value and & for the proceeding ones. Or you may have been tryi

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Stephan Ahonen
> OC12 > 622 Mb > > Monthly Fee > $550,000 > > Setup Fee > call (prolly between 10k and 20k) Hmm, I think my allowance should be able to cover that. It'll really speed up all the instant messaging I do. Sig for a Day Stephan Ahonen, ICQ 491101 "Don't eat that, you'll spoil your dinner. And whi

Re: [PHP] Ethics question...

2001-01-17 Thread Egan
On Wed, 17 Jan 2001 20:59:41 -0600, "Scott Gerhardt" <[EMAIL PROTECTED]> wrote: >If your client paid you to develop the E-Commerce system they would >typically own all rights to it unless otherwise agreed upon. I don't know what country you are speaking of, but in the U.S., that view is a commo

[PHP] identifying clicked link?

2001-01-17 Thread andrew
How can I pass an anchor tag attribute to a page? e.g. If I want to echo "1" on page_two: page_one.php contains: click page_two.php contains: but page_two is coming up blank after a delay... what I am doing wrong? thanks, andrew -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Installing with apache

2001-01-17 Thread Assem Salama
Hello everyone, I just download apache v 2.0a9 and PHP 4.0.4p11. When I tried to follow instructions on installation, it didn't work. I ran cd ../apache_2.0a9 ./configure cd ../php-4.04p11 ./configure --with-mysql --with_apache=../apache_2.0a9 I got the following error Invalid Apache Dire

RE: [PHP] HTML source in Apache error log

2001-01-17 Thread Jason Murray
> Lately I've noticed that my Apache error logs were filled up with HTML > sources. Logs grow rapidly and I have to clean it every once a while. Is > that caused by any particular PHP error? Well, find the page on your server with the HTML that matches what's in the error logs and you should be

Re: [PHP] Ethics question...

2001-01-17 Thread Shane McBride
Wow, I caused quite a debate. And I thought I would get slammed :) BTW - PHP / Apache is going to be up to the client at this point. :) - Shane - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'jeremy brand'" <[EMAIL PROTECTED]>; "Kath" <[EMAIL PROTECTED]> Cc: "'Rasm

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
Well, I can agree with that too.. but something you will always have to give them, something like support/update of the software, allow them to do something they wouldn't like to do without the license etc... It is a VERY HARD thing writing a RIGHT license... we (maybe except you, Rasmus) are

[PHP] HTML source in Apache error log

2001-01-17 Thread Chien-pin Wang
Dear All, Lately I've noticed that my Apache error logs were filled up with HTML sources. Logs grow rapidly and I have to clean it every once a while. Is that caused by any particular PHP error? Normally I should have just one line per error, shouldn't I? Is there a way to trace or turn it off

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
hey, hey ... I wrote "Microsoft" just to tell you how _big_ a customer could be... a simple comparison... no politics here ... :-)) Cheers, Maxim Maletsky -Original Message- From: jeremy brand [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 12:02 PM To: Kath Cc: Maxim Male

RE: [PHP] Ethics question...

2001-01-17 Thread Rasmus Lerdorf
> a customer like Microsoft, Morgan-Stanley, Amazon.com.. yes, but a new > start-up that thinks: "when we'll grow we'll buy something cooler" will > crack your soft down (or will ignore your license) ... I've seen it > happening so many times... So what? They'll do that anyway unless you spend a

Re: [PHP] Ethics question...

2001-01-17 Thread jeremy brand
> Soo true. > > But why would Microsoft be using PHP? =D Why would Microsoft be using Solaris, or Linux even? (hint, the same reason -- their stuff works less good). :) Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jerem

RE: [PHP] Ethics question...

2001-01-17 Thread Scott Gerhardt
Shane, This is highly off-topic but interesting and important enough to answer. It really boils down to who owns the product (intellectual copyright) and what sort of agreement you have with your client (ownership, confidentiality etc.). If your client paid you to develop the E-Commerce system t

Re: [PHP] Ethics question...

2001-01-17 Thread Kath
> a customer like Microsoft, Morgan-Stanley, Amazon.com.. yes, but a new > start-up that thinks: "when we'll grow we'll buy something cooler" will > crack your soft down (or will ignore your license) ... I've seen it > happening so many times... > Soo true. But why would Microsoft be using P

Re: [PHP] Ethics question...

2001-01-17 Thread Rasmus Lerdorf
> > There are no restrictions on that. In fact the license on PHP is > > explicitly not the GPL for this very purpose. > > How does the license of PHP have anything to do whith the code that > Shane has written (unless he is distributing his software with PHP, > much as like an embeded system)?

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
a customer like Microsoft, Morgan-Stanley, Amazon.com.. yes, but a new start-up that thinks: "when we'll grow we'll buy something cooler" will crack your soft down (or will ignore your license) ... I've seen it happening so many times... Cheers, Maxim Maletsky -Original Message- From: Ra

Re: [PHP] Ethics question...

2001-01-17 Thread jeremy brand
> There are no restrictions on that. In fact the license on PHP is > explicitly not the GPL for this very purpose. How does the license of PHP have anything to do whith the code that Shane has written (unless he is distributing his software with PHP, much as like an embeded system)? This hits b

RE: [PHP] phpwebhosting.com

2001-01-17 Thread php3
Addressed to: Jason Murray <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jason Murray <[EMAIL PROTECTED]> Thu, 18 Jan 2001 10:50:24 +1100 > > > But even if they had 100 servers, have you priced an OC-12 lately? > > Actually, isn't it possible / more likely that they'r

Re: [PHP] Ethics question...

2001-01-17 Thread Rasmus Lerdorf
There are no restrictions on that. In fact the license on PHP is explicitly not the GPL for this very purpose. As for restricting the demo. I would suggest restricting it via a license. Any serious customer is not going to violate a license in order to save a couple of hundred bucks. -Rasmus

[PHP] Ethics question...

2001-01-17 Thread Shane McBride
I have spent a lot of time working on a specific E-Commerce (shopping-cart) to fill a need for a customer. Now that the project is complete, I would like to market the product, which is entirely PHP and MySQL. My question is: Is it ethical to sell a product ( at a relatively low-cost) written i

RE: [PHP] Extracting Data from a URL output

2001-01-17 Thread Benjamin Munoz
// get a web page into an array and remove html // file() returns an array, which you can then loop through $fcontents = file ('http://www.php.net'); while (list ($line_num, $line) = each ($fcontents)) { // if preg_match the weather text you are looking for // preg_replace a

RE: [PHP] String to Variable converstion

2001-01-17 Thread Cal Evans
try: http://www.zend.com/manual/function.eval.php Cal http://www.calevans.com -Original Message- From: Paul Cohen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 6:14 PM To: [EMAIL PROTECTED] Subject: [PHP] String to Variable converstion Hello all, I am trying to build a

Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
Opps - Forgot -- dbname.inc just contains the name of the database. In production it also contains the name of the user and the password. Miles At 08:44 PM 01/17/2001 -0400, Miles Thompson wrote: >IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. > >If you want a por

Re: [PHP] How to escape from a function?

2001-01-17 Thread Zenith
Thanks very much.^^ ""Zenith"" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó 942grb$ted$[EMAIL PROTECTED]">news:942grb$ted$[EMAIL PROTECTED]... > ... may be I have use a wrong subject, but I can't think a more suitable one > sorry first! > > say, I have a function like this > function foo() > { > babababa... >

[PHP] Grabbing referring keywords.....

2001-01-17 Thread Dallas Kropka
Ok, I need either a tutorial or someone who has done so in the past to tell me how to do this I want to log and reference the key words used to find my site from referring search engines... like so: AltaVista: 211 3d studio max tutorials 81 body jewelry

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

2001-01-17 Thread Zeev Suraski
zeevWed Jan 17 16:43:25 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Add Alex and Bill to the Java dirs PR: Submitted by: Reviewed by: Obtained from: Index: CVSROOT/avail diff -u CVSROOT/avail:1.44 CVSROOT/avail:1.45 --- CVSROO

[PHP] Extracting Data from a URL output

2001-01-17 Thread Chris Aitken
I have a bit of a question which ive tried to look into, but I cant seem to find the right commands to check into or what the best method of attack it. Basically, I want to grab a URLs data, make the data a string (which im doing with fopen and fread). But now I have the entire html as a strin

Re: [PHP] best user authentication method?

2001-01-17 Thread Miles Thompson
IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. If you want a portable authentication method, I'd recommend authenticating against a list of users/passwords contained in a database. Using MySQL, PostgreSQL or Interbase would keep your database platform neutral, an

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
Yep, that worked a treat thanks. All those danged those brackets are what keep tripping me up. The fog is lifting :-) I'll now go back to lurking and see what else I can learn. Regards, Dave - Original Message - From: Toby Butzon <[EMAIL PROTECTED]> To: Dave Stewart <[EMAIL PROTECTED

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Egan
On Wed, 17 Jan 2001 16:13:26 -0800, Ken <[EMAIL PROTECTED]> wrote: >http://gometanet.com/connect/fiber.htm > >OC12 >622 Mb > >Monthly Fee >$550,000 > >Setup Fee >call (prolly between 10k and 20k) And if you walk in off the street and place an order, expect a much larger deposit than 10k or 20

Re: [PHP] String to Variable converstion

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Paul Cohen wrote: > Hello all, > > I am trying to build an IRR calculator using PHP. The number of cash flow > streams I will have at any time will vary, so I am using a loop to build the > formula. Then I am iterating to solve the equation and output the solution. > > As m

[PHP] String to Variable converstion

2001-01-17 Thread Paul Cohen
Hello all, I am trying to build an IRR calculator using PHP. The number of cash flow streams I will have at any time will vary, so I am using a loop to build the formula. Then I am iterating to solve the equation and output the solution. As most of you know, I am solving the following for r:

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Josh G
Strewth! that's 4g/second at full strength! I'd say that's a fair bit more than all the links out of my whole bloody country! Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering.

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Ken
>> have you priced an OC-12 lately? > No I haven't. Can you enlighten me? I was curious :) http://gometanet.com/connect/fiber.htm OC12 622 Mb Monthly Fee $550,000 Setup Fee call (prolly between 10k and 20k) I'll have to ask my wife first... _Ken At 06:24 PM 1/17/01 -0500, you wrote: >>

[PHP] What's this? (IP-MIB) (IF-MIB)

2001-01-17 Thread Arg
It started showing up at the end of my page after I switched from 4.0.5-dev back to 4.0.4pl1 when 4.0.5-dev wouldn't read the php.ini on my NT Server. Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (no

[PHP] APC version 1.0.4 released

2001-01-17 Thread Daniel Cowgill
Fixes this time around: * class hierarchies more than two levels deep should work now :) * should compile cleanly under PHP 4.0.2 through 4.0.4pl1 Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Egan
On Thu, 18 Jan 2001 10:50:24 +1100, Jason Murray <[EMAIL PROTECTED]> wrote: >> But even if they had 100 servers, have you priced an OC-12 lately? > >Actually, isn't it possible / more likely that they're running one >server cohosted at an ISP with an OC-12 link? Yes. But the few ISPs who actua

RE: [PHP] phpwebhosting.com

2001-01-17 Thread Jason Murray
> But even if they had 100 servers, have you priced an OC-12 lately? Actually, isn't it possible / more likely that they're running one server cohosted at an ISP with an OC-12 link? Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General M

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Egan
On Wed, 17 Jan 2001 18:24:28 -0500, "Leonard T. Harris" <[EMAIL PROTECTED]> wrote: > But even if they had 100 servers, have you priced an OC-12 lately? > >No I haven't. Can you enlighten me? We're on an OC-12 too. But we don't imply that we have it all to ourselves. Very few hosting providers

Re: [PHP] Sub Newbie Question On Error Message - Corrected...

2001-01-17 Thread Romulo Roberto Pereira
I think that the file is always there...It would not be easier to save the current message in a text file and compare it with the new one that fopen is bringing?? Rom - Original Message - From: Toby Butzon <[EMAIL PROTECTED]> To: Dave Stewart <[EMAIL PROTECTED]>; PHP (General) <[EMAIL PRO

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Romulo Roberto Pereira
I think that the file is always there...It would not be easy to sabe the current message in a text file and compare it with the new one that fopen is bringing?? Rom - Original Message - From: Toby Butzon <[EMAIL PROTECTED]> To: Dave Stewart <[EMAIL PROTECTED]>; PHP (General) <[EMAIL PROTE

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Toby Butzon
Take a look at the changes I made to your original post; this assumes that the file isn't there until results are posted - hope that's the case ;) --Toby > http://www.ourheadoffice.co.nz/results/race01.html", "r")) { > $rf = fread($file, 20); > $grab = eregi("(.*)", $rf, $printing); > fclose

[PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
Hi, We have installed PHP pretty much to do one thing, which is to get data from our head office website and place it on our club site. We need to have a message saying something like "The Results are not available until after the event". I can supress the error messages by adding @ before the

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Leonard T. Harris
> But even if they had 100 servers, have you priced an OC-12 lately? No I haven't. Can you enlighten me? -- 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: [

Re: [PHP] mysql_fetch_row() and mysql_fetch_array()?

2001-01-17 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Jimmy Bäckström wrote: > Yo! > I am wondering what the difference is between mysql_fetch_array and mysql_fetch_row. >I tried using this code: > $result = query("SELECT * FROM index1"); > > while ($row = mysql_fetch_row($result)) {... > but $row[] does not contain any data, b

Re: [PHP]

2001-01-17 Thread Rasmus Lerdorf
> You know, this means that ALL of my hundreds of pages over multiple sites > would break. That's really sad. It won't happen. -Rasmus -- 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]

2001-01-17 Thread Thomas Deliduka
You know, this means that ALL of my hundreds of pages over multiple sites would break. That's really sad. I just think it's hard (to remember) when I have code like: this link to put in the 'php' there. It's so much easier just to code with short tags. (although I have a program that can work

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Toby Butzon
:) Ok you and John win ;) Probably shoulda kept my yap shut... --Toby - Original Message - From: "Egan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 6:16 PM Subject: Re: [PHP] phpwebhosting.com > On Wed, 17 Jan 2001 18:04:16 -0500, "Toby Butzon" > <[EM

RE: [PHP] phpwebhosting.com

2001-01-17 Thread John Guynn
>From my experience with them they only have one host serving their customers. John Guynn This email brought to you by RFCs 821 and 1225. -Original Message- From: Toby Butzon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 5:04 PM To: Egan; [EMAIL PROTECTED] Subject: Re: [

  1   2   3   4   >