Hi!
here is my test code
";
ob_end_flush();
sleep(2);
}
?>
I can make this work on php and apache. I always get output
in one shot not line by line. If i try this code with php and
iis it works.
What am i doing wrong. Do i have to tell apache to send line
by line to browser not everything
Luanna,
This response allows caching, but the cached response is only
considered fresh for one hour (which might be appropriate for you),
as is determined by both the Expires header and the max-age attribute
of the Cache-Control header.
The Pragma header is defined under HTTP/1.0 and is only used
This header is added by mail server, so you must change the apache user.
Duncan wrote:
Hi,
i wrote a helpdesk script, which can send the user emails, if requested.
The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers
don't accept "nobody" as the sender!
do you know how i can cha
On Fri, 22 Nov 2002, Uros Gruber wrote:
> ob_end_flush();
This turns off output buffering after flushing, the first time it gets
called in the first iteration of your for() loop.
> I can make this work on php and apache. I always get output
> in one shot not line by line. If i try this code with
Hi!
I changed it to ob_flush() and the problem still exist.
Check the link and you'll se.
http://www.kud-igen.si/link.php
I have 3 apache servers and no one works as i want to. But
iis makes no problems.
--
bye,
Uros
Friday, November 22, 2002, 8:32:56 PM, you wrote:
CW> On Fri, 22 Nov 200
You need to use flush() to try and send a chunked response that will
display on the user's browser line at a time like that. Output
buffering is fairly closely related I suppose, but it is a separate
thing.
As far as I know, you cannot flush() with output buffering started
unless you end or flush
Chris,
your explanation was just what i needed to really understand my problem :-)
For the moment, i want to cache the HTTP Response. So, if i´m correct, the header
that i sent to the list should do the job.
I have:
Apache Web Server 1.3.x
A Reverse Proxy
The
Hi,
> The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers
> don't accept "nobody" as the sender!
> do you know how i can change that?
> i don't mean the "From:" header, but the real sender header of the
email...
I don't know if this is a good way to do things or not, but I have s
Oh,
i see.
Thanks.
Marek Kilimajer wrote:
This header is added by mail server, so you must change the apache user.
Duncan wrote:
Hi,
i wrote a helpdesk script, which can send the user emails, if requested.
The helpdesk sends emails as "[EMAIL PROTECTED]", but some servers
don't accept "no
Hi all,
I'm having this strange issue with a remote server. I'm trying to create
a session control for administrative use which works fine in my PC but
once I upload these scripts to that server, it doesn't recognize the
$username && $password variables and kick me right into the else{} of
the log
> An about register globals post bi-weekly would eliminate tons of questions
I
> reckon. But maxim is also right. People should find their own info and a
faq
> could dominate the group...
The fact you must call session_start before sending anything to the browser
is another FAQ that would help.
Seems like the remote server has register_globals off. You must use
$_GET, $_POST, $_SESSION ...
Cesar Aracena wrote:
Hi all,
I'm having this strange issue with a remote server. I'm trying to create
a session control for administrative use which works fine in my PC but
once I upload these scri
Is it your register_globals setting?
---John Holmes...
- Original Message -
From: "Cesar Aracena" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 2:59 PM
Subject: [PHP] Session Problem
Hi all,
I'm having this strange issue with a remote server. I'm trying to
At 11/22/2002 04:30 PM, Duncan Ellwood wrote:
Can I personalise this a bit to display the From: as the email address that
the user has supplied i.e $Email
You can specify the "FROM" field in the headers before you call the mail()
function.
It's all in the manual.
http://www.php.net/manual/
you could also use regular expressions, but php isn't perl, so good luck on
that one :p.
"Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You could use strstr() to find the index location of the
> string searched for in FIELD. Then use substr
Well, my explanation was not complete, because I wanted to make sure
I was talking about the right thing. :-)
One important thing I failed to mention is that caching applies to
responses to GET and HEAD requests. If the response you showed us was
a reply to a POST, it is not going to be cached.
A
Hi,
I'm trying to separate my database query code from my application logic.
I want to do this by creating a small application-level library with
functions that INSERT, DELETE and UPDATE specific information in a mysql
database. So I created a file called news_mysql.lib.php and put it in a
/libra
All,
I working with helping our local high school technical center set up a web
server/site. Went with the typical AMP solution (unfortunately on MSWin
though). The center is wanting to add an on-line calendar system. This
doesn't need to be anything fancy, just something that will display a
mo
Thanks so much!!! It works. I didn't know I could also place extra
characters inside the brackets to specify what I want. :)
> -Original Message-
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 7:19 AM
> To: @ Nilaab
> Cc: Php-General
> Subject: R
On Fri, 22 Nov 2002, Jason Wong wrote:
> On Friday 22 November 2002 16:34, gamin wrote:
> > Hello,
> > file as the data is being written, not when the file is closed
> I think you should try fclose() the file before you die!
Or, if you need to force the data out to disk while writing, use
fflu
I am moving my website over to PHP but there are two things I'm not sure of.
First:
Do search engines find their keywords if they are in an include instead of the main
PHP file? (strictly speaking, I think they are not really in the URL you gave them)
In other words, does it read the source code
---
I am moving my website over to PHP but there are two things I'm not sure of.
First:
Do search engines find their keywords if they are in an include instead of
the main PHP file? (strictly speaking, I think they are not really in the
URL you gave them)
In other words, do
At 21:59 22.11.2002, @ Nilaab said:
[snip]
>Thanks so much!!! It works. I didn't know I could also place extra
>characters inside the brackets to specify what I want. :)
[snip]
The square brackets simply form a group
Chris -
I must be missing something because when I execute the following code, open
the socket, and send the query, the form that the info is going to gets created
but it is corrupted. Do you see any obvious error?
Todd
if (!empty($request)) {
$path = $path . "?" . urlenco
I have the following website that i want to grab info from:
http://www.bom.gov.au/products/IDV60034.shtml
Say I wanted the current temperature for Melbourne from this table, what
line of code would I need to tell it to get that info - ie, an ereg()
expression...
i'm wondering whether there are w
--- Todd Cary <[EMAIL PROTECTED]> wrote:
> I must be missing something because when I execute the
> following code, open the socket, and send the query,
> the form that the info is going to gets created but it
> is corrupted. Do you see any obvious error?
Yes, I do. It was likely due to a misinte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If the target is in well-formed XML (XHTML is an example), you could use XSLT
to say 'i want the third column of a particular row - in this instance,
Melbourne'. However, since few people actually adhere to standards, you're
probably going to need a
At 17:36 22.11.2002, Cesar Aracena said:
[snip]
>Now, I usually use a very comfortable way to configure e-mails by
>setting all the $vaiables first and then adding a mail() function at the
>bottom, but I never used a CCO target variable and never less a loop
Just released the next version of magick, the PHP ImageMagick extension.
It's now available as this URL:
http://magick.communityconnect.com/
Here are the latest changes:
o functions added:
magick_writeimages()
magick_destroyhandle()
magic
someone gave me the following expression which uses another program and it
works fine for them... is there something similar with php?
wget --timeout=90 -q -O- http://www.BoM.GOV.AU/products/IDO30V01.shtml | sed
'1,/>Melbourne //;s/<.*//'
thanks,
adam.
"Evan Nemerson" <[EMAIL PROTECTED]> wrote i
Hi. I spent the last 3 days looking through the apache docs to figure out
how to disable directory listing. I can disable the directory listing to my
images folder but then all the images on the site dont work. I tried using
Allow from mydomain
and
Allow from localhost
Allow from 127.0.0.1
I even t
Hey. This really isnt a PHP question. but what fonts do you reccomend using
so they look decent on linux. Mainly looking for a good font that will look
nice in MoZilla and Galeon. Almost all the fonts Ive used so far appear
really tiny or really bold and not very good to read.
-Lee
--
PHP Gene
Hi,
This is a trivial question - what function can I use to automatically
proceed to some link, one that can be executed without any user input.
How can we, most efficiently, send all the data (variables) from one
page to another?
Also, would you happen to know, as PHP is very often used in f
This can be done with JavaScript
I don't think there is a way to do it with PHP since PHP is a server side
application.
Robbert van Andel
-Original Message-
From: Krzysztof Wozniak [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
hi guys ;
I can't use session bla..as on my site.
PHP Code
...
Warning: Cannot send session cache limiter - headers already sent (output started at
D:\sites\inc\register.inc:23) in D:\sites\uyelik\login.php on line 90
I cant understand and solve the warning message, what is it?
thanks all.
Make sure that you have nothing before
mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session trouble
hi guys ;
I can't use session bla..as on my site.
PHP Code
...
Warning: Cannot send session cache limiter - headers
Hi
Some suggestions below...
Cheers
Rich
>This is a trivial question - what function can I use to automatically
>proceed to some link, one that can be executed without any user input.
header('Location: http://www.newurl.blah')
>How can we, most efficiently, send all the data (variables) from on
Hi,
For some (strange, I know) reason I would like to copy the content of a
webpage into a database.
I would like to have code like
$whocares = include ("http://www.microsoft.nl";);
$query = "insert into html values ($whocares,...)";
..
However, include can not copy the content to a variable. D
Thanks again Ernest! This will be extremely helpful to me in the near
future.
- Nilaab
> -Original Message-
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 3:23 PM
> To: @ Nilaab
> Cc: Php-General
> Subject: RE: [PHP] Simple RegExp Problem...
>
>
For some (strange, I know) reason I would like to copy the content of a
webpage into a database.
I would like to have code like
$whocares = include ("http://www.microsoft.nl";);
$query = "insert into html values ($whocares,...)";
..
However, include can not copy the content to a variable. Does a
i think you have to have an Options directive set for a particular directory
to turn on or off the directory listing page. the particular feature in
question is called Indexes. check out this page for more info:
http://httpd.apache.org/docs/mod/core.html#options
for example, to disable indexes
At 23:11 22.11.2002, conbud said:
[snip]
>Hi. I spent the last 3 days looking through the apache docs to figure out
>how to disable directory listing. I can disable the directory listing to my
>images folder but then all the images on the site dont work. I tr
Jason Wong and Larry Brown,
Nevermind, it's working now. Not sure how. I performed the same test many
times, but this time when I tried it, it worked. It might be that I manually
deleted the older session variables. I did read the notes on php.net for
session_unset(), very informative. Thanks to b
Chris -
I seem close, but I am still getting a clobbered "page". For debugging,
I sent the query to a file so that I can check it moer accurately and this
is what I am getting (for readability, I added the CRLF after the "?" in
this email):
GET http://209.204.172.137:80/_calendar/php/selecte
I don't know which version of PHP you are using but if v4.2.x upwards then
use session_start() and the $_SESSION[] superglobal array instead of
session_register(). Your warning is because you have either started output
of HTML or you have some blank lines in your PHP scripts before the session
rela
The best thing you can do is read the error message and examine the
line(s) in question.
You have output in file D:\sites\inc\register.inc on line 23. That
file is included in file D:\sites\uyelik\login.php on line 90. At
least, that's how I interpret that message.
The one thing the error message
At 23:36 22.11.2002, Patrick Anderson at TUE said:
[snip]
>For some (strange, I know) reason I would like to copy the content of a
>webpage into a database.
>
>I would like to have code like
>
>$whocares = include ("http://www.microsoft.nl";);
>$query = "inse
One thing - be warned that some sites (esp. M$) send a redirect at the
index (or default) pages... the fopen() will not honor this redirect. Using
cUrl would be a better way to handle this, IMHO.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
-
101 - 148 of 148 matches
Mail list logo