Re: [PHP-WIN] APC extension / PHP 5.4

2012-03-16 Thread Rasmus Lerdorf
On 03/16/2012 01:09 PM, Sergei wrote: > Hello PHPers, > > could you please shed some light on the current status of APC in PHP 5.4 > on Windows? > > A few weeks have passed since the release of 5.4, still APC is unstable > to say the least. And surprisingly, considering the extension is really >

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-27 Thread Rasmus Lerdorf
Libor Jelinek wrote: > Hello Rasmus, > I know what you are talking about. "Nice" means auto-completion for > variables, builtin functions, etc. after pressing key. But basic > support (without auto-completion) should be still available in > Windows. > > Is there anybody with Linux to try run "php

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-27 Thread Rasmus Lerdorf
If PHP isn't linked against libedit/libreadline then you won't get the nice interactive command-line. I have no idea if the Windows build is built against either of those libraries or whether those libraries even work on Windows, but if you are not getting the nice command line editing, that is li

Re: [PHP-WIN] Windows Cache Extension for PHP - Beta

2009-09-03 Thread Rasmus Lerdorf
Richard Quadling wrote: > 2009/9/2 Ruslan Yakushev : >> IIS team has released a beta of the Windows Cache Extension 1.0 for >> PHP. The Windows Cache >> Extension for PHP is a PHP >> accelerator, that is

[PHP-WIN] Re: Betreff: Re: [PHP-WIN] Re: ezmlm warning

2005-05-31 Thread Rasmus Lerdorf
gt; /---Originalmeldung---/ > > /*Von:*/ Rasmus Lerdorf <mailto:[EMAIL PROTECTED]> > /*Datum:*/ 05/31/05 18:38:40 > /*An:*/ Mikey <mailto:[EMAIL PROTECTED]> > /*Cc:*/ php-windows@lists.php.net <mailto:php-windows@lists.php.net> > /*Betreff:*/ Re: [

Re: [PHP-WIN] Re: ezmlm warning

2005-05-31 Thread Rasmus Lerdorf
Mikey wrote: >> <[EMAIL PROTECTED]>: >> 216.92.131.4 failed after I sent the message. >> Remote host said: 550 Apparent off-topic email rejected. >> > I keep getting these emails, and after a few exhanges with my ISP they > are trying to say that it is nothing to do with them, but as far as I > can

Re: [PHP-WIN] Curly and annoying. Session vars and uniquely identifying a browser window.

2005-03-19 Thread Rasmus Lerdorf
Ross Honniball wrote: Hi all, I use the php script name as a key in the $_SESSION array to store script specific variables. The problem with this approach is that if a user fires up multiple browser windows, they share the same $_SESSION data. So then if they use the same script in two differen

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-17 Thread Rasmus Lerdorf
On Mon, 17 Jan 2005, Louis Young wrote: > What's the function to convert a string to an int. echo (int) "123abc"; -Rasmus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Redirection

2003-11-26 Thread Rasmus Lerdorf
On Thu, 27 Nov 2003, PETCOL wrote: > Thanks, but, what if, I've just gone through an set variables and outputed > the contents of those to PHP, just to run up a SQL query, to authenticate a > user. Set another to say they are authenticated, then I want to take the > user to another page? What PHP

Re: [PHP-WIN] Redirection

2003-11-26 Thread Rasmus Lerdorf
You have to put this before any other output on the page. -Rasmus On Thu, 27 Nov 2003, PETCOL wrote: > Newbie questions again. > > In ColdFusion I'd use a tag to push the user to another page or > location... > > In PHP I've read you can use a: > > header("Location: http://domain/virtual/y

Re: [PHP-WIN] IE seems to be more stupid than I spected!

2003-03-10 Thread Rasmus Lerdorf
Are you sending a content-length header? Without that I have found that IE gets confused. -Rasmus On Mon, 10 Mar 2003, [iso-8859-1] Leonardo Javier Belén wrote: > HI all! > I am facing a problem thanks to the so-called powerful IE on Windows. I'm trying > to generate PDFs on the fly but IE

Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-03 Thread Rasmus Lerdorf
Hrm.. Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I guess. Or perhaps it should go into main/config.w32.h.in assuming we are always going to build the windows binary against the bundled gd library. -Rasmus On Fri, 3 Jan 2003, Zac Barton wrote: > hi all, i thought php 4.3 wa

Re: [PHP-WIN] Need to read a double value from a binary file

2002-11-13 Thread Rasmus Lerdorf
$float = (float)$string; On Tue, 12 Nov 2002, Juan Carlos Gonzalez wrote: > Hi all! I need to read 8 bytes from a binary file (shp file) and cast it to > its double value... > > I'm having problems because PHP casts it automaticlly to a string using > fread; I can't find the function to cast it c

RE: [PHP-WIN] Re: Question about emalloc

2002-10-18 Thread Rasmus Lerdorf
> Well, I decided to see how the big boys dealt with strings, and had a root > around ext/standard. The following function is from string.c: > > PHP_FUNCTION(bin2hex) > { > zval **data; > char *result; > size_t newlen; > > if (ZEND_NUM_ARGS() != 1 || > zend_get_para

Re: [PHP-WIN] PHP jobs

2002-10-16 Thread Rasmus Lerdorf
XML. If the resume doesn't hit those basic points, toss it. Next I look for interesting project experience and pick out the people who have done things along the lines of what my current requirements are. -Rasmus > On Wed, 16 Oct 2002, Rasmus Lerdorf wrote: > > > They are, bu

Re: [PHP-WIN] PHP jobs

2002-10-16 Thread Rasmus Lerdorf
They are, but personally when I hire a "PHP" programmer I don't look for PHP skills. I look for other skills that show that the person is bright. I can teach a moderately intelligent monkey to use PHP. I think most people look at things too much from a tool perspective. You don't hire a newspap

Re: [PHP-WIN] Intermittent Parse Error

2002-09-09 Thread Rasmus Lerdorf
> Are you serious about using Apache 1.3.6? Yowser that's old!!! I'd update > to Apache 2 and PHP 4.2.3 right away! Apache 1.3.x is fine. I'd upgrade to a later version of Apache 1.3 though. Apache 2 with PHP is not ready yet. -Rasmus -- PHP Windows Mailing List (http://www.php.net/) To uns

Re: [PHP-WIN] PHP 4 Apache 2 and Windows XP

2002-09-03 Thread Rasmus Lerdorf
PHP is nowhere near any of the gear that affects this, so I can't see how PHP could possibly cause this. Sounds like the dyndns lookup isn't always working. Try manually looking up your dyndns address and see if you always get the right ip. -Rasmus On Tue, 3 Sep 2002, Matt Carlson wrote: > I

Re: [PHP-WIN] XSLT: Problem passing variables with PHP 4.2

2002-08-17 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file On Sat, 17 Aug 2002, Ignatius Reilly wrote: > Hi, > > Since upgrading from PHP 4.0 to 4.2, I do not manage any longer to pass parameters >from the PHP script. The XSLT transformations is performed allright, though, but use >empty string values for

Re: [PHP-WIN] Re: gd library with gif support for latest php build

2002-08-17 Thread Rasmus Lerdorf
You'll have to build it. We can't distribute it. On Sat, 17 Aug 2002, Daniel Gustafsson wrote: > At 20:12 2002-08-17 +0530, Deepak Kumar Vasudevan wrote: > >There is one utility of PHP_GD at http://php.weblogs.com (which supports > >GIF) as the site says. Try that out. > > Thanks, but that on

[PHP-WIN] Re: [PHP] Upgraded to PHP 4.2.2 and completely lost all GET and POSTvariables

2002-08-16 Thread Rasmus Lerdorf
Did you bother reading the documentation and release notes before upgrading? Edit your php.ini file and turn register_globals on. -Rasmus On Fri, 16 Aug 2002, james daily wrote: > > RE: phpsecurityadmin-2002-07-24.zip and PHP 4.2.2 > > PLATFORM: win 98 > > BACKGROUND: in order to use the above

Re: [PHP-WIN] Apache+ PHP + Netscape 7.0

2002-08-09 Thread Rasmus Lerdorf
Sounds like you don't have the PHP module loaded correctly. Telnet to port 80 and see if PHP is in the server header. On Thu, 8 Aug 2002, Andrew V. Romero wrote: > Yes, http://localhost/test/test.php. Netscape keeps thinking that I > want to download the php file. > > Ras

Re: [PHP-WIN] Apache+ PHP + Netscape 7.0

2002-08-08 Thread Rasmus Lerdorf
You are going through http:// not file:// right? On Thu, 8 Aug 2002, Andrew V. Romero wrote: > I am currently running Apache 2.0.39 and PHP 4.2.2 (module version) > under Win XP Home for offline testing of scripts. I have found that if > I try to load any php pages in netscape 7.0 (preview rele

Re: [PHP-WIN] Identifying data types in PHP

2002-07-30 Thread Rasmus Lerdorf
is_array On Tue, 30 Jul 2002, R.S. Herhuth wrote: > > Is there a command in PHP that can identify what datatype a variable > represents? Specifically I want to know if the variable is an Array. > > Thanks > Ron > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: htt

Re: [PHP-WIN] Trapping PHP errors

2002-07-09 Thread Rasmus Lerdorf
http://php.net/set_error_handler On Tue, 9 Jul 2002, Matt Babineau wrote: > Does anyone know of a way to trap PHP errors and have them automatically > emailed to an email address? I am trying to do some remote testing on a > script but the problem it is it's server to server interaction so I > c

Re: [PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread Rasmus Lerdorf
top 10 *? What is that supposed to be? Please go read the MySQL docs. -Rasmus On Tue, 18 Jun 2002, James Meers wrote: > Sorry, its not a PHP problem, it's a MySQL problem. > > I am trying to do a MySQL query below: > > select top 10 * from table order by record_number desc > > However, I

Re: [PHP-WIN] getting variables?

2002-06-18 Thread Rasmus Lerdorf
foreach($_POST as $name=>$value) { echo "$name = $value\n"; } On Tue, 18 Jun 2002, Renaldo De Silva wrote: > how can i get variables posted from a form without calling then distinctly. > > i want to get the names of all the variables the form has poster > automatically. > can that be done a

Re: [PHP-WIN] Ming experience anyone?

2002-06-13 Thread Rasmus Lerdorf
Never tried it on Windows, but it works well on Linux. On Thu, 13 Jun 2002, Michael Barker wrote: > I'm experimenting with Ming and not having any luck. > > I've uncomented the "extension = php_ming.dll" in php.ini as well as setting > the "extension_dir = ../correct/path" and "enable_dl = O

Re: [PHP-WIN] Negative timestamp

2002-05-21 Thread Rasmus Lerdorf
It is a limitation on Windows. On Mon, 20 May 2002, Karin van den Berg wrote: > Hi, > > I have a bit of a problem. I am trying to use a negative timestamp in > order to handle a birthdate. However, on my Win2k install, it doesn't > seem to work. I tried it on different PHP versions on different

RE: [PHP-WIN] server variables

2002-05-14 Thread Rasmus Lerdorf
Put a phpinfo() tag on a page and look through the available variables. Chances are it is in $HTTP_SERVER_VARS['CERT_XXX'] On Tue, 14 May 2002 [EMAIL PROTECTED] wrote: > Thanks, but it was not help, because PHP run on ISAPI mode, > and as manual says, getenv cannot be used in this mode. > Additi

Re: [PHP-WIN] php 4.2 and database conn

2002-05-14 Thread Rasmus Lerdorf
ODBC support is built-into the Windows version of PHP. You should be able to simply create a DSN and connect to that. For MySQL, make sure you uncomment the extension=mysql.dll in your php.ini file and it should work just fine. -Rasmus On Tue, 14 May 2002, Nicole Amashta wrote: > I have recen

Re: [PHP-WIN] Session - Cannot recall variable

2002-05-14 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file. On Tue, 14 May 2002, Donny Hariady wrote: > This is my first experience with PHP session manager. I try the following code: > > session_start(); > print($counter); > $counter++; > session_register("counter"); > > I found that PHP writes a sess_somet

Re: [PHP-WIN] Forms don't work

2002-05-11 Thread Rasmus Lerdorf
No idea, I don't actually do Windows. On 11 May 2002, Frank Pohl wrote: > [EMAIL PROTECTED] (Rasmus Lerdorf) wrote in > [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > > >> Still not working with tourning on register_globals. Got the error > >> message unde

Re: [PHP-WIN] Forms don't work

2002-05-11 Thread Rasmus Lerdorf
> Still not working with tourning on register_globals. Got the error message > undefined Variable, even phpmyadmin have the same problem. You didn't turn them on correctly then. Perhaps you edited the wrong php.ini file. Put a phpinfo() call on a page and check where PHP is looking for the php.

Re: [PHP-WIN] Forms don't work

2002-05-11 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file On 11 May 2002, Frank Pohl wrote: > Hi, > > first I have to excuse my bad english, but I have a problem and I hope I > can find help here. > I've installed the Xitami webserver and PHP, both in the newest versions. > At first everything seems to be f

Re: [PHP-WIN] stuck between operating systems & web servers ! ! !!

2002-05-07 Thread Rasmus Lerdorf
What are you doing that is Windows-specific? On Tue, 7 May 2002, [iso-8859-1] toby z wrote: > > ok ... im lost .. > > i've been working on my site i've xp & iis 5 & > php 4.1.2 > now the server that im going to launch my site on is > unix based .. which i think works with > apache a

Re: [PHP-WIN] results over multiple pages

2002-05-06 Thread Rasmus Lerdorf
heh ;) I'd love it if it did. But alas, LIMIT is actually a hack I came up with years ago for mSQL which was brought into MySQL and enhanced. If it ever makes it into MSSQL or Oracle I'll charge big-time royalties or something... -Rasmus On Mon, 6 May 2002, olinux wrote: > Does MSSQL not hav

Re: [PHP-WIN] Re: Why Global Variables turned off??

2002-05-03 Thread Rasmus Lerdorf
You can do this with: extract($_REQUEST, EXTR_SKIP) However, you are making some invalid assumptions here. Script variables get initialized after the request variables are automatically imported, so this overwrite switch could not be a high-level php.ini switch. You can do it with a user-spa

Re: [PHP-WIN] Apache 1.3.20 and PHP 4.1.2 on Win2k Server

2002-04-26 Thread Rasmus Lerdorf
I have never seen such an error, but I have also never run anything serious on a Windows server. Sorry, can't help you. -Rasmus On Fri, 26 Apr 2002, Stuart Dallas wrote: > Hi All, > > I've got a very strange problem. I have a dual processor server with the > above software configuration runnin

Re: [PHP-WIN] passing variables with 4.2

2002-04-26 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file and go read http://www.php.net/manual/en/security.registerglobals.php -Rasmus On Fri, 26 Apr 2002, Chris Dion wrote: > Is there something I am missing here. With php 4.1.2 i can do > blah.php?action=foo but with 4.2 I can't. What am I doing wrong?

Re: [PHP-WIN] PHP + IIS Problem

2002-04-14 Thread Rasmus Lerdorf
Turn on register_globals in your php.ini file or use $_GET['a'] On Sun, 14 Apr 2002, Dian Nedeltchev wrote: > Hello, > i have a problem with php and IIS. > I'm not sure where is the real problem, but when I want to pass a parameter > to web page > and after that print the value of this parameter

Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Rasmus Lerdorf
06:50 PM 4/10/02 -0700, Rasmus Lerdorf wrote: > >There is no Apache2 support for PHP yet. Coming in a future version. > >That can't be right, I'm running Apache2 with PHP right now. > > Scott > > > > -- > PHP Windows Mailing List (http://www.php.net

Re: [PHP-WIN] Tired of fighting - function doesn't exist !!

2002-04-10 Thread Rasmus Lerdorf
First of all, why not just use fsockopen() if all you need to do is connect to a simple tcp socket and send a string? Second, there is no socket() function. Please read the fine manual: http://www.php.net/manual/en/ref.sockets.php -Rasmus On Wed, 10 Apr 2002, Quique wrote: > Sorry 4 long pos

Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Rasmus Lerdorf
There is no Apache2 support for PHP yet. Coming in a future version. -Rasmus On Wed, 10 Apr 2002, Gaylen Fraley wrote: > When trying to set up PHP with Apache 2, the following error occurs: > > Syntax error on line 175 of /Apache2/conf/httpd.conf: > Cannot load /php/sapi/php4apache.dll into s

Re: [PHP-WIN] new to PHP...have some questions

2002-04-03 Thread Rasmus Lerdorf
foreach($_POST as $name=>$value) $$name = $value; On Wed, 3 Apr 2002, Matt Babineau wrote: > I have been playing with the $_POST variable > > how would I go about looping over the $_POST variable to retrieve the > variable and values? > > I can do this: > > <% > > if (count($_POST) > 0) { > /*s

RE: [PHP-WIN] PHP / WinNT 4.0 / Apache - what is most stabile?

2002-03-27 Thread Rasmus Lerdorf
Well, the standalone CGI version is the most stable and will likely always be the most stable as it has the least integration with the destabilizing forces around it. It is also of course the slowest. -Rasmus On Wed, 27 Mar 2002, Alan McKay wrote: > Sure, I guess I could do that, but I was hop

Re: [PHP-WIN] PHP / WinNT 4.0 / Apache - what is most stabile?

2002-03-27 Thread Rasmus Lerdorf
Why don't you test the different versions and let us know which is more stable. On Windows stability is a very subjective thing. -Rasmus On Wed, 27 Mar 2002, Alan McKay wrote: > Folks, > > This is kind of frustrating. > > I'm reading the install.txt and near the top it explains about the 2 ver

Re: [PHP-WIN] (help)random image??

2002-03-21 Thread Rasmus Lerdorf
I actually just hacked one up. This hooks into a Gallery (gallery.sourceforge.org) album directory and picks out files with the string, "sized", in their filenames. It then creates an array such that the more recent pictures get more entries in the array which means when I pick a random image I a

Re: [PHP-WIN] PHP 4.1.2 for Win32 - File Upload Exploit

2002-03-04 Thread Rasmus Lerdorf
There are no known win32 exploits for this particular bug. At some point we will have a Windows version of 4.1.2, but the Windows version always lags behind by a bit. You will just have to wait. As far as I am concerned, an ISP running a Windows web server has much bigger problems than this par

Re: [PHP-WIN] include_once support

2002-03-02 Thread Rasmus Lerdorf
Sure On Sun, 3 Mar 2002, crizz wrote: > Is php/4.1.1 supports include_once? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP Authentication

2002-02-21 Thread Rasmus Lerdorf
Well, then you simply can't use HTTP Authentication from PHP. The web server doesn't expose the required information to the CGI environment. It isn't PHP's fault. -Rasmus On Thu, 21 Feb 2002, Christoph Grottolo wrote: > > "Rasmus Lerdorf" <[EMAIL PROT

Re: [PHP-WIN] PHP Authentication

2002-02-21 Thread Rasmus Lerdorf
HTTP Auth does not work with the CGI version of PHP which is what I presume you are using on Windows. Switch back to UNIX. On 21 Feb 2002 [EMAIL PROTECTED] wrote: > We just switched servers from Unix to Windows NT and all our authentication stopped >working. It brings up an internal server err

Re: [PHP-WIN] $PHP_SELF

2002-01-20 Thread Rasmus Lerdorf
Are you inside a function when you do this? If so, make sure you use global $PHP_SELF; at the top of the function. -Rasmus On Sun, 20 Jan 2002, Aasmund Sæter wrote: > I have been trying to get $PHP_SELF to display the filename, but I only get > "Warning: Undefined variable: PHP_SELF ". Isn't t

Re: [PHP-WIN] syntax, 3 or 4?

2002-01-11 Thread Rasmus Lerdorf
There is no difference between 3 and 4 as far as this script is concerned. On Sat, 5 Jan 2002, Paul Wallace wrote: > Hello, > Can anyone clarify if this code below is indeed PHP v4 or 3? It will > save significant rigmarole. > Where can I find online documentation for v3? I have this 'PH

Re: [PHP-WIN] Image Magick on Windows NT?

2001-12-27 Thread Rasmus Lerdorf
You need to use GD2. GD1 dithers down to 8-bit colour. There should be a GD.DLL based on GD2 floating around out there somewhere. -Rasmus On Thu, 27 Dec 2001, Damiano Ferrari wrote: > I wrote a script that will create a thumbnail page for all the pictures in a > given directory. The thumbnai

Re: [PHP-WIN] security flaws

2001-12-10 Thread Rasmus Lerdorf
All known flaws have obviously been fixed. I guess you are looking for a list of unknown flaws? That's a bit hard to provide. On Mon, 10 Dec 2001 [EMAIL PROTECTED] wrote: > what are all the security flaws of PHP? also...what other languages are more > secure? thanks. > -- PHP Windows Ma

Re: [PHP-WIN] Apache Crashes when using ImageTTFText()

2001-09-23 Thread Rasmus Lerdorf
What bugs in 4.0.6? It simply looks for the ttf fonts in a different directory. -Rasmus On 23 Sep 2001, Oliver Ruf wrote: > Hello > > I set up Apache 1.3.20 with PHP 4.05 due to the bugs in PHP 4.06 with the > ImageTTFText() function. > > Now my problem is, Apache is running fine, also PHP run

Re: [PHP-WIN] Apache / PHP / IIS & Win2K Installation problem

2001-09-08 Thread Rasmus Lerdorf
Please read the Apache documentation. There is a Port directive you use for this. -Rasmus On Sat, 8 Sep 2001, Richard Powys wrote: > I now have to add to my problems, Apache is now using port 80 and is > conflicting with > my default website. Is there anyway to change this because I cant use t

Re: [PHP-WIN] Re: Status of a stable ISAPI??

2001-09-07 Thread Rasmus Lerdorf
Windows development is tough because it includes a lot of black box programming. You send stuff into the various M$ APIs and it spews stuff back at you and from that you try to guess what is happening in the black box. On UNIX systems you can trace all the way down to the kernel level and defini

Re: [PHP-WIN] Re: Is there any way to fork with PHP?

2001-08-25 Thread Rasmus Lerdorf
> > Like in Perl, is there any way to fork with php? I couldn't find any > answers > > to this question... > > Not that i know of... this I suspect is primarily to do with the fact that > PHP was developed as a Web Scripting language and thus has no need to thread There is a pcntl_fork() function

Re: [PHP-WIN] array problem??

2001-07-29 Thread Rasmus Lerdorf
On Mon, 30 Jul 2001, delol@2k@php¤¤.. wrote: > $a = array("a","b","c"); > > > for ($c=0 ; $c < count($a) ; ++$c);{ Get rid of the ; there ^^^ -Rasmus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP-WIN] Orangey GD!

2001-07-24 Thread Rasmus Lerdorf
Hrm, it doesn't look more orange after I click "make changes" for me. On Wed, 25 Jul 2001, G Schneider wrote: > Hi there, > > Here's a strange one for you: My provider just installed the latest version > of PHP on the server - and now whenever GD is used to alter images, it turns > them *orange*

Re: [PHP-WIN] List setup

2001-07-24 Thread Rasmus Lerdorf
No, this won't happen. And there are all sorts of reasons why. Please read through http://www.unicom.com/pw/reply-to-harmful.html if you are interested in them -Rasmus On Tue, 24 Jul 2001, Michael Kelley wrote: > From my experiences with this list I see a lot of replies (actually I > DON'T S

Re: [PHP-WIN] Can phpinfo() be disabled?

2001-07-24 Thread Rasmus Lerdorf
> Does anybody know how to disable php build-int function: phpinfo()? Or, it > cannot be disabled? > Because this function display so much information about the server to > others. It only displays this if you call the function, and every bit of information is available through other means anyway

Re: [PHP-WIN] Persistent connections: To choose or Not?

2001-07-20 Thread Rasmus Lerdorf
CGI, Apache or ISAPI version of PHP? On Fri, 20 Jul 2001, Ventsyslav Vassilev wrote: > Recently i have faced the following issue: > I have a site running Apache 1.3.19 under Windows 2000 pro/PHP 4.0.6./Oracle > 8i > After a little load Apache crashes with ORA-00020 error - maximum number of > Or

RE: [PHP-WIN] Anyone else going to OSCON?

2001-07-17 Thread Rasmus Lerdorf
; Licking County, Ohio, USA > 740-349-3631 > Aliquando et insanire iucundum est > > > > -Original Message- > > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 17, 2001 1:20 PM > > To: Asendorf, John > > Cc: Php-Windows (E-mail) > &

Re: [PHP-WIN] Anyone else going to OSCON?

2001-07-17 Thread Rasmus Lerdorf
Did you check the OSCON web site and look at the tutorials and sessions? There will be dozens of PHP people there. -Rasmus On Tue, 17 Jul 2001, Asendorf, John wrote: > Is anyone else going to OSCON? Or am I going to be the only PHP person > there? > > John > > - > John Asen

Re: [PHP-WIN] HTTP_GET_VARS/HTTP_POST_VARS

2001-04-23 Thread Rasmus Lerdorf
> Could someone please put down the three or four lines of code that will > dump all the variables for the above two objects? foreach($HTTP_GET_VARS as $key=>$val) echo "$key = $val\n"; foreach($HTTP_POST_VARS as $key=>$val) echo "$key = $val\n"; -Rasmus -- PHP Windows Mailing List (http://ww

Re: [PHP-WIN] What does an @ sign before a VARIABLE do?

2001-04-20 Thread Rasmus Lerdorf
> In the PHOBUILDER tutorial on sessions the sample code has a @ sign before > some of the variable names.. like: > if (@$userid && @$password) { >$res = @mysql_query("SELECT userid FROM users WHERE userid='$userid' AND > password='$password'"); >if(@mysql_num_rows($res) != 0) { > $ve

Re: [PHP-WIN] Multi-threaded pages in PHP??

2001-04-19 Thread Rasmus Lerdorf
> Hey is there a way to spin off a thread in PHP to do some large amount of > work that can communicate with the program via Session Variables?? No, the closest you have is a feature called ticks. Here is an example: function foo($str) { static $i = 0; print "$str: $i\n";

Re: [PHP-WIN] PDF_open_memory_image()

2001-04-17 Thread Rasmus Lerdorf
That function was not in PHP 4.0.4pl1. You need a recent build. -Rasmus On Tue, 17 Apr 2001, Christian Wenz wrote: > Hello there, > > just before I file this as a bug: Can someone reproduce that calling > PDF_open_memory_image w/ PHP 4.0.4pl1 always results in "call to > undefined function"? I

Re: [PHP-WIN] Mozilla PHP/JS Integrated Development Environment

2001-04-14 Thread Rasmus Lerdorf
ActiveState likes PHP just fine. -Rasmus On Sat, 14 Apr 2001, Dickerson, Monty wrote: > Hey, just read (on Mozilla.org) about ActiveState's new Komodo IDE built on > Mozilla. > http://www.activestate.com/Products/Enterprise/ASPN_Komodo/index.html#featur > es > Seems ActiveState doesn't like PHP

Re: [PHP-WIN] Server Side Includes?

2001-04-13 Thread Rasmus Lerdorf
> I have tried looking through the documentation for this but couldn't find > anything. Could also be I am not searching with the "correct" words. I would > like to know if you can do Server Side Includes like in shtm files? > Example: > > Is there a equivalent in PHP to accomplish th

Re: [PHP-WIN] About mysql

2001-04-03 Thread Rasmus Lerdorf
uh, what? On Tue, 3 Apr 2001, yanshuldg wrote: > There're two result sets of the same structure created by mysql_query(), > How can I combine them into one? > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [E

RE: [PHP-WIN] Resize function jpeg/gif

2001-01-13 Thread Rasmus Lerdorf
Get an older version of GD that does. Or grab some of the retrofitted versions that are floating around out there that support gif, jpg and png. -Rasmus On Sun, 14 Jan 2001, Martin Verstegen wrote: > Found out: > > The function "Imagecopyresized" is the answer. But what a pity, the provider >