it if security is of a minimum importance or you're
completely sure you know what you do.
--
Maxim Maletsky
[EMAIL PROTECTED]
On Tue, 5 Nov 2002 02:04:52 +0100 "silver" <[EMAIL PROTECTED]> wrote:
> hi - I'm not quite sure if this will help you, but lets give it a
wanna write an article for PHP Beginner? We'd be looking for something
like this some time next month...
--
Maxim Maletsky
[EMAIL PROTECTED]
On Mon, 4 Nov 2002 15:46:12 -0600 "Clint Tredway" <[EMAIL PROTECTED]>
wrote:
> I have a small example of using Flas
set error reporting to 55
--
Maxim Maletsky
[EMAIL PROTECTED]
"Martin Magnusson" <[EMAIL PROTECTED]> wrote... :
> I installed php 4.2.3 on Apache2.
>
> When I write I get an error message telling me that
> I have an undefined variable $anyvariable. Is this s
try calling implicitly flush() function:
Example code:
Working...
--
Maxim Maletsky
[EMAIL PROTECTED]
"Adam Humphrey" <[EMAIL PROTECTED]> wrote... :
> When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before
> PHP code that takes a while to process.
'.$title.'
Email
'.$email.'
.
.
..
.
...
--
Maxim Maletsky
[EMA
ting of httpd.conf, read
the manual)
Cheers,
--
Maxim Maletsky
[EMAIL PROTECTED]
Bryan Cassidy <[EMAIL PROTECTED]> wrote... :
> This might sound stupid but what the hell. I am running Red Hat 8.0
> with Apache. I have apache working fine right now. I am wanting to
> learn some p
look at here:
www.php.net/dir
--
Maxim Maletsky
[EMAIL PROTECTED]
Helen Muller <[EMAIL PROTECTED]> wrote... :
>
> I would like to create a web page which allow people to browse the directory
>structure and the files listed in every directory. If you have experience abou
I saw some similar code once... But PHP does not have it installed by
default.
Try searching on Google, HotScripts and SourceForge... I'm sure you will
come up with something
--
Maxim Maletsky
[EMAIL PROTECTED]
"Adam" <[EMAIL PROTECTED]> wrote... :
> Does an
where is that coming from? What encoding is that? Any info of the "b abbab abbab
baaba"
part?
--
Maxim Maletsky
[EMAIL PROTECTED]
"Roman Duriancik" <[EMAIL PROTECTED]> wrote... :
> Please Help me !
> This is not a php problem but if someone knows how to
probably, what you tried is the most elegant way. But, you got me: "mathematically"
I did *this* for you:
\n";
print_r($res);
?>
Cheers, and thank my curiousity :)
--
Maxim Maletsky
[EMAIL PROTECTED]
"Noodle Snacks" <[EMAIL PROTECTED]> wrote... :
>
just mail: [EMAIL PROTECTED] :) You succeded though :)
--
Maxim Maletsky
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote... :
>
>
> not sure how to post
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
I think you should comment on this bug:
http://bugs.php.net/bug.php?id=18648
provide the details about your system configurations and everything else
that might help us to fix it. Though, it seems to be an Apache2 problem,
so try upgrading that as well.
--
Maxim Maletsky
[EMAIL PROTECTED
What does outlook have to do with PHP?
No, there is nothing official has been made. There are some similar apps
though, very good ones actually.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Craig" <[EMAIL PROTECTED]> wrote... :
> Does Any one of a web based version of Microsoft
there is a bunch of info everywhere on the web. One should have better
means to find these, but at the end, that is what others do here -
answer questions :)
I don't think this will ever happen
--
Maxim Maletsky
[EMAIL PROTECTED]
"Noodle Snacks" <[EMAIL PROTECTED]> wrote
>'require' ALWAYS includes the file; 'include' is what you want here.
not since v4.0.2(?) came out ...
I heard from Zeev that require() and include() behave now just about the
same.
Read our posting regarding this topic of 1-2 month ago..
Cheers,
Maxim Maletsky
>Th
won't be processed at all. That's the way include() behaves
> >(in all versions of PHP) as well.
November 14-th ...
Cheers,
Maxim Maletsky
-Original Message-
From: Maxim Maletsky
Sent: Thursday, January 11, 2001 2:26 PM
To: 'Steve Edberg'; Jon Rosenberg; PHP Li
your question well?
Cheers,
Maxim Maletsky
-Original Message-
From: Kristofer Widholm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re-engineering print()
Here's what you wrote, 01-01-11:
> > $s = sprintf("
As I said to my HTML Editors:
Whenever you meet in your code: DO NOT TOUCH IT...
It works - Programmers and Web Designers have nothing now to do together.
That is what I love the most of PHP -- you can separate PHP Core and HTML
extremely easily.
Cheers,
Maxim Maletsky.
-Original
Think of a library:
you make yourself a bunch of files to use somewhere later, and when you need
any of them - include it.
Functions, classes whatever but not IFs and calculation staff: these
would always have to be read...
Cheers!
-Original Message-
From: Dan Phoenix [mailto:[EMA
ther
staff... not only graphics...
just my 0.2c..
Cheers,
Maxim Maletsky.
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 12:00 PM
To: PHP User Group
Subject: Re: [PHP] mixing HTML and PHP code
- Original Message -
From: "Jade Ohl
Actually it does..
I've seen it so many times on this list... subjects like: HEEELLPPP!!
Upgrating problems
I just think it is time to do it. First or Later you should upgrade your
PHP
so, do it now and listen to these few complains you'll receive
Cheers...
-Original Mess
Instead I am curious how other developers on this list are returning the
MD5, password() or whatever in permanently encrypted passwords...
What are procedures and what is the way the return process work?
Any tricks/tips to share with all of us?
Cheers,
Maxim Maletsky
-Original Message
us
would learn something new.
Maxim Maletsky
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] password() ::: and it's return...
I'm not sure I understand the question. What exactly do
Yeah, in fact that's my point. If you cannot decrypt a password, there's no
way to return it , right?
So how come these "big guys" DO return it to you?
And what is the most secure way for it. Some of these companies deal with
finances, the security is a REAL issue over ther
that's very true, you put in the risk the others accounts....
Maxim Maletsky
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 11:32 AM
To: PHP User Group
Subject: Re: [PHP] password() ::: and it's return...
Well it's up to you w
n you
have to care of your processing time.
typically ereg()s are quite slow,
Cheers,
Maxim Maletsky
-Original Message-
From: Romulo Roberto Pereira [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 11:39 AM
To: php-general
Subject: [PHP] How do I do to update part of a s
bunch of ways to do what you're asking ...
Cheers,
Maxim Maletsky ..
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to keep unauthorized viewers out
I'm using a pret
I've read something on PHPBuilder.com.
look through the past articles
Cheers,
Maxim Maletsky
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 17, 2000 2:46 AM
To: PHP User Group
Subject: [PHP] Sessions
Does anyone have a place with a l
but you would have to count how many dots are there ...
-Original Message-
From: Gregor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 5:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] string replace
$foo = "test.gif";
$foo1 = substr($foo, 0, strpos($foo, "."));
this shou
l to
if($name=='Max' || $name=='Maxim')
this is quite useful for usability purposes...
Cheers,
Maxim Maletsky
-Original Message-
From: Zenith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 7:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to escape from a functi
what a personality ...
when "or when you think" no one helps you :-
R-E-A-D--A-R-C-H-I-V-E-S
then even your 8 y/o sister, once browsed these will learn 'bout PHP more
then you ...
Maxim Maletsky
-Original Message-
From: Serge Montmarquette [mailto:[EMAIL PROTECTED]]
27;.$month[$date[1]].'-'.$date[2];
}
//will return 30-Dec-1956
Cheers,
Maxim Maletsky
-Original Message-
From: Niel Zeeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 2:46 PM
To: php gen list
Subject: [PHP] HELP! Date formatting
Hi
Ive gotto format a date
uff... that was long but very useful, thanks Terry - a good contribution for
our developers team in here whom I just forwarded your email and for
PHP-General archives.
Cheers,
Maxim Maletsky
-Original Message-
From: Terrence Chay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17
www.heraut.demon.nl is a good tool for database design/presentation,
then DBTools http://dbtools.vila.bol.com.br/ is also awsome for managing the
databases...
non of these is written in PHP, they are for your local machine, but I
personally like it this way better...
Cheers,
Maxim Maletsky
here:
http://marc.theaimsgroup.com/?l=php-general&r=1&w=2
have fun!
Maxim Maletsky
-Original Message-
From: Taras Vasylkevych [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 7:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mail list archive
Hi,
is it possible to re
a customer like Microsoft, Morgan-Stanley, Amazon.com.. yes, but a new
start-up that thinks: "when we'll grow we'll buy something cooler" will
crack your soft down (or will ignore your license) ... I've seen it
happening so many times...
Cheers,
Maxim Maletsky
-O
hey, hey ... I wrote "Microsoft" just to tell you how _big_ a customer could
be...
a simple comparison... no politics here ... :-))
Cheers,
Maxim Maletsky
-Original Message-
From: jeremy brand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 12:02 PM
To: Kath
asmus) are just more likely not good enough to write
a good license, the one which will totally satisfy a customer and will
encourage him to purchase it.
my point is: licenses aren't codes - if you are a programmer you'll have
some hard time writing it well.
Cheers,
Maxim Maletsky.
-O
maybe : $pattern = "/\[b\]([.\n]*)\[\/b\]/Ui";.
have you tried it succesfully?
P.S: I am not sure that \n in preg is a newline, you could also try this:
$pattern = "/\[b\]([.".chr(10).chr(13)."]*)\[\/b\]/Ui";.
one of these ...
Cheers,
Maxim Maletsky
-
basis. So I can
still hack with it while it is being operated...
oopps, again wrote too long ...
anyway, is there any script like that (fast and dirty is ok) to run on
MySQL, PHP4.0.2 ?
P.S: I have a quite good idea on how to write it, but NO TIME.
Thanks
Maxim Maletsky - [EMAIL PRO
t a folder with them all with .htaccess
or
use .htaccess to not to show them anymore...
Cheers,
Maxim Maletsky
-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 5:48 PM
To: Php-General@Lists. Php. Net
Subject: RE: [PHP] how do i hide my .in
I have just gotten my own dedicated server my my personal websites... it is
www.insidecrew.net
they are quite cool.. FreeBSD, a good link and root password to you, then
you installk what you wish...
Cheers,
Maxim Maletsky
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED
ess with the code ending up
rewriting it all.
I need it VERY urgently. my boss is hacking my *ss...
Please help me with this one...
Thanks in advance,
Maxim Maletsky - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Webmaster, J-Door.com / J@pan Inc.
LINC Media, Inc.
TEL: 03-3499-2175 x
x27;s a tool that can do that.
Cheers!
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 5:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] convert ASP to be PHP
Hi people,
I have one ASP site that need to be converted to be PHP3
;? nor even that makes sense enough... that
would be "PHPHPP" ... hmm...
...and so on;...and so on;..and so on
BUT Now I will have something to print out and to bring in my bag with me
all the time awaiting for these naive interrogations.
:-))
You are my saver, Rasmus!
is "$HTTP__Host" just a typo?
it should be $HTTP_HOST.
Cheers,
Maxim Maletsky
-Original Message-
From: Jamie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 11:41 AM
To: PHP
Subject: [PHP] Function with True / False return
can anyone tell me whats wrong with thi
: 7bit\n\n";
}
print MAIL "$INPUT{'body'}";
print MAIL "\n\n";
if ($INPUT{'unsubchk'}) {
print MAIL
"===\n";
print MAIL "You have received this email because you subscri
It says that the username or password are incorrect.
Just Double Check them!
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 6:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP] db connection error
Hi all,
I got the
LAST_INSERT_ID() is a mySQL function, non PHP...
in PHP you can use mysql_insert_id() which will return you what you the last
inserted ID.
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:16 AM
To: [EMAIL
_INSERT_ID()";
LAST_INSERT_ID() will be here equal to the auto_incremented id of the first
$SQL statement.
Hope this helps,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP] la
.
Cheers,
Maxim Maletsky
-Original Message-
From: Mark Lipscombe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 5:28 AM
To: Maxim Maletsky
Cc: 'Jacky@lilst'; [EMAIL PROTECTED]
Subject: RE: [PHP] last_insert_id function
Someone jump in here and correct me if I'
Yes, except that in the second case you first will have to do the insertion
of $sql and then assign $lastId to mysql_insert_id();
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:36 AM
To: Maxim Maletsky; [EMAIL
a thing to understand (just in case you didn't)
that mysql_insert_id() must be called after mysql_query($sql) was made...
otherwise how do we know the last id... ?
Cheers,
Maxim Maletsky
-Original Message-
From: Maxim Maletsky
Sent: Wednesday, January 24, 2001 6:38 PM
To: &
I am not really sure about this one, but the first thing I would do is that
I would try it.
It could be though ...
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 7:53 AM
To: Maxim Maletsky; 'Mark Lipscomb
So if nothing else works for you - try this...
(depends on how secure & stable you want your application to be, of
course...)
Cheers,
Maxim Maletsky
-Original Message-
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:21 AM
To: [EMAIL PROTECTED]
Subject: [PH
nd a browser is on client side. I just wonder if there can be some
other details something with web server ?...
Cheers,
Maxim Maletsky
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:30 PM
To: Maxim Maletsky; Boaz Yahav; '
ead subject - write me I
am here not 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 Err
>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.
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
ess - packets.
Something was wrong with pockets, or file size...
the file size differs now, and it works...
Geez
I will investigate on this.
This is just too funny to forget about.
IE is so buggy
Cheers,
Maxim Maletsky
P.S: As I wrote in my first post: "If any friends of Bill are
inst your rules.
If it was then please remove my entry from your database.
Maxim Maletsky
"
and then you explained it to me:
"
Hi
It's not against any rule but it think it doesn't look
good to add an example as a link to another site which is
a competitor
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 PROT
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
speedy 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
F
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
while PHP 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
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
We all are working on something like this.
Search Source Forge to get some better ideas.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Romulo Roberto Pereira [mailto:[EMAIL
tats. Catch the time 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]
might make 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: Wed
$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.c
erous 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.
LI
work..
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 que
es 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
-Ori
you can do:
echo ${"banner$RandBanner"}
this will create a variable for you.
However, I think you should be using an array. Things are getting much
faster and better.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL
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
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
what about Webmin?
it's wuite cool, it has it all.
(don't remember the URL, it comes with Linux Mandrake 7.2 for sure)
try searching on google
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
---
DIE("ERROR : ".mysql_errno() ."
".mysql_error()."");
But, honestly I think you're missing few spaces to surround ')VALUE(', hey,
it thinks it's a funciton or something.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where P
do 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]
Su
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
f at least 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.phpbe
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 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]
S
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
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
admin-error.log
CustomLog logs/JI_admin-access.log common
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 Developer
PHPBeginne
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,
Maxi
what about microtime() ?
you can do it your self:
$start = microtime();
mysql_query()...
$stop = microtime();
$token = round($stop-$start, 3);
echo "Query took $token seconds";
I mean this is not as precise as SQL would do itself, but will work
approximately.
Sincerely,
Maxi
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
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
what did you say the error was?
can you cut&paste 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 Be
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
it might also be the characters escaping.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Brian Rue [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 9:28 AM
To: [EMAIL
yday, gameone_genre, gameone_number, gametwo_genre,
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)
, 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
201 - 300 of 653 matches
Mail list logo