Also, if your sessions use a database, you could
do some SQL queries to see which sessions have
been loaded in the last few minutes.
Julio Nobrega wrote:
> From all users on your site? I guess only if you open the directory where
> the session files are stored. And loop through the files, openi
Errmm... i don't know any apache groups, but
if you want to do what you ask, just read the
documentation, it's easy :-)
jtjohnston wrote:
> Anyone know of a good apache group?
> I want to hide the structure of a directory when there is no idex.html
> present
>
> J
>
>
>
--
PHP General Ma
... or mozilla :)
Jason Wong wrote:
> On Tuesday 19 March 2002 19:59, scott furt wrote:
>
>>Are you using MSIE?
>>
>>what file extension are you testing with?
>>
>>i was having similar problems using this technique
>>with PDF files. only with MSIE, s
>
> -Original Message-
> From: scott furt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 19, 2002 5:49 PM
> To: php
> Subject: Re: [PHP] 100% repeatable problem with PHP 4.0.1 in WIN2k
> environment.
>
>
> Try replacing header("Location: success.php&
a javascript-function
> (such as an alert). You see the php-script shall call the
> javascript-function by "refreshing" the whole page.
>
> Bye,
>
> Marcel
>
> --
> registered Fli4l-User #0388
> "Scott Furt" <[EMAIL PROTECTED]> schrieb
ipt..
Balaji Ankem wrote:
> Hi scott,
>
> Yes I examined..
> It z dying in if loop (if $n==2) at the statement header("Location:
> success.php");
>
> It will be helpful to me if u try to execute those files as I told.
>
> Thanks in advance
> Balaji
Short answer: no.
Long answer: have the PHP script output javascript code
to the browser.
PHP = server-side
Javascript = client-side
Marcel Besancon wrote:
> Hi everybody,
>
> is there someone who can tell me how to call a javascript-function by a
> php-script.
>
> Thanks for each answer
because the first argument of Setcookie is the name
of the cookie you want to set.
(and what the variable will be called on subsequent pages)
SetCookie('username', $username ...) will do what
you're expecting.
Jesse Warden wrote:
> I performed a:
> setCookie($username, $username, time()+3600,"",
Or, if you're on a *nix platform, try using 'tar'
to tar up the entire directory tree, copy the
'tar' file and un-tar it.
or 'cp -R' should work too.
Martin Towell wrote:
> Does xcopy support long file names?
>
> -Original Message-
> From: Robert V. Zwink [mailto:[EMAIL PROTECTED]]
> Se
; $date = date ("MD");
>
> How does that make a difference?
>
> $to_path = "c:\\ccl_www\\".$date."\\ccl_www\\";
>
> You want me to change it to:
>
> $to_path = "c:\\ccl_www\\$date\\ccl_www\\";
>
> Does anyone follow why?
>
Are you using MSIE?
what file extension are you testing with?
i was having similar problems using this technique
with PDF files. only with MSIE, sometimes it would
print text crap to the screen and sometimes it
would prompt for download.
MSIE is notorious for disregarding headers and
trying to
Have you examined the PHP error logs?
Have you turned up error reporting to the max (E_ALL)
and examined what it returned?
Have you examined $php_errmsg (if configured in php.ini)?
Have you tried putting echo statements every few lines
to see exactly where and why the script dies?
Balaji Ankem
you have to tell mail() who the email is from.
add in a header similar to: "From: [EMAIL PROTECTED]"
(read the docs for mail() for syntax)
Dani wrote:
> Hi,
>
> I have been trying to use a form to send an email.
>
> I use the mail() function. But I have a bit of problem.
> The email send does
...because you never shrink $prefix
after output(), try array_pop($prefix);
Alexander Skwar wrote:
> Hello!
>
> I'd like to print an array kinda like the way it was created. Ie., I've
> got the following array:
>
> $r[0][0]['name'] = 'joe';
> $r[0][0]['gender'] = 'male';
> $r[0][0]['prop'] =
Try this... it should only print out "Some webpage data"
$text = "
script data.
Some webpage data
another script data
";
print preg_replace('/(.*?)<\/script>/',
'', $text);
Ando Saabas wrote:
> Ok let me explain my problem further some. I need the regular expression to
> purify the html pa
It's not absurd at all.
What is absurd is that you're coding without
checking for any error conditions :-)
As a rule of thumb, if a function returns a
success flag, check it. it'll immediately
cut out about 90% of all "weird" errors.
cosmin laslau wrote:
> $query = "SELECT * from mytable";
>
I meant, have you created a physical directory
named $date?
That's your problem. There's no directory
named $date on your computer, and you're
trying to write files into a non-existent
directory.
jtjohnston wrote:
> I have created date :)
> $date = date ("MD");
> That's not it. It seems to fail
... i think you might have to create the
$date directory before writing a file to it.
writing to /tmp/dir/file.txt will fail if
the directory "dir" doesn't exist.
jtjohnston wrote:
> Does anyone have time to run this code?
> This is definitely weird. Either a Windows or a code problem. If I set
Pipes.
I've only had to do it with perl, so i have no idea
what the syntax or function calls are with PHP, but
i'm almost positive that PHP supports reading/writing
to/from pipes.
Liam wrote:
> 14/03/2002 10:51:10 PM
>
> Hi, I was wondering how I'd go about manipulating some command line
> soft
... and AFAIK, if you're running windows, read 'php.ini'
and you can specify an SMTP server to use for mail
sending.
andy thomas wrote:
>
> On Thu, 14 Mar 2002, andy wrote:
>
>
>>Hi there,
>>
>>I am wondering, how I could test the mail functions of php on a local
>>machine. Do I have to instal
I've checked google and the PHP manual, with no results,
so i thought i'd ask here:
Is there any functionality in PHP to allow a function to
find out what function/file/line called it? AFAIK, perl
can do this, and i've always found it a big help when
debugging to have functions die with a call t
21 matches
Mail list logo