Does anybody know how to realise this?
Write a custom browser for this and tell all your visitors to use it.
Seriously - you can't control how the browsers buffer the received data,
when they render it etc.
That said - make sure that PHP output buffering is off
--
Christian Reiniger
LGDC Web
ot completely mistaken, so there
shouldn't be a problem
> sleep(1);
>}
>return;
Your compiler should throw an error here - main is declared as "int" but
doesn't return a value
> }
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those w
bligated to use VIM,
My personal favourite is fte. Its only problem is that it doesn't have
real PHP highlighting, but I got used to switching between HTML and C
mode...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot,
ws without performing a second
> SELECT in this format:
look for mysql_num_rows ()
--
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-m
t; notebook being too slow :)
(granted - that computer here runs on Linux without any GUI, but still...)
--
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 lik
>
> $title
> ";
One reason why I don't like the "echo" route: I lose the syntax
highlighting for the HTML that way. String constants should be
highlighted as, well, string constants normally, but when they contain
HTML code t
On Saturday 13 January 2001 00:36, jeff fitzmyers wrote:
> The code below does not work. What could be causing
> Please enter user name here:
>
Pull out your favourite HTML documentation and read again through the
discussion of the tag
--
Christian Reiniger
LGDC Webmas
[$i]);
Read again through the getlastmod() docs. That function returns the
modification time of the *currently executed PHP script*.
Use filemtime() instead and it will work
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.
--
PHP General Mailin
7;, '', $Address);
// strip leading/trailing whitespace
$Address = trim ($Address);
// check for basic form
return preg_match ('/^[^@]+@[\w-]+(\.[\w-]+)+$/', $Address);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software
On Tuesday 16 January 2001 09:30, Vlad wrote:
> Hi all!
> How can I check (in PHP code) if the target browser supports image
> displaying or not?
PHP manual/misc. functions/get_browser()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that m
y posted a solution for this (complete,
working source code) some time ago.
Here it is:
Date: Fri, 5 Jan 2001 18:08:51 +0100
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it
eky in th 0.1% range.
Look at bigger optimizations first, then benchmark and if it still is too
slow (and only then) optimize further.
--
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&
ove works for:
> [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/)
On Thursday 18 January 2001 23:05, Noel Akins wrote:
> Question 2:
> Is there a way for php to detect the cpu speed of a users computer?
If you're on a Linux machine you can read /proc/cpuinfo and pick out the
speed entry.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lg
the heck do you build a dynamic site 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 compair
; ?>
>
> http://mysite.com/Yarns/"> Yarns
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 Webm
27;, file($url));
>
> Probably about the same either way...
Perhaps. In 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 We
got the --with-apxs 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
On Thursday 25 January 2001 21:06, H. Wade Minter wrote:
> Does anyone have a good idea on how to split after a certain number of
> words?
Attached is code that semi-intelligently limits strings to a certain
number of characters. Perhaps that helps you.
--
Christian Reiniger
LGDC Web
floating-point value
instead 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
On Friday 26 January 2001 22:35, Giancarlo wrote:
> > how many elements i can insert in an array?
> thank you!
I'd say up to 2^31 or until your memory is full (which is likely to occur
earlier)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can ha
"
=> MySQL already provides functions for that.
--
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 PR
ere as
TAB character. Write "C:\\temp.exe" instead.
> send me an example or tell me what I am doind wrong? Any assistance is
> very much appreciated,
Well, it would help if you'd tell us what goes wrong - error messages,
things it should do but doesnt ...
--
Christian Reiniger
om table where datefield <= DATE_SUB(NOW(),
INTERVAL $days DAY)", $dbh);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"These are the people who proudly call themselves "hackers" --
not as the term is now abused by journalists to mean a computer
criminal, bu
I FTP. How can this be done with a PHP script???
... but apparently you *want* it to mangle the data (convert line ends).
You server is a Unix machine? What error does Mysql give you on the
"broken" files?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God ---
On Wednesday 21 February 2001 17:09, Chris Lee wrote:
> dspimage.inc
> index.php
> echo "
>
> ";
> ?>
Note: better name that to dspimage.php, as webservers typically don't
execute *.inc
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk
fterwards (including all his private data).
Well, in 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 s
with a backslash) because a dot in a
regexp has a special meaning: "match any char". The escaping makes it
behave as a literal dot
The "$" means "here has to be the end of the string" (an "anchor")
=> the entire pattern means
"match if the string ends
I.e. that doesn't work.
Use the proper HTML entities for the brackets:
<? readfile (""); ?>
--
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]
t; For instance with the numbers above:
> >
> > PAGE 1: 50%
> > PAGE 2: 25%
> > 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
Bet
something
> like fopen?
Well, Use PHP instead of COBOL...
Sorry, but read some basic tutorials on PHP.
--
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 P
On Thursday 22 February 2001 12:14, PHPBeginner.com wrote:
> if it is in html then do this:
>
>
>
> but if you are using PHP then echo 'http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
mplemented in PHP with only 4 lines?
--
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: [EMAIL PROTECTED]
To contact the list
On Thursday 22 February 2001 12:28, Andris Jancevskis wrote:
> how can I determine size of directory with subdirectories? if I see
> at "ls -l" it returns directory size 4096. I want to know how large
> is directory (with files into) without looping all files ...
ma
#x27;) . '.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
; that when 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
://foo.bar/test.php?answer=42
will call test.php with a global variable $answer set to "42"
--
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
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&
DateTime = '-00-00
> >> 00:00:00')
> >> UPDATE LOW_PRIORITY db_table SET
> >> DownloadedDateTime=CURRENT_TIMESTAMP WHERE (DownloadedDateTime =
> >> '-00-00 00:00:00')
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
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
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
uery and check the order)?
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 additiona
> anyone help me with this?
Well, I prefer preg_* :)
$mystring = preg_replace ('/<.*/', '', $mystring);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.ph
e else already said, addslashes () is the tool of choice
for the way in, and for he way out you don't need to do anything.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Program
our 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
t set.
=> isset () should be used.
--
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 un
.
>
> man, this is like the thread that will not die. isset() will return
> true for an empty string, which is not what he wants. the right thing
> to do is use
>
> if((isset($var))&&($var!=""))
I never said *only* isset() should be used :)
--
Christian Reiniger
me
> configuration, 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 let the *browser* preserve the string
(and 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
s "is set"? Is 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
int of heart.
> I can't think of any more, but that's mostly because I consider shared
> memory "too tricky for me" and have never played with it...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP General Ma
ned), file() and (my personal favourite) readfile() are the
functions of choice
--
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 comma
the filesystem functions:
rename () (or safer: copy()+unlink())
unlink()
--
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: [
\n\n";
> $mailBody= "Below is the link you can click on, \n\n";
> $mailBody .= "Please Click href=\"www.php.net\">Here to view the request
> details"; $mailHeaders = "From: [EMAIL PROTECTED]\n";
> mail($mailTo, $mailSubject, $m
h on a dedicated 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
n FROM_UNIXTIME()
--
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/)
just adds unneccessary overhead. If it's some file you don't
know the contents of, don't include it (that would mean executing
arbitrary code on your server)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that men do not think.
path, i.e.
/usr/local/apache/htdocs/common.php or
/home/httpd/mydomain/common.php
Writing include ('phorum/common.php') will work in your setup
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that men do not think.
- Adolf Hitler
--
PHP General
On Thursday 01 March 2001 13:19, you wrote:
> I'd like to include an inc file once a button id cliked!
You can only request a new page. Period.
PHP runs on the server, button clicks are evaluated on the client
(browser).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
d.
Ahhh. You want to use the mcrypt functions or simply crypt() ?
--
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 List (http://www.php.net/)
To
; referer is not from your host then don't process the form.
> Of course this can be faked quite easily if this person knows
> what (s)he doing.
And it would prevent people who don't sent Referrer headers from using
the form
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/
On Friday 02 March 2001 06:21, you wrote:
> Hello,
>
> Are there any good examples of producing embedded javascript code in a
> php file?
sglfjh s
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teaching should, t
t's straight out of the PHP Cookbook. What do I need to tell
> them to correct the problem?
Depends on what errors you get. "I can't create or manipulate jpegs"
isn't particularly helpful...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBO
one, but where are we right now?)
Look at the headers of one of the messages. They contain a line of the
form
X-From_: [EMAIL PROTECTED]
The 42156 in there is the message number
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teaching
h this characteristics.
Add a primary key. now. Accesses without that will be painfully slow.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"These are the people who proudly call themselves "hackers" --
not as the term is now abused by journalists to mean a computer
cr
Write GIF image data to browser
> foreach ($img as $val){
> echo $val;
> }
Try
echo pack ('c*', $img);
Or if that doesn't work:
foreach ($img as $val) {
echo pack ('c', $val);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...100
strator in PHP (Tying
> > in with some open source mailing list software)?
> > Ideally, something like egroups (now groups.yahoo.com). I just want
> > to be able to easily administrate (or have other people administrate)
> > mailing lists. I have access to my own server (linux
; notice the single quote ' missing. And that WORKED!!!
> It displayed the right value in the next PHP page.
> Unfortunately there's another problem. it only
> DISPLAYED the right value...but when it adds the value
> in the database...it adds with the plus + sign. i.e.,
> it
On Monday 05 March 2001 17:29, you wrote:
> I'm using a variable!
> >
Well, you *still* need to have quotes around it:
> >Make sure you have quotes around the value.
> >
> >
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...to paraphrase
>
> I'm I missing something here ?
Check whether register_globals is set to "on"
--
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 corporation
variable?
Hmm, try
preg_match_all ('/]+>([^<]+)<\/a>/', $Subject, $Matches);
$Matches [0] [1],
$Matches [1] [1],
$Matches [2] [1]
etc
will contain the text afterwards.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power informati
ady done
this). Often this can drastically cut down on code size (a cleanup I did
recently roughly halved code size) while improving clarity and
maintainability
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our han
rvey/data/index.html
might also provide some info, and with
http://uptime.netcraft.com/up/graph you can look at some popular sites
yourself
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days.
- Securit
; source, then you can use this:
>
> exec("mp3123 -y -Z --all 1>/dev/null/ 2>&1 &");
better add "nohup" to that:
exec("nohup mp3123 -y -Z --all 1>/dev/null/ 2>&1 &");
> well that simply puts the stdout and stderr in the
> sa
a table with this characteristics.
>
> Add a primary key. now. Accesses without that will be painfully slow.
--
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
.\/~\?%=\-]|&)+)';
$FTPPath = '(\/[^\/\s]*)*\/?';
$Port = '(:\d+)?';
$HTTPURL = 'http:\/\/' . $Host . $Port . $HTTPPath;
$WWWAddress = 'www\.' . $HostName . $Port . $HTTPPath;
$FTPURL = 'ftp:\/\/'
id() if possible.
> http://www.php.net/manual/en/function.mysql-insert-id.php
Which however only works (1) with autoincrement keys and (2) for the last
insert you did using the same mysql connection, i.e. if you do an insert
in foo.php, mysql_insert_id () won't show anything in bar.php
--
On Thursday 08 March 2001 03:45, you wrote:
> Is there a way as a server admin to kill all sessions to a site. I
> need a way to logout all members to a site.
Well, usually you'd keep the session data in a database, so you can just
empty the sessioninfo table.
--
Christian Re
t's taken as literal
asterisk in there.
try preg_split("/([\,\;]\s*)|(\s+)/", $input_list);
i.e. "either (',' or ';' eventually followed by spaces) or (at least one
space)"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010
EK(NOW()))
this will have the problem that it will show all of week X even if you're
on 23:55 on the last day of that week
WHERE ((yourtimefield >= NOW()) AND (yourtimefield <= DATE_ADD(NOW(),
INTERVAL 1 WEEK))
might be better
--
Christian Reiniger
LGDC Webmaster (http://sunsit
On Thursday 08 March 2001 07:17, you wrote:
> Does anybody know where I could get more info on storing session data
> in a database rather than the default way?
Hmm, perhaps phpbuilder.com has an article on it. Alternatively I could
send you some of my code
--
Christian Reinige
could cause an immense increase in Kernel CPU Load?
Try removing more stuff to narrow things down a bit.
--
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&
lt);
>
> And here is the output:
> Errors:
> Warning: Supplied argument is not a valid MySQL-Link resource in
> //*//**..***/db.php on line 147
>
> Line 147, is the last line in the above snippet. I cleared out the
> path name for security, no offense intended :)
This one?
> $rows
On Sunday 11 March 2001 16:58, you wrote:
> I receive 2 variables, $var and $num
> I need to make a variable out of these two like this
>
> $var2 where $num = 2 or
> $var3 where $num = 3
>
> How can I do that ?
http://php.net/manual/en/language.variables.variable.php
--
Ch
erline and tags. I tried using striptags(); but that would
> strip anything within double quotes too. So I've gotten around it by
huh? strip_tags works fine for me.
echo strip_tags ('Hello http://foo/">bar
"world"there', ' ');
creates
'Hello http:
oblems.
> Of course, I could replace quote marks with htmlspecialchars/entities
> or using manual string replacement, but then it'd render all tags using
> quote marks invalid.
>
> See the problem? ;)
No ;)
Perhaps if you could provide some example code...
--
Christian Reini
On Monday 12 March 2001 08:33, you wrote:
> Hello!
> Why header under Windows do not work?
Because you have some problem.
That's all that can be said without telepathic skills.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error
On Monday 12 March 2001 18:28, you wrote:
> I don't know much about OS design, but I may want to check out how long
> the context switches are taking. That could be an issue?
Definitely not under Solaris :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Instal
passwds in my systems /etc/shadow all start with $1 which i believe
> is standard for MD5 passwords of 32 length
The "$1$" is the start of a 12-char salt (as described in the manual
entry for crypt ()).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install on
ere worked on some site
> like that or have any idea on how it works.
>
> I can give you the URL:
>
> http://www.arabia.com
Well, I guess they should invest some more work in it :)
screen output
[an error occurred while processing this directive]
---- /screen output
x27;t need this, and in fact this could
become a quite unstable solution. You escape spaces - but what about
filenames containing tabs, newlines etc?
copy () takes care of that automatically.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I sat laughing snidely into my notebook
ond WHERE
(First.id = $TheRecordYouWant) AND (First.DateField = Second.DateField)
?
--
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 the heavens opened and God handed down a
client-s
On Tuesday 13 March 2001 00:14, you wrote:
> I already asked this once before, but nobody seems to answer. That's
> why I'm re-writing
> my question.
Well, you waited about two hours. That's not much, even for a mailinglist
like php-general.
--
Christian Reini
Welcome!";
> $error = "An error occurred.";
> ?>
Have a look at the gettext extension for a (IMO more elegant) alternative.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
the
On Wednesday 14 March 2001 09:33, you wrote:
> I set "register_globals = Off" for many reasons.
> Session may not work with "register_globals = On"??
Works fine here (php 4.0.4 / Linux / Apache)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Ne
e loop. With that there the for loop
> will never run.
It will. Once. First it fetches all matching rows from the database (each
time overwriting previous results):
> > while ($row = mysql_fetch_row($result));
Then it executes the code after the while:
> > {
> >
On Wednesday 14 March 2001 14:53, you wrote:
> Hi It's me again!
> Bruno...From Brazil...
>
> Hi wanna know How can i take the day of week of aany date...
Have you tried reading the manual?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not fo
-type: image/jpg");
You tell the browser that you send an image...
> ?>
>
and then send HTML code instead.
do a instead of the tag
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP General Mailing List (http://w
> > What should I do in order to execute the next string:
> > > $str = "\n"
> > > $str .= "blabla\n";
> > > $str .= " \n";
> > > $str .= "blabla\n";
> > > $str .= "\n";
> > >
> >
, copy, rename or anything else other than
> 'open and read' this file. Whenever I try exec copy commands I receive
Well, you want to store them in the database anyway, so "open and read"
is sufficient. And for retrieving them you don't need GD. So you should
h
1 - 100 of 475 matches
Mail list logo