Re: [PHP] Turck MMcache - still continuing or dead?

2004-01-30 Thread Binay
Thanks So u mean i can go ahead with MMcache?? or do u find other (prefferably free) alternative to this.. Binay - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Binay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, January 31, 2004 11:24 AM Subject:

Re: [PHP] Turck MMcache - still continuing or dead?

2004-01-30 Thread Raditha Dissanayake
Hi, This topic has also been discussed in the past. Open source projects never die. When the original developer moves away what generally happens is that someone else takes his place. Binay wrote: Hi all, I am planning to use Turck MMcache in my production environment and hence searching in t

RE: [PHP] Logging on to a web based application

2004-01-30 Thread Robert Sossomon
Yuck!! I personally turned off flash in all of my browsers and cut it out of the systems in the office. It's a resource hog, it's a pain in the buttocks on a page, and now sites are using it for ads. So on top of having most registered ad servers blocked via hosts file I run pop-up killers on ev

[PHP] Turck MMcache - still continuing or dead?

2004-01-30 Thread Binay
Hi all, I am planning to use Turck MMcache in my production environment and hence searching in the archives for its response and efficiency. It seems people who've used it are quite happy but suddenly I saw a post saying Turck MMcache is dead i.e its no longer supported by the person who origin

[PHP] Turck MMcache - still continuing or dead?

2004-01-30 Thread Binay
Hi all, I am planning to use Turck MMcache in my production environment and hence searching in the archives for its response and efficiency. It seems people who've used it are quite happy but suddenly I saw a post saying Turck MMcache is dead i.e its no longer supported by the person who origin

Re: [PHP] Logging on to a web based application

2004-01-30 Thread Chris W
Miles Thompson wrote: At 06:38 PM 1/30/2004 +, Shaun wrote: Hi, We are trying to develop a web based system where users a charged per office. I would be grateful to hear anyone's experience in creating such applications and how the users are managed. Our main concern is how we stop a client

Re: [PHP] Beginner

2004-01-30 Thread Raditha Dissanayake
Hi, This one is ok. You can post your questions here. You might also find that the installation guide at php.net is very usefull. There you will see lots of annotations made by other users who ran into problems and chances of your problem being already discussed will be quite good. all the best

Re: [PHP] Re: array block

2004-01-30 Thread Shawn McKenzie
You would need to give an example of what you mean by change dynamically, because if you can't predict the key indexes then how can you know which ones to use in your anchor tag? -Shawn "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP General Mailing List (htt

[PHP] Beginner

2004-01-30 Thread S Gex
Could someone tell me which newsgroup I subscribe to if I'm having a general problem setting up PHP in a windows 2000 / IIS environment? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code help - file parse?

2004-01-30 Thread John Nichel
john wrote: Looking for code help: When my php script inserts data into the database I'd like to parse an html page for a date and replace it with the current date. This way visitors to the main html page can see the last time the database was updated. I know I could re-write the html page using p

Re: [PHP] PHP+Apache Question

2004-01-30 Thread Raditha Dissanayake
Hi, Many linux users still believe in compiling from source. and many php developers still believe php 4.x works better with apache 1.3x Ashley M. Kirchner wrote: This has probably been asked before, but I want to know from those actually running (Red Hat) Fedora: how well does the stock PHP

Re: [PHP] Code help - file parse?

2004-01-30 Thread Raditha Dissanayake
Hi, Parsing HTML is not the easiest thing to do and the best HTML parsers are in perl, you will be better of writing the page in PHP {unless you know the exact location (say file offset) where your date can be found } john wrote: Looking for code help: When my php script inserts data into the

Re: [PHP] PHP and XML.

2004-01-30 Thread Raditha Dissanayake
I agree with Rolf, What's really suprising though is that SAX parsers use very little memory in the first place. Rolf Brusletto wrote: Mark Ackroyd wrote: Odd problem. I have written a small script that processes some XML, it runs on a few FreeBSD boxes I admin over. On one of the boxes (the

[PHP] Code help - file parse?

2004-01-30 Thread john
Looking for code help: When my php script inserts data into the database I'd like to parse an html page for a date and replace it with the current date. This way visitors to the main html page can see the last time the database was updated. I know I could re-write the html page using php but would

Re: [PHP] Logging on to a web based application

2004-01-30 Thread Miles Thompson
At 06:38 PM 1/30/2004 +, Shaun wrote: Hi, We are trying to develop a web based system where users a charged per office. I would be grateful to hear anyone's experience in creating such applications and how the users are managed. Our main concern is how we stop a client paying for one office us

[PHP] List of validated PHP extentions for thead safety

2004-01-30 Thread Steven Roussey
Is there a List of validated PHP extentions for thead safety? I'm trying to find out if moving to Apache 2 is at all possible in a production environment, and would like to check to see if the modules we use are thread safe. Thanks, Steven Roussey Network54 Corporation -- PHP General Mailing Lis

[PHP] PHP+Apache Question

2004-01-30 Thread Ashley M. Kirchner
This has probably been asked before, but I want to know from those actually running (Red Hat) Fedora: how well does the stock PHP (4.3.x) work with the stock httpd (Apache 2.x)? Are PHP developers still concerned about that combination? Should I not bother and roll my own source? -- W | I

Re[2]: [PHP] Am I missing Something

2004-01-30 Thread Tom Rogers
Hi, Saturday, January 31, 2004, 9:22:41 AM, you wrote: CWP> Stuart CWP> on Friday, January 30, 2004 2:56 PM said: >> print ''; print_r($somearray); print ''; CWP> not to steal your glory stuart but you can make it easier on yourself by CWP> doing the following: CW

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
Michal Migurski on Friday, January 30, 2004 5:31 PM said: > users uploading two identically named files at the same time (not all > /that/ unlikely), and you are using a database table to track Really? You don't think it's that uncommon? Please give an example as I

RE: [PHP] How do you guys do this?

2004-01-30 Thread Michal Migurski
>> I sure hope that there aren't 2 people uploading breadbox.jpg at the >> same second. That'd be too weird! Now maybe if it was a porn site I >> could see the same name, tina.jpg, michele.jpg, but again, the same >> file name on the same second, what are the odds? <--anyone? :) > >You're absolut

Re: [PHP] Re: array block

2004-01-30 Thread Brian V Bonini
On Fri, 2004-01-30 at 18:47, Shawn McKenzie wrote: > Sorry, $k should be $text. > > foreach ($menu as $text => $array) { > $url = $array['url']; > $title = $array['title']; > > echo "$text\n"; > } > Gotcha, thanks! That'll work for this but for arguments sake what if the inner array were to

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
PHP Email List on Friday, January 30, 2004 4:41 PM said: > I sure hope that there aren't 2 people uploading breadbox.jpg at the > same second. That'd be too weird! Now maybe if it was a porn site I > could see the same name, tina.jpg, michele.jpg, but again, the same

RE: [PHP] How do you guys do this?

2004-01-30 Thread PHP Email List
* Unless more than one person is uploading a picture within the same second you won't have any problems with duplicate names. I sure hope that there aren't 2 people uploading breadbox.jpg at the same second. That'd be too weird! Now maybe if it was a porn site I could see the same name, tina.jpg,

Re: [PHP] vars in echoed file_get_contents string

2004-01-30 Thread John W. Holmes
Shawn McKenzie wrote: I'm having a brain fart here: ---file.php $myvar = "Hello!"; $stuff = file_get_contents("file.html"); echo $stuff; ---file.html $myvar Any ideas why when $stuff is echoed I get $myvar and not Hello? It's because you're echoing the contents of a variable, not evaluating it. W

Re: [PHP] exec won't pass arg with spaces

2004-01-30 Thread Raul Millan
You where completely right, thanks so much for this tip. I didn't try the "this\ is\ the\ file" approach, but I'll do it and let you know if it worked. Raúl Michal Migurski wrote: Sample code: exec("$imagemagickPath/convert -geometry " . "{$thumbnail_width}x{$thumbnail_height}

[PHP] Re: array block

2004-01-30 Thread Shawn McKenzie
Sorry, $k should be $text. foreach ($menu as $text => $array) { $url = $array['url']; $title = $array['title']; echo "$text\n"; } "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > foreach ($menu as $text => $array) { > $url = $array['url']; > $title = $array['ti

[PHP] Re: array block

2004-01-30 Thread Shawn McKenzie
foreach ($menu as $text => $array) { $url = $array['url']; $title = $array['title']; echo "$k\n"; } HTH -Shawn "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm having array block, trying to format the data in a two dimensional > associative array. > > $menu =

Re: [PHP] PHP and XML.

2004-01-30 Thread Rolf Brusletto
Mark Ackroyd wrote: Odd problem. I have written a small script that processes some XML, it runs on a few FreeBSD boxes I admin over. On one of the boxes (the only one) .. if I run this script through apache, The xml_set_element_handler and xml_set_character_data_handler functions return a 1 er

[PHP] Re: array block

2004-01-30 Thread John Schulz
Brian V Bonini wrote: I'm having array block, trying to format the data in a two dimensional associative array. foreach($menu as $k => $v) { etc.. need to end up with link(x) Since it's two-dimensional, the $v you're getting is actually an array. So you'll have to iterate through the outer arra

RE: [PHP] Exectution Time?

2004-01-30 Thread Chris W. Parker
John Nichel on Friday, January 30, 2004 3:23 PM said: John and John, Nice replies. Mike, John W. Holmes example I think was supposed to be a wink wink nudge nudge thing. What you need to do is store the current time at the point just before you begin execution, th

[PHP] vars in echoed file_get_contents string

2004-01-30 Thread Shawn McKenzie
I'm having a brain fart here: ---file.php $myvar = "Hello!"; $stuff = file_get_contents("file.html"); echo $stuff; ---file.html $myvar Any ideas why when $stuff is echoed I get $myvar and not Hello? Thanks! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] array block

2004-01-30 Thread Brian V Bonini
I'm having array block, trying to format the data in a two dimensional associative array. $menu = array ( 'link1' => array( 'url' => 'foo', 'title' => 'bar' ), 'link2' => array( 'url' => 'foo', 'title'

RE: [PHP] Am I missing Something

2004-01-30 Thread Chris W. Parker
Stuart on Friday, January 30, 2004 2:56 PM said: > print ''; print_r($somearray); print ''; not to steal your glory stuart but you can make it easier on yourself by doing the following: echo '',print_r($somearray),''; it's merely less typing. hth, chris. -- PHP

Re: [PHP] Exectution Time?

2004-01-30 Thread John Nichel
John W. Holmes wrote: From: "Mike Mapsnac" <[EMAIL PROTECTED]> Is there a way to find out the execution time of php program? If you start a task at 10:00 and finish at 10:15, how long did it take? ---John Holmes... That depends. What time zone? Are the start and finish times in the same

Re: [PHP] Am I missing Something

2004-01-30 Thread Stuart
Phillip S. Baker wrote: And $somarray[ has more than four values. Try inserting the following line at after $somearray has been created and filled with values... print ''; print_r($somearray); print ''; That will display the array in nice format. I think you'll find that the indexes of the arra

Re: [PHP] Exectution Time?

2004-01-30 Thread Mike Mapsnac
. smart guy .. From: "John W. Holmes" <[EMAIL PROTECTED]> Reply-To: "John W. Holmes" <[EMAIL PROTECTED]> To: "Mike Mapsnac" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: Re: [PHP] Exectution Time? Date: Fri, 30 Jan 2004 16:42:56 -0500 From: "Mike Mapsnac" <[EMAIL PROTECTED]> > Is there a w

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread electroteque
Ok sorry, c++ then, yes thats another kettle of fish, i'm going to be doing some c++ to learn how to make vst plugins :D -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 10:51 PM To: electroteque; [EMAIL PROTECTED] Subject: RE: [PHP] OOP metho

Re: [PHP] OOP methodology

2004-01-30 Thread Adam Bregenzer
On Fri, 2004-01-30 at 04:41, Chris Neale wrote: > The main application would then do this: > > $q = new dbObj; > $x = new iterator; > $y = new HTMLGenerator($q, $x) > > while ($x->next()) > { > $y->MakeHTML(); > $y->outputToFile(); > } > > Anyone got any thoughts about whether this i

Re: [PHP] Exectution Time?

2004-01-30 Thread Chris Edwards
Either echo out the start and end time to either the page or write it to a file. Go to www.php.net and do a search on time. The first example will give you probably all you need. - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Mike Mapsnac" <[EMAIL PROTECTED]>; <[EMA

Re: [PHP] Exectution Time?

2004-01-30 Thread John W. Holmes
From: "Mike Mapsnac" <[EMAIL PROTECTED]> > Is there a way to find out the execution time of php program? If you start a task at 10:00 and finish at 10:15, how long did it take? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Am I missing Something

2004-01-30 Thread Phillip S. Baker
At 09:54 AM 1/30/2004 +, Stuart wrote: Phillip S. Baker wrote: I am running version 4.3.4 of PHP. Fairly recently. I am trying to call a pretty basic programming tool. Maybe I am just really tired, or something but I am not getting what is going on. Is there something I am missing. I am pullin

Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Justin Patrin
Jay Blanchard wrote: [snip] Experience has chown that smaller simpler languages are easier to learn and apply than larger ones. [/snip] Obviously. :) I'd be curious as to how many cam to PHP from a programming background? Likewise, how many start with PHP and go on to other languages? And what t

[PHP] Exectution Time?

2004-01-30 Thread Mike Mapsnac
Is there a way to find out the execution time of php program? Thanks _ Check out the coupons and bargains on MSN Offers! http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418 -- PHP General Mailing List (http://www.php.ne

RE: [PHP] Logging on to a web based application

2004-01-30 Thread Robert Sossomon
I use a DB table to manage my users, I do not have to worry about locking it down to one user, however one thought is to track the user into a temporary DB, if the user name is there and the sessionID does NOT match the one in the DB, then the user is not granted permission to access the programs.

[PHP] Related links embedded in pages....

2004-01-30 Thread Ryan A
Hey all, I'm sure you must have visited sites where articles on a page have links to place that explain what that word means.. eg: This is an article about a computer programming language called php which is taking web development to a different. in the above snip of the article "computer prog

[PHP] PHP and XML.

2004-01-30 Thread Mark Ackroyd
Odd problem. I have written a small script that processes some XML, it runs on a few FreeBSD boxes I admin over. On one of the boxes (the only one) .. if I run this script through apache, The xml_set_element_handler and xml_set_character_data_handler functions return a 1 error (out of memory)

Re: [PHP] The PHP Problem

2004-01-30 Thread Chris Edwards
I have several web sites that I use PHP/mySQL with. I pay approximately $9 per month for a gigabyte of space and unlimited data transfer. I use CodeWright from Starbase as my editor. It detects PHP code and colorizes the code as you type i.e. reserved words are blue, comments are green, literals a

RE: [PHP] Size of Arrays

2004-01-30 Thread Chris W. Parker
Galen on Friday, January 30, 2004 12:35 PM said: > On huge arrays (hundreds of thousands of elements, three dimensions, > several megabytes) the performance impact is huge! The downside is > you'll probably have to use numeric keys instead of associative, but > for b

Re: [PHP] Size of Arrays

2004-01-30 Thread Galen
Should anyone be planning experiments or projects with large arrays, use a for() loop instead of a foreach() loop when working with your array. And be sure to count the array, stick that result into a variable, then compare against the variable instead of running the count() again. On huge arr

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Kelly Hallman
On Fri, 30 Jan 2004, Jay Blanchard wrote: > I'd be curious as to how many cam to PHP from a programming background? > Likewise, how many start with PHP and go on to other languages? And what > those languages are either direction? I started serious coding in perl. When I found PHP, I realized I wa

[PHP] file separator...

2004-01-30 Thread Dan Joseph
Hi Everyone, Hoping someone can shed a light on this. I have to send a "file separator" in a string that I piece together to a remote system. I've been told this is x'1C' ASCII or x'22' HEX. I have no idea what to really send. I've tried several things. Can someone tell me what it is

Re: [PHP] How do you guys do this?

2004-01-30 Thread Marek Kilimajer
Ryan A wrote: Hey all, I needed to make a simple upload script so users could upload their images but had a small extra requirment, after searching google, hotscripts and all the other usual places and downloading code, i realized its better to write the whole damn thing myself, so i did. Now that

Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Chris Garaffa
On Jan 30, 2004, at 2:19 PM, Jay Blanchard wrote: I'd be curious as to how many cam to PHP from a programming background? Likewise, how many start with PHP and go on to other languages? And what those languages are either direction? Probably a strange mix, but... I came to PHP from an AppleScript/

[PHP] exec cURL to pass custom MIME headers

2004-01-30 Thread Kristopher Spencer-Yates
Hi, Normally I wouldn't do this but the cURL list seems to be in severe hibernation, ie. no activity. I'm in a bit of a jam w/ this and so here goes How do I get cURL to pass headers properly? It is ignoring my -H headers and sending its own default or whatever set of headers. One exam

Re: [PHP] Logging on to a web based application

2004-01-30 Thread Jake McHenry
- Original Message - From: "Shaun" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 1:38 PM Subject: [PHP] Logging on to a web based application > Hi, > > We are trying to develop a web based system where users a charged per > office. I would be grateful to hear

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Jay Blanchard
[snip] Experience has chown that smaller simpler languages are easier to learn and apply than larger ones. [/snip] Obviously. :) I'd be curious as to how many cam to PHP from a programming background? Likewise, how many start with PHP and go on to other languages? And what those languages are ei

Re: [PHP] How do you guys do this?

2004-01-30 Thread John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > I am having all the pics upload to one > common directory (member_pics) so what do you suggest I name the pictures? uniqid() and md5() would come in handy here. > Another question related to this, I am restricting the uploaded files to be > jpg,png and gif for

Re: [PHP] The PHP Problem

2004-01-30 Thread memoimyself
Hello Ashley, On 30 Jan 2004 at 18:51, Ash wrote: > Hi, > I am totally new to PHP and dont know a thing. I tried looking through the > articles but they were of no use. My Question is: > How can I just write php in a text editor, save it as a .php, and view it in > internet explorer, offline? I h

Re: [PHP] The PHP Problem

2004-01-30 Thread John Nichel
Ash wrote: Hi, I am totally new to PHP and dont know a thing. I tried looking through the articles but they were of no use. My Question is: How can I just write php in a text editor, save it as a .php, and view it in internet explorer, offline? I have tried everything and it just wont work. I trie

Re: [PHP] The PHP Problem

2004-01-30 Thread Pushpinder Singh
You need to test this page on a webserver. I assume you are on a Win system .configure IIS to understand php and then place all your scripts in C:/Inetwin/ folder and u shud be set. hth ps On Friday, January 30, 2004, at 01:51 PM, Ash wrote: Hi, I am totally new to PHP and dont know a thing. I

Re: [PHP] The PHP Problem

2004-01-30 Thread Gabriel Guzman
On Friday 30 January 2004 10:51 am, Ash wrote: > How can I just write php in a text editor, save it as a .php, and view it > in internet explorer, offline? you have to install php. http://www.php.net/manual/en/installation.php gabe. -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] The PHP Problem

2004-01-30 Thread Ash
Hi, I am totally new to PHP and dont know a thing. I tried looking through the articles but they were of no use. My Question is: How can I just write php in a text editor, save it as a .php, and view it in internet explorer, offline? I have tried everything and it just wont work. I tried the code:

[PHP] Logging on to a web based application

2004-01-30 Thread Shaun
Hi, We are trying to develop a web based system where users a charged per office. I would be grateful to hear anyone's experience in creating such applications and how the users are managed. Our main concern is how we stop a client paying for one office use and distributing their password to other

Re: [PHP] Oracle + PHP

2004-01-30 Thread Michael Mauch
Luis Moran Ochoa wrote: > ORACLE_SID=OWEB ;export ORACLE_SID; > ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME; > TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN; > ORACLE_BASE=/usr/oracle; export ORACLE_BASE; > ORA_NLS33=/usr/oracle/product/oc

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
Ryan A on Friday, January 30, 2004 10:09 AM said: > common directory (member_pics) so what do you suggest I name the > pictures? eg: > username.jpg? > first_last_name.jpg? > _username.jpg? how about _originalfilename.jpg? Someone uploads "breadbox.jpg" you save it

[PHP] Re: How do you guys do this?

2004-01-30 Thread Justin Patrin
The reason I didnt want to use the user's username as his pic name is coz then if someone wanted to break into his account they already know the username and they could try to bruteforce the password... if i use first and last name...there is a _small_ possibility of 2 members having the same firs

[PHP] How do you guys do this?

2004-01-30 Thread Ryan A
Hey all, I needed to make a simple upload script so users could upload their images but had a small extra requirment, after searching google, hotscripts and all the other usual places and downloading code, i realized its better to write the whole damn thing myself, so i did. Now that the little hi

Re: [PHP] Document Management and publishing

2004-01-30 Thread memoimyself
Hello Jon, On 30 Jan 2004 at 10:57, Jon Shoberg wrote: > Might anyone be able to recomend a PHP based (or Java/Perl/Python) based > document management system? > > I'm looking to being a LARGE collection of PDF documetns online. The > focus of this application isn't necessarily publishing

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Kelly Hallman wrote: > Other languages dispense with a lot of the formalities found in C++ (a > good or bad thing, depending on your perspective). I found Python to be a > great language to learn OOP, since it forces good habits on you. C++ is a very large unwieldly language

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Raditha Dissanayake
Did you mention cofee John? now why did i suggest subselects when good old joins seem to do the tricks. Yikes! John W. Holmes wrote: From: "Chris Bruce" <[EMAIL PROTECTED]> I am trying to write a function that would compare one table to a number of other tables in Mysql and remove any duplic

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Chris Bruce
Cool, thanks John, I'll give it a shot. Sorry for the last email, I sent it before you sent this one :) -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282 Wilmar Cres. Mississauga, ON L5L4B2 CA 905.828.9189 On Jan 30, 2004, at 12:54 PM, John W. Holmes wr

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Chris Bruce
This will work for Mysql 3.23.54? -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282 Wilmar Cres. Mississauga, ON L5L4B2 CA 905.828.9189 On Jan 30, 2004, at 12:48 PM, John W. Holmes wrote: From: "Chris Bruce" <[EMAIL PROTECTED]> I am trying to write a fu

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread John W. Holmes
From: "Chris Bruce" <[EMAIL PROTECTED]> > Mysql 3.23.54. > > My first thought was to load the output from the tables into an array > and they use a foreach and in_array to create a list of dups, but I > wanted to see if there was an easier way. Ah, in that case, my other query won't work. :) Thi

RE: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Mike Brum
>My first thought was to load the output from the tables into an array and they use a foreach and >in_array to create a list of dups, but I wanted to see if there was an easier way. -- If you're not using MySQL >4, then yeah, that's probably the best way. Just realize that this isn't going to

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread John W. Holmes
From: "Chris Bruce" <[EMAIL PROTECTED]> > I am trying to write a function that would compare one table to a > number of other tables in Mysql and remove any duplicates found. This > is for tables of email addresses where I want to remove any dups found. > > Example: > Master list - compare to list

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Kelly Hallman
On Fri, 30 Jan 2004, Jay Blanchard wrote: > > I would have to disagree. While it may be possible to implement good > > OOP in C++, it does not nearly implement OOP as well as many other > > languages. It also has many other design problems that hinder the > > learning of OOP. > > I respect your op

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Chris Bruce
Mysql 3.23.54. My first thought was to load the output from the tables into an array and they use a foreach and in_array to create a list of dups, but I wanted to see if there was an easier way. -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282 Wilm

Re: [PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Raditha Dissanayake
Hi, If you are using mysql 4 you can use subselects to delete from where in (select) the select itself can be a multi table join. if you are on mysql 3.xx you can use PHP to mimic a subselect. Chris Bruce wrote: Hello everyone, I am trying to write a function that would compare one table t

[PHP] Comparing multiple Mysql tables to find duplicates

2004-01-30 Thread Chris Bruce
Hello everyone, I am trying to write a function that would compare one table to a number of other tables in Mysql and remove any duplicates found. This is for tables of email addresses where I want to remove any dups found. Example: Master list - compare to list1, list2, list3, and so on and re

Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Chris Boget
> Which of the "many other languages" implement OOP better? Smalltalk, for one. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Jay Blanchard
[snip] Hehe, and here is where we start a holy war. [/snip] Bring it. [snip] I would have to disagree. While it may be possible to implement good OOP in C++, it does not nearly implement OOP as well as many other languages. It also has many other design problems that hinder the learning of OOP. [

Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Justin Patrin
Jay Blanchard wrote: [snip] Yes i think java would be the best to learn proper OO, i've nevr done it, but coming the other way knowing php OO, java became more familiar to me, i'm gonna do it this year. [/snip] Why not start with the king of OOP, C++? Currently C++ is the most robust implementor o

[PHP] Re: OOP methodology

2004-01-30 Thread Justin Patrin
Wow, that's a lot of stuff in one class. Personally, I've started using the MVC (Model, View, Controller) architecture. Basically what it does is seperates Data logic from Display logic and Control logic. Here's how I've been using it. Model: Holds and deals with all data for the program, such

php-general@lists.php.net

2004-01-30 Thread Raditha Dissanayake
Hi, Sounds to me like you could be killing your server with so many images being dynamically generated. How about keeping a set of pre generated images and use your php script to embed them into html (depending on whether the server is up or down). You can for example create a large image in a

php-general@lists.php.net

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Maciek Hofstede wrote: > i'm writing a host monitor. > image it's diagram generate from mysql, > if i use imagestring or imagettftext web is too big, there is about 150 > - 170 hosts, and i have generate image and put html descriptions: > > host alive: ble ble ble > ble ble b

php-general@lists.php.net

2004-01-30 Thread Maciek Hofstede
On Fri, 30 January 2004 at 11:53:14 -0500, John W. Holmes wrote: > From: "Maciek Hofstede" <[EMAIL PROTECTED]> > > > I have one problem, > > > > i can't use 'text mode' exp: > > > > echo "blah"; > > > > end 'image function'? > > exp: imagepng($rys); > > > > Any idea? > > I've had my coffee

Re: [PHP] diff between script_filename, path_translated

2004-01-30 Thread John Schulz
John W. Holmes wrote: Not sure what to say on this one other than, yeah, they're the same. :) Ah, spiffy. ;) Not sure if this will help either, but this is what I use to determine "where I'm at" in scripts I write. Very helpful, thank you! :) I realized after sending that I should probably kee

php-general@lists.php.net

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Maciek Hofstede wrote: > I have one problem, > > i can't use 'text mode' exp: > > echo "blah"; > > end 'image function'? > exp: imagepng($rys); You have to use the font rendering functions to put text into an image. I have used imagettftext() to do this. See: http://www.php.

Re: [PHP] Transferring an initiated Session to a Browser !!

2004-01-30 Thread John W. Holmes
From: "Admin - CpanelPlus" <[EMAIL PROTECTED]> > I Need to access certain data in a Page protected by user login. > I have written a script with socket functions which connect to port 80 > and automates what any browser does. > That's Ok .. Now I have the Data What I wanted in a variable. > > But

php-general@lists.php.net

2004-01-30 Thread John W. Holmes
From: "Maciek Hofstede" <[EMAIL PROTECTED]> > I have one problem, > > i can't use 'text mode' exp: > > echo "blah"; > > end 'image function'? > exp: imagepng($rys); > > Any idea? I've had my coffee now and I'm still confused. What are you trying to do? I'm going to try more coffee. ---Joh

Re: [PHP] Re: parsing variables inside a variable?

2004-01-30 Thread John W. Holmes
From: "Justin Patrin" <[EMAIL PROTECTED]> > >>What you need to understand is that the string parsing for variables > >>only happens when the string is actually in your script. When you > >>dynamically create a string (or get it from a DB) it's just a string of > >>characters in memory and is *not*

Re: [PHP] diff between script_filename, path_translated

2004-01-30 Thread John W. Holmes
From: "John Schulz" <[EMAIL PROTECTED]> > After reading the manual entry on $_SERVER predefined variables, I'm > unclear on the difference between 'SCRIPT_FILENAME' and 'PATH_TRANSLATED'. > > Results from a test script, run from a few different locations on my > webserver, were always the same for

php-general@lists.php.net

2004-01-30 Thread Maciek Hofstede
Hey, I have one problem, i can't use 'text mode' exp: echo "blah"; end 'image function'? exp: imagepng($rys); Any idea? -- Maciek Hofstede PGP: http://www.demon.pl/max/max.pgp pgp0.pgp Description: PGP signature

[PHP] Re: parsing variables inside a variable?

2004-01-30 Thread Justin Patrin
Jimbo wrote: Thanks Justin I was aware of that method but wanted to avoid it if possible, however another person explained to me that eval() can be used to force PHP to evaluate (i.e. parse) the variables, just thought I'd let you know for your future reference. James -- -

[PHP] diff between script_filename, path_translated

2004-01-30 Thread John Schulz
After reading the manual entry on $_SERVER predefined variables, I'm unclear on the difference between 'SCRIPT_FILENAME' and 'PATH_TRANSLATED'. Results from a test script, run from a few different locations on my webserver, were always the same for these two variables. I'm especially confused b

[PHP] Document Management and publishing

2004-01-30 Thread Jon Shoberg
Might anyone be able to recomend a PHP based (or Java/Perl/Python) based document management system? I'm looking to being a LARGE collection of PDF documetns online. The focus of this application isn't necessarily publishing articles but equally managing files and assiciating certain info

RE: [PHP] parsing variables inside a variable?

2004-01-30 Thread Ford, Mike [LSS]
On 30 January 2004 12:35, jimbo wrote: > Great - thanks v. much Mike. I don't know why there was no mention of > eval() in the section of the manual on Variable Parsing. Possibly because they didn't want to get into the security issues involved. It sounds like you're ok there, as you only intend

[PHP] Re: tourico

2004-01-30 Thread Lucian Cozma
If you refer to the gilboa/galileo reservation system, I've had a project on it for a Greece-based travel company. It involved XML messaging with the Gilboa server. Lucian COZMA "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone have any experience connectin

Re: [PHP] Transferring an initiated Session to a Browser !!

2004-01-30 Thread Matt Matijevich
But I am also in need of a Mechanism where I can transfer an Initiated session to the User's Browser ... ( Not Just OutPutting the above variable .. But actually Transferring the Session to the User's Browser ) not sure I understand 100% what you mean. You could send a cookie or form field

Re: [PHP] Why are my style sheets all listed on one line?

2004-01-30 Thread Chris W
Freedomware wrote: I'm still fairly new to PHP, so there may be a simple fix for my relatively trivial complaint. I'm using an included page as a head section. It works fine, except that when preview a page and view the source, all the style sheets are displayed on one long line, like this

  1   2   >