Re: [PHP] multiple selections in list/menu field

2001-09-15 Thread Richard Baskett
I didn't take the time to read your code too thoroughly, but remember to have your select name to be anything with [] at the end of it, from the look of your name field you have something inside the [], you need to get rid of the rec_pd4 and just call it x[] or whatever you would like to call it

[PHP] Compiling php like C

2001-09-15 Thread Kunal Jhunjhunwala
Hi, Has anyone done this to date?? I was thinking of compiling my programs for better perfomance, and of course, protect the source code. Anyone have any ideas on this issue? Regards, Kunal Jhunjhunwala -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] comparing

2001-09-15 Thread Teqila MAN
Hello, What is the simple mod to compare values for example. (we have a mysql tabl e) id -- product 1-cola 2 -cola 3 - cd 4 -cd 5 - cola How to make a mysql query that wokuld print me what products i have in most. Teqilaman -- PHP

[PHP] Help a newbie?

2001-09-15 Thread Peter Gibson
Hi! Simple question... Should I use IIS (5.0) or apache for development of PHP before I upload it?

RE: [PHP] Compiling php like C

2001-09-15 Thread Jack Dempsey
zend encoder (www.zend.com) and there's also an opensource project...can't recall the name or link, but you can find it if you search the archives jack -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 15, 2001 3:04 AM To: [EMAIL

RE: [PHP] comparing

2001-09-15 Thread Jack Dempsey
not exactly clear on what you want, but if you want to see what you have most, you could do a count(id) where product='cola' and compare that to a count(id) where product='cd' jack -Original Message- From: Teqila MAN [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 15, 2001 3:13 AM

RE: [PHP] Help a newbie?

2001-09-15 Thread Jack Dempsey
what're you uploading it to? if you're using an IIS server for production scripts, then you'd obviously want to test on IISlikewise for apache.i prefer LAMP over msoft, but to each, his/her own.. -Original Message- From: Peter Gibson [mailto:[EMAIL PROTECTED]] Sent: Sunday,

Re: [PHP] Compiling php like C

2001-09-15 Thread Kunal Jhunjhunwala
I know about zend, but are there any other alternatives to it?? And isnt really compiling code. Plus it costs a bundle. Regards, Kunal Jhunjhunwala Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is

RE: [PHP] Compiling php like C

2001-09-15 Thread Jack Dempsey
yeah, i definitely agree with you, i can't/won't use it, as good as it is there was that one open source project that someone mentioned here, and i believe the developer said his results were about as good as zend...try the archives... jack -Original Message- From: Kunal

Re: [PHP] Compiling php like C

2001-09-15 Thread Kunal Jhunjhunwala
Hey found it :) http://212.67.208.211/ Regards, Kunal Jhunjhunwala Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is burning - - Nostradamus 1654 - Original Message - From: Jack Dempsey [EMAIL

Re: [PHP] Compiling php like C

2001-09-15 Thread Kunal Jhunjhunwala
http://212.67.208.211/ This wont compile my code.. i need something that will compile my code and let me distribute the compiled code. Regards, Kunal Jhunjhunwala - Original Message - From: Jack Dempsey [EMAIL PROTECTED] To: Kunal Jhunjhunwala [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

RE: [PHP] comparing

2001-09-15 Thread Andrew Braund
How about; SELECT product, count(*) AS Total FROM table GROUP BY product ORDER BY total DESC -Original Message- From: Teqila MAN [mailto:[EMAIL PROTECTED]] Sent: Saturday, 15 September 2001 16:43 To: [EMAIL PROTECTED] Subject: [PHP] comparing Hello, What is the simple mod to

[PHP] Login in https, site in http problem

2001-09-15 Thread Ben Edwards
We have a site which logs in using https (secure site) but the rest of the site is in http (non-secure site). We are doing this because we do not have/want to pay for a secure key. The login form posts back to itself so the whole login is in https. The problem is the session variables set

[PHP] original paintings

2001-09-15 Thread Boris_Lipner
Dear Madam and Sir, Our company, GALLERY-A www.gallery-a.ru , offer both modern and classical art, deals in a line of pieces of art by talented artists. Their works include original paintings, sculptures, etc., copies of masterpieces of various styles, countries and epochs, portraits

Re: [PHP] WDDX and binary data

2001-09-15 Thread Rouvas Stathis
Try base64_(en|de)code. -Stathis. Christopher Heschong wrote: Despite the fact that PHP's WDDX functions don't support a "binary" type, most binary data comes through just fine, and in fact, the WDDX serialize function can encode certain types of binary data, such as a null character:

[PHP] problem with a global variable as class reference

2001-09-15 Thread Wolfram Kriesing
i am using a global variable (curClass), which is a reference to some class, inside another class i want to change the value of this global variable, to point or refer to another class. but that doesnt work. am i doing something wrong??? here my code -- class temp {  

[PHP] Re: [PEAR] problem with a global variable as class reference

2001-09-15 Thread Markus Fischer
My answer may be not well thought but ... from my knowledge, problems with php-gtk you can't assign references to global vars because this particaular declared global variable is a local reference to the global var. - Markus On Sat, Sep 15, 2001 at 03:38:54PM +0200, Wolfram Kriesing wrote : i

[PHP] Re: [PEAR] Re: [PHP] Re: [PEAR] problem with a global variable as class reference

2001-09-15 Thread Markus Fischer
On Sat, Sep 15, 2001 at 04:11:47PM +0200, Wolfram Kriesing wrote : My answer may be not well thought but ... from my knowledge, problems with php-gtk you can't assign references to global vars because this particaular declared global variable is a local reference to the global var. as

[PHP] Flex...

2001-09-15 Thread Joaquin
Hello, i ask to the listo for a problem.. and they say me that i havent flex.. yhe error is this.. when i put ./configure to install PHP it says ... checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up i go to

Re: [PHP] Choices for root privilege

2001-09-15 Thread Chris Hobbs
Brad Hubbard wrote: I'm in the planning stages of a smallish app that will need to run some shell commands that generally require root privileges to run (eg: route, ifconfig, ifup). I know this is a security nightmare but I don't really have a choice, I have to provide this functionality

Re: [PHP] Compiling php like C

2001-09-15 Thread Chris Hobbs
Kunal Jhunjhunwala wrote: Two brothers torn apart by Chaos, while the fortress endures, the great leader will succumb , The third big war will begin when the big city is burning - - Nostradamus 1654 Would you _please_ stop posting this nonsense/hoax?

[PHP] Urgent

2001-09-15 Thread karthikeyan
Hi guys, I have installed php4.0.6 in my system, i am working on winNT environment with Apache as my web server. The php is working great, i have also enabled gd library and i am able to run some of my image program, it is great. Now i need different fonts, for that i know i need

[PHP] Re: is PHP crazy, or am I?

2001-09-15 Thread Christian Dechery
thanks for all your help... I got it after a bit of REAl thinking I got what that algorithm was meant to... it wasn't really the original bubble-sort... it's a kinda of pseudo-optimized 'one'... it goes like above: function bubblesort($vetor,$tam) { $troca=0;

Re: [PHP] Compiling php like C

2001-09-15 Thread Kunal Jhunjhunwala
Allright guys.. im sorry abt the signiture.. Regards, Kunal Jhunjhunwala - Original Message - From: Seb Frost [EMAIL PROTECTED] To: Kunal Jhunjhunwala [EMAIL PROTECTED] Sent: Saturday, September 15, 2001 9:54 PM Subject: RE: [PHP] Compiling php like C I think you'll find Nostradamus

Re: [PHP] coding practices

2001-09-15 Thread Ninety-Nine Ways To Die
I generally was just diving in immediately... because I was using it for smaller projects less than 1k lines of code... but now that I am building everything in PHP and becoming more proficient, and writing programs with 5k + lines of code, I am discovering a need to write at least a basic

Re: [PHP] Help a newbie?

2001-09-15 Thread Andrew Hill
Apache is my vote. And change your system date, please - it's messing with my inbox sort :) Cheers, Andrew Hill OpenLink Software On Sunday, August 2, 1998, at 03:14 AM, Peter Gibson wrote: Hi! Simple question... Should I use IIS (5.0) or apache for development of PHP before I upload

[PHP] Regex

2001-09-15 Thread Boaz Yahav
Hi How does one extract a URL from HTML like : a href=/abc/def/0,1234,567.html?xxx=abcde class=MyClass I have an HTML file with many lines like this and I want to extract the /abc/def/0,1234,567.html?xxx=abcde part from each one. Assuming I can get the lines into an array, how can I extract

Re: [PHP] Regex

2001-09-15 Thread Rasmus Lerdorf
preg_match('/a href=(.*?)/i',$str,$reg); Your URL will now be in $reg[1] -Rasmus On Sat, 15 Sep 2001, Boaz Yahav wrote: Hi How does one extract a URL from HTML like : a href=/abc/def/0,1234,567.html?xxx=abcde class=MyClass I have an HTML file with many lines like this and I want to

[PHP] redirect to php problem

2001-09-15 Thread Nikola Veber
Hi ! I'm having a problem with following : I'd like to activate a php file as a home page, but without pointing directly to it(http://www.smth.com/file.php). I'd like to know if it is possible to call it from a html file(index.htm for exp. ) Thanks Nikola -- PHP General Mailing List

RE: [PHP] redirect to php problem

2001-09-15 Thread Jack Dempsey
sure look into meta refresh (search google and you'll find info) jack -Original Message- From: Nikola Veber [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 16, 2001 3:57 AM To: php forum Subject: [PHP] redirect to php problem Hi ! I'm having a problem with following : I'd like to

Re: [PHP] if(isset($a)) vs if($a)

2001-09-15 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Andrew Perevodchik) wrote: JD isset checks to see if the $a variable has JD been set, ie, if it exists. if($a) checks for JD the truthood of $a, meaning, if it has a JD non-zero, non-null/empty-string value, then JD its true, else, false.

[PHP] Re: Why doesn't this work?

2001-09-15 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ray Van Dolson) wrote: I'm trying to do: print split(=,$testString)[0]; Curly braces often seem to help in situations like these. Untried, but maybe this will do the trick for you: print {split(=,$testString)}[0]; -- CC -- PHP General

Re: [PHP] if(isset($a)) vs if($a)

2001-09-15 Thread Mark
On Sat, 15 Sep 2001 13:20:59 -0700, CC Zona wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Andrew Perevodchik) wrote: JD isset checks to see if the $a variable has JD been set, ie, if it exists. if($a) checks for JD the truthood of $a, meaning, if it has a JD non-zero,

[PHP] Boy Makes $71,000 in 3 Weeks. You Can Too!!

2001-09-15 Thread familiesexcel
Thank you for your time and interest. Have you heard about the program on ABC's 20/20, about a 15 year old boy who made over $70,000 on the Internet? The mother of a 15 year old boy was cleaning and putting laundry away when she came across a large brown paper bag that was suspiciously buried

Re: [PHP] PHP/CVS

2001-09-15 Thread Sterling Hughes
On Sat, 15 Sep 2001, Peter Gibson wrote: $ cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r 4.0.4pl1 php4 cvs [server aborted]: Numeric tag 4.0.4pl1 contains characters other than digits and '.' How do I check php-4.0.4pl1 out? My ~/.cvsrc file contains: $ cat ~/.cvsrc cvs -z9

Re: [PHP] Flex...

2001-09-15 Thread Meir Kriheli
On Saturday 15 September 2001 17:08, Joaquin wrote: Hello, i ask to the listo for a problem.. and they say me that i havent flex.. yhe error is this.. when i put ./configure to install PHP it says ... checking lex output file root... ./configure: lex: command not found configure: error:

php-general Digest 15 Sep 2001 22:16:40 -0000 Issue 878

2001-09-15 Thread php-general-digest-help
php-general Digest 15 Sep 2001 22:16:40 - Issue 878 Topics (messages 67442 through 67470): original paintings 67442 by: Boris_Lipner Re: WDDX and binary data 67443 by: Rouvas Stathis problem with a global variable as class reference 67444 by: Wolfram Kriesing Re:

[PHP] PHP Auth problem

2001-09-15 Thread Alex Sofronie
Hi all I have a rather strange problem with php auth: i want to authenticate a user through php and validate it through imap_open function (to access his email). I send WWW-Authenticate header like this: header(WWW-Authenticate: Basic Realm=\Private\); After, i check for

[PHP] Please please please help!

2001-09-15 Thread Kyle Smith
In php is there any way to write to the end of a line in a text document so i can set out email addresses as a list on 1 line and the ; can be on the second... is this possible or has anyone a better way of doing this? any and all help would be appreciated (please send or cc messages to my

[PHP] help with some nasty recursive algorithm

2001-09-15 Thread Christian Dechery
I need some help with an algorithm that I'm writing to build a categories array, based on the mysql table. the table goes by: id_category, name_category, parent_category and with a simple query, with a group by and after doing a little for(;;) processing, I get the following array.. categ

Re: [PHP] redirect to php problem

2001-09-15 Thread David Otton
On Sun, 16 Sep 2001 09:57:14 +0200, you wrote: I'm having a problem with following : I'd like to activate a php file as a home page, but without pointing directly to it(http://www.smth.com/file.php). I'd like to know if it is possible to call it from a html file(index.htm for exp. )

[PHP] How do I use a .tar file?

2001-09-15 Thread Deryck Henson
I want to use and compile the source code for PHP just for some fun but have no experience what soever with TAR files. Any suggestions? - Deryck H - http://www.comp-u-exchange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] International Jazz Competition held on the Internet

2001-09-15 Thread Jazz Events
Our monthly Jazz Events Sighting is: The 2nd Annual Jazzconnect.com Jazz Competition has begun! We are accepting entries now through December 1st. The new and improved website interface shows the voting scores real time and keeps track of your personal voting record. Give it a test drive at:

[PHP] Re: redirect to php problem

2001-09-15 Thread Gavin
Yes, this HTML line will redirect the browser to the php page.. META http-equiv=refresh content=0;url=file.php Gavin Nikola Veber [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi ! I'm having a problem with following : I'd like to activate a php file as a

RE: [PHP] How do I use a .tar file?

2001-09-15 Thread Jack Dempsey
man tar in short, if you have a file, foo.tar, tar xvf foo.tar will untar it...if its foo.tar.gz, tar zxvf foo.tar.gz will gunzip it then untar it. try searching google as well, there're some good tutorials out there jack -Original Message- From: Deryck Henson [mailto:[EMAIL

[PHP] PHP versus ZOPE

2001-09-15 Thread Carlos Fernando Scheidecker Antunes
Hello all, Does anyone here ever programmed in Zope? I have been doing PHP stuff for some time now and I am glad with it because it is faster than JSP para I am now listening to good opinions about Zope so I wonder if anyone here has already compared both on a real situation. Any comments are

Re: [PHP] How do I use a .tar file?

2001-09-15 Thread Deryck Henson
Well, I was totally stupid when I downloaded the .tar.gz file. I extracted it to a folder and opened, in notepad, the TAR file! That's pretty funny. Well, I now know how to actually decompress all the files in a tar format and use them. WinZip helps. - Deryck H -

[PHP] sorting multi-dimensional arrays

2001-09-15 Thread Christian Dechery
I'm having a little trouble sorting mult-dimensional arrays by key... I looked-up the manual and found out that array_multisort() thing... but I don't think it does what I want... or I don't understand it... I have an array like this... $categories=array(); $categories[0][id]=1;

Re: [PHP] How do I use a .tar file?

2001-09-15 Thread Deryck Henson
Sorry everyone. using Windows (as much as it SUX!). You cant really do anything and microsoft just steals your money when you buy it. I agree. Red Hat, here I come! (in about a couple weeks) - Deryck H - http://www.comp-u-exchange.com - Original Message - From: Joaquin [EMAIL

[PHP] code optimization

2001-09-15 Thread Christian Dechery
I just got (1:30 AM) something that was really annoying me. I had to do it... but I got so into the I must do it thing I ended up doing it in an unoptimized way, I think. I got to this conclusion for the amount of loops I'm using and the number of lines of code. The problem is in my previous

[PHP] Re: PHP versus ZOPE

2001-09-15 Thread John Lim
Andrew Kuchling is a well known Zope/Python expert who switched to something simpler. Here's why... http://www.amk.ca/python/writing/why-not-zope.html Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in message

[PHP] Re: Monitoring traffic

2001-09-15 Thread John Lim
Use performance monitor or network monitor. Regards, John Sed [EMAIL PROTECTED] wrote in message 003b01c13d59$18710bd0$0d00a8c0@mamma">news:003b01c13d59$18710bd0$0d00a8c0@mamma... Hi, This is kind of off topic but I need to monitor the traffic in kilobytes/bits on my net card adapter

[PHP] naming convention in php?

2001-09-15 Thread saif
hi, i want to know is there any naming convention followed in php as in c/c++/java/etc. i am puzzled how naming of variables are done in large scale projects, where codes are written by one and debug by others. best regards from saif --- [php 406, apache 1312, winme] [mysql 32321, personal