how to build imap to shared ?
Hello php4beta,
how to build imap to shared ?
--
Best regards,
php mailto:php_list@citiz.net
|
6/20/2000 7:20:10 PM
|
0
|
php_l...@citiz.net
|
sessions?
Linux Mandrake 7.1 Apache/PHP4
I'm trying to implement this mysql session scheme as describe here:
http://phpbuilder.com/columns/ying20000602.php3
A.) my sessions are not being saved into the database, they are still being
saved in the /tmp directory
B.) my session (the ones that are saved in the /tmp directory) will not
persist past the first page?
The support forum on phpbuilder.com is useless.
Thanks
Mark
|
6/20/2000 6:59:47 PM
|
0
|
mark.fa...@msfc.nasa.gov ("Mark Faine")
|
Install documenation for Win/Apache
Is there an updated documentation for instalation on Windows with Apache
server?
|
6/20/2000 6:29:15 PM
|
0
|
mitj...@hotmail.com ("Mitja Semolic")
|
imap error
Hello php4beta,
I use
'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-config-file-path=/etc/httpd' '--enable-safe
-mode' '--with-exec-dir=/usr/bin' '--with-system-regex' '--disable-debug' '--with-gd=/usr/local' '--with-zlib' '--enable-ftp' '--dis
able-debugger' '--enable-magic-quotes' '--enable-track-vars' '--with-mysql=/usr' '--enable-wddx' '--enable-sysvsem' '--enable-sysvsh
m' '--with-jpeg-dir=/usr' '--with-imap'
to make php-4.0.0 as DSO.
It looks good.
But when I restart apache,It return this message:
Shutting down http:
|
6/20/2000 4:58:17 PM
|
0
|
php_l...@citiz.net
|
RE: [PHP4BETA] Re: PHP/Oracle Silent Apache Crash
------_=_NextPart_001_01BFDAD0.DB60F822
Content-Type: text/plain;
charset="iso-8859-1"
Martin,
Kevin (someone who reads this newgroup) responded was the first person to
respond. He recommended that I build using Oracle 8.0.5 client libs-- he
says he is running using them on RH6.2. We should receive the CD from Oracle
today.
When you build PHP as DSO do you get the error below?
Syntax error on line 243 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file
/usr/local/apache/libexec/libphp4.so
is garbled - perhaps this is not an Apache module DSO
|
6/20/2000 4:02:36 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
RE: [PHP4BETA] RE: PHP/Oracle Silent Apache Crash
------_=_NextPart_001_01BFDA22.6869949A
Content-Type: text/plain;
charset="iso-8859-1"
Actually, no I haven't. Basically, Thies has passed on to me three
individual attempts to do this:
[1] Export -lpthread in LDFLAGS before configuring Apache.
[2] Add -lpthread to LIBS1 line in src/Makefile for Apache.
[3] Export -lpthread in LIBS before configuring Apache.
Below is the shell script (attempt [3]) that I'm using to build Apache + PHP
(w/Oracle & Easysoft OOB Server) however I receive an error message from
Apache stating that the PHP DSO is garbled! Finally, when I remove the
|
6/19/2000 7:13:54 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
RE: PHP/Oracle Silent Apache Crash
Hi,
I have exactly the same problem. Did you solved it yet?
I've tried to compile with this LDFLAGS="-lpthread", but this does'n
work for me.
Apache keeps silently crashing.
I use dirty trick:
1. Comment out
Loadmodule php4_module
Addmodule mod_php4.c
from http.conf.
2. Start httpd (apachectl startssl).
3. Uncomment them again and restart httpd (apachectl restart).
Martin
> Hi,
> I apologize for my ignorance-- I'm not much of a sysadmin type.
> Could elaborate a little further on how you would "relink" Apache
> using pthread. This is what I understand your saying:
> Est
|
6/19/2000 3:19:16 PM
|
0
|
hor...@mail.sce.cz ("Martin Horak")
|
Re: Sessions don't survive redirects...
> This one is short and sweet. Sessions don't get stored in final, and
> i.php shows NULL. I've succesfully used sessions in other situations
> with a test script. Am I missing something here? auto_start = 1,
> save_handler = files. A session file is created with !referrer in it
> but no value.
>
> August
>
> redirect.php:
> ----
> $REQUEST_URI = getenv("REQUEST_URI");
> $url_array=explode("/", $REQUEST_URI);
> session_register("referrer");
> $referrer = $url_array[2];
> header("Location: http://www.cashwars.com/i.php");
> exit();
> i.php
> ------
> echo $HTTP_SESSION_VARS[
|
6/19/2000 2:31:37 PM
|
0
|
hor...@mail.sce.cz ("Martin Horak")
|
$PHP_AUTH_USER & $PHP_AUTH_PW Question.
Hello folks,
Does anybody know how to get rid of $PHP_AUTH_USER and $PHP_AUTH_PW
variables without closing the browser?
I am making the authorization with headers which forces the browser to pop
up the authorization dialog. After the successful authorization the page
displays somewhere a link "log out" which points to a script "logout.php".
I tried to unset $PHP_AUTH_USER and $PHP_AUTH_PW in "logout.php" but it
doesn't work. When I want to relogin, the browser doesn't pop up the
authorization dialog, and enters the site with the old authorization values.
So I must first close th
|
6/19/2000 10:33:57 AM
|
0
|
ciprian.asmaran...@grafix.ro ("Ciprian Asmarandei")
|
disconnect me from mail list!!!
plEASE!!
|
6/19/2000 2:35:53 AM
|
0
|
br...@pdgm.com (Bruno Chapeton)
|
does PHPINI not work anymore?
Hi!
Is it my imagination or does PHP not look at the environment variable PHPINI anymore?
Tom
|
6/18/2000 11:53:31 PM
|
0
|
...@zworg.com (Tom Fishwick)
|
hi,this is a test
|
6/18/2000 3:42:01 PM
|
0
|
x...@ji-public.sd.cninfo.net ("xing")
|
Anyone using phpMyAdmin successfully on PHP4isapi/IIS 5.0 ?
I refreshed my RC1 binaries (I think it was the RC1) with the 4.0.0
isapi release version and basically it's working, that is it shows
phpinfo() and gives the expected results for other functions. I
haven't tried any mysql or database connects with my own code yet.
However, as with the RC1, I can't use phpMyAdmin to administer a
mysql database.
If I use basic authentication (what phpMyAdmin defines as this) I get
the databases and the tables displayed on the left, but that's it,
selecting a table or database gives "no tables found in the databse",
show processes gives "no da
|
6/18/2000 3:31:58 PM
|
0
|
mailli...@conactive.com ("Kai Schaetzl")
|
Question regarding sem_acquire()
Hi,
in the manual it says:
"After processing a request, any semaphores acquired by the process
but not explicitly released will be released automatically and a
warning will be generated."
Does this main that one script can only have one semaphore at a time
acquired?
--
Homepage : http://gravedancer.rc5.de \ eMail: sebastian.bergmann@web.de
PHP-Stand auf Europas gr��ter Linux-Messe: 'Linux-Tag' !
weitere Infos @ http://www.dynamic-webpages.de/
|
6/18/2000 12:42:26 PM
|
0
|
sebastian.bergm...@web.de (Sebastian Bergmann)
|
text field and MySQL
Hello,
A text field in HTML form is submitted to a php script which stores the
content in a MySQL database. Now the problem is when i retrieve the text
from the database and generate HTML the text appears in a single line. How
do i retreive the new line character and ouput the text in the original
format??
regards,
kancha.
|
6/17/2000 3:18:47 PM
|
0
|
kan...@flashmail.com ("kancha")
|
Questions on sem_* and shm_* functions
Hi there,
I'm currently working on something I called "phpWin32SxM - A Fake
Implementation of PHP's Semaphore (SEM) and Shared Memory Functions
(SHM) for the Win32 Platform".
I use SQL tables to emulate "Shared Memory" and Semaphores on
Win32-based machines.
I'm mostly finished with the shm_* functions. This means, that the
functions do what they're expected to do, for instance the following
code works just fine on my Win32 installation of PHP 4.0.1-dev:
<?php
include "phpWin32SxM.php";
$test = array( "test", "it works" );
$shm = shm_attach( 123 );
|
6/17/2000 2:34:07 PM
|
0
|
sebastian.bergm...@web.de (Sebastian Bergmann)
|
Textarea, wrap=physical: how to get <br>
Hi,
sorry for this newby question....
When I hit <RETURN> within a <textarea wrap="physical"> it produces some
kind of newline-command. How do I convert this into <br>? nl2br doesn't
seem to do the trick.
Martin
|
6/17/2000 11:01:55 AM
|
0
|
martin.same...@vogelspinnenseite.de (Martin Samesch)
|
compiling php4 with borland
hello,
is possible (~easy) to compile php4
with borland c++ compiler 5.5 ???
thanks
milan
|
6/16/2000 3:50:11 PM
|
0
|
mi...@salajka.cz ("Milan Salajka")
|
Latest CVS Snapshot and Win32
The following code from fopen-wrappers.c results in a "missing )
before {" error message during compilation on Win32:
#ifdef PHP_WIN32
/* Check for absolute path.
This should really use virtual cwd macros */
if (IS_SLASH(*PG(doc_root) || (length >= 3 && PG(doc_root)[1] == ':'
&& IS_SLASH(PG(doc_root)[2]))) {
I have no clue where to put the missing ")", so, please, have someone
take a loot at it :)
PS: Is it enough to post such "errors" / "bugs" to the php-dev, or
should I post a bug-report at http://bugs.php.net?
I got no response for m
|
6/16/2000 10:10:48 AM
|
0
|
sebastian.bergm...@web.de (Sebastian Bergmann)
|
RE: [PHP4BETA] tiff to pdf
>> [blah blah. I want to convert CCITT 4 TIFFs to PDFs]
> why can't you just compress the result yourself, using gzip or
> something?
Well, like I said, I want the system to be more user-friendly, and I
consider PDFs to be more user-friendly than TIFFs, since the plug-in sits in
the browser and the user experience is seamless. However, if they needed to
gunzip the files, the whole thing would be rather pointless, since they
would again need to do an extra step to view the scans.
But anyway, I found a tool to do exactly what I need (c42pdf, found on
www.pdfzone.com), thanks to Je
|
6/15/2000 6:22:43 PM
|
0
|
mitja.sl...@pristop.si (=?iso-8859-2?Q?Mitja_=A9lenc?=)
|
RE: [PHP4BETA] PHP4 & Apache 1.3.9 Install
------_=_NextPart_001_01BFD6F4.DB8EC296
Content-Type: text/plain;
charset="iso-8859-1"
The Zend files *are* PHP. Are your include paths point to these locations:
michael
-----Original Message-----
From: Witness [mailto:Ben_Meyer@pfm.org]
Sent: Thursday, June 15, 2000 9:18 AM
To: php4beta@lists.php.net
Subject: [PHP4BETA] PHP4 & Apache 1.3.9 Install
I am trying to install php4 as a module into Apache. However, the php4
modules make keeps trying to install Zend files (which I'm clueless about as
far as what Zend is). Outside of the php4 source, Apache compiles fine; it
ev
|
6/15/2000 6:10:23 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
RE: [PHP4BETA] PHP/Oracle Silent Apache Crash
------_=_NextPart_001_01BFD6EA.9819E16C
Content-Type: text/plain;
charset="iso-8859-1"
Hi,
I apologize for my ignorance-- I'm not much of a sysadmin type. Could
elaborate a little further on how you would "relink" Apache using pthread.
This is what I understand your saying:
Establish the environment variable LDFLAGS="-lpthread" for Apache then I go
throught configure, make and make install for Apache. Next, using the same
enviroment, go through configure, make and make install for PHP as outlined
in INSTALL for Quick Installation for DSO?
I think what your saying is that Ap
|
6/15/2000 4:56:54 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
More session question..
------=_NextPart_000_00CD_01BFD6FA.FDFDCCE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Can anyone explain what does it exactly means?
"Registered variables which are undefined are marked as being not =
defined"
So if i got a session and i register a variable i have to"define" =
(????) then in
when i restart the sesision or lost it???
How do i "define" a variable that is registered in a session???
Saludos
Sergio.
------=_NextPart_000_00CD_01BFD6FA.FDFDCCE0
Content-Type: text/html;
charset="iso-8859-
|
6/15/2000 4:53:28 PM
|
0
|
sergio.gar...@tecnet-sports.com (=?iso-8859-1?Q?Sergio_Garc=EDa_Murillo?=)
|
PHP4 & Apache 1.3.9 Install
I am trying to install php4 as a module into Apache. However, the php4
modules make keeps trying to install Zend files (which I'm clueless about as
far as what Zend is). Outside of the php4 source, Apache compiles fine; it
even configures with the php4 source. The only thing keeping it from
compiling with the php4 source is a bunch of errors saying it cant find the
following files:
zend.h
php.h
php_variables.h
SAPI.h
php_ini.h
php_globals.h
SAPI.h
main.h
zend_compile.h
zend_execute.h
zend_highlight.h
zend_indent.h
ext/standard/php_standard.h
Help would be greatly appre
|
6/15/2000 4:18:13 PM
|
0
|
Ben_Me...@pfm.org ("Witness")
|
tiff to pdf
------_=_NextPart_001_01BFD6DE.F1DDD3D6
Content-Type: text/plain;
charset="ISO-8859-1"
Hi!
on PDFLib's site, the Features page claims TIF support, but I couldn't find
a function in PHP that would work with TIFs. Is it just missing
documentation or is it really not implemented?
Anyway, my problem is this:
Our company has a bunch of large (300dpi) G3/G4-compressed TIFF scans (of A4
and A3 sheets) on a server. We're expanding the user base for our system and
it would be really impractical trying to explain to everybody where to
get/how to install/etc a TIFF viewer.
Since
|
6/15/2000 3:32:41 PM
|
0
|
mitja.sl...@pristop.si (Mitja Slenc)
|
RE: [PHP4BETA] PHP/Oracle Silent Apache Crash
------_=_NextPart_001_01BFD6DE.9DB3F0C4
Content-Type: text/plain;
charset="iso-8859-1"
easy one;-)
please relink your apache adding -lpthread to the LDFLAGS.
the problem here is that a executable thats *not* linked
agains -lpthread cannot load a shared library that is liked
against -lpthread. (libphp4.so - linked against -lclntsh
linked against -lpthread).
this is a glibc-2.1 bug that supposed to be finxed in 2.2 (i
heard).
tc
-----Original Message-----
From: Kevin Hendrix [mailto:khendrix@pennypi.com]
Sent: Thursday, June 15,
|
6/15/2000 3:31:10 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
PHP/Oracle Silent Apache Crash
------_=_NextPart_001_01BFD673.02D923D2
Content-Type: text/plain;
charset="iso-8859-1"
Dear PHP Community,
Thank you for taking a moment to read our request for assistance. =)
We are struggling to build PHP with the Oracle extension as a dynamic shared
object (DSO/Apache module) under Linux Redhat 6.2. The entire Apache
configuration includes:
openssl-devel-0.9.5-2
openssl-0.9.5-2
apache-mod_ssl-devel-1.3.12.2.6.3-1
apache-mod_ssl-1.3.12.2.6.3-1
mm-1.0.12-1
php-4.0.0 w/Easysoft ODBC Bridge, Oracle/OCI8 and WDDX extensions
All standard Apache modules (e.g
|
6/15/2000 2:40:54 AM
|
0
|
mn...@Insight.com (Michael Nino)
|
memory leak?
Hi all,
I'm new to both PHP and Oracle. I've installed Oracle 8.1.6 and PHP
4.0.0 on RedHat 6.1. I've wrote a testing script to connect to Oracle
and display the content of a table. It did succeed, however, it seems
have memory leak. Each time I reload the testing page from the browser,
it consumes memory! Isn't that every I logoff Oracle, the memory would
be released? I can't see it happens! Could anyone help?
Here's my code:
<?
putenv("ORACLE_HOME=/usr/local/oracle/8i/u01/app/oracle/product/8.1.6");
putenv("ORACLE_SID=SWCO");
if ($connection = ora_logon("scott", "tig
|
6/15/2000 2:37:22 AM
|
0
|
ja...@swciticomp.com (janus)
|
Testing
------_=_NextPart_001_01BFD66E.EF8B1C62
Content-Type: text/plain;
charset="iso-8859-1"
Testing. Pls excuse.
------_=_NextPart_001_01BFD66E.EF8B1C62
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>Testing</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Testing. Pls excuse.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01BFD66E.EF8B1C62--
|
6/15/2000 2:11:44 AM
|
0
|
mn...@Insight.com (Michael Nino)
|
win32 php4 sessions crash, php.ini and domxml
--=_NextPart_Caramail_013490960961675_ID
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks to developpers for the very good php4 but ...
1) always and always sessions crash with php4 (cvs snapshot
and php4 final) when session.save_handler =3d file ? Is there
a tips ? (jsp an asp have *working* sessions since many
y..)!
2) On winNT & w2k php4 doesnt seem to try to load php.ini
from the root dir the current web site but it works with
php.ini or with PHPRC variable (when there is more than one
site or virtual site it's most usea
|
6/14/2000 6:26:20 PM
|
0
|
t...@caramail.com (jp tunt)
|
Session Question
------=_NextPart_000_031A_01BFD62E.0BD23B30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a funciton in the begining of the page which checks that a =
variable "id" is registered in a session..
in the first pagei strat a new session and set the idto 1 and register =
the variable..
function set_id($user,$pwd)
{
global $id;
$db =3D new FumarelDb();
=20
$query=3D"select cod_usuario=20
from usuarios=20
where username=3D'$user' and pwd=3D'$pwd'";
=20
if(!$db->query($query)>0)
return false;
=20
$db->next();
|
6/14/2000 4:26:24 PM
|
0
|
sergio.gar...@tecnet-sports.com (=?iso-8859-1?Q?Sergio_Garc=EDa_Murillo?=)
|
Failure under load on NT Server
Hi,
I am running PHP 4 (release) on an NT Server sp6 with IIS and SQL Server 7.0.
I am using ODBC in order to connect to SQL Server.
The system works well under light load, however under heavier loads
(25 simultaneous connections) I get an error in the browser ('PHP has
experienced an access violation 87xxxx').
I am running PHP as an ISAPI extension.
Can anyone help as this is running on a live server and we are
expecting a heavy load shortly??
PHP is running on the SQL Server machine along with IIS - do you
think that it would help to move the webserver and PHP to an
|
6/14/2000 3:15:31 PM
|
0
|
mwh...@ipoints.co.uk (matthew)
|
POST bug - php4 with cyrillic letters
Hi!
There is a stable bug in zend(php) 4.0.0 . When one does POST containing
cyrillic letters (I suppose ascii > 128), post body has been cut somewhere
around 4K border.
Well, it may be feature, but could anybody please tell how to work it
around?
The text quoted below is working at www.atlant.ru/2.phtml . Note that the
bug works only if you use _many_ cyrillic letters. If you want to try and
have no cyrillic text, get it on www.atlant.ru/cyr.txt .
Program to show the bug is :
<?php
print($HTTP_POST_VARS["text"]);
print("<br>\n");
$vars = $HTTP_POST_VARS;
while
|
6/14/2000 1:35:22 PM
|
0
|
...@atlant.ru ("Serg Prasolov")
|
mssql error
Hello, after getting the mssql functions to work I ran into a strange
problem: I can do inserts, deletes, and I can select if there are no records
(num_rows=0). However, if there are any records in my database I get the
following error when I execute a select statement: PHP has encountered an
Access Violation at 00000000
The problem is it's not really an access violation since I can query the db
with odbc connections using the same account, and I can insert and delete as
mentioned above. Strange! Any ideas? Perhaps a small bug in the build I
am using? Thanks
|
6/14/2000 10:29:02 AM
|
0
|
davi...@abctech.com ("David Henton")
|
Good snapshot?
Looking for a snapshot that will compile as a DSO under Redhat 6.1...
Sessions are just a little too flaky in 4.0.0
The latest snapshot fails to compile.
AZ
|
6/13/2000 9:59:37 PM
|
0
|
augu...@bigfoot.com ("August Zajonc")
|
Problem with Optimizer and Debug
Here is a nice little oddity,
I tried to add the Zend optimizer to PHP 4.0.0 on Solaris 2.7 with apache
1.3.12. Here are the setups for php / apache:
PHP configure:
../configure --disable-debug --with-apache=../apache_1.3.12 --with-mysql --en
able-track-vars
PHP_CONFIG.H (In php-4.0.0 source):
#define ZEND_DEBUG 0
PHP.INI:
[Debugger]
debugger.host = localhost
debugger.port = 7869
debugger.enabled = False
APACHE:
../configure --activate-module=src/modules/php4/libphp4.a --enable-module=php
4 --enable-module=so --prefix=/www
So as far as
|
6/13/2000 8:46:24 PM
|
0
|
...@orotech.net ("Timothy M. Crider")
|
Resend:Can anyone compile windows binaries for me?
I need Apache compiled for win98 with php4 as a module instead of a cgi
and the php4 needs to have gd 1.3 support and mysql support in it. Is
there anyone willing to compile this package up or point me in the
direction of the binaries if its already been done
Dan Krumlauf
|
6/13/2000 6:49:03 PM
|
0
|
...@musheen.com (Dan Krumlauf)
|
PHP and dbase
i can't read a yes/no variable into a dbase table with PHP is it normal ??
it always return 0
|
6/13/2000 4:05:28 PM
|
0
|
oliv...@siriade.fr (Olivier ROBLE)
|
PHP4.0.0 Segfault , with float numbers
--=====================_606776979==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
hi,
i have a problem with PHP4.0.0 and float number..
when i compil php and apache into a static executable..
i do :
<?
$test=1.4567;
printf("%f", $test);
?>
and i have :
1.000000
what's wrong in my compilation ??? everything was ok with PHP4.0B2
i do : ./configure --with-mysql --with-apache=../apache_1.3.12
--enable-track-vars --with-dbase for compiling php4
when i do a number_format .. php4 segfault .....
[Tue Jun 13 15:49:45
2000] Script: '/webs/s
|
6/13/2000 1:50:50 PM
|
0
|
oliv...@siriade.fr (Olivier ROBLE)
|
session & PHPSESSID
Hi All
I built a page with session that work great but each time i go into the
page for the first time in the current session (when the session is
created) its add to each url PHPSESSID=7c9cb2350d3bdc8a0411ae69203b03fd
and if I press reload the phphsessid disappear and all links return to
there normal statue.
Why each time a session is created the phpsessid adding himself to the
links (and even to some of the images) ?
Any solution ?
--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-692585
|
6/12/2000 2:23:06 PM
|
0
|
m...@canaan.co.il (Ben-Nes Michael)
|
problems with pdf_place_image
Dear Friends:
I�m using php-4.0 with pdflib 3.0 but i have the following problem:
In the line:
pdf_place_image($pdf,$im,50,728,0.21);
i obtain the error message:
Fatal error: Internal pdflib error: Scaling factor 0 for image
....
It seem�s that the scale factor of the pdf_place_image can�t be a
real number, but in the documentation the
type of this scale factor is double.
Any idea?.
Thank for all.
|
6/12/2000 1:02:45 PM
|
0
|
lgall...@uvigo.es (Luis Gallego)
|
httpd processes won't die since upgrade to PHP4
Hi All :)
I have a problem with the following code (sorry if this seems like a bizarre
thing to do):
<?php
while(true)
{
mysql("UPDATE A RECORD");
echo "Some stuff";
flush();
}
?>
When the user closes their browser the associated httpd process doesn't die,
and the while loop continues to run. Obviously after a while the number of
httpd processes becomes large and ultimately causes the server to crash.
No suprises there you might say, however this has only been a problem since
I upgraded from PHP3 to PHP4. I'm running Apache 1.3.12 on
|
6/12/2000 6:13:49 AM
|
0
|
inph...@ii.net ("Chris Beach")
|
SegFault with php4, mod_perl and mod_ssl
Hello, I was very excited when php4 came out and immediatly went about
installing it. Everything went well and all seemed to be working until
I tried to access one of the perl scripts on the site. I've included a
couple of segments from the error log below.
First, this is how the server started up with php4 loaded, and you can
see immediatly afterwards I tried to access a perl page and got a
segfault, the whole server did not die, just the child that was serving
that page.
[Fri Jun 9 08:48:36 2000] [notice] Apache/1.3.9 (Unix)
Red-Hat-Secure/3.1 mod_perl/1.21 PHP/4.0.0 mod_ssl/
|
6/11/2000 9:22:46 PM
|
0
|
kmeis...@engin.umich.edu (Karl)
|
posttohost https posting
I am trying to use PHP to post values to a secure web site (https) but
can't get a response. I thought I should be able to just change to port
443 and talk with it like I can any other. Someone suggested CURL, which
allowed me to download the secure page but no provision for interativity.
I will have a username and password to pass to an initial page then
options to select there before I can actually get to the page I want to
fill out.
Any suggestions would be appreciated.
Thank you.
David Perry
|
6/11/2000 3:43:22 PM
|
0
|
depe...@nerosworld.com (David Perry)
|
Modifying PDFs
Hi there!
I started creating PDFs on the fly using PDFlib and i wonder:
Can't i just create an PDF with Acrobat and fill in text snippets from
the database?
Doesn't sound like a big deal to me (i know little about PDF)
cu
Jens
|
6/10/2000 3:08:28 PM
|
0
|
j.kist...@rosomm-partner.de (Jens Kisters)
|
Problem getting binary data over http
Hello List!
I am trying to get images with a little script over http.
But the data that is written on my harddrive is corrupted :-(
Is this a lame question? Does anyone know how to do it better? Is this a
bug?
Here a little snippet to test:
<?php
$fp = fopen("http://www.php.net/gifs/logo.gif","r");
$Image = fread($fp,150000);
$fp2 = fopen("logo.gif", "w");
fwrite($fp2,$Image,150000);
fclose($fp2);
?>
|
6/10/2000 1:34:27 AM
|
0
|
m...@image-concept.de (=?iso-8859-1?Q?Marc_A=DFmann?=)
|
Can anyone compile windows binaries for me?
I need Apache compiled for win98 with php4 as a module instead of a cgi
and the php4 needs to have gd 1.3 support and mysql support in it. Is
there anyone willing to compile this package up or point me in the
direction of the binaries if its already been done
Dan Krumlauf
|
6/9/2000 10:49:43 PM
|
0
|
...@musheen.com (Dan Krumlauf)
|
Windows DLL's and GD
Hi,
I have just updated http://download.swwwing.com with new binaries. I have also found the error in php_gd.dll and made a temporary fix for that. It is now possible to create images with ttf-texts !
- Frank
Swwwing A/S
Frank M. Kromann
VP Development
Phone: +45 70 20 77 20
Fax: +45 70 20 77 21
http://www.swwwing.com
|
6/9/2000 7:44:12 PM
|
0
|
...@swwwing.com ("Frank M. Kromann")
|
Sessions don't survive redirects...
This one is short and sweet. Sessions don't get stored in final, and i.php
shows NULL. I've succesfully used sessions in other situations with a test
script. Am I missing something here? auto_start = 1, save_handler = files. A
session file is created with !referrer in it but no value.
August
redirect.php:
----
$REQUEST_URI = getenv("REQUEST_URI");
$url_array=explode("/", $REQUEST_URI);
session_register("referrer");
$referrer = $url_array[2];
header("Location: http://www.cashwars.com/i.php");
exit();
i.php
------
echo $HTTP_SESSION_VARS["referrer"];
var_dump($HTTP_SE
|
6/9/2000 4:15:47 PM
|
0
|
augu...@bigfoot.com ("August Zajonc")
|
Session in MySQL and save_handler...
I'm really struggling to get sessions going into MySQL. They work fine with
files. One thing I'm unsure about is what to set save_handler to when I've
got my own handler. My test script is simple, from an example at
phpbuilder.com. This all certainly seems straightforward, and I'm at a loss
to explain why it doesn't work.
August Zajonc
<?php
include("session_mysql.php");
session_register("count");
$HTTP_SESSION_VARS["count"]++;
?>
Hello visitor, you have seen this page <? echo $HTTP_SESSION_VARS["count"];
?> times.<p>
The session_mysql.php file follows:
-------
$SESS
|
6/9/2000 4:09:35 PM
|
0
|
augu...@bigfoot.com ("August Zajonc")
|
RE: [PHP4BETA] weird error!
------_=_NextPart_001_01BFD224.04F09216
Content-Type: text/plain;
charset="iso-8859-1"
First thing I think of is a permissions issue.
-----Original Message-----
From: Mike [mailto:mike@stratabase.com]
Sent: Saturday, February 08, 2003 4:44 PM
To: php4beta@lists.php.net
Subject: [PHP4BETA] weird error!
Im getting this mysql error on the top of two of my pages, but it is not
hindering functionality at all.
the pages it is erroring on are one of my index pages and in my phpmyadmin
backend only when i go to browse on certain table.
Can anyone help??
Here isn the
|
6/9/2000 3:05:23 PM
|
0
|
mn...@Insight.com (Michael Nino)
|
DOM XML
Hi again,
DOM XML is compiled in and looks like it's working right... but the
documentation currently available is pretty sparse. Anyone out there have
some code examples implementing the DOM XML functions (or a pointer to
some)?
Thanks-
Jesse
-[Jesse Griffis]-
-[Developer Geek]--[Andalon.com]-
-[Phone 716.636.4665]-
-[jvgriffis@andalon.com]-
|
6/9/2000 1:11:07 PM
|
0
|
jvgrif...@andalon.com (Jesse Griffis)
|
New transaction support for MySQL?
Hi all,
i just stumbeled over an announcement about new transaction capabilities with
Berkeley DB tables for MySQL. Is anybody going to implement that for PHP in the
near future?
best regards
Michael
|
6/9/2000 12:26:46 PM
|
0
|
mku...@ambora.de (Michael Kunze)
|
RE: [PHP3] Database image display
Check out these two articles :
PHP, MySQL and images
http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=6
Saving Images in MySQL
http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=3
berber
-----Original Message-----
From: pmm@uninova.pt [mailto:pmm@uninova.pt]
Sent: Friday, June 09, 2000 12:45 AM
To: PHP4BETA; PHP3
Subject: [PHP3] Database image display
My problem is this:
I have an image inside a database that I would like to display on the client
browser.
I've created a script that retrieves the data from inside the database.
|
6/9/2000 10:31:04 AM
|
0
|
ber...@netvision.net.il (Boaz Yahav)
|