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
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
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:[
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
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
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
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
if it is in html then do this:
but if you are using PHP then echo 'mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 3:42 AM
To: PHP User Group
Subject: [PHP] Print in html in
the html page that has instructions for the user. Anyway when I try to do
that it just runs as a script..
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
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:[
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
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
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
: 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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
#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
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
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
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
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
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
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?
&
$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
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
--
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-
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
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
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
).
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
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
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
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
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 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
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
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
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
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
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
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
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:
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
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
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
?
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.
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
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
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
$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
.
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
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,
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
" 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
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
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
$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)
[
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
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
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
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:
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
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
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
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
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
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
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
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]
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
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
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,
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]
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
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
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 - 100 of 310 matches
Mail list logo