a bunch of new variables for every phrase. Better do it with an
array.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
Sent
try submitting this page to $REQUEST_URI
form action=?=$REQUEST_URI? ...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: David [mailto:[EMAIL PROTECTED]]
Sent: Monday
. (and of course
no echo's before you do session_start())
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:54
?
as of your problem, let me think, I had the same problem couple month ago.
I'll look int omy codes.
-Maxim Maletsky
-Original Message-
From: Mike Gifford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 1:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Duplication Results When
I think this guy meant to post it to the list but got the wrong address:
-maxim maletsky
-Original Message-
From: Frederick L. Steinkopf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: virus alert
Importance: High
A message sent from me
what???
are you sure it does that to you?
You sound so confident that it confuses my knowledge that for loop should be
counting integers, not strings (Z is a string and there's nothing bigger
or lower it)
-maxim maletsky
-Original Message-
From: Christian Dechery [mailto:[EMAIL
try ezmlm, it is what this mailing list is running. You'll need qmail for it
to work. Or majordomo.
URLs, search google, easy to find.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message
Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:13 AM
To: 'Maxim Maletsky'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE
is this documented? I knew it from other
languages... but never came accross it on PHP docs except the code samples..
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Rehuel Lobato de
wow, I have just upgraded a couple of servers to v.4.0.6. Will go wild
testing this staff tomorrow.
Thanks Philip.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Philip
readfile(bla bla bla
and then explode(' ', $line[$i])
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: alfareees alfareees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11
mail something here:
[EMAIL PROTECTED]
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Robert Barrington [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:36 AM
(except for intranet
sites, where usability is the must), too long code, too bad compatibility,
too easy to disallow...
Hope this helps,
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message
That is why I am saying - loading two pages is cooler then do it all on one.
Some people are still scratching the web on 28 and 36 K - those gonna get
sick submitting your form.
Plus a page view.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins
Yeah it is doable, just use fsockopen, and parse the input into your
database and go wild.
Keep in mind - doing it directly on request is VERY slow. You should be
pre-parsing it and then showing the data from your resources.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
$url = sprintf(http://%s/%s;, $HTTP_HOST, $REQUEST_URI);
Cheers,
Maxim Maletsky
-Original Message-
From: Peter Van Dijck [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 8:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] damn $REQUEST_URI
$REQUEST_URI gets me home/dir/index.php
but I
Yeah, Yeah!!!
Let's advertise bugs.php.net! so we get more bugs!
This email just made me laugh.
:-)
-maxim maletsky
-Original Message-
From: Christine Hall [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 8:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] BUGS.PHP.NET
Hello,
I
one table:
id usernamepassword
Then, when login was successful determine his company by the ID returned.
Redirect.
Cheers,
Maxim Maletsky
-Original Message-
From: Taline Makssabo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:07 AM
To: [EMAIL PROTECTED
use GROUP BY
SELECT
result,
COUNT(result) AS res_count
FROM
result
GROUP BY
result
ORDER BY
res_count
DESC
;
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
nope, it works for me.
not Opera's fault.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 6:18 PM
use $this-foo1
no double dollar signs. Otherwise PHP thinks you are trying to do variable
variables thing.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Hugues BRUNEL [mailto
code would look cooler like this:
$string_id = is_array($array_id) ? implode(:,$array_id) : $array_id;
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Martin Cabrera Diaubalick
You gonna need to add
Return-Path: [EMAIL PROTECTED]\n;
into your message header.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jean-Arthur Silve [mailto:[EMAIL PROTECTED
Why doesn't work?
$date = 24;
$hour = 3;
if ($date == 24 $hour == 3) { echo 'works'; }
If does not print you 'works': the sky will crash to the ground.
I think you just got confused elsewhere in your code.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP
shows the source.
I know this a wrong try, well, still a try. Has anyone tried to do the same?
Any success in any way?
There are some things I'd like Ruby to do while processing PHP files.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED
.
It took 4 times longer to generate the page for Ruby.
(tested by eyes)
However, Ruby here was running as CGI. I believe the performance would be
better under mod_ruby.
Just for the reference in anyone else cares. (and to avoid some PHP vs
eRuby)
Sincerely,
Maxim Maletsky
Founder, Chief
several times:
UPDATE table SET B=A;
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jacky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 12:37 AM
To: [EMAIL
, knowing nothing of where these values came from.
try rather do this:
foreach($HTTP_POST_VARS as $key=$val) {
$itens[$key] = $val;
}
this will result you true:
if($HTTP_POST_VARS['var_name'] == $itens['var_name']) {}
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com
this is your browser's problem. PHP has nothing to do with it.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: John M [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 2:09
here's a tip:
page1:
a href=page2.php?hello=world
page2:
?
echo $hello;
// prints 'world'
?
try to guess the answer :-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message
the new cookie file.
Here's a little solution: since you are setting the cookie to something
(whether it is a null or value), set the variable so first, then read the
variable. So it will become available till the page ends. Then on a new hit
a new value will arrive.
Sincerely,
Maxim Maletsky
With javascript of course.
Again, go to look for the codes of these free tracking systems. Like Extreme
tracker. They've got those.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message
re-read INSTALL file of PHP distribution.
You must also do few changes in httpd.conf.
Look for AddType..
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Andreas Pucko [mailto
and reboot apache. This kind of things is easy to avoid by organizing
permissions rules between server users.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Kittiwat Manosuthi
machine)
A user MUST NOT be able to get lower or parallel /home/username
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Maxim Maletsky
Sent: Thursday, May 17, 2001 2:26 PM
both are cool.
never heard of any holes as such,
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jeff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 11:26 AM
Try this instead:
$sql =
SELECT
CONCAT(fname, ' ', lname, '', email, '') AS str_email
FROM
customers
;
and then the rest of your code..
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
because '' is an 'lt;',
look at the source of your HTML file when you are outputting these emails
for testing. or do htmlentities();
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message
That is a javascripts job.
Look at extreeme tracking's code. They have that.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Eris Ristemena [mailto:[EMAIL PROTECTED]]
Sent
acquire and was
originally configured by other team). Meanwhile I will download the files I
was testing on into my test machine, install on it the same apache as on
prod. server and the PHP v4.0.5. If the result will be the same, I will then
try the snapshots as you advised to me.
Maxim Maletsky
OK, but I can do it only on Monday.
There's too much risk doing it this Friday night, if site goes down on the
weekend - that is our last nightmare.
It runs now on backups, but runs well.
Thanks Andi,
Maxim Maletsky
-Original Message-
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent
.
I'll let you know.
Maxim Maletsky
-Original Message-
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:57 PM
To: Maxim Maletsky; [EMAIL PROTECTED]; 'Vlad Krupin'
Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [PHP-DEV] RE: [PHP
WAS CHANGED:
php 4.0.5 is now also compiled --with-pgsql while the previous
installation wasn't
PLATFORM:
LINUX Red Hat 6.1
Apache 1.3.9
Please help us with this.
Sincerely,
Maxim Maletsky
Web Developer
Digital Media,
Japan Inc Communications
www.japaninc.com
well,
I don't think that was the reason... because
?
echo 'hello world'; // please no...
echo 'BR';
?
will print me:
// please no...
echo 'BR';
any further ideas?
Maxim Maletsky
-Original Message-
From: Vlad Krupin [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 7:12 AM
.
Everything works unless there's an '//', then it starts showing the code up.
Cheers,
Maxim Maletsky
-Original Message-
From: Jude [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 06, 2001 6:37 PM
To: Maxim Maletsky; 'Vlad Krupin'
Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED];
[EMAIL PROTECTED
nope, I won't give up.
disabling '//' is so bad..
just think how much trouble I'm creating for my team.
(Although, I in fact never use '//', I use '#' instead. That is why I
noticed the problem so late = 20 minutes of downtime yesterday)
Cheers,
Maxim Maletsky
-Original Message
exists, and god forbid Billy making any kind
of PHP2damnASP warez:-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Max Pyziur [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10
and capable to discover the alternatives understanding
of the web technologies.
Cheers,
Maxim Maletsky,
PHPBeginner.com
-Original Message-
From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 9:53 AM
To: PHP List
Subject: RE: [PHP] PC MAG article
If you can stand to read
could become dynamic. Not recomended
though.
try it with a different table first.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Andras Kende [mailto:[EMAIL PROTECTED]]
Sent
,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.phpbeginner.com http://www.phpbeginner.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
got a typo in my previous post:
I was trying this:
$fname = 'hello';
function { sprintf(%s, $fname) }($fname='') {
Return I named you : $fname;
}
echo $fname($fname);
But that doesn't matter...
Thanks,
waiting for your help.
Maxim Maletsky
Founder, Chief Developer
that, but I am sure there is.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Anton G. Popov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 5:45 PM
To: [EMAIL PROTECTED
SELECT
SUM(quantity)*SUM(total) As mySUM
FROM
table
WHERE
...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I think PEAR has it.
have you tried to look at it?
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Carsten Gehling [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001
,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 6:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] alter table name
the results on any server.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 6:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP
no, sockets are not a bad solution at all. They are just as fast.
And plus fsockopen has more functionality such as timing out, result
messages, mess_num etc... what fopen doesn't have.
I think fsockopen is better for this job.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
STRIPSLASHES();
use single quotes for the array.
add the slashes in front each JS's single quote,
when echoing use :
echo stripslashes($js);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
it should.
if(is_array($x[0]))
$count = count($x[0]);
else
$count = 'not an array';
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Anderson [mailto
it I never heard of.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Kasten, Holger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 8:51 AM
To: [EMAIL PROTECTED]
Subject
well, you can try fsockopen.
see it on php.net/fsockopen
it will even return you an error if not connected.
start from the example describing the function on PHP.net/fsockopen (did I
misspelled it?)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins
twice a day (no kidding, I am subscribed to
dozens of lists)
I think, removing the guy of the list would help us to avoid meeting the
virus on this list again.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
hey, why not to have one single query?
or..
INSERT INTO tmp_table SELECT * FROM first_table;
INSERT INTO tmp_table SELECT * FROM second_table;
... do a query on tmp_table,
DELETE FROM tmp_table;
but, isn't it better to have one table only? - you'll skipp three steps.
Sincerely,
Maxim
,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 4:52 PM
To: Maxim Maletsky; 'Rafael Faria'; [EMAIL PROTECTED]
Subject: RE
you should be starting to program from C++ :-)
Classes are described in many manuals on the web.
Try downloading phplib (phplib.netuse.de) to see then alive
phplib is one the most magnificent examples of classes use in PHP.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
Is there any chance for you to use a database?
these thing would become MUCH, MUCH easier.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Rafael Faria [mailto:[EMAIL PROTECTED
ErrorLog logs/JI_admin-error.log
CustomLog logs/JI_admin-access.log common
/VirtualHost
that
DocumentRoot D:/JI_admin
is exactly what your
$DOCUMENT_ROOT
should be returning.
I think that is where your problem.
Sincerely,
Maxim Maletsky
Founder, Chief
NO, not the directory of the current script.
the directory of your virtual host.
DOCUMENT_ROOT is your WEB ROOT
common. I gave an example... look into your apache (vHOST) DocumentRoot is
what your $DOCUMENT_ROOT is
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where
correct:
we are PHP developers, not JavaScript.
However, I am sure that the amount and configurations of your computers
don't matter here.
try to look for a simple problem. Try to rewrite it all again, etc... not a
big deal - don't hit your head to the wall.
Sincerely,
Maxim Maletsky
no, don't worry, we'll help:-)
use mysql_query(INSRT INTO table SET name='$name', email='$email'); ...etc
see some examples you can find in documentations. Browse the web for it -
there's a whole bunch.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins
I think you should use:
SELECT myTable.col
FROM myTable, otherTable
WHERE myTable.id = otherTable.ID
AND otherTable.data (LIKE a.% or LIKE s.% or LIKE io.bean);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
what did you say the error was?
can you cutpaste it to us?
a fatal error is an error that ends with an Exit; - means it is fatal - non
debugguble.
I guess your database is doing something funny.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL
YUP, that will
read few manuals
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Fry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:37 AM
To: Maxim Maletsky
my advise : use that as less as possible,
whatever is on the client side could be easy to hack, and not every browser
understand JavaScript either.
Use cookies, 1-200 is out - means they are unable to use your service : they
chousen it that way.
Sincerely,
Maxim Maletsky
Founder, Chief
,
gametwo_number)
VALUES
('',$curr_yday,'$gameone_genre',$gameone_number,'$gametwo_genre',$gametwo_nu
mber)
;
try it.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Brian Rue
hehe ... here I am again:
mySQL? if yes then do date+INTERVAL 8 DAYS.
PHP? then convert everything into UNIX timestamp with mktime() and do a plus
of (60*60*24 for each day) and then reconvert it back into the time format
you want.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
See a tutorial on PHPBeginner.com
http://www.phpbeginner.com/columns/enygma/install
this will pass you through the process.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: B
..
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Marthe Kristiansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 11:08 AM
To: Php-General
Subject: [PHP] Newbie question
to maintain sessions, so if SID (from cookies) is not defined
then it is a very new visitor and we create one. Then session_id($SID) and
there we go...
Nor even her to see the error each time she visits the site, it happens only
once a moth...
really, weird...
Cheers,
Maxim Maletsky
-Original
(and dangerous for carrier).
Any of you have any idea why this "rare" error keeps happening on her
browser and NEVER on any of developer's? (nor even any other employee of our
200 company ever complained)...
What to fix?
Sincerely,
Maxim Maletsky
Webmaster, J-Door.com / J@pan Inc.
LINC Media,
See the footer below...
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Joachim Fuchs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 5:40 PM
To: [EMAIL PROTECTED
it
gives you and vuale...
not sure though, it might be useless if the time taken to do that is
equivalent as to select pulling the results out. (think it is)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
more sense a
loop in PHP to reinsert the staff under your own conditions.
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: Wednesday
$str = eregi_replace("[^[_a-z0-9-]]", '_', $str)
would this 2-seconds written-in, non-tested scratch of code do the job?
If not then something like this...
eregi_replace() is what you are looking for.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where
treats them as simple set of integers...
Hope it helps.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Alvin Tan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 4:21 PM
quot;Monday, 20 April 2001" format
Consult with mySQL (or other SQL DB) manuals searching for DATE_FORMAT.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Sandeep H
it says that on line 15 of settings.php there's an output.
you need to set cookies BEFORE any output.
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Marc Dondlinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 6:37 PM
To: [EMAIL PROTECTED]
Subject
strange (for the poster) functions when he
can just delete the space/newline after ? ?
Thanks for suggesting an alternative.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 6:49 PM
To: Maxim Maletsky
Here,
just was working on it:
snip
...
$bgcolor = (($row_count%2)==0) ? ' bgcolor="#DBDBDB"' : '';
$row_count++;
echo "TR$bgcolor";
...
/snip
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Rikul [mailto:[EM
You should use this:
(from my Development Machine:)
include_path= ".;D:\includes;D:\htdocs\;D:\htdocs\phpmyadmin" ;
UNIX: "/path1:/path2" Windows: "\path1;\path2"
Note the dot at the beginning of the string - that's your solution
Cheers,
Maxi
) anything to do with it?
I can't really give you any more details since my co-coworker is unreachable
right now, and this is kinda urgent.
Cheers,
Max.
Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Webmaster, J-Door.com / J@pan Inc.
LINC Media, Inc.
TEL: 03-3499-2175 x 1271
FAX: 03
look at the PHP source code you've installed
Maxim Maletsky
PHPBeginner.com
www.phpbeginner.com
-Original Message-
From: glenn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 10:47 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PEAR
Does anyone know where I can get the basic pear
t me how do I SELECT ALL of the accounts having simply NULL
on 'addresses.*' when there's no such row, instead of 'loosing' the whole
'account' row?
I sure know how to do it using two queries, still, I wonder if one single
query can do this job.
Where do I miss the logic?
Thanks in advanc
a SECURE one :-)
Cheers,
Maxim Maletsky
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 4:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Post but not Post
Hello.
we all know that we can send variables to another PHP file via form tag
and with post
ha ha ha .
Maxim Maletsky
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 3:13 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] test - can someone please reply?
On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote
and the usability has improved immensely... very cool.
Great job guys!
And, if anyone on the list finds any bugs there - please contribute!
Maxim Maletsky - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Webmaster, J-Door.com / J@pan Inc.
LINC Media, Inc.
TEL: 03-3499-2175 x 1271
FAX: 03-3499-3109
http
Mensagem Automatica do Terra [[EMAIL PROTECTED]]
Could anyone please remove this guy?
his mailbox has exceeded by size, guess he didn't know how many subscribers
are on this list
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED
t sleeping.
Cheers
Maxim Maletsky
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:42 PM
To: Maxim Maletsky; Boaz Yahav; 'PHP General List. (E-mail)'
Subject: RE: [PHP] URGENT: IE pops-up an Error and File Download Fails.
Ne eds to be fixe
From last millenium. (Cristmass? I guess)
and always worked as precise as the heart of a baby.
Cheers,
Maxim Maletsky
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:31 PM
To: Maxim Maletsky; Boaz Yahav; 'PHP General List. (E-mail
Another funny thing:
the page breaks in all different places but more often on:
1276 Bytes (65% of times),
2743 Bytes (15% of times),
4153 Bytes (10% of times),
others
Interesting ... I feel here pockets trouble ...
Cheers,
Maxim Maletsky
-Original Message-
From: Maxim
401 - 500 of 604 matches
Mail list logo