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 Deve

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 Ni

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: 'Pag

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 PROTECTED

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] 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] 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 Founde

RE: [PHP] PHP Security Leak

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
ght be a > usernamd and the second would be a password. 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: > &

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 w

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

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
s way > ;-) Once again, use $_SEESION and this is resolved. Good point about variable types. Setting them before solves this problem. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins > > # Nathan > > > - Original Message

RE: [PHP] using html select as array

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
Dame thing, no? Your . 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, Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins > -Original Message- > From: Ro

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 e

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? Profes

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

2002-04-25 Thread Maxim Maletsky \(PHPBeginner.com\)
ing level > IMHO. > > # Nathan > > - Original Message - > From: "Philip Olson" <[EMAIL PROTECTED]> > To: "Maxim Maletsky (PHPBeginner.com)" <[EMAIL PROTECTED]> > > > To stop receiving the messages from undefined variables add th

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] 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 limits the cookie to work on only one specified folder see for more: www.php.net/setcookie Sincerely, Maxim Maletsky Founder, Chief Developer

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 ev

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 PH

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 Develo

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 experienc

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 Message--

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, 200

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: [PHP]

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 compa

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 // w

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 www.PHPBeginn

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, che

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 N

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: '[EMAI

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 l

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 s

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] [mailto:[

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] phpn

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: [PHP]

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 y

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\)
OK, here's what I've done from your code. Check the line I mentioned. $iname$quantity$type"; echo "$display_block"; if($type == "food") { //if the item food is present then set an option and

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] 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

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 PROTECTED]

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, must-re

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] 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 win

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: CDi

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 [mailto:

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 Develope

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 PHP-coding

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: Monday

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] Easy Question

2001-10-05 Thread Maxim Maletsky \(PHPBeginner.com\)
> When you write a php script to access a database,edit > records, etc., is the entire thing 1 giant PHP page or a > bunch of different ones? A giant one If it can be written both ways, > which is the better way to do it? Depends how big is your 'giant'. It is all about your coding style

RE: [PHP] ereg checking if its only numbers

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
With ereg it could be: if(ereg(^[^[:digit:]]+$)) echo 'something else came through'; Untested though ... Maxim Maletsky www.PHPBeginner.com > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: venerdì 5 ottobre 2001 3.42 > To: Chris Aitken; PHP Gene

RE: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
"conditionally load the function/files that you want then you should use include(). " Was the implication of the poster I replied to. To the original I replied commenting each of his arguments, therefore I knew his points. Maxim Maletsky www.PHPBeginner.com -- PHP General Mailing List (ht

RE: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
Of cource changing the require with include would explain everything :-) Sorry, forgot to mention that :-) Maxim Maletsky www.PHPBeginner.com > -Original Message- > From: Maxim Maletsky (PHPBeginner.com) > [mailto:[EMAIL PROTECTED]] > Sent: venerdì 5 ottobre 2001 3.33

RE: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
> > PHP on the other hand seems to load in ALL the code that > MAY be run. > > i.e. an include brings things in which are inside an if, > even if the > > if equates to false. > > A quick check in the manual, it states that: > > "Unlike include(), require() will always read in the target >

RE: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
> (From behind filing cabinet where I am ducking preparing for flames). > > Is it just me or is there anyone else that thinks PHP suffers > from not being modular. It is just you and some other people similar to you. Thought this question was up for a while :-) > PHP on the other hand seem

RE: [PHP] ad rotation program

2001-10-04 Thread Maxim Maletsky \(PHPBeginner.com\)
Have you looked into phpAdsNew? www.sf.net And search for it there Maxim Maletsky www.PHPBeginner.com > -Original Message- > From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] > Sent: giovedi 4 ottobre 2001 23.39 > To: Wandrer; Joseph Bannon > Cc: [EMAIL PROTECTED] > S

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

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
} Bla bla bla Maxim Maletsky www.PHPBeginner.com -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: giovedì 4 ottobre 2001 7.56 To: 'Jason Dulberg'; 'Rasmus Lerdorf' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] php in css not wo

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

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Jason, are not a dope As mentioned to you by Rasmus: just move those !== off the script replacing them with != That is what causes your error. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Jason Dulberg [mailto:[EMAIL PROTECTED]] Sent: giovedì 4 ottobre 2001 7.43 To

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

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
mped with work though, and monday's my 21st, so i don't think i'll be doing much coding, but hey, its opensource, you do a lil, i do a lil, it'll be done in no time... jack -Original Message- From: Maxim Maletsky (PHPBeginner.com) [mailto:[EMAIL PROTECTED]] Sent: Thu

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

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Do you want to do it? PHPBeginner.com and many other PHP sites would greatly appreciate it, Rasmus. Though, NOT and XOR are often unknown to beginners, I noticed it in their codes. Anyway, it is a great idea, I think. I see so many neo programmers confusing with it. Lots of PHP developers are

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

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 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 the class this way with Get: That

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] S

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 a

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\)
ED]] Sent: 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 m

[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 0); print $a[$b['b'

RE: [PHP] associative array syntax question

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
est = NTAP $quotes[$test] = 8.30 $quotes[{$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['

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\)
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: [PHP

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

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
Sent: 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

[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 '?=PHPE9568F36-D428-11d2-A769-00AA001

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

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] 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? Maxi

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] Prob

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 [mailto:[EMAIL

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"; $fp=fop

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] 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] A powerful editor!

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
ED]] Sent: mercoledì 3 ottobre 2001 15.53 To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED] Subject: Re: [PHP] A powerful editor! I wasn't saying anything about the quality of Editplus. I was just wondering what justification there was for the statement "It has more than I coul

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 ottobre

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 create

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 ne

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 t

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 ru

RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
EMAIL 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 Bris

RE: [PHP] how to decrease serverload easily?

2001-10-02 Thread Maxim Maletsky \(PHPBeginner.com\)
asily? 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&#x

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 Messag

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] 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 PROT

RE: [PHP] Namo Web Editor

2001-10-01 Thread Maxim Maletsky \(PHPBeginner.com\)
this kind of software. 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]

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 Dulber

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] php graphics generation

2001-09-30 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

RE: [PHP] php graphics generation

2001-09-30 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: [EM

RE: [PHP] "The Kewl Script"

2001-09-30 Thread Maxim Maletsky \(PHPBeginner.com\)
ps 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)" wro

[PHP] "The Kewl Script"

2001-09-29 Thread Maxim Maletsky \(PHPBeginner.com\)
42 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: "'

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 cuting&pasting 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. Also

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. Mos

  1   2   3   4   >