RE: [PHP] case ?

2001-01-10 Thread Maxim Maletsky
'require' ALWAYS includes the file; 'include' is what you want here. not since v4.0.2(?) came out ... I heard from Zeev that require() and include() behave now just about the same. Read our posting regarding this topic of 1-2 month ago.. Cheers, Maxim Maletsky The tradeoff is that include

RE: [PHP] case ?

2001-01-10 Thread Maxim Maletsky
include() behaves (in all versions of PHP) as well. November 14-th ... Cheers, Maxim Maletsky -Original Message- From: Maxim Maletsky Sent: Thursday, January 11, 2001 2:26 PM To: 'Steve Edberg'; Jon Rosenberg; PHP List . Subject: RE: [PHP] case ? 'require' ALWAYS includes the file

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Maxim Maletsky
As I said to my HTML Editors: Whenever you meet in your code: ? / ? DO NOT TOUCH IT... It works - Programmers and Web Designers have nothing now to do together. That is what I love the most of PHP -- you can separate PHP Core and HTML extremely easily. Cheers, Maxim Maletsky. -Original

RE: [PHP] includes

2001-01-11 Thread Maxim Maletsky
Think of a library: you make yourself a bunch of files to use somewhere later, and when you need any of them - include it. Functions, classes whatever but not IFs and calculation staff: these would always have to be read... Cheers! -Original Message- From: Dan Phoenix

RE: [PHP] password() ::: and it's return...

2001-01-15 Thread Maxim Maletsky
Instead I am curious how other developers on this list are returning the MD5, password() or whatever in permanently encrypted passwords... What are procedures and what is the way the return process work? Any tricks/tips to share with all of us? Cheers, Maxim Maletsky -Original Message

RE: [PHP] password() ::: and it's return...

2001-01-15 Thread Maxim Maletsky
Yeah, in fact that's my point. If you cannot decrypt a password, there's no way to return it , right? So how come these "big guys" DO return it to you? And what is the most secure way for it. Some of these companies deal with finances, the security is a REAL issue over there... Maxi

RE: [PHP] password() ::: and it's return...

2001-01-15 Thread Maxim Maletsky
that's very true, you put in the risk the others accounts Maxim Maletsky -Original Message- From: Josh G [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:32 AM To: PHP User Group Subject: Re: [PHP] password() ::: and it's return... Well it's up to you wether

RE: [PHP] How to keep unauthorized viewers out

2001-01-16 Thread Maxim Maletsky
o pass-protect the directory with articles (it HAS to be a different directory from the story.php) the article will then be still shown under the password or when only included by PHP... there's a whole bunch of ways to do what you're asking ... Cheers, Maxim Maletsky .. -Original Message- From: Miles T

RE: [PHP] got it

2001-01-16 Thread Maxim Maletsky
what a personality ... when "or when you think" no one helps you :- R-E-A-D--A-R-C-H-I-V-E-S then even your 8 y/o sister, once browsed these will learn 'bout PHP more then you ... Maxim Maletsky -Original Message- From: Serge Montmarquette [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] HELP! Date formatting

2001-01-16 Thread Maxim Maletsky
-1956 Cheers, Maxim Maletsky -Original Message- From: Niel Zeeman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 2:46 PM To: php gen list Subject: [PHP] HELP! Date formatting Hi Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956, I can not use mktime cause

RE: [PHP] Re: XML, what is that supposed to do?

2001-01-16 Thread Maxim Maletsky
uff... that was long but very useful, thanks Terry - a good contribution for our developers team in here whom I just forwarded your email and for PHP-General archives. Cheers, Maxim Maletsky -Original Message- From: Terrence Chay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17

RE: [PHP] Anything similar to phpmyedit?

2001-01-16 Thread Maxim Maletsky
www.heraut.demon.nl is a good tool for database design/presentation, then DBTools http://dbtools.vila.bol.com.br/ is also awsome for managing the databases... non of these is written in PHP, they are for your local machine, but I personally like it this way better... Cheers, Maxim Maletsky

RE: [PHP] mail list archive

2001-01-17 Thread Maxim Maletsky
here: http://marc.theaimsgroup.com/?l=php-generalr=1w=2 have fun! Maxim Maletsky -Original Message- From: Taras Vasylkevych [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 7:08 PM To: [EMAIL PROTECTED] Subject: [PHP] mail list archive Hi, is it possible to review

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
a customer like Microsoft, Morgan-Stanley, Amazon.com.. yes, but a new start-up that thinks: "when we'll grow we'll buy something cooler" will crack your soft down (or will ignore your license) ... I've seen it happening so many times... Cheers, Maxim Maletsky -Original Message

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
) are just more likely not good enough to write a good license, the one which will totally satisfy a customer and will encourage him to purchase it. my point is: licenses aren't codes - if you are a programmer you'll have some hard time writing it well. Cheers, Maxim Maletsky. -Original Message

RE: [PHP] preg_replace pain!

2001-01-17 Thread Maxim Maletsky
maybe : $pattern = "/\[b\]([.\n]*)\[\/b\]/Ui";. have you tried it succesfully? P.S: I am not sure that \n in preg is a newline, you could also try this: $pattern = "/\[b\]([.".chr(10).chr(13)."]*)\[\/b\]/Ui";. one of these ... Cheers, Maxim Maletsky -

[PHP] db backup script needed

2001-01-18 Thread Maxim Maletsky
still hack with it while it is being operated... oopps, again wrote too long ... anyway, is there any script like that (fast and dirty is ok) to run on MySQL, PHP4.0.2 ? P.S: I have a quite good idea on how to write it, but NO TIME. Thanks Maxim Maletsky - [EMAIL PROTECTED] mailto

RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Maxim Maletsky
with them all with .htaccess or use .htaccess to not to show them anymore... Cheers, Maxim Maletsky -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 5:48 PM To: Php-General@Lists. Php. Net Subject: RE: [PHP] how do i hide my .inc files

[PHP] Newsletter Software needed urgently...

2001-01-21 Thread Maxim Maletsky
ending up rewriting it all. I need it VERY urgently. my boss is hacking my *ss... Please help me with this one... Thanks in advance, Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http:/

RE: [PHP] convert ASP to be PHP

2001-01-22 Thread Maxim Maletsky
a tool that can do that. Cheers! Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 5:55 AM To: [EMAIL PROTECTED] Subject: [PHP] convert ASP to be PHP Hi people, I have one ASP site that need to be converted to be PHP3

RE: [PHP] What PHP Stands For....

2001-01-22 Thread Maxim Maletsky
;? nor even that makes sense enough... that would be "PHPHPP" ... hmm... ...and so on;...and so on;..and so on BUT Now I will have something to print out and to bring in my bag with me all the time awaiting for these naive interrogations. :-)) You are my saver, Rasmus!

RE: [PHP] Function with True / False return

2001-01-22 Thread Maxim Maletsky
is "$HTTP__Host" just a typo? it should be $HTTP_HOST. Cheers, Maxim Maletsky -Original Message- From: Jamie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:41 AM To: PHP Subject: [PHP] Function with True / False return can anyone tell me whats wrong with thi

[PHP] |O:T| Can anyone translate for me this Perl code into PHP?

2001-01-23 Thread Maxim Maletsky
L "\n\n"; if ($INPUT{'unsubchk'}) { print MAIL "===\n"; print MAIL "You have received this email because you subscribed to the $INPUT{'listname'} Mailing Service. To unsubscribe simply visit the link below.\n";

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
RT_ID() will be here equal to the auto_incremented id of the first $SQL statement. Hope this helps, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 7:16 AM To: [EMAIL PROTECTED] Subject: [PHP] last_insert_id function I got

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
. Cheers, Maxim Maletsky -Original Message- From: Mark Lipscombe [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 5:28 AM To: Maxim Maletsky Cc: 'Jacky@lilst'; [EMAIL PROTECTED] Subject: RE: [PHP] last_insert_id function Someone jump in here and correct me if I'm wrong

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
Yes, except that in the second case you first will have to do the insertion of $sql and then assign $lastId to mysql_insert_id(); Cheers, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 7:36 AM To: Maxim Maletsky; [EMAIL

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
a thing to understand (just in case you didn't) that mysql_insert_id() must be called after mysql_query($sql) was made... otherwise how do we know the last id... ? Cheers, Maxim Maletsky -Original Message- From: Maxim Maletsky Sent: Wednesday, January 24, 2001 6:38 PM To: 'Jacky

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
I am not really sure about this one, but the first thing I would do is that I would try it. It could be though ... Cheers, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 7:53 AM To: Maxim Maletsky; 'Mark Lipscombe' Cc

RE: [PHP] Urgent help needed, sound scary when anyone did that on title :-)

2001-01-24 Thread Maxim Maletsky
if nothing else works for you - try this... (depends on how secure stable you want your application to be, of course...) Cheers, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 1:21 AM To: [EMAIL PROTECTED] Subject: [PHP] Urgent

RE: [PHP] PHP + send mail using remote smtp server ?

2001-01-29 Thread Maxim Maletsky
Yes, Check the PHP.ini file, it can be easily configured there, Cheers, Maxim Maletsky -Original Message- From: Samuel Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:29 AM To: php-general Subject: [PHP] PHP + send mail using remote smtp server ? Hello everybody

RE: [PHP] ereg()

2001-01-29 Thread Maxim Maletsky
only letters and space ? if (eregi("^[A-Z ]+$", $firstname)) this will return true only if a case-insensitive string will contain only letters and spaces... (and the string must not be NULL) if (eregi("^([A-Z]+( )*[A-Z]+)$", trim($firstname)))\ this will return "M

RE: [PHP] Apache/PHP Configuration Problem on NT5

2001-01-29 Thread Maxim Maletsky
Have you touched any .htaccess file? Then maybe that's the problem ... I've no idea what you misconfigured at all, but I know that a misconfiguration of .htaccess gives you the exactly same error (500) and the error log line is often looking very similar, Cheers, Maxim Maletsky -Original

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Maxim Maletsky
Archives at http://marc.theaimsgroup.com/?l=php-generalr=1w=2 Cheers, Maxim Maletsky -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 6:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Importing MS Access into MySQL? Hey all, I heard somewhere (I think

RE: [PHP] Resize the pop-up window

2001-01-29 Thread Maxim Maletsky
'; ? /snip hey, this yes WILL HELP YOU ALL: http://developer.irt.org/script/script.htm Lots of good Javascript tips! Cheers, Maxim Maletsky -Original Message- From: david klein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 4:15 AM To: [EMAIL PROTECTED] Subject: [PHP] Resize the

RE: [PHP] Problem!

2001-01-29 Thread Maxim Maletsky
= substring($date,4,6); // you mean that the month follows the year? (not clear in your example) $day = substring($date,6,8); return "Today's date is $day $month $year"; or use mktime() etc ... } } Cheers, Maxim Maletsky -Original Message- From: Fredrik Arild Tak

RE: [PHP] can .inc run php script?

2001-01-29 Thread Maxim Maletsky
Yup, you can even run .maxim or .john if you add them into apache's httpd.conf, or without adding anything you can just include() any possible kind of file into .php file and it will be processed just as a .php file. Cheers, Maxim Maletsky -Original Message- From: John LYC [mailto

RE: [PHP] testing

2001-01-29 Thread Maxim Maletsky
Yeah, apparently the server was a bit down these hours ... no one received anything ... Cheers, Maxim Maletsky -Original Message- From: Joe Sheble aka Wizaerd [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 10:52 PM To: [EMAIL PROTECTED] Subject: [PHP] testing I haven't

RE: [PHP] VIRUS ON LIST?

2001-01-29 Thread Maxim Maletsky
my firewall reports this at last once a moth ... Cheers, Maxim Maletsky -Original Message- From: Chuck Mayo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 8:50 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] VIRUS ON LIST? I don't want to be an alarmist

RE: [PHP] when using die(), how can i get the line number that errored?

2001-01-29 Thread Maxim Maletsky
$res = mysql_query($badsqlstatement) or die(errtrapper().' at line (B'.__LINE__.'/B)'); Cheers, Maxim Maletsky -Original Message- From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 6:21 AM To: [EMAIL PROTECTED] Subject: [PHP] when using die(), how can

RE: [PHP] Disable print button of client browser

2001-01-29 Thread Maxim Maletsky
There's NO METHOD~~!!! any one can just hit print-screen and dump whatever your monitor was showing into PhotoShop (which will print it on request) :-)) Cheers, Maxim Maletsky -Original Message- From: Usman Ghani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:38 PM

[PHP] test

2001-01-29 Thread Maxim Maletsky
Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http://www.j-door.com http://www.j-door.com/ http://www.japaninc.net http://www.japaninc.net/ http://www.lincmedia.co.jp http

RE: [PHP] Editor

2001-01-30 Thread Maxim Maletsky
No it is not, but you can use it for as long as you wish in unregistered mode. Cheers, Maxim Maletsky -Original Message- From: Christian Sakshaug [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 8:47 PM To: Maxim Maletsky Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Editor

RE: [PHP] question ! show binary

2001-01-30 Thread Maxim Maletsky
... Hope this is something that helps. Cheers, Maxim Maletsky -Original Message- From: Yui Hiroaki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] question ! show binary HI! I am using PHP in mySQL. I cr

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
Will work well, I think ... plus this is on submission which makes a little discount on load times. And it is quite expandable function. Cheers, Maxim Maletsky -Original Message- From: Chris Aitken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:04 PM To: [EMAIL

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
{ $Gotcha = 1; Break; } if(!$Gotcha) header("Location: error.php?reason=prudes_wont_like_it"); else header("Location: insert_stuff.php?comment=$block_of_text"); /snip Cheers, Maxim Maletsky -Original Message- From: Chris

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
"$loop[naughty_words]")) { return true; } } } if(!nasty_words($text)) header("Location: error.php?reason=prudes_wont_like_it"); else header("Location: insert_stuff.php?comment=$text"); Cheers, Maxim Maletsky -Original Message- From: Maxim M

RE: [PHP] contracting consulting (was [PHP] Pricing for PHP programming???)

2001-02-01 Thread Maxim Maletsky
er to find for a manager on AltaVista. This is how we have to teach them. Cheers, Maxim Maletsky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] How do I get last inserted ID?

2001-02-01 Thread Maxim Maletsky
mysql_insert_id() is a PHP function for it. however I recommend you using a build-in SQL function LAST_INSERT_ID(). i.e: INSERT INTO table SET name='$name', surname='$surname'; UPDATE table SET name='$name', surname='$surname' WHERE id=LAST_INSERT_ID() Cheers, Maxim Maletsky -Original

[PHP] configuring headers in mail() ...

2001-02-01 Thread Maxim Maletsky
It all looks alright to me, however in from field of my email client I still see ' [EMAIL PROTECTED]' mailto:[EMAIL PROTECTED]' instead of 'J-Door Newsletter' , What am doing wrong? Cheers, Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Webmaster, J-Door.com / J@pan Inc. LINC M

RE: [PHP] test - can someone please reply?

2001-03-07 Thread Maxim Maletsky
ha ha ha . Maxim Maletsky -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 3:13 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] test - can someone please reply? On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote

[PHP] to however designed PHP.NET - che.e.e.e.ers!

2001-03-07 Thread Maxim Maletsky
and the usability has improved immensely... very cool. Great job guys! And, if anyone on the list finds any bugs there - please contribute! Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http

RE: [PHP] Post but not Post

2001-03-28 Thread Maxim Maletsky
a SECURE one :-) Cheers, Maxim Maletsky -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 4:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Post but not Post Hello. we all know that we can send variables to another PHP file via form tag and with post

[PHP] SQL : multiple SELECT and missing rows.

2001-04-02 Thread Maxim Maletsky
t me how do I SELECT ALL of the accounts having simply NULL on 'addresses.*' when there's no such row, instead of 'loosing' the whole 'account' row? I sure know how to do it using two queries, still, I wonder if one single query can do this job. Where do I miss the logic? Thanks in advanc

RE: [PHP] PHP and MS Access

2002-04-02 Thread Maxim Maletsky
? No I think a way could be by trying the ODBC functions of PHP. See www.php.net/odbc If you give us more details we might be more of a help. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com If any of you

RE: [PHP] April fools day - did anyone notice Thies's fangs on rc1???

2002-04-02 Thread Maxim Maletsky
Exactly what I always though in here, Rasmus:-) Maxim Maletsky -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:12 PM To: Brian Drexler Cc: Erik Price; Frank Joerdens; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] April

[PHP] Re: Including Files

2002-04-03 Thread Maxim Maletsky
myself your /etc/passwd and you're freaked :-) Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com maxim phpbeginner.com Craig Donnelly writes: Is there a way to setup either the apache/php directives to produce a custom 404 if an include

[PHP] Re: some kind of library loader

2002-04-03 Thread Maxim Maletsky
. Not sure if this could be wise to do, just throwing out an idea. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com maxim phpbeginner.com Arpad Tamas writes: Hi Everyone! I have an idea, but I don't know how to realise it, if it can

[PHP] Re: What's wrong with the Array? Im baffled!

2002-04-03 Thread Maxim Maletsky
])) { } this will mean: if there's such variable defined and the lenght of what it contains is bigger than 0 the statement will result TRUE. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com maxim phpbeginner.com Scott Fletcher

[PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Maxim Maletsky
for that very array. As I said in the very first line - all up to your logic and the organization rules within the code. Hope it is of any help to you. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] Scott

[PHP] Re: syntax for date math expressions

2002-04-03 Thread Maxim Maletsky
them through the 'date()' function. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] ROBERT MCPEAK writes: What is the php syntax for adding or subtracting dates? For example, I'd like to do something like

[PHP] Re: Passing Values

2002-04-03 Thread Maxim Maletsky
if it will help. Thanks in Advnace -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] -- PHP General Mailing List (http

RE: [PHP] can't get it to work

2002-04-03 Thread Maxim Maletsky
for the data comparisons and output formatting. Take some time reading the manuals and you will discover a whole new world on the RDBMS use. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Maxim Maletsky
That's the way! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 8:26 PM To: 'Scott Fletcher

RE: [PHP] PHP FAQ (again)

2002-04-03 Thread Maxim Maletsky
. Though, it's been always kind of tough to accomplish, and even start. Reason: everyone is trying to purge the project in its own way... not too easy to agree. But, I'd love to follow this idea. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] auto submit

2002-04-03 Thread Maxim Maletsky
in your form you're already being collecting, even so he pressed no submit buttons yet. I made an intranet editor that had this failure-free feature similar to MS Word. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] HTML to PHP Links

2002-04-03 Thread Maxim Maletsky
yourself. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.phpbeginner.com [EMAIL PROTECTED] -Original Message- From: G-no / |{iller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 4:20 AM To: [EMAIL PROTECTED] Subject: [PHP] HTML

RE: [PHP] Query from POST_VARS

2002-04-03 Thread Maxim Maletsky
You can also use this mySQL syntax: INSERT INTO table SET field1='$value1', field2='$value2', ...etc Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: chris allen [mailto:[EMAIL

RE: [PHP] Re: some kind of library loader

2002-04-03 Thread Maxim Maletsky
Have you considered simply using require_once? Also, you can find out if a class was defined by calling 'class_exists()'. In this way you might save something. The best way thought is what Miguel was saying: load the files conditionally with a logic. Sincerely, Maxim Maletsky Founder, Chief

RE: [PHP] syntax for date math expressions

2002-04-03 Thread Maxim Maletsky
recently turned to 10m) instead of the simple timestamp(14). Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] syntax for date math expressions

2002-04-03 Thread Maxim Maletsky
Just insert the date: like NOW(), or whatever formatted string into the field PS: YAY! In Attack! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Erik Price [mailto:[EMAIL

RE: [PHP] syntax for date math expressions

2002-04-03 Thread Maxim Maletsky
In two words - here's your bible, Erik: http://www.mysql.org/documentation/mysql/bychapter/manual_Reference.html #Date_and_time_functions Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.phpbeginner.com [EMAIL PROTECTED] -Original Message

RE: [PHP] Javascript and PHP??

2002-04-03 Thread Maxim Maletsky
Use header to start file download: http://www.php.net/manual/en/function.header.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Joe Keilholz [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] Re: [PEAR] PEAR

2002-04-03 Thread Maxim Maletsky
is just and extension it is possible to access it without touching any files at all. Just use it the way you would use PHPLIB: put pear folder somewhere and start including its files and call its classes and methods. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP

RE: [PHP] Re: included file name

2002-04-03 Thread Maxim Maletsky
Try this: function whatFile($f) { $LOCALS['fname'] = $f; } $then in the file of yor interest do this: whatFile(__FILE__); and wherever next you will want to have that value the file name will be within $fname; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com

[PHP] Re: Tools for creating a faq

2002-04-04 Thread Maxim Maletsky
user is not scared of read the complex programming terminology in the advaced section. Kewl, no? we're getting closer now. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] Jason Wong writes: On Thursday 04 April 2002

[PHP] Re: CCS Question -- anyone know?

2002-04-04 Thread Maxim Maletsky
within tables. P.S: this was an answer to a message that originally shouldn't been posted on this list. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] Jason Caldwell writes: I have several checkboxes on my webpage

RE: [PHP] Re: some kind of library loader - Thanks

2002-04-04 Thread Maxim Maletsky
Go wild Arpi! Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] -Original Message- From: Arpad Tamas [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:34 AM To: Miguel Cruz Cc: Maxim Maletsky

RE: [PH P] Re: included file name -- DOCS ?

2002-04-04 Thread Maxim Maletsky
Need more to say, guys? Read below... -Original Message- From: Mikhail Avrekh [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:43 PM To: Maxim Maletsky Cc: 'Philip Hallstrom'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: included file name -- DOCS ? Thanks guys

RE: [PHP] Sockets with windows / win32 - 'call to undefined function: ...'

2002-04-04 Thread Maxim Maletsky
Socket() function does not exist in PHP at all. Use fsockopen() instead. http://www.php.net/fsockopen Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Odd Arne Beck [mailto

RE: [PHP] Explode and Trim

2002-04-04 Thread Maxim Maletsky
element of your multidimentional array // combine your rest of the code and work it out the way you need it. } } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] eregi_replace

2002-04-04 Thread Maxim Maletsky
$qq = V:\\memo\\F0001\\abcdef.com; print $qqbr\n; $qx = ereg_replace(V:\\,'',$qq); print $qx; out: V:\memo\F0001\abcdef.com Warning: Trailing backslash in /home/rodolfo/public_html/test.php on line 5 I think it should be: $qx = ereg_replace(V:,'',$qq); Sincerely, Maxim

RE: [PHP] Help with Function parameter

2002-04-04 Thread Maxim Maletsky
and your function will work Return True;// is enough } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Simonk [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04

[PHP] Re: getting lines from the highest ID in a database?

2002-04-05 Thread Maxim Maletsky
add to your mySQL query: order by id desc limit 1 This will order your data by your primary id (change 'id' to whatever you auto-increment) in the descending order and will limit the results to 1 record. Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP

[PHP] Re: Includes

2002-04-05 Thread Maxim Maletsky
we still use include(); setup.php has something like: if(file_exists($page) and ...more...controls..) include_once $page; then the $page.php is where you have a part of your site. You can pass $page as the GET variable: setup.php?page=page.php and so on Maxim Maletsky

[PHP] Re: New-line characters

2002-04-05 Thread Maxim Maletsky
ways. In the poster's case, to have a p out of brbr he should still use nl2br() and then add this to it: $text = preg_replace(/\w*br\w*br\w*/i, \n\np, $text); Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] Jamie

[PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Maxim Maletsky
RegEx. But, I was wondering, is a known bug or it's because of my machine? Other than that nothing has changed... Enlighten me on this, please. Did I miss a bug report? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Maxim Maletsky
PHP version and use same data as before. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 2:21 AM

RE: [PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Maxim Maletsky
OK, James, even worth. But again (I like insisting on such things), Why do I have it now and didn't have it before? Why did it change anyway? I haven't seen it on any other my server and I use it quite a lot. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP

RE: [PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Maxim Maletsky
on 06/04/02 10:13 AM, Maxim Maletsky ([EMAIL PROTECTED]) wrote: I've never seen that nl2rb would return me BR / instead of the traditional BR. But it did. Is that normal or it that a bug? Here's some test code: ? $text = Hello

RE: [PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Maxim Maletsky
There we go. Thanks Rodolfo. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Rodolfo Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 2:23 AM To: Maxim

RE: [PHP] nl2br returns BR /? normality or a bug?

2002-04-06 Thread Maxim Maletsky
Thanks Torben, I have rushed into this discussion because I didn't know anything about this change. Later on I've discovered the rest. Thank you all. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

[PHP] Re: Directory check

2002-04-08 Thread Maxim Maletsky
try: if(is_dir($dir)) { echo 'directory was found'; } Yoroshiku, Maxim Maletsky PHPBeginner.com Hiroshi Ayukawa writes: Does anyone know how to check a directory exiasts? Thanks in advance, Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top

RE: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Maxim Maletsky
. That would be WAY easier. Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:44 PM To: PHP-general Subject: [PHP

RE: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Maxim Maletsky
I don't think this is his case. Say, some site on geocities wants to get on and manipulate his BB while showing it's own Geocities URL. What would it have to do with apache? It is rather like using frames. (or JavaScript of some kind) Maxim Maletsky -Original Message- From

[PHP] PCRE - catching a caracter set in a negative class

2002-04-09 Thread Maxim Maletsky
); Thanks, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dealing with Query String

2002-04-09 Thread Maxim Maletsky
for this, just a few variables preset before calling mySQL. Do pobachennya, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Vladislav Kulchitski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002

RE: [PHP] Dealing with Query String

2002-04-09 Thread Maxim Maletsky
. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Vladislav Kulchitski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 4:09 AM To: Maxim Maletsky Cc: [EMAIL PROTECTED] Subject

RE: [PHP] Including only I want

2002-04-13 Thread Maxim Maletsky
way though. Sincerely, Maxim Maletsky Founder, Chief Developer [EMAIL PROTECTED] PHPBeginner.com (Where PHP Begins) www.phpbeginner.com -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 5:16 PM To: Alberto Wagner; Php General Mailling

[PHP] Re: PHP HTML Issue

2002-04-16 Thread Maxim Maletsky
really want them, create a copy as hidden and that is it. Cheers, Maxim Maletsky www.PHPBeginner.com Boaz Yahav writes: Hi I'm having a problem that is taking me out of my mind. I have a DISABLED field in my HTML (SELECT tag) and for some reason, it's value is not passed back

[PHP] Re: Performance question

2002-04-16 Thread Maxim Maletsky
anyway. Cheers, Maxim Maletsky www.PHPBeginner.com James E. Hicks III writes: I think you've got the best set up already. I have a PDF library that I do a similar thing with. To update the site I just dump the new PDF's into their directory and the users reload the page to see

  1   2   3   4   5   6   7   >