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] Can you check if someone is online on your homepage?

2001-02-22 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 7:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Can you check if someone is online on your homepage? Hi! C

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

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 PROTEC

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 PROT

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

RE: [PHP] Print in html

2001-02-22 Thread PHPBeginner.com
if it is in html then do this:

RE: [PHP] Print in html

2001-02-22 Thread PHPBeginner.com
However I think double quote will work as well... (am I wrong?) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Hrishi [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22

RE: [PHP] Generating percentages of numbers

2001-02-22 Thread PHPBeginner.com
I have once requested a feature like this at PHP-DEV.. here's the code: http://bugs.php.net/?id=7429 Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Blake S. [mailto:[

RE: [PHP] crontab help

2001-02-22 Thread PHPBeginner.com
Yup, it will... A good idea is to call exec() of a cgi script which sends email without time outs. CGI has it cute feature - never times out. I've seen it in some software. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROT

RE: [PHP] isset()

2001-02-22 Thread PHPBeginner.com
got something in it'; Just check 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 PRO

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] RE: Can you make a file empty?

2001-02-22 Thread PHPBeginner.com
: Thursday, February 22, 2001 8:15 PM To: 'PHPBeginner.com'; Tim Ward; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: Can you make a file empty? the manual implies that you don't need to write anything to the file to clear what's in it already, is this n

RE: [PHP] Generating percentages of numbers

2001-02-22 Thread PHPBeginner.com
However ctype were taken! http://bugs.php.net/?id=7360 Once implemented, many developers will have a whole bunch of fun. :-)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] isset()

2001-02-23 Thread PHPBeginner.com
to output the error mess or to continue with debugging in 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

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 PROT

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

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-

php-general@lists.php.net

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

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 P

RE: [PHP] Location

2001-02-23 Thread PHPBeginner.com
ion[$PHP_SELF]; and so on ... note: 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] ww

RE: [PHP]

2001-02-23 Thread PHPBeginner.com
No it will give you the same value twice... you need a loop ACT VIC looping the rows .,...{ echo "".$row['state_abbr']." "; } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbe

RE: [PHP] Counter Help

2001-02-23 Thread PHPBeginner.com
Yeah, this is very silly thing using arrays without quotes, I once had this problem - learned it - and sticked to using quotes whenever is not an integrer. advising to everyone, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] International support

2001-02-23 Thread PHPBeginner.com
at the back end. While www.japaninc.com/i goes on PHP4.0.1pl2 and mySQL, (check out that game) So, no worries, it is all possible to do, except there's a pain with choosing PHP version for the server. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PR

RE: [PHP] mail prob

2001-02-23 Thread PHPBeginner.com
just get some examples from php.net/mail and pass the variables to it any way you wish - it all will work Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: W.D. [mailto:[EMAIL

RE: [PHP] php_self

2001-02-23 Thread PHPBeginner.com
You have compiled it as CGI, didn't ya? recompile it as apache's module if you can so apache can give PHP_SELF the right value, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message

RE: [PHP] PHP / Filemaker?

2001-02-23 Thread PHPBeginner.com
never heard of one... is there any? I'm curious too... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: knaSen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001

RE: [PHP] Parsing a string

2001-02-23 Thread PHPBeginner.com
as you notice the array starts from 0 Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 11:41 PM To: [EMAIL

RE: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread PHPBeginner.com
If you are developing on windows (save - refresh ie ... ) then sure, your IP is the IP of the machine ... if someone connects to you from outside then the remote host won't be 127.0.0.1 .. it will be his own Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Wher

RE: [PHP] string question

2001-02-23 Thread PHPBeginner.com
check out php.net/number-format 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: Saturday, February 24, 2001 4:53 AM To

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

2001-02-23 Thread PHPBeginner.com
Cheers! I've fixed that by adding some extra characters (new lines actually) in a loop... it worked... my conclusion was - MSIE5.01 bug ... didn't read pockets well ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL

RE: [PHP] Using while as for...

2001-02-23 Thread PHPBeginner.com
you can do while($count<=10) { echo "Number is $count \n"; $count++; } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Felipe Lopes [mailto:[EMAIL PRO

RE: [PHP] isset()

2001-02-23 Thread PHPBeginner.com
erely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 4:17 PM To: PHPBeginner.com Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

RE: [PHP] isset()

2001-02-23 Thread PHPBeginner.com
nput strlen() would do better then isset() ? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 4:25 PM To: PHPBe

RE: [PHP] Counter Help

2001-02-23 Thread PHPBeginner.com
Thanks, I still remember your reply on my test post be in touch! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Saturday, February

RE: [PHP] isset()

2001-02-23 Thread PHPBeginner.com
#x27; on this issue because it looks to me more silly then needed an extra string function during execution of a conditional. nice day, Joe! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Messag

RE: [PHP] Change dir mode to writable for uploading..

2001-02-24 Thread PHPBeginner.com
use chmod 775 dir (or 777 - but not recommended) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 5:25

RE: [PHP] isset()

2001-02-24 Thread PHPBeginner.com
in my preceding email I've written: if($var!='') will fix your all your worries without an intervention of a strings function. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -O

RE: [PHP] session_register in function

2001-02-25 Thread PHPBeginner.com
you have to have the variable you register (in both ways) global. so no matter how you call the function the variable must be defined global. mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 1:16 AM To: PHP List Subject: [PHP] session_register in function The variable I register befor

RE: [PHP] DIsplaying page before script finnished

2001-02-25 Thread PHPBeginner.com
use flush() it will push the output out of apache. But note, if you have a table, on Netscape not much will be shown (even if it receives the data) until the arrives. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] Cookie References?

2001-02-25 Thread PHPBeginner.com
rs?), of course it has not expired from anyone yet :-)) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001

RE: [PHP] php_self

2001-02-25 Thread PHPBeginner.com
Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brandon Feldhahn [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 9:27 AM To: PHPBeginner.com Subject: Re: [PHP] php_self well i have windows so how do i recompile it? &

RE: [PHP] comparing numbers

2001-02-25 Thread PHPBeginner.com
$id = ($id<=59) ? $id=81 : false; or the traditional way: if($id<=59) { $id=81; } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Clayton Dukes [mailto:[EMAIL PRO

RE: [PHP] Temporarily turning off magic quotes?

2001-02-25 Thread PHPBeginner.com
you can use: if($REQUEST_METHOD=='GET' or $REQUEST_METHOD=='POST') ini_set ('magic_quotes_gpc', 'off'); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com --

RE: [PHP] Unwanted Characters

2001-02-25 Thread PHPBeginner.com
use eregi_replace("[asutk]+", '', $string) in this way there will be no such letters as a,s,u,t,k in $string Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message-

RE: [PHP] isset()

2001-02-25 Thread PHPBeginner.com
100% agreed! this makes much more sense then any of us was saying before. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Mark Maggelet [mailto:[EMAIL PROTECTED]] Sent

php-general@lists.php.net

2001-02-26 Thread PHPBeginner.com
Have you tried www.isamillionaire.com ? they have php4 / mySQL support, they are free and have no banner ads. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Bruno Mário

RE: [PHP] PHP4 directives in httpd.conf not working

2001-02-26 Thread PHPBeginner.com
once($file); this wouyld work for you better since there would be no chances that the file does not exist (or was deleted by user) and that it won't be included more then once Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL P

RE: [PHP] mysql_info()

2001-02-26 Thread PHPBeginner.com
). 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: Monday, February 26, 2001 9:16 AM To: [EMAIL PROTECTED

RE: [PHP] Printing long strings

2001-02-26 Thread PHPBeginner.com
Yes, you could use stripslashes($string) on it's output, in this way it will be no different as it was inputted. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Cl

RE: [PHP] Using one invocation of PHP executable to generate multiple pages?

2001-02-26 Thread PHPBeginner.com
Could you please be more specific on your need? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jim Lum [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 9:21 AM To

RE: [PHP] Simple String Replace Question

2001-02-26 Thread PHPBeginner.com
Would $string_new = ereg_replace("\n[ \t\r\n]*\n", "\n", $string); work for you? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jeff Oien [mailto:[EM

php-general@lists.php.net

2001-02-26 Thread PHPBeginner.com
Use SourceForge.com, in case you still are building your OpenSource application, you can then host it and use it there. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] Advanced PHP

2001-03-12 Thread PHPBeginner.com
;re always following this community 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

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 is

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

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] PERL vs. PHP

2001-04-21 Thread PHPBeginner.com
Funny! You, Rasmus, must be getting it every week at least. btw Jason, we had some very interesting discussions on how Rasmus has started PHP, look the archives - you would find it very curious. Maxim Maletsky -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Searching arrayed file... Suggestions?

2001-04-21 Thread PHPBeginner.com
Have you evrer heard of in_array() ? could help though... :-) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Richard [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21

RE: [PHP] include file using .htaccess

2001-04-21 Thread PHPBeginner.com
this would allow you to include anything else you wish inside prepend.inc as well as having some more files included from pages without any full pathes unless they are not found in 'includes' Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begin

RE: [PHP] Buttons and such...

2001-04-21 Thread PHPBeginner.com
e. I go to sourseforge.net, look thought the software demos and use cut&paste technology. Applications, generally, have some very interesting and usable graphics, my advise to you is : search there. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [E

RE: [PHP] Buttons and such...

2001-04-21 Thread PHPBeginner.com
? m -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 4:43 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Buttons and such... In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("PHPBeginner.com") wrote: > See, that's for the website.

RE: [PHP] passing variables

2001-04-22 Thread PHPBeginner.com
using POST, Cookies or sessions. session is the most appropriate way to do that. php.net/sessions Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Adam [mailto:[EMAIL

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
y, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 7:13 AM To: [EMAIL PROTECTED] Subject: [PHP] Incrementing dates

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Incrementing dates James, Yz wrote: >If a

RE: [PHP] what's wrong with this?

2001-04-22 Thread PHPBeginner.com
$end should be 15. ie: LIMIT 50, 10 will display 10 rows starting from 51. so, it will show rows 51-60 (included) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: McShen

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 5:59 PM To: [EMAIL PROTECTED] Subject: RE: [PHP

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
e try to do it with PHP as you have already resolved it. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22,

RE: [PHP] DOCUMENT_ROOT

2001-04-25 Thread PHPBeginner.com
what about having an .htaccess file in each web root? You can't have vartiables in your server's config files. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jax

RE: [PHP] Escaping Characters

2001-04-25 Thread PHPBeginner.com
" double quotes ' single quotes (yes, they are used quite often) \ backslash (JavaScripts etc.) there are your enemies, nothing else. forget about + = & $ ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [E

RE: [PHP] php FTP

2001-04-25 Thread PHPBeginner.com
I really don't think you can compile PHP on (not yours) server. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: ryan.barnett1 [mailto:[EMAIL PROTECTED]] Sent: Wedn

RE: [PHP] how to get var value

2001-04-26 Thread PHPBeginner.com
try $newvar = ${$var1}; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 7:53 PM To: [EMAIL PROTECTED

RE: [PHP] Problem with the HTTP_REFERER

2001-04-26 Thread PHPBeginner.com
$HTTP_REFERER does not work with javascript this way. the value is as it would be inside your "back button", in other words, you have to CLICK on a link, then you'll see it. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [

RE: [PHP] Problem with the HTTP_REFERER

2001-04-26 Thread PHPBeginner.com
Just to add, as Yasuo said, $HTTP_REFERER is VERY, VERY unreliable. PHPBeginner.com logs user accesses into a database, $HTTP_REFERER is there only 30% of times. This is because: not everyone necessarily CLICKS, not every browser supports it, many are reading emails, many are typing it in

RE: [PHP] simple form validation

2001-04-26 Thread PHPBeginner.com
several ways to do it. use wchich suits you better. In fact I would rather use JavaScript in form, and here. my favorite? is_int(). shorter to type :-) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] Tough comparison problem.

2001-04-26 Thread PHPBeginner.com
Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 11:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Tough comparison problem. I've got two functions that return d

RE: [PHP] writing a time to mysql????

2001-04-26 Thread PHPBeginner.com
7;, '$etime_hour$etime_minute')"; Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Shane McBride [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 1:04 AM To:

RE: [PHP] Retrieving and Printing Categories

2001-04-25 Thread PHPBeginner.com
t, not PHP. With PHP there's more job to do and with it overhead. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jordan Elver [mailto:[EMAIL PROTECTED]] Sent: Wednesday, A

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
ed to know if 'function $var($arg) { return; }' syntax exists and what it is. in the docs there's nothing being said. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread PHPBeginner.com
have you checked your PHP.INI file? it sais there what links to rewrite. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread PHPBeginner.com
well, in your situation I would go into php-general archives right away. I think (not that I remember, but...) that this was a topic here before. try to search there. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
create_function seems not letting you choosing it's name. am I right, or there's a way to say: create_function($name.$to.be, args, args, args)? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbe

RE: [PHP] A lot of records

2001-04-27 Thread PHPBeginner.com
search for a such class on the web. tip: don't select everything, LIMIT your search with LIMIT 100, 20 to select the records from 100 to 120. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Ori

RE: [PHP] Storing php-code in mysqlDB

2001-04-27 Thread PHPBeginner.com
YOU ARE GENIUS! I don't think Jason you have read my previous posts here, but your answer to Oliver might be able to solve my problem. still have some BIG doubts on it, but it gave me an idea of a try. Thanks, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP B

RE: [PHP] Variable (naming them) Functions. DONE! DONE! DONE!

2001-04-27 Thread PHPBeginner.com
and Oliver in particular! 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: Saturday, April 28, 2001 2:48 AM To: [EMAIL PROTECTED]

RE: [PHP] line break part2

2001-04-27 Thread PHPBeginner.com
just do $content_str = implode("\n", $content); at the end of the file. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Satur

RE: [PHP] Variable (naming them) Functions.

2001-04-27 Thread PHPBeginner.com
no, I knew that, my problem was generating functions with dynamic names. I solved it with a simple eval(), see my last post below; Thanks, Yasuo, Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com

RE: [PHP] MP3

2001-04-27 Thread PHPBeginner.com
I've seen some on hotscripts.com, sourceforge.net (more chances) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Rafael Faria [mailto:[EMAIL PROTECTED]] Sent: Saturday,

RE: [PHP] Where is php.ini located by default?

2001-04-27 Thread PHPBeginner.com
ation. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 1:38 PM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] [NEWBIE] :P

2001-04-27 Thread PHPBeginner.com
d that they are kind of snobby, simple questions are not too respected over there. This is definitely a right place for you. also try this sites: PHPBeginner.com (mine BTW) NewbieNetwork.net search google, check list archives ( http://marc.theaimsgroup.com/?l=php-general ) got a question : j

RE: [PHP] Where is php.ini located by default?

2001-04-27 Thread PHPBeginner.com
true, true... m -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 28, 2001 2:23 PM To: PHPBeginner.com Cc: Martin Skjoldebrand; [EMAIL PROTECTED] Subject: Re: [PHP] Where is php.ini located by default? It's /usr/local/lib/php.ini

RE: [PHP] PHP.INI

2001-04-28 Thread PHPBeginner.com
Computer? wow! no, just restart your apache (whatever system you use) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Manesh [mailto:[EMAIL PROTECTED]] Sent: Saturday, April

  1   2   3   4   >