RE: [PHP] require('asdf')

2001-02-15 Thread Maxim Maletsky
Use require("$DOCUMENT_ROOT/includes/folder/file.inc") from any place on you website... in other words you need to use the full path to the file. Cheers, Maxim Maletsky -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001

RE: [PHP] Qoute problem

2001-02-15 Thread Maxim Maletsky
why not str_replace('"','|', $describe); ? this gotta work ... Cheers, Maxim Maletsky -Original Message- From: Tanya Brethour [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 3:17 AM To: Web master Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Qou

RE: [PHP] Re: Access my script

2001-02-15 Thread Maxim Maletsky
just type it in your browser ... or make .html to be parsed for PHP and include('the_file.php3') Cheers, Maxim Maletsky -Original Message- From: Barry Fawthrop [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 3:14 AM To: [EMAIL PROTECTED] Subject: [PHP] Re:

RE: [PHP] ereg problem

2001-02-15 Thread Maxim Maletsky
- hyphen is something a bit special in RegEx .. read the manual, I think you should escape it. Cheers, Maxim Maletsky -Original Message- From: Janet Valade [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 3:21 AM To: '[EMAIL PROTECTED]' Subject: [PHP] ereg prob

RE: [PHP] Environment Variables ???

2001-02-15 Thread Maxim Maletsky
... Cheers, Maxim Maletsky -Original Message- From: Barry Fawthrop [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 5:48 AM To: [EMAIL PROTECTED] Subject: [PHP] Environment Variables ??? Importance: High Why do the Environment Variables REMOTE_IDENT REMOTE_USER HTTP_FROM

RE: [PHP] Structuring large PHP programs

2001-02-15 Thread Maxim Maletsky
A large application should be a set of well organized files having one single include at the top. And in that include you do all kind of things. Of course auto_prepend works always better /... but not always possible, right... use classes, reuse files ... libraries etc ... Cheers, Maxim

RE: [PHP] Restrict access per IP Address

2001-02-15 Thread Maxim Maletsky
if(getenv('REMOTE_ADDR')==$my_IP) $LetMeIn = 1; else unset($LetMeIn); Cheers, Maxim Maletsky -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 8:31 AM To: PHP Mailing List Subject: Re: [PHP] Restrict acc

RE: [PHP] pro's and con's of storing images

2001-02-15 Thread Maxim Maletsky
stand, some think that it is cooler having graphics in the database, but it is actually a political war between database maker ... "They support it? then I gotta do so too, or I'll lose the market..." Cheers, Maxim Maletsky -Original Message- From: Andrew Hill [mailto:[EM

RE: [PHP] Searching Archives

2001-02-15 Thread Maxim Maletsky
That will be up on PHPBeginner.com within few days. I think the knowledgebase will become available at least within a week or so, (time for us to find all the info needed to start it) Please help me with it if you know how. Cheers, Maxim Maletsky -Original Message- From: Jonathan

RE: [PHP] Passing vars

2001-02-15 Thread Maxim Maletsky
you can use sessions .. php.net/sessions the session are cookies which will remember the user and will copy what you need on your system, making these 30 lines available only to him for the time you specify. Cheers, Maxim Maletsky -Original Message- From: Tanya Brethour [mailto:[EMAIL

RE: [PHP] True || False ?

2001-02-15 Thread Maxim Maletsky
if($foo<5) return "$foo is less then 5"; return "Then, logically, $foo *IS* 5"; } // then call this function as echo ''.returnMeFoo(4); echo ''.returnMeFoo(5); echo ''.returnMeFoo(6); And see how fun it is! Cheers, Maxim Mal

RE: [PHP] True || False ?

2001-02-15 Thread Maxim Maletsky
eturned as true'; Cheers, Maxim Maletsky -Original Message- From: Maxim Maletsky Sent: Friday, February 16, 2001 2:40 PM To: 'Jonathan Sharp'; [EMAIL PROTECTED]; 'Jeff Oien' Subject: RE: [PHP] True || False ? Yeah, sure you can, if return is found in function it th

RE: [PHP] form variables showing blank but query shows non-blank ??

2001-02-15 Thread Maxim Maletsky
what about the form itself? I see no problems in here (except of course that you disclosed your mySQL host, login and password) Cheers, Maxim Maletsky -Original Message- From: Andre Bajew [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:57 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] HTML Coding in mySQL field

2001-02-15 Thread Maxim Maletsky
any kind of field that accepts text (CHAR, VARCHAR, BLOB (TEXT, LONGTEXT) etc) is OK. htmlspecialchars will encode that for you and show HTML as HTML visibly. see here: www.php.net/htmlspecialchars Cheers, Maxim Maletsky -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL

RE: [PHP] PHP Editors

2001-02-16 Thread Maxim Maletsky
0.2c Cheers, Maxim Maletsky -Original Message- From: Dallas Kropka [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 5:20 PM To: Maxim Maletsky; 'Michael McGlothlin'; Matt DeLong Cc: [EMAIL PROTECTED] Subject: RE: [PHP] PHP Editors www.textpad.com Wonderful app, high

RE: [PHP] True || False ?

2001-02-16 Thread Maxim Maletsky
You are absolutely right. True = 1 False = 0 make an if statement, or echo ... Cheers, Maxim Maletsky -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 6:41 PM To: 'Toby Butzon'; Jonathan Sharp Cc: [EMAIL PROTECTED] Subject: RE:

RE: [PHP] running a big sql script

2001-02-19 Thread Maxim Maletsky
Yes you do. It comes easier for eyes if you use a database abstraction layer, but still it's a different query. Cheers, Maxim Maletsky -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 10:20 AM To: [EMAIL PROTECTED] Subject:

[PHP] URGENT: IE pops-up an Error and File Download Fails. Needs to be fixed NOW. Please advise.

2001-02-20 Thread Maxim Maletsky
tors are staying here in line near my MAC while I am writing you this. Any help is greatly appreciated! Cheers, Maxim Maletsky P.S: if any friends of Bill are around the list, please forward him my happy moments and eventual sweet words. Maxim Maletsky - [EMAIL PROTECTED] <mailto:[EMAI

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-20 Thread Maxim Maletsky
It goes on (SERVER_SOFTWARE) Apache/1.3.9 (Unix) ApacheJServ/1.0 PHP/4.0.1pl2 mod_ssl/2.4.4 OpenSSL/0.9.4 on Linux I am reviewing error_logs ... so far nothing funny ... Cheers, Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-20 Thread Maxim Maletsky
MSIE 5.01 only). I wonder if IE finds something interesting between the pockets received and then breaks file download without seeing EOF. What so funny do I output?... ths is the question. Cheers, Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: We

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-20 Thread Maxim Maletsky
The funny thing is that the error sometimes goes away (I am frenetically refreshing the page) but in most cases stays. It never happened here before. Just from yesterday, or today .. not sure. Error logs report nothing at all. Cheers, Maxim Maletsky -Original Message- From: Maxim

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-20 Thread Maxim Maletsky
nd a browser is on client side. I just wonder if there can be some other details something with web server ?... Cheers, Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 4:30 PM To: Maxim Maletsky; Boaz Yahav; '

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
ead subject - write me I am here not sleeping. Cheers Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 4:42 PM To: Maxim Maletsky; Boaz Yahav; 'PHP General List. (E-mail)' Subject: RE: [PHP] URGENT: IE pops-up an Err

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
>From last millenium. (Cristmass? I guess) and always worked as precise as the heart of a baby. Cheers, Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 4:31 PM To: Maxim Maletsky; Boaz Yahav; 'PHP General List.

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
Another funny thing: the page breaks in all different places but more often on: 1276 Bytes (65% of times), 2743 Bytes (15% of times), 4153 Bytes (10% of times), others Interesting ... I feel here pockets trouble ... Cheers, Maxim Maletsky -Original Message- From: Maxim

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. FIXED (no idea how)

2001-02-21 Thread Maxim Maletsky
ess - packets. Something was wrong with pockets, or file size... the file size differs now, and it works... Geez I will investigate on this. This is just too funny to forget about. IE is so buggy Cheers, Maxim Maletsky P.S: As I wrote in my first post: "If any friends of Bill are

RE: [PHP] Pay for help

2001-02-21 Thread Maxim Maletsky
inst your rules. If it was then please remove my entry from your database. Maxim Maletsky " and then you explained it to me: " Hi It's not against any rule but it think it doesn't look good to add an example as a link to another site which is a competitor

[PHP] null@terra.com.br - should get removed

2001-02-26 Thread Maxim Maletsky
Mensagem Automatica do Terra [[EMAIL PROTECTED]] Could anyone please remove this guy? his mailbox has exceeded by size, guess he didn't know how many subscribers are on this list Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROT

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

RE: [PHP] case ?

2001-01-10 Thread Maxim Maletsky
won't be processed at all. That's the way 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 Li

RE: [PHP] Re-engineering print()

2001-01-10 Thread Maxim Maletsky
your question well? Cheers, Maxim Maletsky -Original Message- From: Kristofer Widholm [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 3:20 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re-engineering print() Here's what you wrote, 01-01-11: > > $s = sprintf("

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

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread Maxim Maletsky
ther staff... not only graphics... just my 0.2c.. Cheers, Maxim Maletsky. -Original Message- From: Josh G [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 12:00 PM To: PHP User Group Subject: Re: [PHP] mixing HTML and PHP code - Original Message - From: "Jade Ohl

RE: [PHP] hello

2001-01-15 Thread Maxim Maletsky
Actually it does.. I've seen it so many times on this list... subjects like: HEEELLPPP!! Upgrating problems I just think it is time to do it. First or Later you should upgrade your PHP so, do it now and listen to these few complains you'll receive Cheers... -Original Mess

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
us would learn something new. Maxim Maletsky -Original Message- From: Josh G [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:07 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] password() ::: and it's return... I'm not sure I understand the question. What exactly do

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 ther

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 w

RE: [PHP] How do I do to update part of a string?

2001-01-15 Thread Maxim Maletsky
n you have to care of your processing time. typically ereg()s are quite slow, Cheers, Maxim Maletsky -Original Message- From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 16, 2001 11:39 AM To: php-general Subject: [PHP] How do I do to update part of a s

RE: [PHP] How to keep unauthorized viewers out

2001-01-16 Thread Maxim Maletsky
bunch of ways to do what you're asking ... Cheers, Maxim Maletsky .. -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 8:49 AM To: [EMAIL PROTECTED] Subject: [PHP] How to keep unauthorized viewers out I'm using a pret

RE: [PHP] Sessions

2001-01-16 Thread Maxim Maletsky
I've read something on PHPBuilder.com. look through the past articles Cheers, Maxim Maletsky -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, January 17, 2000 2:46 AM To: PHP User Group Subject: [PHP] Sessions Does anyone have a place with a l

RE: [PHP] string replace

2001-01-16 Thread Maxim Maletsky
but you would have to count how many dots are there ... -Original Message- From: Gregor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 5:20 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] string replace $foo = "test.gif"; $foo1 = substr($foo, 0, strpos($foo, ".")); this shou

RE: [PHP] How to escape from a function?

2001-01-16 Thread Maxim Maletsky
l to if($name=='Max' || $name=='Maxim') this is quite useful for usability purposes... Cheers, Maxim Maletsky -Original Message- From: Zenith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 7:16 AM To: [EMAIL PROTECTED] Subject: [PHP] How to escape from a functi

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

RE: [PHP] HELP! Date formatting

2001-01-16 Thread Maxim Maletsky
27;.$month[$date[1]].'-'.$date[2]; } //will return 30-Dec-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

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-general&r=1&w=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 re

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

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
hey, hey ... I wrote "Microsoft" just to tell you how _big_ a customer could be... a simple comparison... no politics here ... :-)) Cheers, Maxim Maletsky -Original Message- From: jeremy brand [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 12:02 PM To: Kath

RE: [PHP] Ethics question...

2001-01-17 Thread Maxim Maletsky
asmus) 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. -O

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
basis. So I can 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 PRO

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

2001-01-18 Thread Maxim Maletsky
t a folder 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 .in

RE: [PHP] Web hosting for PHP/MySQl development

2001-01-18 Thread Maxim Maletsky
I have just gotten my own dedicated server my my personal websites... it is www.insidecrew.net they are quite cool.. FreeBSD, a good link and root password to you, then you installk what you wish... Cheers, Maxim Maletsky -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED

[PHP] Newsletter Software needed urgently...

2001-01-21 Thread Maxim Maletsky
ess with the code 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

RE: [PHP] convert ASP to be PHP

2001-01-22 Thread Maxim Maletsky
x27;s 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
: 7bit\n\n"; } print MAIL "$INPUT{'body'}"; print MAIL "\n\n"; if ($INPUT{'unsubchk'}) { print MAIL "===\n"; print MAIL "You have received this email because you subscri

RE: [PHP] db connection error

2001-01-23 Thread Maxim Maletsky
It says that the username or password are incorrect. Just Double Check them! Cheers, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 6:07 AM To: [EMAIL PROTECTED] Subject: [PHP] db connection error Hi all, I got the

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
LAST_INSERT_ID() is a mySQL function, non PHP... in PHP you can use mysql_insert_id() which will return you what you the last inserted ID. Cheers, Maxim Maletsky -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 7:16 AM To: [EMAIL

RE: [PHP] last_insert_id function

2001-01-24 Thread Maxim Maletsky
_INSERT_ID()"; LAST_INSERT_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] la

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'

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

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 Lipscomb

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

2001-01-24 Thread Maxim Maletsky
So 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: [PH

[PHP] include_path, and whatever won't let me use a simple include('file.php')

2001-01-27 Thread Maxim Maletsky
? php.ini? directory specifications? apache? Any suggestions would be very appreciated, Thanks in advance, 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] outlook & php

2001-01-29 Thread Maxim Maletsky
What about some sort of page open of JavaScript with the email in a SRC string, so then the page opened proceed and close? PHP and Outlook? no other ideas ... MS and JavaScript? can work sometimes .. Cheers, Maxim Maletsky -Original Message- From: kaab kaoutar [mailto:[EMAIL

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

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Maxim Maletsky
Archives at http://marc.theaimsgroup.com/?l=php-general&r=1&w=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 some

RE: [PHP] Resize the pop-up window

2001-01-29 Thread Maxim Maletsky
 '; ?>'.three_dots(trim($name),0,$sections[$db][3][0]).''; ?> 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]] Sen

RE: [PHP] Problem!

2001-01-29 Thread Maxim Maletsky
$month = 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: Fr

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 [m

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&#

RE: [PHP] $DOCUMENT_ROOT

2001-01-29 Thread Maxim Maletsky
Just add the full path of your web server into your include_path (php.ini) - this should work the best for you. Cheers, Maxim Maletsky -Original Message- From: Toby Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 8:07 AM To: [EMAIL PROTECTED] Subject: [PHP

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 ('.__LINE__.')'); 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 us

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

[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.lin

RE: [PHP] Editor

2001-01-30 Thread Maxim Maletsky
EditPlus.com ($?) -Original Message- From: Christian Sakshaug [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 4:45 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Editor Try www.phpedit.com or www.ultraedit.com (30$) At 08:37 30.01.2001, you wrote: >Hi, > >I know this has been

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
( in case the images are in the webroot ): '; ?> then here you can eve find out what are they look like ... GetImageSize() etc ... Hope this is something that helps. Cheers, Maxim Maletsky -Original Message- From: Yui Hiroaki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31

RE: [PHP] Link Validator

2001-01-30 Thread Maxim Maletsky
open ($url, $port, $timeout_in); if($fp) echo "Site Accessed!"; yeah .. look here: www.php.net/fsocopen they have an example of use which you could modify to make it a link checker. Cheers, Maxim Maletsky -Original Message- From: Huseyin [mailto:[EMAIL PROTECTED]] Sent:

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"); Cheers, Maxim Maletsky -Original Message- From: Chris Aitken [

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
uot;,"$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

RE: [PHP] string length?

2001-01-31 Thread Maxim Maletsky
I would do : $num = substr_count($numbers, ';'); +/- whatever the difference it could make Cheers, Maxim Maletsky -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 12:29 PM To: Jon Jacob Cc: [EMAIL PROTECTED] Subject: Re: [P

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

2001-02-01 Thread Maxim Maletsky
n easier 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(

RE: [PHP] how do I subscribe?

2001-02-01 Thread Maxim Maletsky
send an email at [EMAIL PROTECTED] you will be asked for the confirmation.. Cheers, Maxim Maletsky -Original Message- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: [PHP] how do I subscribe? subscribe -- Where&#

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

2001-02-01 Thread Maxim Maletsky
CTED] <mailto:[EMAIL PROTECTED]> > Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit It all looks alright to me, however in from field of my email client I still see ' [EMAIL PROTECTED]' <mailto:[EMAIL PROTECTED]'> instead of &#

RE: [PHP] How to save something in a Java Applet as an IMAGE file?

2001-02-05 Thread Maxim Maletsky
we-e-e ... a-are ... the cha-a-a-ampions, my friend Dear Lise Fleming McKinney, You are subscribed to PHP-General Mailing List, we all often send this kind of things to each other without necessarily authenticating ourselves; Cheers, Maxim Maletsky -Original Message- From

RE: [PHP] framing search results

2001-02-05 Thread Maxim Maletsky
and you catch it with: Cheers, Maxim Maletsky -Original Message- From: Jason Dulberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 3:09 PM To: [EMAIL PROTECTED] Subject: [PHP] framing search results I'd like to create a script that will frame sea

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
speedy 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 F

<    1   2   3   4   5   >