[PHP-DEV] Bug #11963: while using mail function offline, windows does not pick up an internet request

2001-07-08 Thread knightemu

From: [EMAIL PROTECTED]
Operating system: win98se
PHP version:  4.0.4pl1
PHP Bug Type: Mail related
Bug description:  while using mail function offline, windows does not pick up an 
internet request

i am a basic user of php. i have done some programming (about 3 internt
coding,2 in pascal and 1 in c++) while php is trying to send the mail, it
makes ie stop responding to any internt connection.

i did a basic install, i have not changed anything in the php.ini file
except for the mail smpt. i am running php off of apache and i have
installed mysql. (i have not gotten as far as configuring it)

i am working off an dial up.

the script is easy

//stat script
if (mail([EMAIL PROTECTED],Just some text,losts of good stuff,From:
[EMAIL PROTECTED])) echo your mail has been sent!;
else echo your mail has not been sent!;
//end script
-- 
Edit bug report at: http://bugs.php.net/?id=11963edit=1


-- 
PHP Development 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]




[PHP-DEV] Bug #12536: fread does not look to be working right

2001-08-03 Thread knightemu

From: [EMAIL PROTECTED]
Operating system: win 98 box
PHP version:  4.0.4pl1
PHP Bug Type: Performance problem
Bug description:  fread does not look to be working right

fread does not look like it is reading the EOF. when i use a large (HUDGE)
number to tell the fread() how many characters to read, it takes a  l o n g
time for this to complete this happens even when the file is very
short.

i descoverd this when i was trying to read an entire file into a string. is
fread the best way to do this?? it does not seem to be working very well.

there is also a error reporting problem with fread. after the same number
gets too big, php stops processing the entire page, (it does check
syntax)
there is als no error message when this happens.

Knight
-- 
Edit bug report at: http://bugs.php.net/?id=12536edit=1


-- 
PHP Development 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]




[PHP-DEV] Bug #12536 Updated: fread does not look to be working right

2001-08-05 Thread knightemu

ID: 12536
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Performance problem
Operating System: win 98 box
PHP Version: 4.0.4pl1
New Comment:

$filefill = fread($fp, 1); //will take a long time on a very small file.

if you add another 0, it will cause a Internal Server Error - this is not 
surprising. computers dont deal well with BIG numbers.

i could not get php to re-create the error where it silently did not work.

Previous Comments:


[2001-08-02 17:38:11] [EMAIL PROTECTED]

Have you tried with PHP 4.0.6? And could you also 
add a short example script into this bug report?

--Jani




[2001-08-02 17:34:06] [EMAIL PROTECTED]

fread does not look like it is reading the EOF. when i use a large (HUDGE) number to 
tell the fread() how many characters to read, it takes a  l o n g time for this to 
complete this happens even when the file is very short.

i descoverd this when i was trying to read an entire file into a string. is fread the 
best way to do this?? it does not seem to be working very well.

there is also a error reporting problem with fread. after the same number gets too 
big, php stops processing the entire page, (it does check syntax)
there is als no error message when this happens.

Knight





Edit this bug report at http://bugs.php.net/?id=12536edit=1


-- 
PHP Development 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]




[PHP-DEV] Bug #13353: function calling causes error with varable

2001-09-17 Thread knightemu

From: [EMAIL PROTECTED]
Operating system: win 98 box
PHP version:  4.0.4pl1
PHP Bug Type: Variables related
Bug description:  function calling causes error with varable

I am not sure if this is a bug or php is just not built to handle something
like this, but when i call a function like this:

function
EchoContent($BarName=Error,$body=error.inc,$topheight=100,$width=$menuwidth){

it causes an error! you cant assign a variable within the function call.

i would have to re-do it like this for it not to cause an error. 

function
EchoContent($BarName=Error,$body=error.inc,$topheight=100,$width=100){

I am sure you can see the benefits of using the top version.

 Knight
-- 
Edit bug report at: http://bugs.php.net/?id=13353edit=1


-- 
PHP Development 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]




[PHP-DEV] Bug #14367: browscap not well documented

2001-12-06 Thread knightemu

From: [EMAIL PROTECTED]
Operating system: win 98
PHP version:  4.0.6
PHP Bug Type: Documentation problem
Bug description:  browscap not well documented

As far as i can see, there is no documentation for getting the browscap.ini
to work on a win98 running apache. As i was looking at the documentation, i
also saw a general lack of documentation on the browscap.ini file on more
then one platform.

when looking up the get_browser, it was not clear that a file had to be
downloaded in addition to the php download and it was not clear that the
file had to be configured and installed on the system running php. This is
not a big problem, but while i was trying to get help on installing my
browscap.ini file i found none.

I cant get get_browser to work because i cant figure out how to install the
browscap.ini file. Is it possible? If it its not possible it would have
been nice to know.

Knight
-- 
Edit bug report at: http://bugs.php.net/?id=14367edit=1


-- 
PHP Development 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]




[PHP-DEV] Bug #14367 Updated: browscap not well documented

2001-12-06 Thread knightemu

ID: 14367
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Documentation problem
Operating System: win 98
PHP Version: 4.0.6
New Comment:

Thanks Goba, i found the user notes very useful.

Previous Comments:


[2001-12-06 17:59:07] [EMAIL PROTECTED]

Erm, the user notes are also worth reading :)



[2001-12-06 17:57:39] [EMAIL PROTECTED]

OK, this is not included in one single page. You need
to dig some :)

See the manual page:
http://www.php.net/manual/en/function.get-browser.php

| In order for this to work, your browscap
| configuration file setting must point to the
| correct location of the browscap.ini file. 

See that browscap is actually a link to the
configuration section, where you can find again
what setting to alter (name: browscap).

Read on:
| For more information (including locations from
| which you may obtain a browscap.ini file),
| check the PHP FAQ at http://www.php.net/FAQ.php. 

OK, I have checked it for you and found:
http://www.php.net/manual/en/faq.obtaining.php#AEN63982

Visit this page and read the FAQ entry.

It is worth to read on using our links :))

There are some PHP distributions with included
browscap.ini, and as you can see in php.ini,
it is included with IIS/PWS. Currently the
browscap.ini is not in the download...

But we provided a link where you can get it :)

Goba



[2001-12-06 17:43:15] [EMAIL PROTECTED]

As far as i can see, there is no documentation for getting the browscap.ini to work on 
a win98 running apache. As i was looking at the documentation, i also saw a general 
lack of documentation on the browscap.ini file on more then one platform.

when looking up the get_browser, it was not clear that a file had to be downloaded in 
addition to the php download and it was not clear that the file had to be configured 
and installed on the system running php. This is not a big problem, but while i was 
trying to get help on installing my browscap.ini file i found none.

I cant get get_browser to work because i cant figure out how to install the 
browscap.ini file. Is it possible? If it its not possible it would have been nice to 
know.

Knight





Edit this bug report at http://bugs.php.net/?id=14367edit=1


-- 
PHP Development 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]