[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
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 Founder, Chief Develop

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 open

RE: [PHP] Trim an array?

2001-02-03 Thread PHPBeginner.com
a simple snip for($i=0; $isizeof($array); $++) $array[$i]=trim($array[$i]); /snip will do the trick Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

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 ... please Do not post this kind of staff into world's largest and most serious mailing lists /please Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] select prob.

2001-02-03 Thread PHPBeginner.com
it will be skipped ... I think ... I've never done so ... Ciao allo zio e la lista italiana, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Sent: Saturday

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

RE: [PHP] select prob.

2001-02-03 Thread PHPBeginner.com
then a "0" won't result as a set array ... try it with if($var or isset($var)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Netbrain di M.L. [mailto:[EMAIL PROTECTED]] Se

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

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

2001-02-04 Thread PHPBeginner.com
, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 6:27 AM To: 'Robert Covell'; 'Boaz Yahav'; 'Ben Peter'; 'Chris Mason' Cc

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

2001-03-12 Thread PHPBeginner.com
unity from above. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brinkman, Theodore [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 11:16 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] Re: Good Free PHP Editor?

2001-03-12 Thread PHPBeginner.com
Have you tried EditPlus? www.editplus.com they are especially good for search, replace function and highlighting is also very easy to use, you can even define your own functions to highlight. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL

RE: [PHP] Quotes in inputfields Reload

2001-03-12 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jens Nedal [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 7:24 PM To: [EMAIL PROTECTED] Subject: [PHP] Quotes in inputfields Reload Hy everybody, Well here

RE: [PHP] header

2001-03-12 Thread PHPBeginner.com
Nick, headers work on Windows just as they do on Linux. Can you give us a piece of code so we can give you a hand with your problem? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] Variable dynamique

2001-03-12 Thread PHPBeginner.com
do this: ${$var.$num} But, as I can only guess you are not very familiar with arrays, they usually better for most of your needs. I think this is what you have to learn instead. www.php.net/arrays Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins

RE: [PHP] Detect if user has changed form data

2001-03-13 Thread PHPBeginner.com
PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Ide, Jim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 10:15 PM To: '[EMAIL PROTECTED]' Subject: [PHP] Detect if user has changed form data Is there an easy way to detect

RE: [PHP] Variable variables

2001-03-13 Thread PHPBeginner.com
Hey, there are also arrays, these can do much more and can be used most of the times you think of var-var solution... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: John

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

2001-03-23 Thread PHPBeginner.com
, if 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: Miguel Loureiro

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

2001-03-23 Thread PHPBeginner.com
e 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: Friday, March 23, 2001 8:31 AM To: [EMAIL PROTECTED] Subject

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 .= 'H1your HTML code/H1'; $mess .= 'a href="as many"as Byou/B like/a'; 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

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 PM

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,

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

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

2001-05-18 Thread PHPBeginner.com
if it was exactly Netscape's 3 HTML parser to invent a (no quotes are necessary as long as 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

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

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
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: Thursday, June 21, 20

RE: [PHP] Security of PHP code

2001-07-04 Thread PHPBeginner.com
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 PHPBeginner.com

RE: [PHP] Security of PHP code

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

RE: [PHP] Security of PHP code

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

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
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: Chris Lambert - WhiteCrown Networks [mailto:[EMAIL PROTECTED]] Sent

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

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
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: Sunday, July

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

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

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] 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
rder", $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: Monday, February 05, 200

RE: [PHP] manage number of rows displayed

2001-02-05 Thread PHPBeginner.com
... 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- From

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
for 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: Saturday

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

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

RE: [PHP] comparisons

2001-02-12 Thread PHPBeginner.com
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, 2001 3:48 AM To: [EMAIL PROTECTED

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 joined

RE: [PHP] Search replace text

2001-02-12 Thread PHPBeginner.com
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, 2001 5:12 AM

RE: [PHP] To The Hacker: CodeBoy

2001-02-12 Thread PHPBeginner.com
ly, 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'; Jonathan Sharp Cc: [EMAIL PROTECTE

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

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
tsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 3:29 AM To: PHPBeginner.com Subject: RE: [PHP] Search replace text Thanks for the ide

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, Maxim Maletsky Founder, Chief Develope

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] 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: Peter Houchin [mai

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) [EMAIL PROTECTED] www.phpbe

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

2001-02-13 Thread PHPBeginner.com
, 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.phpbeginner.com

RE: [PHP] Search replace text

2001-02-13 Thread PHPBeginner.com
ely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -----Original Message- From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 11:34 PM To: PHP; CDitty Subject: RE: [PHP] Search repla

RE: [PHP] Stylesheets

2001-02-17 Thread PHPBeginner.com
(); include("$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 [mai

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 --- ? $ua = Array(); $ua['USER_AGENT'] = strtoupper(getenv(HTTP_USER_AGENT)); if(strstr($ua['USER_AGENT'], 'MSIE')) $ua

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

RE: [PHP] system() PHP newbie!!

2001-02-22 Thread PHPBeginner.com
You should escape your backslashes in windows file pathes Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Wednesday

RE: [PHP] RE: Can you make a file empty?

2001-02-22 Thread PHPBeginner.com
yeah, you can just fputs() an empty string in it and close the file. In this way you'll empty it all. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Tim Ward [mailto:[EMAIL

RE: [PHP] array headaches

2001-02-22 Thread PHPBeginner.com
what I think you've missed is your array starts with []['string'] remove []... $menu['name'] = ... should work ... unless your code is a little specific Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] POST against GET

2001-02-22 Thread PHPBeginner.com
strange .. should work ... try it again ... search for some HTML errors and see if in your PHP file there's HTTP_GET_VAR, if is there then change the _GET_ into _POST_ Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] HTTP_REFERER doesn't work with redirects...?

2001-02-22 Thread PHPBeginner.com
HTTP_REFERER work ONLY clicking a link which brings you to a page in the SAME window. this value comes from your browser and it is very unreliable Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

RE: [PHP] Variable Strangeness

2001-02-22 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 1:56 AM To: Jason Murray; [EMAIL PROTECTED] Subject: Re: [PHP] Variable Strangeness Addressed to: Ja

RE: [PHP] isset()

2001-02-22 Thread PHPBeginner.com
for what you know is inside (or not inside) the variable. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jacky@lilst [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001

RE: [PHP] file listener

2001-02-22 Thread PHPBeginner.com
from PHP - now, but you can set a script which will check the file size each minute and if finds it different does something. It will have to run under cron. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] isset()

2001-02-23 Thread PHPBeginner.com
most cases it will work better and simpler for you without spending these bazillions of important for every developer seconds. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From:

RE: [PHP] variable sent using pots is cat!

2001-02-23 Thread PHPBeginner.com
It shouldn't have happened, can you give as a come sample to resolve your situation? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED

RE: [PHP] How do I request a new feature?

2001-02-23 Thread PHPBeginner.com
bugs.php.net Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Ide, Jim [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 3:49 AM To: '[EMAIL PROTECTED]' Subject: [PHP

RE: [PHP] Sessions and naming a file with SID

2001-02-23 Thread PHPBeginner.com
PHP does it automatically for you. YES your session id is $PHPSESSID so creating a file called $PHPSESSID should work, I suppose Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] Templates PHP

2001-02-23 Thread PHPBeginner.com
try these: search google for fast templates templates, check out sourceforge.net there's a whole bunch of this applications. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] Passing values containing a ? and a

2001-02-23 Thread PHPBeginner.com
use urlencode() www.php.net/urlencode Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Tom Harris [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 4:12 AM To: [EMAIL

RE: [PHP] books

2001-02-23 Thread PHPBeginner.com
Professional PHP Programming is a good one Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: grios [mailto:grios]On Behalf Of Gustavo Vieira Goncalves Coelho Rios Sent

RE: [PHP] concatenate vars?

2001-02-23 Thread PHPBeginner.com
no, you need to do three different comparisons : if( ... something ... ) (eregi("stuff1", $one) and eregi("stuff2", $two) and eregi("stuff3", $three)) ? : do this : do that Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where

RE: [PHP] Problems sending mail to aol with the mail() function

2001-02-23 Thread PHPBeginner.com
I cannot help you, but I KNOW you are not the only one, I've been asked this question already, and, I think I've seen something on php.net under mail() ... I believe this is your XSender thing, but not sure ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP

RE: [PHP] Counter Help

2001-02-23 Thread PHPBeginner.com
Yup, you need to have your key strings in quotes '', so it doesn't think it's a constant. ALWAYS use $array['key'] and not $array[key] except for the integrers Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] Location

2001-02-23 Thread PHPBeginner.com
: this is just a quick and dirty idea on how to do that, with a little bit of logic you can write a very sweet function with does what you need. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

  1   2   3   >