[PHP] Re: CVS In PHP

2003-01-19 Thread JJ Harrison
Either use exec() to run a command line script. Or investigate creating a php module or something. -- --- JJ Harrison [EMAIL PROTECTED] Trilochan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello Every body , I have written some programs in c , I want to

Re: [PHP] SQL+php

2003-01-19 Thread Thomas Seifert
it doesn't change it in the database, just in the output. Thomas On Sun, 19 Jan 2003 03:17:04 +0200 (EET) [EMAIL PROTECTED] (Paul Marinas) wrote: something like that only i don't whant to alter the database, the fields in the database must remains unchanged, only, on page i whant to display

Re: [PHP] SQL+php

2003-01-19 Thread Sean Burlington
Sean Malloy wrote: I see a lot of these type of answers on the list at the moment. I'm sick of receiving smart ass answers from people. It wastes my time, and my bandwidth. Either answer the fucking question, even if it hasn't been asked correctly, or don't reply at all. Given you are a 'PHP

Re: [PHP] PHP Encoders and GPL License

2003-01-19 Thread Zeev Suraski
At 02:45 18/01/2003, [-^-!-%- wrote: Food for thought: As I look through the Zend website, and applaud their efforts to create 'protected' php applications, I can't help but wonder about the impact (or lagality) or their efforts. Doesn't the use of the Zend Encoder (or any other PHP Encoders

Re: [PHP] How know how many sessions are active?

2003-01-19 Thread Justin French
If you're on a dedicated server (no other sites on the server), you could just count the session files in /tmp. Otherwise, the general consensus seems to be that you need to decide how long a user is active for (say a minute, or 3, or an hour?), and save (eg) the SID and timestamp in a file or

RE: [PHP] PHP Encoders and GPL License

2003-01-19 Thread Larry Brown
I just want to clarify this for myself. My impression was that the affects of GPL requiring software developed from the original GPL to also be free was only applicable to modifications of the program itself. So if php was GPL and I modified the source and built my own customized version of php

Re: [PHP] SQL+php

2003-01-19 Thread Chris Hewitt
John W. Holmes wrote: .it's an log for a VoIp network, evrey voip has an ip and i whant that instad of the VoIp's IP to put his name, instad of 1.1.1.1:xxx must be jhon doe form yyy city, it's easier to read for the people who So where do you get the name from. You're still not being

Re: [PHP] PHP Encoders and GPL License

2003-01-19 Thread michael kimsal
Larry Brown wrote: I just want to clarify this for myself. My impression was that the affects of GPL requiring software developed from the original GPL to also be free was only applicable to modifications of the program itself. The GPL is a ridiculously outdated and vague license which has

Re: [PHP] Changing order of just one array item?

2003-01-19 Thread Leif K-Brooks
Thanks, but that's not what I'm trying to do. I know how to change the keys, but I'm looking to change the internal order of the key/value pairs. Timothy Hitchens (HiTCHO) wrote: This would do it: ?php $first[] = 'hello'; $first[] = 'bye'; function swap($list, $first, $second) { $tempOne =

php-general Digest 19 Jan 2003 15:28:36 -0000 Issue 1832

2003-01-19 Thread php-general-digest-help
php-general Digest 19 Jan 2003 15:28:36 - Issue 1832 Topics (messages 132158 through 132180): Re: 2 Qs: Passing current URL with session and how to avoid session timeout??? 132158 by: -[ Rene Brehmer ]- 132159 by: -[ Rene Brehmer ]- 132160 by: Justin French Re: Can

Re: [PHP] SQL+php

2003-01-19 Thread Chris Shiflett
--- Sean Burlington [EMAIL PROTECTED] wrote: I think the bandwidth wasters are those who ask questions poorly (it takes several follow up mails to find out what the question was) and those who don't have a qucik look at the archives first (is someone puuting together an FAQ ?) I agree. I

[PHP] Re: Auto Incrementing in PHP

2003-01-19 Thread Don Mc Nair
Thanks Guys I just needed a pointer. I decided to use the database and created two tables, one for invoice number and one for order number then defined a function to read the current number and the increment it. // GET AUTO NUMBER and creates the next one // uses the parameter tablename as

RE: [PHP] SQL+php

2003-01-19 Thread John W. Holmes
--- Sean Burlington [EMAIL PROTECTED] wrote: I think the bandwidth wasters are those who ask questions poorly (it takes several follow up mails to find out what the question was) and those who don't have a qucik look at the archives first (is someone puuting together an FAQ ?) I

Re: [PHP] Changing order of just one array item?

2003-01-19 Thread -[ Rene Brehmer ]-
Hi Leif K-Brooks, The key is but an alias to the value, so other than rewriting the array I cannot see how to split the two apart. I don't believe there's any simple way to reorder the key/value order of an array dunno, I'm not used at using key'ed arrays ... PHP is the only language (I

Re: [PHP] Auto Incrementing in PHP

2003-01-19 Thread Jason Wong
On Sunday 19 January 2003 09:03, Justin French wrote: on 19/01/03 9:59 AM, John W. Holmes ([EMAIL PROTECTED]) wrote: Is there a way for a php page to automatically increment a number and store it every time the page is loaded. I want to generate an invoice number that goes up 1

Re: [PHP] How know how many sessions are active?

2003-01-19 Thread Leon Mergen
To help even more, if you're on a dedicated, this shell command will provide you the amount of sessions active: ls -l /tmp/sess* | wc -l HTH Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... If you're on a dedicated server (no other sites on the

[PHP] Multiplication of double

2003-01-19 Thread Cesar Aracena
Hi all, I guess this problem might sound childish for most of you, but I'm having it right now. I get two numbers from a FORM, one price and one quantity and I need to make a multiplication with them in order to store the total amount also as a double expression... I'm trying with: $totalprice =

[PHP] Re: Multiplication of double

2003-01-19 Thread Foong
have you try echo $price and $qty separately to check if they are correct? If they are correct, can you post you code? so we can take a look. Foong Cesar Aracena [EMAIL PROTECTED] wrote in message 01c2bfeb$cecbd5c0$7a00a8c0@NOTEBOOK">news:01c2bfeb$cecbd5c0$7a00a8c0@NOTEBOOK... Hi

Re: [PHP] Multiplication of double

2003-01-19 Thread Jason Wong
On Monday 20 January 2003 02:51, Cesar Aracena wrote: Hi all, I guess this problem might sound childish for most of you, but I'm having it right now. I get two numbers from a FORM, one price and one quantity and I need to make a multiplication with them in order to store the total amount

Re: [PHP] Free PHP Hosts?

2003-01-19 Thread David T-G
JJ -- ...and then JJ Harrison said... % % I did do that, and have yet to turn up a useful result. That is why I asked. Ah. None of my business, I suppose, but how do you define a useful result? There were at least three that clearly indicated that they provided free PHP hosting in the first

RE: [PHP] Re: Auto Incrementing in PHP

2003-01-19 Thread Don Read
On 19-Jan-2003 Don Mc Nair wrote: Thanks Guys I just needed a pointer. I decided to use the database and created two tables, one for invoice number and one for order number then defined a function to read the current number and the increment it. That'll work, but it's not atomic. At high

[PHP] please help

2003-01-19 Thread JamsterJAM
Hi, I have a problem. I have created a guestbook for my server and i have php installed. You enter deatils and the guestbook stores it in guestbook.dat.php file. The guestbook itself is also a php file. I have tryed it on other hosts and it has worked. When i run it on my server it doesnt store

Re: [PHP] please help

2003-01-19 Thread Ray Hunter
On Sun, 2003-01-19 at 12:57, JamsterJAM wrote: Hi, I have a problem. I have created a guestbook for my server and i have php installed. You enter deatils and the guestbook stores it in guestbook.dat.php file. The guestbook itself is also a php file. I have tryed it on other hosts and it has

Re: [PHP] please help

2003-01-19 Thread Jason Sheets
What version of PHP is running on the server, what version did you develop the script with? Do you know if register globals are on or off? You can get a lot of information about PHP by doing ?php phpinfo(); ? Do you receive any error messages indicating the file can not be opened for writing or

Re: [PHP] Multiplication of double

2003-01-19 Thread Chris Shiflett
--- Cesar Aracena [EMAIL PROTECTED] wrote: I get two numbers from a FORM, one price and one quantity and I need to make a multiplication with them in order to store the total amount also as a double expression... I'm trying with: $totalprice = $price * $qty; but when I echo the, it gives

[PHP] Text report templates a la Perl

2003-01-19 Thread Duncan Hill
I've been looking high and low, and haven't had much luck finding a way to mimic the @ templating capability of Perl. Does a class or similar exist? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-4.3.0 and wu-imap failed to compile

2003-01-19 Thread Ezra Nugroho
I tried to install php-4.3.0 with imap-2001a-10, imap-devel-2001a-10 from RH 7.3 Of course I added --with-imap --with-imap-ssl, among other things. These came out when I did make. /php /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':

[PHP] PHP at LinuxWorld Expo 2003

2003-01-19 Thread Hans Zaunere
Greetings, LinuxWorld Expo 2003 is January 21-24, and with the indispensable support of members and friends, New York PHP (http://nyphp.org) is excited to offer some great events at LWE. QA with Doron Gerstel, CEO, Co-Founder, Zend Technologies January 22, 2003 @ 1:30pm, NYPHP, Booth #16 Doron

[PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Jean-Christian Imbeault
On my web server (Apache) I have two sites and I would like each site to use a different php.ini. What is the correct way for me to have each site use it's own php.ini file? I figure it's a setting in the apache conf file but I can't figure out which ... Thanks, Jc -- PHP General Mailing

[PHP] cli class

2003-01-19 Thread David T-G
Hi, all -- I forget, and can't find, who it was who suggested a mailing list for php as a shell programming language and made the comment that it seems that few use it as such. S/He might find http://www.phpclasses.org/browse.html/package/954.html of interest; it's a CLI class for php :-)

RE: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Timothy Hitchens \(HiTCHO\)
Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like: php_admin_value disable_functions 'ob_start' php_admin_value sendmail_path '/usr/sbin/sendmail -f [EMAIL PROTECTED] -t -i' Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED]

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Jean-Christian Imbeault
Timothy Hitchens ) wrote: Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like: Oops .. I forgot to mention that these two website do *not* have different IP addresses. Actually these are two testing website on my local LAN. What I have is to have a

Re: [PHP] php.ini: how to load different ini file depending onhost?

2003-01-19 Thread Justin French
You can override parts of your php.ini on a per-directory level with a .htaccess file... eg: IfModule mod_php4.c php_flag register_globals off php_flag magic_quotes_gpc on php_flag magic_quotes_runtime on php_flag magic_quotes_sybase on /IfModule Justin French on 20/01/03

[PHP] Mass Mailing with PHP MySQL

2003-01-19 Thread Tim Thorburn
Hi, I'm working on a mailing solution for a client. His site collects email address from a 'Send this site to a friend' page (user enters their email address and up to 10 other addresses - a message is then sent to the 10 addresses from the users own email address). The addresses are then

php-general Digest 20 Jan 2003 04:22:40 -0000 Issue 1833

2003-01-19 Thread php-general-digest-help
php-general Digest 20 Jan 2003 04:22:40 - Issue 1833 Topics (messages 132181 through 132204): Re: SQL+php 132181 by: Chris Shiflett 132183 by: John W. Holmes Re: Auto Incrementing in PHP 132182 by: Don Mc Nair 132185 by: Jason Wong 132191 by: Don

[PHP] PHP Books

2003-01-19 Thread Armoured
hello, i have been told that i should email you to help me with my question, and the auestion is: Can you recommend an GREAT book for someone to learn php off. The person will only have knowladge of html. Is there a really good book out there that will teach me php??? thanks

[PHP] Can I use white spaces?

2003-01-19 Thread Cesar Aracena
Hi all, I've encountered myself trapped into a big mystery this time, and that's because of some white spaces. I have a MySql table which I use to store users and visitors information, but when I want to display this information on screen for them to see and/or correct, every field that has

Re: [PHP] Mass Mailing with PHP MySQL

2003-01-19 Thread Justin French
A while() loop will, at some point, break. this is because the script will timeout on the server before you send to any large lists... when I say large, this could be 100 address', or could be 10,000 -- it all depends on your server/ISP and server load at certain times. A better/simpler solution

Re: [PHP] Can I use white spaces?

2003-01-19 Thread Larry E. Ullman
I suspect (but could be wrong) that you aren't quoting these values in your forms. Be sure that you are using... input type=text name=name value=quoted value Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread John Nichel
I don't think you can load a different ini based on virtual host. However, you can override most php.ini values in either the httpd.conf or in a .htaccess file. I'm running about 10 vhosts on one box, all with the same IP, and I just use .htaccess, ie... php_value include_path

Fwd: Re: [PHP] Mass Mailing with PHP MySQL

2003-01-19 Thread rw
- Forwarded message from [EMAIL PROTECTED] - Date: Sun, 19 Jan 2003 22:07:34 -0700 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: Re: [PHP] Mass Mailing with PHP MySQL To: Justin French [EMAIL PROTECTED] Is Peter McNulty out there anywhere? Don't have a

RE: [PHP] Can I use white spaces?

2003-01-19 Thread Cesar Aracena
You where nothing but right. I didn't know that PHP's html HAD to have all of the quoting right for PHP to work properly. Thank a lot! Cesar L. Aracena [EMAIL PROTECTED] [EMAIL PROTECTED] (0299) 156-356688 Neuquén (8300) Capital Argentina -Mensaje original- De: Larry E. Ullman

[PHP] Re: Multiplication of double

2003-01-19 Thread Bobby Patel
It seems you have register globals set to off, thus when you have variables $price and $qty they are just fresh variables, you might try $HTTP_POST_VARS['price'] and $HTTP_POST_VARS['qty'] (don't forget the single quote). Cesar Aracena [EMAIL PROTECTED] wrote in message

Re: [PHP] Can I use white spaces?

2003-01-19 Thread Larry E. Ullman
You where nothing but right. I didn't know that PHP's html HAD to have all of the quoting right for PHP to work properly. Glad it's working but, just to clarify, this is an HTML issue, not a PHP one. Best wishes, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Login scritp help needed.

2003-01-19 Thread Karl James
hey does anyone have agood login script that i can i can go buy on a tutorial sake. and also how to add the info correctly into a mysql database. Im kinda of a noobie so bare with me please. the books i have are not being very helpfull on this matter. you can see my username and password

Re: [PHP] PHP Books

2003-01-19 Thread olinux
PHP Fast Easy Web Development by Julie Meloni kicked things off for me (after knowing only HTML) basically walks you through the code of common things that you would want to do with PHP. (email a submitted html form - insert/retrieve and edit data in mysql database) Read through the examples

Re: [PHP] Login scritp help needed.

2003-01-19 Thread olinux
Try this article - code sample available in the code library as well. http://www.phpbuilder.com/columns/tim2505.php3 Also a 6 part series on www.devarticles.com (5 are done) Here's part five - you can find the rest :) http://www.devarticles.com/art/1/323 zend.com probably has a good article

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Jean-Christian Imbeault
Thanks to everyone for the suggestions. I finally got what I wanted by doing it a Directory directive in the httpd.conf file. Thanks again! Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Recommended freeware guestbook?

2003-01-19 Thread David Chamberlin
Hey, Anybody have a php-based guestbook that they like and can be freely downloaded? Don't need anything really fancy, just for a personal website. Easy-to-use, and not hard to integrate into the site would be bonuses (mysql not a problem). I've looked around, and there's a bunch out there

RE: Re: [PHP] Mass Mailing with PHP MySQL

2003-01-19 Thread Brendon G
I had an idea myself to do this. But I've held off because I want to do something rather robust but still flexible. I was going to use a database table.. with the fields.. to.. from.. subject.. body.. etc I was then going to have a cron task that ran every so often grabbing the records

[PHP] jpgraph

2003-01-19 Thread Rizki Salamun
dear all, please, any body who has experienced with jpgraph, tell me how to install this library. because I want to use this library to create bar chart as dynamic image. I'm using phpdev5 in my win 98. thank you in advance Rizki Salamun http://www.salamun.net -- PHP General Mailing List

[PHP] Generating formatted reports

2003-01-19 Thread Denis L. Menezes
hello friends. I have a MYSql database and also a php application on the web. I need to generate formatted reports from the database - something like a report card with table, marks, aggregate etc. - Something like Crystal Reports for MS Visual Basic. Can this be done with PHP or are there

[PHP] Undefinied Symbol error

2003-01-19 Thread Trilochan
i used swig to convert C++ module into a .so file. but when i use .so file in a php4 script i get following error :- Warning: Unable to load dynamic library '/usr/lib/php4/php_kcvsClient.so' - /usr/lib/php4/php_kcvsClient.so: undefined symbol: import__FPcN20 in