RE: [PHP] grabbing variables from the query string

2001-04-28 Thread PHPBeginner.com
try: echo $fName; they are loaded in the page automatically. or.. loop HTTP_GET_VAR Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jamie Saunders [mailto:[EMAIL

RE: [PHP] SQL Query time?

2001-05-02 Thread PHPBeginner.com
under, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Anuradha Ratnaweera [mailto:[EMAIL PROTECTED]]On Behalf Of Anuradha Ratnaweera Sent: Wednesday, May 02, 2001 2:06 PM To: Maxim Maletsky Cc: 'James, Yz'; [

RE: [PHP] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread PHPBeginner.com
php.ini was only touched in few places such as include_path, auto_prepend, append, exec time, memory limit, upload limit, post ... I think this is it. I haven't touched anything else. Therefore others are the default ones. PHP DID process the file, when there are no comments '//', if there are, t

RE: [PHP] exit in function

2001-05-18 Thread PHPBeginner.com
it happens quite often on Win2k. Don't know why, but in my case it happened with some loopy-loops containing SQL in it. Sometimes it works sometimes it doesn't. Try also renaming files. I know it sounds ridiculous, but happened to work for me. m -Original Message- From: Jakob Kruse [mail

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-18 Thread PHPBeginner.com
there's at least one blank character) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Lucas Persona [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 11:50 PM To: Jason Lotito

RE: [PHP] sessions.. again...

2001-03-23 Thread PHPBeginner.com
that is not what you're referring to, then please copy that code in your email and we'll think about it. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Migue

RE: [PHP] Freshmeat Ad?

2001-03-23 Thread PHPBeginner.com
I guess it was designed a while ago... can't find any other solution.. ;-)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Michael Geier [mailto:[EMAIL PROTECTED]]

RE: [PHP] Move data from one MySql table to another?

2001-03-23 Thread PHPBeginner.com
27;,', $staff); /// And vua la! insert it ! } hope this was of some help to you, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: YoBro [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Sessions to password protect directory?

2001-03-23 Thread PHPBeginner.com
All you need is to add this into .htaccess php_value auto_prepend auth.php when any file under that directory is being accessed, auth.php will come on top, there - make your own script to pass-protect yourself.. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where

RE: [PHP] Problems uploading Files

2001-03-23 Thread PHPBeginner.com
You have to chmod that directory (not needed for FTP of course) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Renzi, Sebastian [mailto:[EMAIL PROTECTED]] Sent: Friday, March

RE: [PHP] Sending html email

2001-03-23 Thread PHPBeginner.com
here: charset to be is text/html $mess .= 'your HTML code'; $mess .= 'as you like'; here is going mail() see php.net/mail for how to add the headers Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED]

RE: [PHP] PHP_SELF problems!

2001-03-23 Thread PHPBeginner.com
a common problem: you have compiled PHP as CGI, make it run as a module, and that problem will disappear. well, if you really want to have it under CGI, try to check phpinfo() for a solution Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL

RE: [PHP] Sessions to password protect directory?

2001-03-28 Thread PHPBeginner.com
No, it won't. This is for PHP files only. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Kyutums [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 5:25

RE: [PHP] isset() VS if($var)

2001-04-09 Thread PHPBeginner.com
uly, check the archives, there so many things were said on this issue. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jesper Blomström [mailto:[EMAIL PROTECTED]] Sent: Monday

RE: [PHP] URL w/o script name

2001-04-09 Thread PHPBeginner.com
just to add : The error you mentioned was detected on Netscape <6 browsers. I myself have had hard time with this long ago. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- F

RE: [PHP] URL w/o script name

2001-04-09 Thread PHPBeginner.com
Another thing to add: by using apache's mod_rewrite you can have your variables (as witty suggested) in the/very/elegant/and/search-engines-readable/way.php I have it working on PHPBeginner.com and several other sites. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginne

RE: [PHP] newbie question about variables

2001-04-09 Thread PHPBeginner.com
code to send to client. Make a way it dynamically assigns you the right image and, vuala! Just if you would have coded that HTML page yourself. No JavaScript. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] Real Problem: Accessing Array In A Class

2001-04-09 Thread PHPBeginner.com
strange... echo 'blah blah blah ' . $this->arrayname['value'] . ' blah'; should work just as fine. I think you are confused with strings. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.p

[PHP] RE: Lists are back up

2001-06-18 Thread PHPBeginner.com
Let's Go! m -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 4:15 AM To: [EMAIL PROTECTED] Subject: Lists are back up We have re-enabled the PHP mailing lists. They are now running from a temporary machine sitting on the floor of my

RE: [PHP] test

2001-06-20 Thread PHPBeginner.com
yup, it works. :-) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 6:17 PM To: [EMAIL PROTECTED

RE: [PHP] bad form...

2001-06-20 Thread PHPBeginner.com
y, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: motorpsychkill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 4:13 PM To: Php General List Subject: [PHP] bad form... hello every

RE: [PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread PHPBeginner.com
try to look into ini_set() (was I right naming it so?) The function, if available for you, will allow you to override the php.ini configurations. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

RE: [PHP] logout

2001-06-20 Thread PHPBeginner.com
ed in.   One of those solutions will work.   P.S: "Love your signature"   Sincerely,  Maxim Maletsky  Founder, Chief Developer  PHPBeginner.com (Where PHP Begins)  [EMAIL PROTECTED]  www.phpbeginner.com     -Original Message-From: Jacky [mailto:[EMAIL PROTECTED]]Sent: Th

RE: [PHP] Security of PHP code

2001-07-04 Thread PHPBeginner.com
f has no vital security problems. Try to search the archives for this topic and see what people think/suggest. You will find there thousands of tips on what to do to have a bullet-proof website. (always of the server is yours). Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginne

RE: [PHP] Security of PHP code

2001-07-04 Thread PHPBeginner.com
.. Tim Taubert - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - .o] -Original Message- .o] From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] .o] Sent:

RE: [PHP] Security of PHP code

2001-07-04 Thread PHPBeginner.com
im Taubert - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - .o] -Original Message- .o] From: PHPBeginner.com [mailto:[EMAIL PROTECTED]

RE: [PHP] Something weird

2001-07-06 Thread PHPBeginner.com
Gezz... hope you use a web mail or something for this list. Otherwise all these emails on 26.4 (what a strange number) would take ages to download in cases like when you are coming back from a vacation or "was too busy last week" -maxim maletsky -Original Message- From: Kevin Pratt [

RE: [PHP] How to apply something to every variable

2001-07-06 Thread PHPBeginner.com
foreach($HTTP_POST_VARS as $k=>$v) { $$k = addslashes($v); } - Maxim Maletsky PS: no, not trying to win over, just trying to suggest my way ;-) -Original Message- From: Chadwick, Russell [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 7:11

RE: [PHP] is_alpha_numeric ?

2001-07-06 Thread PHPBeginner.com
check out ctype (suggested to PHP by me, btw) php.net/ctype we have all that. -Maxim Maletsky -Original Message- From: Lasse [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 7:40 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] is_alpha_numeric ? "scott [gts]" <[EMAIL

RE: [PHP] how do i remove the first 3 characters from a variable?

2001-07-07 Thread PHPBeginner.com
characters from a variable?'; $array[2] = ' do i remove the first 3 characters from a variable?'; Cheers, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Chri

RE: [PHP] how do i remove the first 3 characters from a variable?

2001-07-07 Thread PHPBeginner.com
oops foreach($array as $key=>$val) { $array[$key] = substr($val, 3); } this is cleaner. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- F

RE: [PHP] is_alpha_numeric ?

2001-07-07 Thread PHPBeginner.com
yes, you have to enable it: --enable-ctype ...and, ctype is available only starting from PHP v.4.0.4+, ...and it is only the experimental family of functions... (this you read on the site, right?) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP

RE: [PHP] foreach loop

2001-07-07 Thread PHPBeginner.com
;s value and assign it back with the original key, overriding it in other words. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Sund

RE: [PHP] foreach loop

2001-07-07 Thread PHPBeginner.com
>If we didn't have Microsoft, we'd have to blame ourselves for all of our >programs crashing I really don't think so :-) -maxim maletsky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] RE: test ... please ignore ...

2001-02-01 Thread PHPBeginner.com
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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Win2K/PHP4.0.4pl1 - include_path mess (won't include from the current directory)

2001-02-01 Thread PHPBeginner.com
he problem would be enough to add something like this into PHP.INI include_path= ".: /full/path/to/includes: " ; UNIX: "/path1:/path2" Windows: "\path1;\path2" How do I do this under Win2K ? Anyone had this problem before? Cheers, Maxim Maletsky Fo

RE: [PHP] RE: test ... please ignore ...

2001-02-01 Thread PHPBeginner.com
Thanks for you sweet words! did not expect, though ... We were about to open PHPBeginner.com today, but our local test servers went to hell once we upgraded them to PHP4.0.4. Not because there's a bug or something, but because of configurations. We are still testing the site, and will op

RE: [PHP] "Trim" an array?

2001-02-03 Thread PHPBeginner.com
a simple for($i=0; $i will do the trick Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 7

RE: [PHP] 200 DOLLARS FOR YOU

2001-02-03 Thread PHPBeginner.com
For me??? Thanks, but I had my birthday last October too late, dude ... Do not post this kind of staff into world's largest and most serious mailing lists Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginne

RE: [PHP] PHP Hosting

2001-02-03 Thread PHPBeginner.com
www.isamillionaire.com (? check my spelling) in on Linux, but free and has no banners, Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: PHPlover [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] select prob.

2001-02-03 Thread PHPBeginner.com
Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 10:24 PM To: [EMAIL PROTECTED] Subject: [PHP] select prob. Hi all, I'm in trouble checking client&

RE: [PHP] Animated / Streaming GIF

2001-02-03 Thread PHPBeginner.com
check out GD library ,... (a whole library was created for it) see PHP.net or start from here ... hmm ... www.php.net/getimmagesize ? Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] Calendar help

2001-02-03 Thread PHPBeginner.com
Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Fang Li [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 6:29 AM To: [EMAIL PROTECTED] Subject: [PHP] Calendar help Hello Has anyone coded a

RE: [PHP] select prob.

2001-02-03 Thread PHPBeginner.com
So, where the logic brings us at this point? Select your country --- United State United Kingdom in your loop then a "0" won't result as a set array ... try it with if($var or isset($var)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBegi

RE: [PHP] select prob.

2001-02-03 Thread PHPBeginner.com
no prob, --max -Original Message- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 3:44 AM To: PHPBeginner.com Cc: [EMAIL PROTECTED] Subject: RE: [PHP] select prob. Yes, it seems a good solution :) thanks again max --- Please Help

RE: [PHP] Including Virtual Paths

2001-02-03 Thread PHPBeginner.com
it's very simple : include("$DOCUMENT_ROOT/bin/header.asp"); (we are talking about the web root's full path, right ?) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Mess

RE: [PHP] getimagesize question

2001-02-04 Thread PHPBeginner.com
$size = getimagesize($Frame."top.gif"); I think you should read this : http://www.zend.com/zend/tut/using-strings.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- Fr

RE: [PHP] Undefined variable

2001-02-04 Thread PHPBeginner.com
try setting error_reporting(0) in PHP.ini Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Dundee (Roland) [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 5:35 AM To

RE: [PHP] PHP hosting - the final frontier.

2001-02-04 Thread PHPBeginner.com
Well, I'll contribute to the discussion whether you like or not... For a year I was running a website on Canaca.com (former Nortel.no) ... They've been nice, I though ... Then I once tried one weird thing: '.show_code('/usr/local/apache/conf/httpd.conf').''?> from a simple PHP page ... hmm ...

RE: [PHP] php-nuke?

2001-02-04 Thread PHPBeginner.com
Use cron ... Search archives for something like "running PHP with cron" Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: FredrikAT [mailto:[EMAIL PROTECTED]] Se

RE: [PHP] Stringing sql queries?

2001-02-04 Thread PHPBeginner.com
So you are talking about two different queris in one call? No, you can't do this ... you have to then use some kind of loop or something ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Ori

RE: [PHP] Including Virtual Paths

2001-02-05 Thread PHPBeginner.com
You can then create your own own. ... Just declare a variable called $DOCUMENT_ROOT = 'c:\the\path\to\your\web\tree\' somewhere in configuartion files of your website, or even as include_path in PHP.ini Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where

RE: [PHP] db paging with MS Sql

2001-02-05 Thread PHPBeginner.com
, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Scott Parks [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: [PHP] db paging with MS Sql Has

RE: [PHP] 2 questions

2001-02-05 Thread PHPBeginner.com
Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Adrian Teasdale [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 2:48 AM To: PHP List Post Subject: [PHP] 2 questions Hi I have a couple of

RE: [PHP] Replacing A Word in HTML page

2001-02-05 Thread PHPBeginner.com
a Replacement using Case-Insensitive Regular Expression. read it here : www.phph.net/eregi-replace Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: phpLover [mailto:[EMAIL

RE: [PHP] Email Selected Data

2001-02-05 Thread PHPBeginner.com
; } mail($MAIL, "Order", $content , "From:[EMAIL PROTECTED]"); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: M

RE: [PHP] upload

2001-02-05 Thread PHPBeginner.com
look at http://www.php.net/manual/en/features.file-upload.php there are some introduction like example on Handling of Uploaded Files... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] mail

2001-02-05 Thread PHPBeginner.com
Have you checked sendmail path in php.ini ? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Deependra B. Tandukar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 4

RE: [PHP] manage number of rows displayed

2001-02-05 Thread PHPBeginner.com
table... or, make it be 4 different Arrays and loop them in a way to create an adeguate table ... SQL is not really helpful in here ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message-

RE: [PHP] Hi, new guy here!

2001-02-10 Thread PHPBeginner.com
Welcome on Board, Brian! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brian Potter Web Design [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 10, 2001 7:51 AM To: Php

RE: [PHP] URL Encode

2001-02-10 Thread PHPBeginner.com
UrlEncode() www.php.net/urlencode Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 10, 2001 6:50 AM To: PHP

RE: [PHP] mysql not reporting errors

2001-02-10 Thread PHPBeginner.com
development. If you wonder where to get PHP Library here's the link www.phplib.org Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Anna [mailto:[EMAIL PROTECTED]] Sent: Sat

RE: [PHP] tracking the current url

2001-02-10 Thread PHPBeginner.com
you could simply use $HTTP_HOST.$PHP_SELF of even better if look here: http://www.php.net/manual/en/language.variables.predefined.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] Asking Sth about PHP

2001-02-10 Thread PHPBeginner.com
more specific on what you're doing. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: kn4279 [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 10, 2001 2:41 PM To: [EMAIL

RE: [PHP] [newbie] Can I use regular expressions?

2001-02-11 Thread PHPBeginner.com
or ... if(ereg("[[:alnum:]_ ]", $name)) result = 1; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: zbynek [mailto:[EMAIL PROTECTED]] Sent: Sunday, Februar

RE: [PHP] my bugaboo.

2001-02-11 Thread PHPBeginner.com
What I think you should do is to use php's build-in function addslashes() It helps . Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Anna [mailto:[EMAIL PROTECTED]]

RE: [PHP] comparisons

2001-02-12 Thread PHPBeginner.com
ay using an array, or having a letter instead of 0 ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Curtis Maurand [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 200

RE: [PHP] afraid !

2001-02-12 Thread PHPBeginner.com
, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: php php [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 4:18 AM To: [EMAIL PROTECTED] Subject: [PHP] afraid ! Hi! i've just j

RE: [PHP] Search & replace text

2001-02-12 Thread PHPBeginner.com
ng it down overriding any existing data in the file. You are now set. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 20

RE: [PHP] afraid !

2001-02-12 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: php php [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 4:18 AM To: [EMAIL PROTECTED] Subject: [PHP] afraid ! Hi! i've just joined ur mailing list! i used to w

RE: [PHP] To The Hacker: CodeBoy

2001-02-12 Thread PHPBeginner.com
l'em" Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 9:11 AM To: 'rswfire'; Jonatha

RE: [PHP] way to save data

2001-02-12 Thread PHPBeginner.com
then you are on the right way: use SQL languages. They are fast, secure and reliable. Plus even easier to play with. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: McShen

RE: [PHP] checking for presnet file name

2001-02-12 Thread PHPBeginner.com
$PHP_SELF will give you the file name rlative to your Document Root http://www.php.net/manual/language.variables.predefined.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] unsubscribe php-general

2001-02-12 Thread PHPBeginner.com
nope you have to write it here: [EMAIL PROTECTED] Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: John McKown [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001

RE: [PHP] Preserve variables between page loads?

2001-02-12 Thread PHPBeginner.com
Why don't you use sessions? php.net/sessions Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Chuck Mayo [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 2:24

RE: [PHP] header() in apache/CGI mode PHP

2001-02-12 Thread PHPBeginner.com
I think you can just search the archives for it. I am sure it was covered here many times. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Aaron Held [mailto:[EMAIL PROTECTED

RE: [PHP] Time in php problem....

2001-02-12 Thread PHPBeginner.com
t record is a hit of a page (or log-of button) and not his closing window. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Ng Kok Chun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Fe

RE: [PHP] MySQL fields

2001-02-12 Thread PHPBeginner.com
Text field will support something over 65,000 characters read the docs on mySQL... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED

RE: [PHP] Include files

2001-02-12 Thread PHPBeginner.com
Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Conover, Ryan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 1:46 AM To: [EMAIL PROTECTED] Subject: [PHP] Include files I have an include file foo.inc. I

RE: [PHP] Regex help needed...

2001-02-12 Thread PHPBeginner.com
rtrim() www.php.net/rtrim Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jesse Swensen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 2:15 AM To: [EMAIL

RE: [PHP] Search & replace text

2001-02-13 Thread PHPBeginner.com
ok, here's a scratch: $contents = file ($file); for($i=0; $imailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 3:29 AM To: PHPBeginner.com Subject: RE: [PHP] Search & replace text Thanks for the idea. Can you give me an example of how to load a file into an array? My effor

RE: [PHP] Regex help needed...

2001-02-13 Thread PHPBeginner.com
try ereg_replace("^[ ]+(.)[ ]+$", '_\\1_', $here) I haven't tested it, but if it won't work, then do this: $here = ereg_replace("^[ ]+", '_', $here) $here = ereg_replace("[ ]$", '_', $here) this should work... Sincerely,

RE: [PHP] create filesystem folder?

2001-02-13 Thread PHPBeginner.com
mkdir() Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: andrew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 11:56 AM To: PHP General Subject: [PHP] create

RE: [PHP] Mail classes

2001-02-13 Thread PHPBeginner.com
Why reinvent the wheel? there are already a whole bunch of software like that has been written. Just search for it on sourceforge.com or hotscripts.com Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] mktime + 4 days

2001-02-13 Thread PHPBeginner.com
$time = time(); $timePlus4Days = $time + 60*60*24*4; $tomorrow = date ("d", $timePlus4Days); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Christopher Allen [mai

RE: [PHP] SELECT statement

2001-02-13 Thread PHPBeginner.com
Yeah, sure you can: $sql="SELECT id, email FROM table WHERE user='$user' and pass='$pass'"; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] SELECT statement

2001-02-13 Thread PHPBeginner.com
There must be some funny problem. You code looks alright. Try to output mysql_error() in your code to see what happens. Or simply try it from command line. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] How to check if vaiable is defined or not?

2001-02-13 Thread PHPBeginner.com
There's also possible to do a simple "try" if($variable) echo 'It contains something'; else echo 'Has nothing inside, unless it's a 0'; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins)

RE: [PHP] How To Tell Which v. PHP?

2001-02-13 Thread PHPBeginner.com
it is even cooler to do: $version = floor(phpversion()); It will then return eigher 3 or 4. I use it all the time while creation install scripts. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] foo[bar] _or_ foo['bar'] ?

2001-02-13 Thread PHPBeginner.com
Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Matthias Krehl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 7:52 PM To: [EMAIL PROTECTED] Subject: [PHP] foo[bar] _or_ foo['b

RE: [PHP] problems with writing picture to the database.

2001-02-13 Thread PHPBeginner.com
aster, reliable, extendable. All these different databases support files to simply not to lose the war with their competitors. Not much programmers use it. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginne

RE: [PHP] Search & replace text

2001-02-13 Thread PHPBeginner.com
$imailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 3:29 AM To: PHPBeginner.com Subject: RE: [PHP] Search & replace text Thanks for the idea. Can you give me an example of how to load a file into an array? My efforts failed. Thanks At 03:41 AM 2/12/01, you wrote: >instead of wr

RE: [PHP] Database Code Portability

2001-02-17 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Dallas Kropka [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 4:19 PM To: Dave Haggerty; [EMAIL PROTECTED] Subject: RE: [PHP] Database Code Portability Try taking a

RE: [PHP] Can I select only the newest record?

2001-02-17 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: ..s.c.o.t.t.. [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 4:59 PM To: Php-General Subject: RE: [PHP] Can I select only the newest record? there are two ways th

RE: [PHP] Stylesheets

2001-02-17 Thread PHPBeginner.com
clude("$css.css") Having a whole bunch of different css files, including only the perfect ones. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Michael Hall [mailto:[

RE: [PHP] Stylesheets

2001-02-17 Thread PHPBeginner.com
here, I loked it up for you, This is a CSS file for PHPBeginner.com - DON'T LOSE IT!!! : CSS file: css.php --- BODY, TH, CENTER, TD, OL, UL, LI, H1, H2, H3, H4 { font-family: verdana, arial, helvetica, sans-serif; } PRE, TT, CODE { font-family: courier, sans-

RE: [PHP] Sessions again :(

2001-02-17 Thread PHPBeginner.com
try it. (yes you need to register it as a global variable) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: John Vanderbeck [mailto:[EMAIL PROTECTED]] Sent: Saturday

RE: [PHP] Can I select only the newest record?

2001-02-18 Thread PHPBeginner.com
You're welcome! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brian Drexler [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 1:57 AM To: [EMAIL PROTECTED]

RE: [PHP] Passing Arrays

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

RE: [PHP] security

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

<    1   2   3   4   >