- with PHP you can emulate all the SSI stuff
--
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
On Thursday 05 April 2001 20:45, you wrote:
Hello,
While connected to ftp can I send a command to the ftp?
Yes
--
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
can't write this file?
man fopen
Tip: look at the little "r"
--
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
On Wednesday 04 April 2001 04:43, you wrote:
Im trying to optimize some php/mysql code. Does anyone know a way to
measure the amount cpu time a php script consumes?
Use "ab" (ApacheBench - comes with apache) if possible.
--
Christian Reiniger
LGDC Webmaster (http://sunsi
the characters to match the ASCII numbers
from 40 to 176.
Why do you ask if you already have the solution?
man preg_match
--
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
ction?
Thanks
Stop resubmitting this every few minutes!
Mike P
[EMAIL PROTECTED]
--
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: [E
On Monday 02 April 2001 18:37, you wrote:
Thank You Steve!
Here is my php
?
$fillista = "fillista.xml";
$fp = @fopen($fillista,r);
$count = fgets($fp,filesize($fillista));
use fread ()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never dou
On Tuesday 03 April 2001 01:42, you wrote:
Hello
In PHP there is an instruction : nl2br .
Does anybody know if there is something similar in Perl???
Well, you'd think Perl experts would know this a bit better that PHP
experts, hm?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk
without it.
Three solutions:
(1) Open a telepatic connection to the users browser and appeal to its
sense of duty to go to the new page
(2) Rewrite the thing
(3) Use output buffering
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoug
more. ? thanks
use strip_tags()
--
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 PROTECTED]
To contact the list
worry about that. The difference won't be noticeable anyway (well,
perhaps the difference in required processing power could be seen...)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP General Mailing List (http://www.php.net
sh_func("\\1@\\2.\\3"), $text);
I can't seem to get this to work... it is just hashing the static text
within the function, not the replaced values.
Can this just not be done?
It can. But only with preg_replace.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU n
gex is bad stuff, haha.
$body = preg_replace ('/image[^]*.*?/image/i', '', $body);
is a bit more robust.
--
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
of the
grep call as array, one line per entry
(2) do a
foreach ($TheOutput as $Line) {
if (preg_match ('/^\s*(\d+)/', $Line, $Matches)) {
$PID = $Matches [1];
// kill it
}
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?
--
PHP
On Tuesday 03 April 2001 22:41, you wrote:
(1) look up system / backtick operator / ... to get the output of the
grep call as array, one line per entry
"... output of the ps call" of course
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abo
= On
upload_max_filesize = 2M
Warning: Max file size of 2 bytes exceeded - file [image1] not saved in
Unknown on line 0
PHP doesn't process the "M". Specify the sizes in bytes
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information
k
Use session_start();
--
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 unsubsc
On Monday 02 April 2001 10:44, you wrote:
What does global and session_register do?
RTFM
--
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
On Thursday 29 March 2001 22:38, you wrote:
H-
Thanks to those that emailed.
$query = "tree, bird, nest, ";
$new = substr($query,0,2);
Doesn't seem to work. It returns "tr".
$new = substr ($query, 0, strlen ($query) - 2);
or
$new = preg_replace ('/,.*?$/', '', $qu
five minutes to load a
page with, say, only 30 tiny thumbnails...
--
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
('/`+/', '``', $old);
quite simple, eh?
--
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
total trust between partners which is not a
very common thing)
Right ?
Wrong :)
--
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
.
--
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 the list administrato
been contracted to design it, you get your
money anyway - whether it's copied or not. So where's the problem?
And: Next time specify in the contract that you own the copyright to the
code :)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"World domination. Fast.&qu
On Friday 30 March 2001 14:14, you wrote:
echo"$inlist";
$query="DELETE FROM EmailAddress WHERE Email NOT IN $inlist";
$query="DELETE FROM EmailAddress WHERE Email NOT IN ($inlist)";
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can
t absolutely doesn't matter whether that info is
displayed or not.
btw - No user should get a warning on your pages anyway :)
--
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
to that
value (i.e. the return value of mysql_query).
if( $i = "bob" ) {
// this will always run.
yes, because "bob" evaluates to true :)
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP Genera
simply using preg_match_all() ?
Or do you specifically need the positions of the matches (instead of the
values)?
--
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
On Saturday 31 March 2001 03:34, you wrote:
as for the pl{x} notation, i ask what is the rc{x} notation ?
Release Candidate
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP General Mailing List (http://www.php.net
like this :
echo 'a href="http://'.$url.'"'.$title.'/a'."\n";
Why don't you simply use
echo "a href='http://$url'$title/a\n";
?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hand
the code.
On Wednesday 28 March 2001 08:36, you wrote:
I'm facing a problem with Special Characters ($,
%, ,
\, /, ;, :, ", ') etc..
We are sending a varibale in a query string like
this
a href="add_pro_team.php3?title=? echo
urlencode($title) ?"
--
Chr
On Wednesday 28 March 2001 20:01, you wrote:
Hi
I'm triying to connect from windows to linux...
do i have to manipulate grant tables on mysql...
what should I do??
read the mysql documentation.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power
On Thursday 29 March 2001 13:00, you wrote:
Hi,
i was just wondering what you guys do to check if a wquery suceeded or
not? I know about mysql_num_rows() and mysql_affected_rows(), just
wondered what you guys do?
Check the return code of mysql_query(). The only safe method.
--
Christian
On Wednesday 28 March 2001 07:17, you wrote:
ok here's the script i have, and i keep getting errors
?
$fp = fopen("file.txt", "w");
$fp = fputs("file.txt", "a href=\"$url\"$text/abr", "r+");
$fp = fclose("file.txt");
On Wednesday 28 March 2001 08:18, you wrote:
in general, I avoid using quotes where possible (such as in the
following) font size=3 face=Arial (instead of font size=\"3\"
face=\"Arial\")
Remember that XHTML *requires* quotes around every attribute value.
--
Chr
On Wednesday 28 March 2001 08:36, you wrote:
I'm facing a problem with Special Characters ($, %, ,
\, /, ;, :, ", ') etc..
We are sending a varibale in a query string like this
a href="add_pro_team.php3?title=? echo
urlencode($title) ?"
try rawurlencode()
--
Christia
("user_reg" , $user_reg, time() + 360 * 86400);
use serialize($user_reg). You can only save strings in cookies.
is there a limit to how much I can save in the array ?
IIRC 8192 bytes
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000
=3001"
Um, wget?
--
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]
On Sunday 25 March 2001 15:45, you wrote:
Hi!
I wonder if it is possible to delete a file using unlink and a time
function.
I wont the file to be automtically unlinked after a month.
man cron
man tmpreaper
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry
he problem I am having is that it is only comparing the first 8
characters of the password
--
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.&qu
?
--
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
, not?
Well,
str_replace('\n', '\r\n', $MyText);
isn't so tedious to type that you need an extra function for it I'd say...
--
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
, $previous. Then concatenate the strings with the "."
operator:
$previous=$new . $previous
and write $previous to the file.
Well, he just gave you a detailed description of what to do. Everything
else you need to know is in the manual.
--
Christian Reiniger
LGDC Webma
On Friday 23 March 2001 12:25, you wrote:
Hi,
How can I check for existing site (e.g.
http://www.somehost.com/someone) and check for existing mail (e.g.
[EMAIL PROTECTED])?
You posted this exact question already 3 hours ago. Why did you post it a
second time?
--
Christian Reiniger
LGDC
with too much time on their hands
that's a sure way to lose them really quickly.
--
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
On Tuesday 20 March 2001 14:59, you wrote:
I compiled php --with-pgsql, but phpinfo() doesn't list that.is
this a problem with php.ini?
Are you sure you didn't have a typo in that? Configure silently ignores
unknown opitons.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc
On Monday 19 March 2001 12:53, you wrote:
php variables are local by default.
point missed :)
"use strict" forces you to declare variables before you use them. AFAIK
there's no such thing in PHP (unfortunately).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU
using and (sometimes) on what you
selected during installation of the distro.
Have a look at the manual page for crypt(PHP). It says something about
constants being defined depending on which encryption modes are available.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU
. But if there's a FAQ the answers can be greatly simplified :)
--
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
', $return);
}
Won't work for the (perfectly valid) URL
http://somewhere.de/lvl1lvl2//lvl3/foo.bar
it's quite unlikely though that someone enters such a thing
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for e. Search took 0.18 second
h absolute paths.
--
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 additional c
MO to actually spend these 10-15 minutes and then post your code and ask
the list how this could be done better.
--
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
in order to execute the next string:
$str = "html\n"
$str .= "blabla\n";
$str .= " ?php echo \"hello!\"; ?\n";
$str .= "blabla\n";
$str .= "/html\n";
When I tried using 'echo' with the string, but the php code di
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
have no problems.
--
Christian Reiniger
LGDC
subprocesses at
hand in case some new request comes in. If apache would spawn a new
subprocess on each request it would be painfully slow.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days
nchmarking app that comes with apache)?
--
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://w
de that first test
if my file exist and then if it doesn't I will have to create it using
the touch command?? Any other ideas?
If I'm right this won't work as well.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technolog
e ?/p
/td
/tr
tr valign="top"
?php if ($Usermode == 'maint') { ?
tda href='/maintain.php?what=newsamp;id=?= $ID
?amp;action=edit' class='inbody'Bearbeiten/a/td
?php } else { ?
tdnbsp;/td
?php } ?
td?= $Body ?/td
/tr
S
the manual
--
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, e-mail
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 Reiniger
LGDC Webmaster (http
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/)
"Never
. 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 until they showed me a PC running
Linux. And oh! It was as though th
(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-side OS so
te marks invalid.
See the problem? ;)
No ;)
Perhaps if you could provide some example 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 a
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 032
--
PHP
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/)
Install once, run
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 once, run forever. Linux.
--
PHP General Ma
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
--
Christian Reiniger
LGDC Webmaster (http
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
--
Christian Reiniger
LGDC
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 a href="http://foo/"bar/a
"world"bremthere/em', 'a br');
creates
'Hello a href="http://foo/"bar/a "world&qu
*.***/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 = mysql_affected_rows($result);
Try
$rows = mysql_affected_rows($link);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc
at 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the li
$FTPURL = 'ftp:\/\/' . $Host . $FTPPath;
--
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 PROTECTE
y 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
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Very funny, Scotty! Now beam up my clothes.
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 Reiniger
LGDC
reg_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/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
T
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://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP
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 Reiniger
LGDC Webmaster
this:
exec("mp3123 -y -Z --all 1/dev/null/ 21 ");
better add "nohup" to that:
exec("nohup mp3123 -y -Z --all 1/dev/null/ 21 ");
well that simply puts the stdout and stderr in the
same file /dev/null, and puts it into the background.
--
Christian Reiniger
LGDC Webmaster (
?
Hmm, try
preg_match_all ('/a\s+href[^]+([^]+)\/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 information technology puts in our
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 hands
these days.
- Securityfocus
/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.
- Securityfocus
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 adds : Project+One instead of Project One.
try rawurlencode instead of urlencod
quotes around the value.
input type="text" name="MyTextInput" value="MyValue"
--
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 corpora
PHP4 onto a Windows2000 server, I'm
trying the same thing here, a simple test, and
echo $foo;
gives me nothing
however including a PHPINFO() on the page displays this:
HTTP_GET_VARS["foo"] bar
I'm I missing something here ?
Check whether register_globals is set to "on
t doesn't work:
foreach ($img as $val) {
echo pack ('c', $val);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
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, php4, ...)
thanks!
--
Christian Reiniger
LGDC
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
criminal, but in its true and
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/)
The use
On Thursday 01 March 2001 20:58, you wrote:
But that would give me a value of a variable variable.
And I need a numerical value so
$var1 ="joe";
$var2 = date( "U" );
echo "$var1$var2";
won't do me any good.
Ahhh. You want to use the mcrypt functions or s
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/lgdc/)
The use of COBOL cripples the mind; its
On Friday 02 March 2001 06:21, you wrote:
Hello,
Are there any good examples of producing embedded javascript code in a
php file?
?php
somecode
?
script language='javascript'
sglfjh s
/script
?php
more code
?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use
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 COBOL cripples the mind; its teaching should,
e 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 should, therefore,
b
ry 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.
- Adolf Hitler
--
PHP General Mailing List
d/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 Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
, 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 Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
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 commands, e-mail: [EMAIL PROTECTED
:
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: [EMAIL PROTECTED
"Content-Type: text/html" to $mailHeaders ( add a http:// to the
link)
--
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 PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
201 - 300 of 407 matches
Mail list logo