find the files.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
the process to sleep for the
specified period. It doesn't use any processing power during that time
and it might even use less memory (if it is swapped out).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http
missing that is
causing them to do that. Thank you for the help!
You do a
print (readfile ('foo'));
right?
Well, readfile reads the file *and outputs it*, then returns the number
of chars read. That is passed to print (). So just use
readfile ('foo');
--
Christian Reiniger
LGDC Webmaster (http
' in an array.
This will do it, yet when it wont work when special chars such \n exist
between 'testing' and 'blah'.
Use preg_match() with 's' or 'm' as modifier (one of these is correct...)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear
endings)?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Very funny, Scotty! Now beam up my clothes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
theory and computer
algorithms honors exam.
Well, then you *do* know that O(log n) can be slower than O(n), right? :)
For a small number of ranges the chained ifs are most likely faster...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
(A)bort (R)etry (P)retend this never
Should get you started.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
you do that?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days.
- Securityfocus on probing 3600 hosts for known problems in 3 weeks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
to setup.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days.
- Securityfocus on probing 3600 hosts for known problems in 3 weeks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
get the error message that there is no httpd.h
file in the apache folder. And thats true.
Use --with-apxs instead of --with-apache. That should do the trick.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
void sleep(){for(long int sheep=0;!asleep();sheep++);}
--
PHP General
instead of outer functions? Classes provide
rather nice (nestable) scoping.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Software is like sex: the best is for free -- Linus Torvalds
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
, 13:42, 1 user, load average: 0.07, 0.03, 0.00
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
expression
documentation should be fine. Also the preg expression syntax page in
the manual is very good.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Software is like sex: the best is for free -- Linus Torvalds
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
($text, '')) {
UseHTML ($text);
} else {
UsePlaintext ($text);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not Eureka, but That's funny...
- Isaac Asimov
--
PHP General Mailing List
rolling my own mailing program and want it to detect the HTML
if present and send it appropriately.
if (strstr ($text, '')) {
UseHTML ($text);
} else {
UsePlaintext ($text);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear
/$i
done
should do it in any decent environment (i.e. any Unix flavor :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
' (See
http://php.net/manual/en/language.variables.scope.php)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
with
apache already installed.
you need to recompile apache too, unless you want to run php as cgi,
in which case you just leave out the --with-apache part
--with-apxs should work fine without recompiling apache.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once
to the HTTP headers. you can call it as often
as you want.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
On Wednesday 09 May 2001 07:46, Vegard wrote:
Does anybody know how much text can be stored in a variable og type
string?
Typically about 2^(sizeof(int) * 8 - 1) chars. On a normal 32 Bit machine
that's 2 Gig, on a 64Bitter, one moment, 9223372036854775808 chars
--
Christian Reiniger
LGDC
Building dynamic websites with
search engines in mind on phpbuilder.com.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
uploads in the manual.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
= preg_replace ('/(foo)(.*?)\/\\1/', '$2', $Text);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
nothing about PHP 4.
Works fine here:
function pbHTTP_404 ()
{
header (HTTP/1.0 404 Not Found);
include ('404.html');
exit ();
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?
--
PHP General Mailing List
On Tuesday 08 May 2001 13:55, Alexander Bierbrauer wrote:
Hi people,
is there a way to check a string, which is passed by a form via GET,for
html tags??
Does anyone know some code or anything else??
strip_tags()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck
On Tuesday 08 May 2001 16:40, Kelly Meeks wrote:
Hey folks,
What language is associated with a web page with a .epl extension?
Could be embedded perl (Perl embedded in HTML woughly the way PHP is)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers
On Tuesday 08 May 2001 18:13, [EMAIL PROTECTED] wrote:
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that men do not think.
- Adolf Hitler
Could you please remove that signature. Thanks.
Here's another quote (paraphrased):
Those who do
that could easily happen.
EOT, ok?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that men do not think.
- Adolf Hitler
Note: This quote is not meant to be offensive, it is meant to make
people think, to let them learn from history (which especially
On Monday 07 May 2001 20:04, elias wrote:
script language=JavaScript
location = hello-world.htm;
/script
can be used even if header is already sent!
But only works if (a) the browser supports Javascript, (b) supports this
JS construct and (c) has Javascript enabled.
--
Christian Reiniger
-
you're looking at HTML code.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
already mentioned)
(2) General way to avoid memory overflow on such a thing: Stream the data
to disk, i.e. read n bytes, write 'em to disk, repeat.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http
interprets it as $photos ['i'].
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
the data to - kawoom
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
World domination. Fast. (Linus Torvalds about Linux)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
pass around
the record ID
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...to paraphrase Churchill, while representative democracy may be
terrible, it's still the best system that large corporations can buy.
- David Weinberger JOHO January 25, 2000
--
PHP General Mailing List
That should be a lowercase 'p' (see above)
Summary: You thought too complex and thus stumbled over another feature
of PHP :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that men do not think.
- Adolf Hitler
--
PHP General Mailing List (http
way to do this? I don't see any
function that would make it easy.
It's so easy that you don't need a function for it :)
$Qty = 12.470;
$Qty_real = (double) $Qty;
echo $Qty - $Qty_real;
In other words - convert it from a strin to a floating-point number and
PHP will do the rest.
--
Christian
page to
some extent, but surely do not want to require them to learn PHP.
Also in this regard.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
secandri wrote:
i found this when surfing this morning
http://www.phpsucks.net/
Hey hey hey, slow down a bit :)
That's a *parody* (though admittedly one of the lamest I've seen in a
while). It's certainly not defamation, just like Bill Gates jokes are
not defamation :)
--
Christian
corrected (as you did) here.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Very funny, Scotty! Now beam up my clothes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
;
function delta ($FuncName, $args) {
return ${$FNames[$FuncName]} ($args);
}
)
But such a thing is an ugly hack and I'm sure you don't need it.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http
/a)) {
$sizearry = explode(,, $size);
while (list($key,$value) = each($sizearry)) {
$size_option_block .= option value=\$value\$size/option\n;
Why are yo using $size (the unexploded string) in the last line?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error
(the book only covers PHP3)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
statement? If the answer is
Yes, can someone give me a more robust way of writing it using PHP?
Yes.
use addslashes()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
pester this mailing list
with your nonsense comments. I mean that book with a foreword by Andi
Gutmans.
Well, you just said Core PHP Programming and I described that book. But
you're right in that I know nothing about the second edition.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc
was coined to differentiate
these instructions from hardware-i.e., the physical components of a
computer system. A set of instructions that directs a computer's hardware
to perform a task is called a program, or software program.
http://www.britannica.com/eb/article?eu=2214tocid=0
--
Christian Reiniger
. Corrupted data is something to
be expected, something that even has to be considered *normal* when
developing such a thing.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Software is like sex: the best is for free -- Linus Torvalds
--
PHP General Mailing List (http://www.php.net
to turn them off?
Warnings are not fatal as such, but they often give hints that you have a
bug somewhere. Correct your code.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net
* return a valid XML message
in a predefined format. If not, I am violating the standard we are
if (@foo_bar (42, 4711) == ERROR_CODE) {
PrintXMLErrorMessage ();
}
else {
GoOnProcessing ();
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc
.
Just imagine that with your interpretation in the following snippet
$conn = @mysql_connect(...)
$conn would always be set to 0...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I sat laughing snidely into my notebook until they showed me a PC running
Linux. And oh! It was as though
. A custom error handling function installed via
set_error_handler() will *not* work because it won't get the error code.
But I never suggested using set_error_handler() :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I sat laughing snidely into my notebook until they showed me a PC
that the original poster
was using, and needed to use, set_error_handler to handle
their own errors.
Well, needed to use might be incorrect, because return value evaluation
can be used instead (unless some functions never signal errors via their
return value). Aside from that you're right.
--
Christian
4.0.1 and it read up to several hundred junk bytes after encountering EOF.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
World domination. Fast. (Linus Torvalds about Linux)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
bomb meaning?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
On Saturday 21 April 2001 15:39, Peter Van Dijck wrote:
Hi,
I want to write a script that takes a mysql dump file and pumps it into
the database.
What about simply using phpMyAdmin?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for
Thus you will find enlightenment.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds.
- http://www.google.com/search?q=e
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
ng out of a function somewhere in the middle leads to
unmaintainable code
See example above.
But, as with the indenting and bracket placing,
it is a matter of religion.
Now that's something we agree on :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of
them and
pouring boiling water over the resulting dust.
And when you're done with that, take the manual and read it.
Thus you will find enlightenment.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds.
- http
... (cached) ranlib
checking whether gcc and cc understand -c and -o together... (cached)
yes checking whether ln -s works... (cached) yes
what do you think is going on???
Well, according to that log everything is perfectly fine.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google
as
much as possible.
Example: For "This [is a] string [with] multi [brack]ets"
it will match
"is a] string [with] multi [brack"
A better solution would be "/\[(.+?)\]/"
The '?' after the '+' tells it to match as little as possible.
--
Christian Reiniger
LGDC Webmaster
* and (2) it really takes care of *all* HTML
specialities (e.g. umlauts)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
/* you are not expected to understand this */
- from the UNIX V6 kernel source
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
?
err
Warning: open(/tmp/sess_b5ad1e0878dee63fa8a780df44af3ea7, O_RDWR)
failed: File exists (17) in page.japaninc.inc on line 109
/err
Then at least the error message should be worded differently. Failure
because the file exists should be impossible for open (..., O_RDWR)
--
Christian
though :) and restarted
the computer - you know what, the PHP works perfectly and show the
default settings! How come?
Because it uses the default settings :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
REALITY.SYS corrupted ... reboot Universe [Y,n]?
--
PHP General Mailing
s, is it good practice to exit out of a block (any
block... not just switch; if, for, while) prematurely as demon-
strated in the first example? Or should you do it as demon-
strated in the second example?
Well, what is more readable, understandable, clearer?
--
Christian Reiniger
LGDC Web
o/asp/script.asp", "r");
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
?
?
Simply using pg_pconnect() (without saving the connection ID) should be
just as fast and more failproof
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
? Many thanks.
serialize ()
A bit hard to read, but really useful nevertheless
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
expression functions
(Perl-compatible) for an explanation
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
quot;", $f_loc_name);
92- $f_loc_name = "";
93- $f_loc_name = $f_loc_new;
$f_loc_new = ereg_replace("[^_a-z0-9-\.]", "", $f_loc_name);
That, and because the dash needs to be the last character in the
character class:
$f_loc_new = ereg_replace(&qu
quot;;
}
looks a bit perverse (because the [] brackets have special meaning in
regular expressions), but you'll get used to it :)
Also have a look at the description of the perl regex syntax in the manual
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle c
cho "Found it : '" . $Matches [1] . "'";
}
Ooops. The expression should read '/\[([^\]]+)\]/'
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
their login? Just fetch the
info from DB and mail it out to the (registered) email address?
Yup
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that eve
p ? That's a pretty unusual location
for PHP to be installed in. /usr/bin/php or /usr/local/bin/php are the
common ones
?php
echo "Content-type: text/html\n\n";
unneccessary if you leave out the -q
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never
benchmarking wrt. this? (Links are fine)
run "ab" (comes with apache) on two scripts, one using method A
repeatedly, the other using method B repeatedly
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
c
?
Modules are *way* faster (I haven't done benchmarks myself, but heard of
a 10x speed increase compared to CGIs)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only
" and finally
to "D". In other words: in each iteration you overwrite all previous
values
I have script identical to this that works perfectly .. only difference
is this one has different names for the values
I don't believe that, sorry :)
--
Christian Reiniger
LGDC Webmaster (ht
n
(giving more complex examples :).
But (1) never forget to have the online manual at hand and (2) check
phpbuilder.com etc for new interesting articles from time to time
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
(A)bort (R)etry (P)retend this never happened ...
--
PHP Gener
ot;ab" (ApacheBench).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
(A)bort (R)etry (P)retend this never happened ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
this at all...
There are in fact two different servers: the web server and the PHP
server. IMO it should be possible for the PHP server, executing PHP
Wrong. PHP runs as part of the webserver.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113
On Saturday 14 April 2001 09:15, you wrote:
Is there any way to force case...like if I have a string and want it to
appear in all lowercase (or uppercase, God forbid)?
http://www.php.net/strtolower
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc
only), right?
Then you can write a script on A that, using the ftp functions built into
PHP, transfers the files to B
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's M
ql.
Using MySQL's NOW() function is a bit easier :)
That's a bit tougher to get the hang of :)
SELECT FROM_UNIXTIME(time_field) AS foo FROM mytable;
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected
ON_VARS))
echo "$key - $val";
}
Exactly like that
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
On Tuesday 10 April 2001 10:58, you wrote:
Is it possible to override the maximum script execution time as set in
php.ini using an Apache directive like this in an .htaccess file?:
php_value max_execution_time = 60
What about simply trying it? :)
--
Christian Reiniger
LGDC Webmaster (http
provider's dialin box. (more difficult)
(3) Install a proper trojan on the user's machine
Most criminals use possibility 3 ;-)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net
?
"anything" = '.'
= /^.{0,9}$/ will do the trick
strlen () will be faster though
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym Abuse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
On Tuesday 10 April 2001 04:28, you wrote:
Is there a quick way to 'empty' all the variables I have set on a page?
I need to clear everything before re-loading the page.
If you reload the page everything is cleared anyway (aside from session
data)
--
Christian Reiniger
LGDC Webmaster (http
put type='file' ?
Then re-read the file uploading chapter in the manual
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that "Warning:
Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to
have a function?
addslashes()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.
- /. posting discussing the likelihood that an AC post that claimed to be
posted by John Carmack during his
roblem
show us some code. The warning should also print the line number where
the problem occurs, What does that line do? what do you do in the 5 lines
before that?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"World domination. Fast." (Linus Torvalds about Linux
On Sunday 08 April 2001 06:15, you wrote:
Your cookie is set to expire in the year 2280. You think that's a
little overkill?
And it runs into the UNIX-style Y2K problem which is...um...13 years
from now? Well anyway...
2038 with a 32bit processor
--
Christian Reiniger
LGDC Webmaster
t to check, just try opening them with one of the image
extensions (gd, imagemagick, ...)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
void sleep(){for(long int sheep=0;!asleep();sheep++);}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
On Sunday 08 April 2001 08:50, you wrote:
Thanks for the info. Question: Is there a simple way to encode text?
J
rawurlencode()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
void sleep(){for(long int sheep=0;!asleep();sheep++);}
--
PHP General Mailing List (http
On Friday 06 April 2001 16:42, you wrote:
How do I find out if a string is contained in a string. I just need
true/false.
strstr()?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match
, ...)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.
- /. posting discussing the likelihood that an AC post that claimed to be
posted by John Carmack during his honeymoon (and having the login info
omatically.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-ma
ars - that's even
faster than "WHERE phone = 'foobar-something'"
and works very nicely with a perfectly normal index.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
foobar = "fooey3"
case else
foobar = "NoBar"
End Select
How do I do the equivelent in PHP?
Try reading the manual.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://
eive this error message:
Mensagens do MySQL : You have an error in your SQL syntax near 'u,
fgrupos g SET g.cdgrupo=1, u.celular="99823640", u.nome="Augusto X",
u.sobren' at line 1
Why? How can I update with 2 or more tables?
use separate queries
--
Christian Re
);
should work fine
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list adminis
101 - 200 of 407 matches
Mail list logo