Yes,
But this is a JavaScript problem.
Please ask elsewhere or look at the Google.
Also, take a look here:
http://developer.irt.org/script/script.htm
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Morten
Is it possible to call a function in a javascriptpage from a PHP page?
Javascriptpage?
Do you mean using JavaScript to call a PHP function?
NO, it is not.
Because PHP is SERVER-SIDE and JavaScript is CLIENT-SIDE. You can do
vice versa though.
Sincerely,
Maxim Maletsky
Founder, Chief
Two ways for you:
1. invest $200 (as you mentioned) in a little test server. Set there
Samba (samba.org) and simply save.file-refresh.browser
2. install FoxServ or PHPTriad or something else. Look at the
sourceforge.net. Or go manually installing the three - Apache, PHP,
mySQL on your Win. This
.htaccess
Not sure if ini_set() will work in your case. But try.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Stefen Lars [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 3:02 PM
To: [EMAIL
Here's one good tutorial:
http://www.phpbeginner.com/columns/morten/win32
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Steve Bradwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 3:00 PM
To:
// In your config file:
function selfAwareInclude($filename) {
define($filename, true);
}
// in the file you are making an include
selfAwareInclude($filename)
include($filename);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
What does the ! in if(!isset($id)) { $id = 0; } do?
It checks for the false return. If isset($id) returns false then the
'if' statement with (!) returns you true, and, as you just guessed, it
will assign a (0) to $id.
this bit does in general: checks if $id has been assigned anything, if
: Philip Olson [EMAIL PROTECTED]
To: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To stop receiving the messages from undefined variables add this at
top
of your files:
error_reporting(55);
Or better yet, keep as you're doing and develop with E_ALL
and fix those E_NOTICE errors
Hello,
Chris Montgomery wrote:
Howdy,
I have been developing with ColdFusion for nearly five years and
want to
learn PHP. For someone who has never done anything with PHP before,
what
*one* book would you recommend as a good primer to get started
learning PHP?
Professional PHP
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 8:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Security Leak
I'm wondering if anyone has any ideas on how to make a
login site more secure. Since I'm not really sure if
I've explained
Dame thing, no?
Your SELECT name=language[]. You can see all those selected as an
array.
Now, add the text type and call it something different (ie;
custom_lang).
In the page,
?
If(strlen($_GET['custom_lang'])) {
// do insert of this
}
else {
// loop the $_GET['Language']
about variable types. Setting them before solves this
problem.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
# Nathan
- Original Message -
From: Maxim Maletsky (PHPBeginner.com)
[EMAIL PROTECTED]
To: 'Nathan' [EMAIL PROTECTED
You can POST forms transparently between servers by using sockets.
Basically, your PHP file will simply send the POSTed data to a page and
will read it after that. Then you parse the ASP output and vuala!
Start here:
www.php.net/fsockopen
Good Luck!
Maxim Maletsky
Founder, Chief Developer
. The idea is that without
this
sort of thing you are vunerable to SQL insertion attacks.
Joshua b. Jore
http://www.greentechnologist.org
On Thu, 25 Apr 2002, Maxim Maletsky (PHPBeginner.com) wrote:
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]]
Sent: Thursday
With header you can do by using
header(Location: http://www.site.com/some/page.php?some=var;);
here's a good article about it:
http://www.phpbeginner.com/columns/shobhan/browser
other than that, you can always include(). But this is a little bit of a
mess.
Sincerely,
Maxim Maletsky
Try looking on sourceforge (www.sf.net)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Dennis Gearon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 12:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
Was the question is it neccessary or how to do it secure?
I myself don't tlike the idea,
But if needed, then this could be a way.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: [EMAIL PROTECTED]
Dan,
PHP General is pretty much about anything related to PHP in General -)
There are also other lists, look at php.net under support.
As of your questions:
1) List archives (the wildest ones) are on:
groups.google.com
marc.theaimsgroup.com
2) That could be hotscripts.com and
Try this:
php.net/constants
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: nospam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 2:36 PM
To: 'Php-General
Subject: [PHP] what constants are in php
Yes,
just assign it as if you would do with a string or integer.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 2:46 PM
To:
E.. si, capita a molti qui :-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Neil Highley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 4:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Upload
You can use PHP-GTK in the background. Just call it with cron.
Alternatively, you can set PHP to keep executing on the user exit. What
was that function called? on_*_shutdown()?
Could be dangerous though, what if it goes to loop-in your server? 30
mins is quite a few for a script to run. So,
Hey, I started playing with your code for a while ... And then
realized.. What you're trying to do it to reproduce chunk_split()
function.
Try other work arounds for this.
Read the docs,
Start from here: www.php.net/chunk_split
Sincerely,
Maxim Maletsky
Founder, Chief Developer
Two ways:
1. $string = preg_replace(^.{1}, 'h', 'bill'); // will make
'h'ill out of 'b'ill
2. $string = 'h'.substr('bill', 1);// will
get rid of the first char and concatenate
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com //
I think Miguel said it all:
I will just add you this reference on mySQL (if that's what you use)
field types reference.
http://mysql.com/doc/D/a/Date_and_time_functions.html
As of performance I'd say:
The logic should be:
Store all the data in DB so when you retrieve it you can do every
I'd give you a medal for these words :-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 6:23 PM
To: [EMAIL PROTECTED]
Subject: RE:
A chat?
A website?
A sourceforge :-)
Anyway, try hotscripts.com whatever you're looking for.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Teqila MAN [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24,
There was some kind of ASP for Linux. I only heard of it.
Search.
Also, for apache's mailing list look on the Groups of Google.
May god have mercy on your soul... Amen
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original
Personally I think databases these days (MySQL in my experience at
least) are more than reliable enough and fast enough to serve up
binary data in quite large quantities. If you run into performance
issues, implement a caching solution run from a crontab.
I had a very, very bad experience
Do this:
$contents = file($file);
foreach($contents as $line_num=$line_data) {
$data = explode('|', $line_data);
// now data contains:
// [0] = aa
// [1] = bb
// [2] = cc
// nd so on
}
Sincerely,
Maxim Maletsky
Founder, Chief
SF is OK, as every other software it itself may have some problems from
time to time. But overall it always works. You might be frustrated abut
the security precautions it takes, but this is only for your best.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where
Hi,
I am not a PHP programmer. (Sorry Guys;-)
Although, I am working on a PHP portal type site, where I need to
integrate as seemlessly(?) as possible an outside specialized leased
Search Engine Service done with ASP (I suppose? .asp).
yup, probably ASP.
I have been looking everywhere
From the manual (and with honor):
int setcookie ( string name [, string value [, int expire [, string path
[, string domain [, int secure])
so ?
setcookie (TestCookie, $value,time()+3600, /~rasmus/,
.utoronto.ca, 1);
?
limits the cookie to work on only one specified folder
see for
There are several ways to do that,
But in your case, I believe the best would be having a page somewhere
and include the protected files.
Alternativelly look into the Chapter 17. of PHP Documentation: HTTP
authentication with PHP
http://it2.php.net/manual/en/features.http-auth.php
Sincerely,
Look also at the examples in docs:
--
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past
header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT);
// always modified
header(Cache-Control: no-store, no-cache,
Post it, Jennifer, post it - we promise not to yell
(ignore the yelling people - they never sleep enough, that is why...)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Jennifer Downey [mailto:[EMAIL
Sorry, that was regarding the browser cache.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 7:44 PM
To: 'Richard Emery
Just try it on. I heard some good reviews about it.
And, if the site is not too complex, try estimating the time it would
take you to re-create the functionality and compare it to the time you
think you would take for debugging. I once had to do this and have
choosen rewriting the code ourselves.
OK, here's what I've done from your code.
Check the line I mentioned.
?
session_start();
$query = SELECT name FROM {$config[prefix]}_users WHERE
uid={$session[uid]};
$ret = mysql_query($query);
while($row = mysql_fetch_array($ret)) {
$user = $row['name'];
Oh well.
The line I mentioned was not the right one.
I misSAW your comment.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 7:48 PM
To:
Try this, Jennifer:
Without messing the rest of your code, change the line:
$quantity = $row['quantity'];
With this one:
$quantity = 0;
In other words: hardcode it for testing.
If else always prints, then you are missing something in your query.
Otherwise
Jennifer, satus!
People are nervous here!
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 7:48 PM
To: [EMAIL PROTECTED]
Subject: Re:
Add it to the session.
Sessions can handle arrays with no problems.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 11:47 AM
To: Boaz Yahav;
Search archives, as a tip I'd suggest to encrypt the Credit Card numbers
with RC4 or some other algorithm.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent:
Also very true.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 6:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Better standards in
Right, certain things is beter to keep in the Db. Keep present that the
file system is limited. You can't just have an unlimited amount of files
on the same directory.
PostgreSQL is the best choice on my opinion. mySQL might fail on a large
DB.
Sincerely,
Maxim Maletsky
Founder, Chief
I think it is already done a WHILE ago.
Look for it on source Forge or hotscripts.com. Include C/C++, Perl and
Shell scripting in your searches.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: Julian
Or just:
While(True) {
// send email
sleep(1);
if($tired==True)
Break;
}
Count how many mails you want and quit :-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From:
Edit Plus, PHPEdit ... Just browse the archives, Ben
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
-Original Message-
From: .ben [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 3:36 PM
To: PHP
Subject: [PHP] PHP editor for
When you write a php script to access a database,edit
records, etc., is the entire thing 1 giant PHP page or a
bunch of different ones?
A giant one
If it can be written both ways,
which is the better way to do it?
Depends how big is your 'giant'.
It is all about your coding style,
Have you looked into phpAdsNew?
www.sf.net
And search for it there
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 23.39
To: Wandrer; Joseph Bannon
Cc: [EMAIL PROTECTED]
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers
from not being modular.
It is just you and some other people similar to you. Thought this
question was up for a while :-)
PHP on the other hand seems to
PHP on the other hand seems to load in ALL the code that
MAY be run.
i.e. an include brings things in which are inside an if,
even if the
if equates to false.
A quick check in the manual, it states that:
Unlike include(), require() will always read in the target
file, even if
Of cource changing the require with include would explain everything :-)
Sorry, forgot to mention that :-)
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: venerdì 5 ottobre 2001 3.33
To: 'Opec Kemp
conditionally load the function/files that
you want then you should use include().
Was the implication of the poster I replied to.
To the original I replied commenting each of his arguments, therefore I
knew his points.
Maxim Maletsky
www.PHPBeginner.com
--
PHP General Mailing List
With ereg it could be:
if(ereg(^[^[:digit:]]+$))
echo 'something else came through';
Untested though ...
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: venerdì 5 ottobre 2001 3.42
To: Chris Aitken; PHP General
You've already had a nice answer. Look for ezmlm. It is a very powerful
open source mailing manager.
You could store the data in mySQL database and administer it in your
favorite way via PHP or whatever. Then, loop your PHP code and (if you
need this of course) copy all the emails of users you
Try also mod_rewrite of apache. It is great for doing such things.
Visit apache.org and search docs for mod_rewrite or simply look into
archives of this list.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]]
Sent: mercoledi 3
Then what do you need?
We are not any sure on what your question is ...
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 3 ottobre 2001 16.31
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] something like
So you need a browser of your own?
You should be using
fosockopen()
php.net/fsockopen
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Kamil Nowicki [mailto:[EMAIL PROTECTED]]
Sent: mercoledi 3 ottobre 2001 17.47
To: PHP-list
Subject: [PHP] How to simulate any browser
It did.
Try opening that file with a text editor.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Big5ive [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 3 ottobre 2001 19.10
To: [EMAIL PROTECTED]
Subject: [PHP] Newlines in files
My Code:
$PW_LIST=../config/pw.txt;
I think you can take just about any forum or other script and modify it
on your own if you know how. And, what you're asking is relatively easy
to do from scratch as well. You should try at least.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Michael O'Neal
It is the same thing.
trim() is enough to make it work.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Mauricio T?llez Jim?nez [mailto:[EMAIL PROTECTED]] On
Behalf Of EDUMEXICO
Sent: mercoledì 3 ottobre 2001 19.53
To: Dominik
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
Not sure, but this 'wb' looks suspicious to me.
From the manual:
The mode may contain the letter 'b'. This is useful only on systems
which differentiate between binary and text files (i.e. Windows. It's
useless on Unix). If not needed, this will be ignored.
Can you ignore it as well?
Maxim
Yup.
fread()
Read on
PHP.net/fread
PHP.net/fgets
...to learn how to manipulate files.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: mercoledi 3 ottobre 2001 11.11
To: php forum
Subject: [PHP] file reading and textarea
No formatting a developing station is a really stupid thing to do ;-)
Have you looked into your C:/docs/you/cookies? It should be there.
Hey, why instead don't you try to remove it? Set it to nothing - that's
it.
Logic: if at least a friend of yours sees it - means it works. Cookies
could be a
I hope I wasn't just left over by not knowing that.
Listen what I just came across on an Italian PHP mailing list (ok,
credit belongs to the founder of Italian largest PHP portal Michel
'ZioBudda' Morelli @ www.ziobudda.net).
According to him, if you add
Strange, I always though it should be working.
Have you tried $a[{$b['b']}] ?
What version of PHP are you running?
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Job Miller [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 1.41
To: [EMAIL PROTECTED]
Subject:
PHP can only handle a query at a time. If the database in question
allows you to construct a such query where you can write to multiple
files then you can. Go to the manual of your DB and look for the answer
there. For instance; look at the syntax of INSERT.
Maxim Maletsky
www.PHPBeginner.com
[{$row[TICKER]}] = will not parse
$quotes[$row[TICKER]] = will not parse
any ideas?
--- Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
wrote:
Strange, I always though it should be working.
Have you tried $a[{$b['b']}] ?
What version of PHP are you running?
Maxim Maletsky
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 2.02
To: 'Job Miller'
Subject: RE: [PHP] associative array syntax question
I tried on winXP/PHP4.0.6/Apache
?
$a = Array('print me');
$b = Array('b'=0
: giovedi 4 ottobre 2001 2.44
To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED]
Subject: Re: [PHP] associative array syntax question - got it!
Maxim,
I figured it out. Thanks for your help
PHP can't interpolate within string when nested
associative array is used. the nested aa must be
appended
$sess = $String.$Num;
session_register($sess);
..is your answer :-)
...you're welcome :-)
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 2.53
To: [EMAIL PROTECTED]
Subject: [PHP] Add $String to
Yes, that does for sure
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 4.02
To: 'Job Miller'; 'Maxim Maletsky (PHPBeginner.com)';
[EMAIL PROTECTED]
Subject: RE: [PHP] associative array syntax question
You can't do it through PHP.
';' - won't work
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]]
Sent: giovedì 4 ottobre 2001 6.24
To: Maxim Maletsky (PHPBeginner.com)
Cc: 'sc'; [EMAIL PROTECTED]
Subject: Re: RE: [PHP] write
Without following your logic I can give an example of how style sheets
on PHPBeginner.com work:
In the page we have
link rel=stylesheet href=/styles.php
And in the styles.php we have all the possible DB connections, browser
checks by (PHP SNIFF) and so and so on.
You cold even try to call
Thanks Rasmus.
The link you provided will become a great resource for PHPBeginner.com
Cheers!
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 6.58
To: Jason Dulberg
Cc: [EMAIL PROTECTED]
Subject: RE:
trying religiously to understand logicals from raw code samples.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 7.09
To: Maxim Maletsky (PHPBeginner.com)
Cc: 'Jason Dulberg'; [EMAIL PROTECTED]
Subject
21st, so i don't think i'll be doing much coding, but hey, its
opensource, you do a lil, i do a lil, it'll be done in no time...
jack
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 1:24 AM
To: 'Rasmus Lerdorf'
Cc
Ok. Wll show you with an example:
if (($site_style!==10) ($site_style!==9) ($site_style!==8))
{ }
elseif ($site_style==10) {
}
Should simply be
if($site_style != ('10' or '9' or '8')) {}
Bla bla bla
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Maxim Maletsky
What about in Europe and Japan. I live between Italy and Tokyo. I only
met Zeev Suraski and Doron (the CEO of Zend) representing my company on
a meeting in Tokyo this June. What about you? Are there any speeches you
do in my locations?
Maxim Maletsky
www.PHPBeginner.com
-Original
?
hehehe... are you going to travel to Spain?
You can title like: the Rasmus World Tour ;)
- Original Message -
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001
PROTECTED]]
Sent: martedi 2 ottobre 2001 18.32
To: Maxim Maletsky (PHPBeginner.com)
Cc: 'ReDucTor'; [EMAIL PROTECTED]
Subject: RE: [PHP] how to decrease serverload easily?
Nothing planned for Italy or Japan right now. Frankfurt, Paris,
Birmingham, Bucaramanga (Columbia) and Brisbane
I think this was supposed to work:
.htaccess
RewriteEngine On
RewriteRule ^(.*)\.zajfe\.org$ redirect.php?url=$1 [L]
Are you sure it doesn't? If it doesn't then meas they
1. don't have mod_rewrite (phphinfo shows you the modules loaded)
2. don't allow .htaccess to override httpd.conf
EditPlus is the best. Many nice functions and, I think, it is more
adapted for HTML/PHP development that TextPad.
What I can't live without when developing on windows are those drag
drop customs of EditPlus. I find it pretty handy. on VIM is great as
well.
Hey, look into archives. There are
Check out netcratf.com
Their graphs are auto generated by (I think) PHP.
Also you can use them a lot for many other kind of charts and stats
graphs.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Chip [mailto:[EMAIL PROTECTED]]
Sent: lunedì 1 ottobre 2001 6.43
To:
netcraFT.com, sorry
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: lunedì 1 ottobre 2001 8.54
To: 'Chip'; [EMAIL PROTECTED]
Subject: RE: [PHP] php graphics generation
Check out netcratf.com
by searching google, perhaps
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Justin Rodino [mailto:[EMAIL PROTECTED]]
Sent: martedi 2 ottobre 2001 5.30
To: Petras Virzintas
Cc: PHP General List
Subject: Re: [PHP] Namo Web Editor
Where does one find this Namo Web Editor?
What about this:
$sql=select id,agent,host, DATE_FORMAT(time_in, '%M %d, %Y, %l:%i') AS
unixdate from logged_in WHERE userid='$current_user' ORDER BY id DESC
LIMIT 1;
I think this should work for your case.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Jason Dulberg
.
Still, it feels like it is better than Dreamveawer and Microsoft
FrontPage (oh boy, I pronounced devil's name)
Just my 0.2c
Nice lead, Justin.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: martedi 2
... DESC LIMIT 1,1
As you wrote yourself.
Sorry, haven't taken in consideration ;-)
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Jason Dulberg [mailto:[EMAIL PROTECTED]]
Sent: martedì 2 ottobre 2001 6.59
To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED
Yes Devin, mySQL is fast enough, but it is not *really* a database.
There are many reasons why some say mySQL is rather close to a file
system with SQL interface than to a DBMS. If you really care about how
robust and efficient your database is then you should look into
PostgreSQL which by many
To: Maxim Maletsky (PHPBeginner.com)
Subject: Re: [P H P] The Histor of The Kewl Script
I can't seem to access the source code...and the image is turning out
spaced
- Original Message -
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'ReDucTor' [EMAIL PROTECTED]
Sent: Sunday
is relatively easy.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: domenica 30 settembre 2001 9.51
To: [EMAIL PROTECTED]
Subject: Re: [PHP] The Kewl Script
Maxim Maletsky (PHPBeginner.com) wrote:
I ported it to use
Both will do good jobs, but is the site is very loaded PHP might take
less resources than jsp and asp from the server. Yet has to be well
configured. It all depends on how you use it.
PHP is a great solution for most heavy sites. I never had any problems
with it on a 4+ million pv/month site.
Uff.. Don't envy you...
Anyway, if someone (hopefully) was cutingpasting the cells in you could
do a combination of fopen/explode/regex to split the data into
coma-separated values. For example, stripping out every HTML tag
replacing it with a coma and a space will create you a dump file.
Have you looked into GetImageSize()? php.net/getimagesize
Though, I don't know if it works with remote files. Try it.
Maxim Maletsky
PHPBeginner.com
-Original Message-
From: Marian Vasile [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 26 settembre 2001 8.48
To: [EMAIL PROTECTED
Hi Richard.
Subsrt_count() is what you are looking for:
int substr_count (string haystrack, string needle)
php.net/substr_count
P.S: Helen Fielding's Bridget Jones Diary is a nice novel, hun?
Maxim Maletsky
PHPBeginner.com
-Original Message-
From: Richard Baskett [mailto:[EMAIL
it is your local server (you might not be original with the
password on production machines, no?)
Hope it helps,
Maxim Maletsky
PHPBeginner.com
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 26 settembre 2001 15.31
To: [EMAIL PROTECTED]
Subject: [PHP
AFAIAC,
The only function that gets you image size is GetImageSize() which you
claimed cannot do remote check. Therefore, I do not think you can manage
this without downloading/copying the file to your server.
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Marian Vasile
1 - 100 of 108 matches
Mail list logo