machine):
* Normal data
* Session data
* evtl. Cached pages / parts
each of which should be able to be backed up to a floppy. Not all
If each part fits on a floppy, forget it. For these sizes it'n not worth
the effort (and can, in fact, slow down things)
--
Christian Reiniger
LGDC Webmaster
()
--
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 ever has."
- Margaret Mead
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
tion, don't work in my machine, everytime he say 1.
Well, you never change $c, so it of course always says 1
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
nd not e.g. parse the "" as start of a tag).
htmlentities () ist the function of choice then...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
it
"introduced to the global namespace"?
"introduced to the *current* namespace"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mai
question, but I hope that some
part of the above answers it...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972
--
PHP General Mailing
.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
On Friday 23 February 2001 15:46, Hardy Merrill wrote:
Look up the "split" and "explode" functions - they both do basically
the same thing.
$token_list = split(",", $string_to_parse);
.. and if that doesn't suffice I can send you a nice'n'powerful CSV
p
')
UPDATE LOW_PRIORITY db_table SET
DownloadedDateTime=CURRENT_TIMESTAMP WHERE (DownloadedDateTime =
'-00-00 00:00:00')
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net
On Friday 23 February 2001 17:02, Jeff wrote:
Is there better performance/speed instantiating an array with a
specified size and then adding elements versus adding elements to an
array with no size?
Uh, you can't specify the size when instatiating an array ...
--
Christian Reiniger
LGDC
On Friday 23 February 2001 19:27, Don Johnson wrote:
Yup. Go figure.
Don Johnson
It works if you execute only the SELECT (without the UPDATE) ?
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
On Friday 23 February 2001 16:57, Don Johnson wrote:
Yup, the data's
)?
Perhaps you can also post the actual code..
--
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
his?
Well, I prefer preg_* :)
$mystring = preg_replace ('/.*/', '', $mystring);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Wednesday 21 February 2001 17:09, Chris Lee wrote:
dspimage.inc
?php
[...]
index.php
?php
echo "
img src='include/dspimage.inc?product_id=123456'
";
?
Note: better name that to dspimage.php, as webservers typically don't
execute *.inc
--
Christian Rei
n practice proxies won't cache results of POST queries, but it's
still a big security hole (never trust programs you don't admin yourself)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsu
(""); ?gt;
--
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-mail: [EMAIL PROTECTED]
%
PAGE 3: 25%
Or is their a process by which to store numbers for easily getting
this to work?
SELECT (hitcount / 1000) * 100 AS percentage FROM sometable
Better (if it works):
SELECT (hitcount / MAX(hitcount)) * 100 AS percentage FROM sometable
--
Christian Reiniger
LGDC Webmaster (http
strtolower('\\1') . '.gif'", $contents);
?
simpler that
"/([-_a-zA-Z0-9]+)\.gif/e"
is
"/([-\w]+)\.gif/e"
--
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
hen I want to output the array I can reference it like so:
echo("$array[$i]["course_num"] $array[$i]["course_title"]");
Change this to
echo ("{$array[$i]['course_num']} {$array[$i]['course_title']}");
--
Christian Reiniger
LGDC Webmaster (http://sunsi
limit($day_limit)
$limit = bcsub($time,$difference);
$sql = mysql_query("delete from table where date='".$limit."'", $dbh);
Eeeek. Have a look at the Mysql manual sometime soon!
$sql = mysql_query("delete from table where datefield = DATE_SUB(NOW(),
INTERVAL $days DAY
at someone invested
quite some work into making it as powerful and bug-free as possible (that
includes things like having really researched the RFCs for e.g. that
popular mail class etc).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP Gener
o change their
selection, they can go ahead and pick other songs, and click Play
again - THIS is where the previous instance of the 'amp' program
should be killed, and a new one started, with the new play list
queued. And of course, it should also have a Stop button on the page
somewhere.
-
s process id.
Then he can do a $AmpPID = system ("launchamp $Arg");
(the wrapper would have to execute "nohup amp $Args ")
and add a 'stop' link
a href="ampstop.php?pid=?= $AmpPID ?"Stop/a
And ampstop.php can do a
system ("kill -KILL $pid"
at
the same time. Example:
$WeirdDArray = array ('1dim' = 'Hello man',
'2dim' = array ('Hello', 'man')
'1d2' = 42);
So it depends on what you mean with "2-dimensional"...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
my cache file ...
Ah, yes. str_replace and eregi_replace don't modify the string - they
return a modified string. That means you have to do a
$html_code = eregi_replace (..., $html_code);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
A - American Association Against Acronym
= serialize($tempItem);
Just
$tempitem = serialize($myarray);
will work fine.
c) store it in mysql-table
and i get my array back with
d) $myItems = explode("",unserialize($myValueFromDB));
$myItems = unserialize ($myValueFromDB);
--
Christian Reiniger
LGDC Webmaster (http://sunsi
the following
format:
scriptname?parameter1=value1[parameter2=val2[...]]
Two '?' in an URL are strange at best. So change that to
$ErrorURL = 'error.php?page=' .
rawurlencode ('/pages/login.phpusername=name');
/pages/login.php
$HTTP_GET_VARS['page']
--
Christian Reiniger
LGDC Webmaster (http
SC LIMIT 1
a timestamp field in MySQL is by default automatically set to NOW() at
each INSERT and UPDATE if you don't set it yourself in the query.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
javascript turned of? Netscape4 only interprets CSS if
javascript is enabled.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
our_string = preg_replace('/\s/',"",$your_string);
Hi,
Does anyone know of the code to remove all whitespace from a string.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for free" -- Linus Torvalds
--
PHP General Ma
ace doesn't know about regular expressions, so it tries to find
the literal string "flag=[0-9]{9}PHPSESSID=[[:alnum:]]{32}" in your URL
- which it doesn't find.
Use eregi_replace instead
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best i
on is simpler...
PS: The long number is, scientifically seen, also *less* correct than the
'E' form - the 'E' form states that it is a number with a precision of 16
digits, while the long one implies that it has a precision of 190 digits
(which is definitely wrong).
--
Christian Reiniger
LGD
y.
$sql = "SELECT COUNT (title) FROM music";
I found that often MySQL doesn't like if there's a space between the
function name and the opening bracket, i.e. try writing "COUNT(title)"
instead of "COUNT (title)".
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/
e Perl regexp syntax.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Nothing is more dangerous than an idea if it's the only one you have.
- Emil-Auguste Chartier, "Propos sur la religion", 1938
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
to it.
--
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-mail
s or trees, which don't store data at "fixed positions" (that's a
very bad explanation, but, well...)
The "index" is the "key" in this case - in your example it's "something".
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God ---
one myself but Im not the best at ereg or replace code...
nl2br () is the simple solution (as others already mentioned).
Attached is a more sophisticated one I use in my code. It detects
paragraphs (empty lines), and highlights URLs and email adresses.
--
Christian Reiniger
LGDC Webmaster (http://
On Thursday 15 February 2001 08:03, Scott Mebberson wrote:
When Jason says 'especially when your note using the cgi' he means the
cgi version of PHP (I think) in preference to installing PHP as an
apache module.
...just as using mod_perl is better than perl as CGI
--
Christian Reiniger
LGDC
On Wednesday 14 February 2001 11:44, kaab kaoutar wrote:
is there a possiblily to use with in an Oracle Web server ?
RTFM (look at the manual, topic "Oracle functions")
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many d
nection_id)
{
# error messaging supressed
@odbc_close($connection_id);
}
Huh?
When you call CloseODBC (), the code in that function is executed - and
there odbc_close() is called with the "@" - so it doesn't report an error.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgd
The addslashes () here properly escapes the quotes in your string, so
that the SQL parser can interpret it correctly.
--
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-mai
tes (print ("Value=\"C:\test.gif\"");) ?
Then you need to escape the "\" before the "t" - "\t" is a TAB character,
and chances are good that the browser won't like that in a filename.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Ev
:
$new_line = str_replace($oldemail, $newemail, $line);
Another little thing: You don't need the eregi() here - just do
str_replace. If it doesn't find $oldemail it won't do anything.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Nothing is more dangerous than an idea
I'm blind and/or dumb, but I just can't find a subselect in
that query.
The query as written here should run fine in any MySQL version
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Nothing is more dangerous than an idea if it's the only one you have.
- Emil-Auguste Chartier, &quo
() and sprintf ()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
- George Gordon Noel Byron (1788-1824), [Lord Byron]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
or. Anyone have any ideas? These two valuse mustbe
evaluated as different.
if (strcmp ($pick1, $pick2) == 0)
echo "equal";
else
echo "different";
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those w
inserting that "!".
Such things don't get in by accident - it's a bug in your code.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
- George Gordon Noel Byron (1788-1824), [
inserting that
"!". Such things don't get in by accident - it's a bug in your code.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
- George Gordon Noel Byron (1788-1824),
ername' is okbr";
else
echo "'$Username' contains invalid chars"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
hat's within double quotes?
Hmm, I only know the preg syntax. With that it's
preg_match ('/"([^"]*?)"/', $thestring, $matches);
$InQuotes = $matches [1];
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP
pen("$comm","r");
This returns echoes the part after the | in safe-mode.
echo only outputs something. it doesn't return anything. Write
$comm = "$data | " . $this-gpg_command;
and:
$this-gpg-kommand is an illegal (no minus in identifiers!)
--
Christian Reinige
big (which is easy with multidim. arrays). Better:
$ArrayS = serialize ($TheArray);
$AKey = md5 ($ArrayS);
// insert into database (key: $AKey, value: $ArrayS)
$Url = $baseurl . "?key=$AKey"
plus the matching reading code
--
Christian Reiniger
LGDC Webmaster (http://sunsi
ible? from
what
--
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 PROTECTED]
For additiona
suggestions which will cause less server load?
Grab one of the many java IRC applets from http://freshmeat.net and run
an irc server on your box. http wasn't designed for this type of thing.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for e
On Friday 09 February 2001 19:04, Jeff Oien wrote:
What does IDE stand for?
Integrated Development Environment
--
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
On Friday 09 February 2001 20:39, John Vanderbeck wrote:
Why are you echoing it twice? Also, the first line, shouldn't it be:
?php echo $contents; ?
Looks liek you dropped the semi colon
The semicolon is optional if a closing PHP tag ("?") follows.
--
Christian Reiniger
LGDC
sides matching something like
'div2' it will also match div23 - both returning div2.
Well, it matches on "div2", no matter what's around that. just like
"prem" also matches on "appremoval"
Don't know the data, so it might not make any difference.
Agreed
--
Chri
On Thursday 08 February 2001 17:13, Chris Lee wrote:
Its called inheritance.
rarley.php
?php
class rarley_used
{
?
main_class.php
?php
include_once('rarley.php');
class main_class extends rarley_used
Other way round (rarely_used extends main_class) :)
--
Christian Reiniger
n
b/home/robr/public_html/php/getpdf.php/b on line b5/bbr
That most likely means the fopen () failed.
--
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 likelihoo
ts "$email" parameter, it gets the value of $total_members
- which is not an array.
The third parameter is ignored.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for free" -- Linus Torvalds
--
PHP General Mailing List (http:
., it's useless on
Unix). If not needed, this will be ignored
---
--
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
do you use
get_parent_class() at all?
--
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]
For additional commands, e-ma
?
No. You'll have to code that yourself (read file - add lines - write file)
--
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
On Wednesday 07 February 2001 11:52, Pavel Kalian wrote:
COM of course comes with PHP (but is available on Win only), RTFM on
calling COM support...
Yes, but there ain't no class "COM". Read the manual section about COM
support.
--
Christian Reiniger
LGDC Webmaster (http://sunsi
class.
Hmm, it's at least not mentioned in the manual.
--
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]
For additiona
On Wednesday 07 February 2001 19:13, Gabor Gludovatz wrote:
how can I prohibit users to read arbitrary files on the system if run
PHP as apache module?
Read the chapter about Security in the manual as well as the description
of the safe_mode and open_basedir options
--
Christian Reiniger
ly of decimal digits.
And the | is using '\d' and 'prem'. It probably should be
"/(div\d)|prem/ Unless those parens are part of the expression. Then
No, that's fine.
(div\d|prem)
means "match either 'div\d' or 'prem'" and memorize that part
--
Christian Reiniger
LGDC Webmaster (http://sunsi
followed
the INSTALL docs, and read the online FAQ, unfortunatly I know very
little about php-modules and autoconf etc..
You'll have to install some packages: libtool, autoconf and automake I'd
say.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the
r computer 'apachectl' operates just fine, please
tell me where it is located at? I thought that 'httpd start' would do
the same!
Actually "/etc/rc.d/httpd start" usually calls apachectl to do the real
work. Anyway, using "/etc/rc.d/httpd restart" is the recommended way to
;
print "The CypherText in TWOFISH ECB is BR".bin2hex
($encrypted_data)."\nbr";
$encrypted_data = mcrypt_cbc (MCRYPT_TWOFISH, $key, $input,
MCRYPT_ENCRYPT);
print "The CypherText in TWOFISH CBC is BR".bin2hex
($encrypted_data)."\nbr";
?
--
Ch
using PHP scripts. I am working on
RedHat 6.2 using apache as my web server.
Perhapy Webmin could help you?
http://www.webmin.com/webmin/
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days
), and now want to know how to change the settings
of X. Correct?
--
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
is
Sam Rose
--
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 (http://www.php.net/)
his-n-test();
}
var n;
}
--
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 (http://www.php.net/)
directory structure in the PHP code.
I tried various versions of ../ and ../../ without success.
Set the include_patz in php.ini and include everything relative to that
path
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
(A)bort (R)etry (P)retend this never happened ...
--
PHP
"generous" setup would be even better though:
AddType application/x-httpd-php .html .htm .php3 .php .phtml
--
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-ma
, once a week, as a newsletter, based on data / criteria
from a database?
Somehow this question comes up about once a day. Search the ML archives
for "cron"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
(A)bort (R)etry (P)retend this never happened ...
--
PHP Gener
quot;, "two" = "value"]);
foo () is declared to take a reference to a variable. This only works
with "real" variables, not the temporary ones returned from array() etc.
Modify it to
function foo ($hash) {
and it will work
--
Christian Reiniger
LGDC Webmaste
that as example)
--
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 ever has."
- Margaret Mead
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
cares? (Sorry Rasmus :)
If some machine at a hosting company shows glitches while the only admin
is sick, things will be very bad for the hosted people/companies.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear in science, the one that heralds new
of the development (client) box all day and
getting a decent graphics card for a 486 is *hard*
--
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
(username = '$username' AND password = '$password') AND
(site = 'theirsite' OR site = 'all')
--
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 ever has."
- M
/linux/errno.h
If not, install the kernel-headers or kernel-source package
--
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 ever has."
- Margaret Me
ssing - basically the HTML for the text box is getting
parsed together with the HTML for the passed link and the results
are messed up.
I think you want to use htmlentities ():
echo "textarea name='foo' rows='20' cols='50'" .
htmlentities ($Content) . "/textarea";
--
Christia
ere should be to *not* install a GUI, simply
because nobody will sit at that machine anyway and running GUIs consume
too much of your precious RAM.
SuSE, Debian or perhaps Red Hat should be fine for this.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 1
il'] is
"[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]" instead of
"[EMAIL PROTECTED]"
Also note that "mailto:" is a HTML-ism and has no place in mail headers!
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for
On Friday 02 February 2001 12:24, Martin A. Marques wrote:
[\t is tab?]
yes (depending)
On what?
It depends on the charset you use.
No. the return value of ord('\t') may differ depending on the charset,
but '\t' itself always is a tab character :)
--
Christian Reiniger
LGDC
a private
property, and one would hope that your UML tool could be configured to
understand that.
--
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
and returning the result?
function MyFunc ($SomeVal)
{
$SomeVal += 42;
return $SomeVal;
}
echo MyFunc ($StrangeVal);
Anyway - functions that get their parameters by reference and modify them
can cause much trouble, so better be careful with that.
--
Christian Reiniger
LGDC Webmaster (http
On Wednesday 31 January 2001 19:35, SED wrote:
Probably some of you are laughing while reading this :) But I have seen
the word "foo" used so many time (in programming) from different
Read
http://www.tuxedo.org/~esr/jargon/html/entry/foo.html
for a detailed explanation :)
--
? will they turn up right ?
Usually yes, but you should use the proper MIME type for them
(image/jpeg, image/png, image/gif etc) just to be sure
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"World domination. Fast." (Linus Torvalds about Linux)
--
PHP General Mailing
ntelligent - it recognizes that
all addresses are the same and only sends it once :)
Usually this is desired behavior
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"World domination. Fast." (Linus Torvalds about Linux)
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
.
It does, except it does not??
3. How can I turn on directory browsing? I am receiving a Forbidden
error whenever there isn't a default document in a directory.
search for "Options " in your apache configs and add an "Inexes" to it
--
Christian Reiniger
LGDC Webmaster (ht
, and *then* you echo the returnvalue
of phpinfo () (an integer).
So the output generated by your version will have some little number at
the end.
--
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
of as string)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
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
t;http://mysite.com/Yarns/" Yarns/a
Read
http://www.phpbuilder.com/columns/tim19990117.php3
Basically you create "virtual directories", e.g. a PHP script named
"Yarns" which simply include()s your one "real" script.
--
Christian Reiniger
LGDC Webmaster (http:
an earlier version of PHP I had a problem where the above
code (fopen...) read *more* than the page length. I.e. the page was e.g.
20k big and the fread appended ~5k of junk to it.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teach
switch to ./configure
Also , try doing a
strip --strip-unneeded libphp4.so
afterwards
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.
- Edsger W. Dijkstra
--
PHP General Mailing
without URL variables,
cookies, or POST variables?
Search phpbuilder.com for an article called "Writing dynamic pages with
search engines in mind" or so.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compaired tri-word groupings here and i
[b]bold text[/b]
But does not work for:
[b]bold text
w/ newline[/b]
add a "s" modifier to the expression and
=
$pattern = "/\[b\](.*)\[\/b\]/Uis";
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (
301 - 400 of 407 matches
Mail list logo