RE: [PHP] Passing Arrays

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Add it to the session. Sessions can handle arrays with no problems. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 11:47 AM To: Boaz Yahav;

RE: [PHP] security

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Search archives, as a tip I'd suggest to encrypt the Credit Card numbers with RC4 or some other algorithm. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Better standards in PHP-coding

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Also very true. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 6:50 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Better standards in

RE: [PHP] Database and files

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Right, certain things is beter to keep in the Db. Keep present that the file system is limited. You can't just have an unlimited amount of files on the same directory. PostgreSQL is the best choice on my opinion. mySQL might fail on a large DB. Sincerely, Maxim Maletsky Founder, Chief

RE: [PHP] Backup of MySQL database

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
I think it is already done a WHILE ago. Look for it on source Forge or hotscripts.com. Include C/C++, Perl and Shell scripting in your searches. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Julian

RE: [PHP] Mass Mail {?!}

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Or just: While(True) { // send email sleep(1); if($tired==True) Break; } Count how many mails you want and quit :-) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From:

RE: [PHP] PHP editor for windows

2002-04-22 Thread Maxim Maletsky \(PHPBeginner.com\)
Edit Plus, PHPEdit ... Just browse the archives, Ben Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: .ben [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 3:36 PM To: PHP Subject: [PHP] PHP editor for

RE: [PHP] authentication

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
There are several ways to do that, But in your case, I believe the best would be having a page somewhere and include the protected files. Alternativelly look into the Chapter 17. of PHP Documentation: HTTP authentication with PHP http://it2.php.net/manual/en/features.http-auth.php Sincerely,

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Look also at the examples in docs: -- header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); // always modified header(Cache-Control: no-store, no-cache,

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Post it, Jennifer, post it - we promise not to yell (ignore the yelling people - they never sleep enough, that is why...) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Jennifer Downey [mailto:[EMAIL

RE: [PHP] Browser Cache

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Sorry, that was regarding the browser cache. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:44 PM To: 'Richard Emery

RE: [PHP] ASP to PHP

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Just try it on. I heard some good reviews about it. And, if the site is not too complex, try estimating the time it would take you to re-create the functionality and compare it to the time you think you would take for debugging. I once had to do this and have choosen rewriting the code ourselves.

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
OK, here's what I've done from your code. Check the line I mentioned. ? session_start(); $query = SELECT name FROM {$config[prefix]}_users WHERE uid={$session[uid]}; $ret = mysql_query($query); while($row = mysql_fetch_array($ret)) { $user = $row['name'];

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Oh well. The line I mentioned was not the right one. I misSAW your comment. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:48 PM To:

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Try this, Jennifer: Without messing the rest of your code, change the line: $quantity = $row['quantity']; With this one: $quantity = 0; In other words: hardcode it for testing. If else always prints, then you are missing something in your query. Otherwise

RE: [PHP] If else question

2002-04-23 Thread Maxim Maletsky \(PHPBeginner.com\)
Jennifer, satus! People are nervous here! Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:48 PM To: [EMAIL PROTECTED] Subject: Re:

RE: [PHP] phpnuke still around?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Try looking on sourceforge (www.sf.net) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Dennis Gearon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 12:56 AM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] security

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Was the question is it neccessary or how to do it secure? I myself don't tlike the idea, But if needed, then this could be a way. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: [EMAIL PROTECTED]

RE: [PHP] PHP Lists

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Dan, PHP General is pretty much about anything related to PHP in General -) There are also other lists, look at php.net under support. As of your questions: 1) List archives (the wildest ones) are on: groups.google.com marc.theaimsgroup.com 2) That could be hotscripts.com and

RE: [PHP] what constants are in php like __FILE__

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Try this: php.net/constants Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: nospam [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:36 PM To: 'Php-General Subject: [PHP] what constants are in php

RE: [PHP] registering an array to a session?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Yes, just assign it as if you would do with a string or integer. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Christoph Starkmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:46 PM To:

RE: [PHP] Upload

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
E.. si, capita a molti qui :-) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Neil Highley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 4:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Upload

RE: [PHP] Background Processing

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
You can use PHP-GTK in the background. Just call it with cron. Alternatively, you can set PHP to keep executing on the user exit. What was that function called? on_*_shutdown()? Could be dangerous though, what if it goes to loop-in your server? 30 mins is quite a few for a script to run. So,

RE: [PHP] can someone help?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Hey, I started playing with your code for a while ... And then realized.. What you're trying to do it to reproduce chunk_split() function. Try other work arounds for this. Read the docs, Start from here: www.php.net/chunk_split Sincerely, Maxim Maletsky Founder, Chief Developer

RE: [PHP] replacing first occurence

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Two ways: 1. $string = preg_replace(^.{1}, 'h', 'bill'); // will make 'h'ill out of 'b'ill 2. $string = 'h'.substr('bill', 1);// will get rid of the first char and concatenate Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com //

RE: [PHP] comparing time (related question)

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
I think Miguel said it all: I will just add you this reference on mySQL (if that's what you use) field types reference. http://mysql.com/doc/D/a/Date_and_time_functions.html As of performance I'd say: The logic should be: Store all the data in DB so when you retrieve it you can do every

RE: [PHP] phpnuke still around?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
I'd give you a medal for these words :-) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 6:23 PM To: [EMAIL PROTECTED] Subject: RE:

RE: [PHP] looking for script

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
A chat? A website? A sourceforge :-) Anyway, try hotscripts.com whatever you're looking for. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Teqila MAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24,

RE: [PHP] Not A PHP question but I need help in a big way...

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
There was some kind of ASP for Linux. I only heard of it. Search. Also, for apache's mailing list look on the Groups of Google. May god have mercy on your soul... Amen Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original

RE: [PHP] To store or not to store . . .

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Personally I think databases these days (MySQL in my experience at least) are more than reliable enough and fast enough to serve up binary data in quite large quantities. If you run into performance issues, implement a caching solution run from a crontab. I had a very, very bad experience

RE: [PHP] read text file into mysql

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Do this: $contents = file($file); foreach($contents as $line_num=$line_data) { $data = explode('|', $line_data); // now data contains: // [0] = aa // [1] = bb // [2] = cc // nd so on } Sincerely, Maxim Maletsky Founder, Chief

RE: [PHP] SourceForge. Whats the worst part about it?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
SF is OK, as every other software it itself may have some problems from time to time. But overall it always works. You might be frustrated abut the security precautions it takes, but this is only for your best. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where

RE: [PHP] -- I N C L U D E -- O R -- F O P E N -- ?

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Hi, I am not a PHP programmer. (Sorry Guys;-) Although, I am working on a PHP portal type site, where I need to integrate as seemlessly(?) as possible an outside specialized leased Search Engine Service done with ASP (I suppose? .asp). yup, probably ASP. I have been looking everywhere

RE: [PHP] Setcookie problems...

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
From the manual (and with honor): int setcookie ( string name [, string value [, int expire [, string path [, string domain [, int secure]) so ? setcookie (TestCookie, $value,time()+3600, /~rasmus/, .utoronto.ca, 1); ? limits the cookie to work on only one specified folder see for

RE: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
What does the ! in if(!isset($id)) { $id = 0; } do? It checks for the false return. If isset($id) returns false then the 'if' statement with (!) returns you true, and, as you just guessed, it will assign a (0) to $id. this bit does in general: checks if $id has been assigned anything, if

RE: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
: Philip Olson [EMAIL PROTECTED] To: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To stop receiving the messages from undefined variables add this at top of your files: error_reporting(55); Or better yet, keep as you're doing and develop with E_ALL and fix those E_NOTICE errors

RE: [PHP] Re: Newbie Book Database Question

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
Hello, Chris Montgomery wrote: Howdy, I have been developing with ColdFusion for nearly five years and want to learn PHP. For someone who has never done anything with PHP before, what *one* book would you recommend as a good primer to get started learning PHP? Professional PHP

RE: [PHP] PHP Security Leak

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
-Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 8:20 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Security Leak I'm wondering if anyone has any ideas on how to make a login site more secure. Since I'm not really sure if I've explained

RE: [PHP] using html select as array

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
Dame thing, no? Your SELECT name=language[]. You can see all those selected as an array. Now, add the text type and call it something different (ie; custom_lang). In the page, ? If(strlen($_GET['custom_lang'])) { // do insert of this } else { // loop the $_GET['Language']

RE: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
about variable types. Setting them before solves this problem. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins # Nathan - Original Message - From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To: 'Nathan' [EMAIL PROTECTED

RE: [PHP] getting a string from an external asp file

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
You can POST forms transparently between servers by using sockets. Basically, your PHP file will simply send the POSTed data to a page and will read it after that. Then you parse the ASP output and vuala! Start here: www.php.net/fsockopen Good Luck! Maxim Maletsky Founder, Chief Developer

RE: [PHP] PHP Security Leak

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
. The idea is that without this sort of thing you are vunerable to SQL insertion attacks. Joshua b. Jore http://www.greentechnologist.org On Thu, 25 Apr 2002, Maxim Maletsky (PHPBeginner.com) wrote: -Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: [PHP] Redirect

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
With header you can do by using header(Location: http://www.site.com/some/page.php?some=var;); here's a good article about it: http://www.phpbeginner.com/columns/shobhan/browser other than that, you can always include(). But this is a little bit of a mess. Sincerely, Maxim Maletsky

RE: [PHP] Include Files self aware?

2002-04-30 Thread Maxim Maletsky \(PHPBeginner.com\)
// In your config file: function selfAwareInclude($filename) { define($filename, true); } // in the file you are making an include selfAwareInclude($filename) include($filename); Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins

RE: [PHP] PHP editing environment

2002-05-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Two ways for you: 1. invest $200 (as you mentioned) in a little test server. Set there Samba (samba.org) and simply save.file-refresh.browser 2. install FoxServ or PHPTriad or something else. Look at the sourceforge.net. Or go manually installing the three - Apache, PHP, mySQL on your Win. This

RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis

2002-05-03 Thread Maxim Maletsky \(PHPBeginner.com\)
.htaccess Not sure if ini_set() will work in your case. But try. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Stefen Lars [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 3:02 PM To: [EMAIL

RE: [PHP] PHP editing environment

2002-05-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Here's one good tutorial: http://www.phpbeginner.com/columns/morten/win32 Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Steve Bradwell [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 3:00 PM To:

RE: [PHP] Frames

2002-05-04 Thread Maxim Maletsky \(PHPBeginner.com\)
Yes, But this is a JavaScript problem. Please ask elsewhere or look at the Google. Also, take a look here: http://developer.irt.org/script/script.htm Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Morten

RE: [PHP] Javascript function

2002-05-04 Thread Maxim Maletsky \(PHPBeginner.com\)
Is it possible to call a function in a javascriptpage from a PHP page? Javascriptpage? Do you mean using JavaScript to call a PHP function? NO, it is not. Because PHP is SERVER-SIDE and JavaScript is CLIENT-SIDE. You can do vice versa though. Sincerely, Maxim Maletsky Founder, Chief

[PHP] I'm back

2001-09-24 Thread Maxim Maletsky \(PHPBeginner.com\)
Hello everyone who once knew me! I am announcing you my return to the greatest list! I've been traveling for a few month around the world and am now settled down back in my home town Rome, Italy. I've quit my carrier in Tokyo and, I will now freelance here for a while until I find something

RE: [PHP] select based on time/date

2001-09-24 Thread Maxim Maletsky \(PHPBeginner.com\)
to do time comparisons within mySQL database. In other words, go to mySQL documentation and read there. mySQL will do it way better and faster than PHP. Cheers, Maxim Maletsky PHPBeginner.com -Original Message- From: Jason Dulberg [mailto:[EMAIL PROTECTED]] Sent: martedì 25 settembre 2001

RE: [PHP] How to obtain all the fields' names of a MySQL table?

2001-09-25 Thread Maxim Maletsky \(PHPBeginner.com\)
Why not to look into source code of PHPLIB? The class db_mysql has a function called metadata (I think) - it does exactly that and much more. You can copy the function only or use the class for all your db manipulations if you wish. Maxim Maletsky PHPBeginner.com -Original Message

RE: [PHP] Running Programs.....

2001-09-25 Thread Maxim Maletsky \(PHPBeginner.com\)
Try one of the following: exec() php.net/exec system() php.net/system Maxim Maletsky PHPBeginner.com -Original Message- From: Anthony [mailto:[EMAIL PROTECTED]] Sent: mercoledi 26 settembre 2001 20.05 To: [EMAIL PROTECTED] Subject: [PHP] Running Programs

RE: [PHP] Receive Header.

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
Have you looked into GetImageSize()? php.net/getimagesize Though, I don't know if it works with remote files. Try it. Maxim Maletsky PHPBeginner.com -Original Message- From: Marian Vasile [mailto:[EMAIL PROTECTED]] Sent: mercoledì 26 settembre 2001 8.48 To: [EMAIL PROTECTED

RE: [PHP] one pattern, one string, multiple results

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
Hi Richard. Subsrt_count() is what you are looking for: int substr_count (string haystrack, string needle) php.net/substr_count P.S: Helen Fielding's Bridget Jones Diary is a nice novel, hun? Maxim Maletsky PHPBeginner.com -Original Message- From: Richard Baskett [mailto:[EMAIL

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
it is your local server (you might not be original with the password on production machines, no?) Hope it helps, Maxim Maletsky PHPBeginner.com -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED]] Sent: mercoledì 26 settembre 2001 15.31 To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Getting the file size, wtihout download... is this possible ?

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
AFAIAC, The only function that gets you image size is GetImageSize() which you claimed cannot do remote check. Therefore, I do not think you can manage this without downloading/copying the file to your server. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Marian Vasile

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
- Original Message - From: George Pitcher [EMAIL PROTECTED] To: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 9:42 AM Subject: Re: [PHP] Building Dynamic Value list using ohp Thanks for everyone's help but this is still failing

RE: [PHP] Building Dynamic Value list using ohp

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
=\$HEI\$HEI/option; } mysql_close($link); $drop_down_list .= /select; echo $drop_down_list; Cheers the noo, Derek - Original Message - From: George Pitcher [EMAIL PROTECTED] To: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 26

RE: [PHP] PHP Chat recommendations

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
Try to browse hotscripts.com, it has a plenty of them for you to choose. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Tom Beidler [mailto:[EMAIL PROTECTED]] Sent: mercoledi 26 settembre 2001 17.06 To: php list Subject: [PHP] PHP Chat recommendations Does anyone have

RE: [PHP] updating a database (mysql)

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
Try mysql_affected_rows() It will tell you how many rows were affected. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Joseph Bannon [mailto:[EMAIL PROTECTED]] Sent: mercoledì 26 settembre 2001 21.47 To: PHP (E-mail) Subject: [PHP] updating a database (mysql) When I

RE: [PHP] Does PHP + PHP CACHE can vs JSP ?

2001-09-27 Thread Maxim Maletsky \(PHPBeginner.com\)
Both will do good jobs, but is the site is very loaded PHP might take less resources than jsp and asp from the server. Yet has to be well configured. It all depends on how you use it. PHP is a great solution for most heavy sites. I never had any problems with it on a 4+ million pv/month site.

RE: [PHP] HTML table to MySQL table conversion

2001-09-27 Thread Maxim Maletsky \(PHPBeginner.com\)
Uff.. Don't envy you... Anyway, if someone (hopefully) was cutingpasting the cells in you could do a combination of fopen/explode/regex to split the data into coma-separated values. For example, stripping out every HTML tag replacing it with a coma and a space will create you a dump file.

[PHP] The Kewl Script

2001-09-30 Thread Maxim Maletsky \(PHPBeginner.com\)
To: Maxim Maletsky (PHPBeginner.com) Subject: Re: [P H P] The Histor of The Kewl Script I can't seem to access the source code...and the image is turning out spaced - Original Message - From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To: 'ReDucTor' [EMAIL PROTECTED] Sent: Sunday

RE: [PHP] The Kewl Script

2001-09-30 Thread Maxim Maletsky \(PHPBeginner.com\)
is relatively easy. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: domenica 30 settembre 2001 9.51 To: [EMAIL PROTECTED] Subject: Re: [PHP] The Kewl Script Maxim Maletsky (PHPBeginner.com) wrote: I ported it to use

RE: [PHP] php graphics generation

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
Check out netcratf.com Their graphs are auto generated by (I think) PHP. Also you can use them a lot for many other kind of charts and stats graphs. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Chip [mailto:[EMAIL PROTECTED]] Sent: lunedì 1 ottobre 2001 6.43 To:

RE: [PHP] php graphics generation

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
netcraFT.com, sorry Maxim Maletsky www.PHPBeginner.com -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: lunedì 1 ottobre 2001 8.54 To: 'Chip'; [EMAIL PROTECTED] Subject: RE: [PHP] php graphics generation Check out netcratf.com

RE: [PHP] Namo Web Editor

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
by searching google, perhaps Maxim Maletsky www.PHPBeginner.com -Original Message- From: Justin Rodino [mailto:[EMAIL PROTECTED]] Sent: martedi 2 ottobre 2001 5.30 To: Petras Virzintas Cc: PHP General List Subject: Re: [PHP] Namo Web Editor Where does one find this Namo Web Editor?

RE: [PHP] mysql query for current id-1

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
What about this: $sql=select id,agent,host, DATE_FORMAT(time_in, '%M %d, %Y, %l:%i') AS unixdate from logged_in WHERE userid='$current_user' ORDER BY id DESC LIMIT 1; I think this should work for your case. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Jason Dulberg

RE: [PHP] Namo Web Editor

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
. Still, it feels like it is better than Dreamveawer and Microsoft FrontPage (oh boy, I pronounced devil's name) Just my 0.2c Nice lead, Justin. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: martedi 2

RE: [PHP] mysql query for current id-1

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
... DESC LIMIT 1,1 As you wrote yourself. Sorry, haven't taken in consideration ;-) Maxim Maletsky www.PHPBeginner.com -Original Message- From: Jason Dulberg [mailto:[EMAIL PROTECTED]] Sent: martedì 2 ottobre 2001 6.59 To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED

RE: [PHP] MySQL Ability

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
Yes Devin, mySQL is fast enough, but it is not *really* a database. There are many reasons why some say mySQL is rather close to a file system with SQL interface than to a DBMS. If you really care about how robust and efficient your database is then you should look into PostgreSQL which by many

RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
What about in Europe and Japan. I live between Italy and Tokyo. I only met Zeev Suraski and Doron (the CEO of Zend) representing my company on a meeting in Tokyo this June. What about you? Are there any speeches you do in my locations? Maxim Maletsky www.PHPBeginner.com -Original

RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
? hehehe... are you going to travel to Spain? You can title like: the Rasmus World Tour ;) - Original Message - From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001

RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
PROTECTED]] Sent: martedi 2 ottobre 2001 18.32 To: Maxim Maletsky (PHPBeginner.com) Cc: 'ReDucTor'; [EMAIL PROTECTED] Subject: RE: [PHP] how to decrease serverload easily? Nothing planned for Italy or Japan right now. Frankfurt, Paris, Birmingham, Bucaramanga (Columbia) and Brisbane

RE: [PHP] Htaccess / regex / php I dont know why it won't work

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
I think this was supposed to work: .htaccess RewriteEngine On RewriteRule ^(.*)\.zajfe\.org$ redirect.php?url=$1 [L] Are you sure it doesn't? If it doesn't then meas they 1. don't have mod_rewrite (phphinfo shows you the modules loaded) 2. don't allow .htaccess to override httpd.conf

RE: [PHP] A powerful editor!

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
EditPlus is the best. Many nice functions and, I think, it is more adapted for HTML/PHP development that TextPad. What I can't live without when developing on windows are those drag drop customs of EditPlus. I find it pretty handy. on VIM is great as well. Hey, look into archives. There are

RE: [PHP] bulk e-mails

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
You've already had a nice answer. Look for ezmlm. It is a very powerful open source mailing manager. You could store the data in mySQL database and administer it in your favorite way via PHP or whatever. Then, loop your PHP code and (if you need this of course) copy all the emails of users you

RE: [PHP] Creating POP3 account

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Yes you can. Look into archives. This was covered several times on the list. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: mercoledì 3 ottobre 2001 9.56 To: [EMAIL PROTECTED] Subject: [PHP] Creating POP3 account Hi, Can I

RE: [PHP] Simple Question, I think

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Try also mod_rewrite of apache. It is great for doing such things. Visit apache.org and search docs for mod_rewrite or simply look into archives of this list. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: mercoledi 3

RE: [PHP] something like alert (javascript)

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Then what do you need? We are not any sure on what your question is ... Maxim Maletsky www.PHPBeginner.com -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: mercoledì 3 ottobre 2001 16.31 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] something like

RE: [PHP] How to simulate any browser

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
So you need a browser of your own? You should be using fosockopen() php.net/fsockopen Maxim Maletsky www.PHPBeginner.com -Original Message- From: Kamil Nowicki [mailto:[EMAIL PROTECTED]] Sent: mercoledi 3 ottobre 2001 17.47 To: PHP-list Subject: [PHP] How to simulate any browser

RE: [PHP] Newlines in files

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
It did. Try opening that file with a text editor. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Big5ive [mailto:[EMAIL PROTECTED]] Sent: mercoledì 3 ottobre 2001 19.10 To: [EMAIL PROTECTED] Subject: [PHP] Newlines in files My Code: $PW_LIST=../config/pw.txt;

RE: [PHP] PHP Knowledge Base solution?

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
I think you can take just about any forum or other script and modify it on your own if you know how. And, what you're asking is relatively easy to do from scratch as well. You should try at least. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Michael O'Neal

RE: [PHP] Problem when displaying the $ character

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
It is the same thing. trim() is enough to make it work. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Mauricio T?llez Jim?nez [mailto:[EMAIL PROTECTED]] On Behalf Of EDUMEXICO Sent: mercoledì 3 ottobre 2001 19.53 To: Dominik Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

RE: [PHP] file maniputation??

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Not sure, but this 'wb' looks suspicious to me. From the manual: The mode may contain the letter 'b'. This is useful only on systems which differentiate between binary and text files (i.e. Windows. It's useless on Unix). If not needed, this will be ignored. Can you ignore it as well? Maxim

RE: [PHP] file reading and textarea problem

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Yup. fread() Read on PHP.net/fread PHP.net/fgets ...to learn how to manipulate files. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Nikola Veber [mailto:[EMAIL PROTECTED]] Sent: mercoledi 3 ottobre 2001 11.11 To: php forum Subject: [PHP] file reading and textarea

RE: [PHP] cookie not set anymore by IE5 (localhost)

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
No formatting a developing station is a really stupid thing to do ;-) Have you looked into your C:/docs/you/cookies? It should be there. Hey, why instead don't you try to remove it? Set it to nothing - that's it. Logic: if at least a friend of yours sees it - means it works. Cookies could be a

[PHP] This is SOOOO FREAKY!!! Laughed like HELL !!! :-)

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
I hope I wasn't just left over by not knowing that. Listen what I just came across on an Italian PHP mailing list (ok, credit belongs to the founder of Italian largest PHP portal Michel 'ZioBudda' Morelli @ www.ziobudda.net). According to him, if you add

[PHP] RE: This is SOOOO FREAKY!!! Laughed like HELL !!! :-)

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
: giovedì 4 ottobre 2001 0.58 To: Maxim Maletsky (PHPBeginner.com) Cc: 'PHP'; [EMAIL PROTECTED] Subject: Re: This is S FREAKY!!! Laughed like HELL !!! :-) That would be Thies, and this isn't exactly a new thing. Has been there for a couple of years. -Rasmus On Thu, 4 Oct 2001, Maxim Maletsky

RE: [PHP] associative array syntax question

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Strange, I always though it should be working. Have you tried $a[{$b['b']}] ? What version of PHP are you running? Maxim Maletsky www.PHPBeginner.com -Original Message- From: Job Miller [mailto:[EMAIL PROTECTED]] Sent: giovedi 4 ottobre 2001 1.41 To: [EMAIL PROTECTED] Subject:

RE: [PHP] write to multiple sql tables

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
PHP can only handle a query at a time. If the database in question allows you to construct a such query where you can write to multiple files then you can. Go to the manual of your DB and look for the answer there. For instance; look at the syntax of INSERT. Maxim Maletsky www.PHPBeginner.com

RE: [PHP] associative array syntax question

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
[{$row[TICKER]}] = will not parse $quotes[$row[TICKER]] = will not parse any ideas? --- Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED] wrote: Strange, I always though it should be working. Have you tried $a[{$b['b']}] ? What version of PHP are you running? Maxim Maletsky

[PHP] associative array syntax question

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
-Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: giovedi 4 ottobre 2001 2.02 To: 'Job Miller' Subject: RE: [PHP] associative array syntax question I tried on winXP/PHP4.0.6/Apache ? $a = Array('print me'); $b = Array('b'=0

RE: [PHP] associative array syntax question - got it!

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
: giovedi 4 ottobre 2001 2.44 To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED] Subject: Re: [PHP] associative array syntax question - got it! Maxim, I figured it out. Thanks for your help PHP can't interpolate within string when nested associative array is used. the nested aa must be appended

RE: [PHP] Add $String to $Num ???

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
$sess = $String.$Num; session_register($sess); ..is your answer :-) ...you're welcome :-) Maxim Maletsky www.PHPBeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: giovedi 4 ottobre 2001 2.53 To: [EMAIL PROTECTED] Subject: [PHP] Add $String to

RE: [PHP] associative array syntax question - got it!

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Yes, that does for sure Maxim Maletsky www.PHPBeginner.com -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: giovedi 4 ottobre 2001 4.02 To: 'Job Miller'; 'Maxim Maletsky (PHPBeginner.com)'; [EMAIL PROTECTED] Subject: RE: [PHP] associative array syntax question

RE: RE: [PHP] write to multiple sql tables

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
You can't do it through PHP. ';' - won't work Maxim Maletsky www.PHPBeginner.com -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: giovedì 4 ottobre 2001 6.24 To: Maxim Maletsky (PHPBeginner.com) Cc: 'sc'; [EMAIL PROTECTED] Subject: Re: RE: [PHP] write

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Without following your logic I can give an example of how style sheets on PHPBeginner.com work: In the page we have link rel=stylesheet href=/styles.php And in the styles.php we have all the possible DB connections, browser checks by (PHP SNIFF) and so and so on. You cold even try to call

RE: [PHP] php in css not working with IF's

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Thanks Rasmus. The link you provided will become a great resource for PHPBeginner.com Cheers! Maxim Maletsky www.PHPBeginner.com -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: giovedi 4 ottobre 2001 6.58 To: Jason Dulberg Cc: [EMAIL PROTECTED] Subject: RE:

  1   2   >