Richard Lynch responded
Monday, August 26, 2002 3:28 PM
to Roger Lewis
>I'm not certain this is the right place to ask, but here goes. For
security
> >reasons I have placed certain document files in a directory outside my
web
> >root. There are many types of files included (e.g. jpg, gif, txt, p
Was this before supplying the password or after?
I believe this log entry may be normal when authentication fails.
I also believe the message you got on your browser means that the 401 error
page is missing from your apache installation.
http://www.php.net/manual/en/features.http-auth.php also
In my
phpinfo()
I get:
php version 4.0.0
Server_APICGI
..
Is this why it is not working?
If so, how does one install PHP as a "module"?
Please advise.
Thank you.
TR
...
Warren Vail wrote in message:
You need to have a look at the regular expression functions like ereg,
eregi, ereg_replace, eregi_replace and the preg functions.
The manual itself doesn't document regular expression pattern matching that
well, but there is a reasonable starter article here:
http://www.phpbuilder.com/columns/da
There is no way to force the behavior, but you can exclude the HTTP
headers that tell the Web browser to not cache the pages.
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Expires:
etc.
I believe PHP may include some or all of these when you use session
management. A bro
Do you have phpMyAdmin on your server?
Because when it displays a table with more than 30 results, it splits it
into pages of 30. The brilliant bit is that it always displays the query up
the top of the page, so you can learn what's going on.
You want to read up on LIMIT in the MySQL manual.
I
Hi Gerard,
I never had any problem using output buffering...
Do you correctly dump the buffer when an error occurs ? I suppose you have
built your own error() function, a bit like this one :
exit_on_error($msg){
ob_end_clean();
echo $msg;
exit();
}
can you tell us a bit more concern
>Is there any way to force a browser to use a cached version of a page if the
>user hits the back button?
"Force" might be a bit too strong, but there are a bunch of headers about
Cache-control and Expiration and such-like that you can convince a lot more
to cache a document than do without the h
...hello .. Mr.Anthony Ritter ..
Actually I have faced the same problem with you but right now I can fix it .
What you must do is :
1. Turn off your Apache Web Server
2. Edit your httpd.conf file from folder conf under Apache folder.
3. Please add this sentence -- LoadModule php4_module
c:/Ap
hey all,
Just wanting some advice on something im doing, basically im storing
news into mysql and what i want to do is, when the news is displayed, if
a url is in there ie(http://www.blahblah.com OR
mailto:[EMAIL PROTECTED]) it will automatically be displayed as a link,
im considering using pr
I spotted a class or function on phpclasses.org a few days back that does
this.
Justin French
on 28/08/02 4:40 AM, tux ([EMAIL PROTECTED]) wrote:
>
>
>
> hey all,
>
> Just wanting some advice on something im doing, basically im storing
> news into mysql and what i want to do is, when the n
In article <[EMAIL PROTECTED]
maeci.gc.ca>, [EMAIL PROTECTED] says...
> Having a little trouble with converting dates.
>
> I have, in my database, a bunch of dates stored like this: -M. Month is
> obviously the number of the month (5), not the name (May).
>
> I want to convert the format to
Basically the included file containing the error handler is like so ->
-
--
In another file, I start compression like ->
if ($compress == '1')
{
ob_start('gz_handler');
}
-
Then at the end of the script I have ob_end_flush();
I believe the sequence of eve
Hi there,
I have a tricky problem which I honestly think is not possible to solve.
However maybe I am wrong.
As you all know it is possible on php.net to pass a function name just
behind the adress (e.G. php.net/function-name) this will redirct to the
propper page. I did the same thing with memb
Dear Sir,
we use php4.1.1+apache put html pages to IE from mysql DB, We find the
created pages's create time is not availability, this let me a lot of
discommodity, our webpage cann't index in yahoo etc. search engine.
please help me, let me know how to avoid it.
Mr.lin
--
PHP General Mai
Dear Sir,
we use php4.1.1+apache put html pages to IE from mysql DB, We find the
created pages's create time is not availability, this let me a lot of
discommodity, our webpage cann't index in yahoo etc. search engine.
please help me, let me know how to avoid it.
Mr.lin
--
PHP General Mail
Hi everybody,
I'm using Sablotron to transform XML with XSL and this is the PHP file:
\n";
$strXhtml = $strXhtml . "\n";
$strXhtml = $strXhtml . "Balance:\n";
$strXhtml = $strXhtml . "\n";
$strXhtml = $strXhtml ."";
//echo(trim($strXhtml));
include("XSLTransformer.php");
$xml=$strXhtml;
$xsl="
IFF they just left one of your other sites, then you should be able to pass
a variable in the other site's header such as:
php.net/function-name?variable=from_somewhere_I_own
if the variable isn't set, then they came from a site you don't own.
or you could send them to a unique function-name wh
HI there,
I am wondering if a Chat coded in PHP would be sufficiant for a medium sized
site. Maybe someone has a working example online. It would be no problem to
get a ircdeamon working, just the client is in question.
Thank you for your suggestions,
Andy
--
PHP General Mailing List (
So use the Header() function to send an appropriate Last-Modified
timestamp. PHP can't possibly do that automatically as it does not know
the last modication time of the actual dynamic data that you send.
-Rasmus
On Tue, 27 Aug 2002, lin wrote:
> Dear Sir,
>
> we use php4.1.1+apache put html p
101 - 120 of 120 matches
Mail list logo