a nice separation between the two, so you don't need to match
build environments there either.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
particular tiny buffer overflow.
-Rasmus
On Mon, 4 Mar 2002, Fabio De Martin wrote:
> Where can I find a documentation about the PHP exploit regarding file
> uploads that excludes the WIN32 version from this problem?
> On e-matters security advisory
> (http://security.e-matters.de/advis
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
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 to
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
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
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/php4apa
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 l
Well, you are extremely lucky if you have the Apache module version of PHP
working with Apache 2. It has been hit and miss version-wise for a while.
It will be solidified in a future version. Perhaps 4.2, but probably not
stable until 4.3.
-Rasmus
On Wed, 10 Apr 2002, Helphand wrote:
> At
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
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
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
-space level function like extract() because in this case
you can choose when to pull the request variables into your script.
I actually prefer doing the opposite. Something like:
This fetches only the variables I have defined into the global symbol
table.
-Rasmus
On Fri, 3 May 2002, Luis Ferro
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:
> D
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
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
ing for the php.ini file and also check the status of the
register_globals setting on that page.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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 h
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
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
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
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
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
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
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
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
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
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: i
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
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
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 w
> 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 (ht
ou
don't hire a newspaper writer because his resume says he knows how to
type. You look at what he has written. He may not be able to type at
all.
-Rasmus
On Wed, 16 Oct 2002, RS Herhuth wrote:
>
> I hear from a lot of different sources that PHP is the next "Big" thing. I
&
> Rasmus, just wondering, any species requirements from that moneky to learn
> PHP? It would be interesting to see a gorrila and a lemur coding in
> PHP, side by side :)
First, it is a given the person has significant experience with C, C++ or
Java, Perl or Python or Ruby, Apache, and
et any errors when I compile - what do you use for your
> build?
The result is efreed in that case. RETURN_STRINGL is a macro that assigns
result to return_value and return_value is implicitly efreed by PHP.
That's the only reason you are not getting a warning in that case. For
other stuff that you
$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
> 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
--
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
>
> --
Ah, you meant PHP users. I tend to think of PHP developers and users as
being pretty much one and the same because in many cases they are.
-Rasmus
On Tue, 17 Jul 2001, Asendorf, John wrote:
> I'm signed up for two of the tutorials and any session I can get to... As
> far as I
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
other means anyway so I don't see you
gaining anything by turning it off. But sure, you can disable it by
putting:
disable_functions = phpinfo
In your php.ini file.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
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
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*
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: [EMA
thread
There is a pcntl_fork() function in the pcntl extension in CVS.
-Rasmus
--
PHP Windows 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]
rces
than a focus shift of the existing ones.
-Rasmus
On Fri, 7 Sep 2001, Eric R. Gavin wrote:
> > Does the PHP staff lack resources to develop the Win32 environment
> > sufficiently? (I would help if I knew how)
> > Is there a database of current issues, owner of issue and due date?
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
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 runn
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
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 director
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
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_SE
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
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
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:
>
> heade
the page on them without giving them a
chance to read it? Normally that is considered very bad UI design.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
a equivalent in PHP to accomplish the same thing?
Try virtual()
-Rasmus
--
PHP Windows 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]
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 Acti
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
>
10
11
count: 3
12
13
14
count: 4
15
16
17
count: 5
18
19
count: 6
It's not multithreading, but it is a way to go and check on some
long-running non-blocking process every now a
word'");
>if(@mysql_num_rows($res) != 0) {
> $verified_user = $userid;
> session_register("verified_user");
>}
> }
> I've never seen that before and am curious what it does. I've seen it
> before function calls, but never before variables.
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
en and not rely exclusively on the
session cookie since that cookie is browser-instance-wide.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing to do with them, but as far as I
> can work out from the error message this is my ISP's mail server
> bouncing messages from the list - is this right?
That looks like an off-topic bounce to me. The PHP list mail server
rejects off-topic posts to try to keep the volume down.
-Rasmus
-
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: [
ions/WinCacheForPHP. The extension documentation is
>> available at
>> http://learn.iis.net/page.aspx/678/using-windows-cache-extension-for-php/ .
>>
>
> At what stage, if at all, would this be available via PECL?
Impossible without a license change. There are some dumb rest
g, that is likely the cause.
-Rasmus
Libor Jelinek wrote:
> Please look at these articles what I mean... PHP should contains live
> interactive console (like Perl or Python have also) to test short
> snippets of code.
>
> http://blog.thinkphp.de/archives/44-More-PHP-power-on-the
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 ther
t; along with other standard extensions?
Current svn trunk is quite stable with 5.4, at least on UNIX systems. I
have no idea about Windows.
-Rasmus
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
76 matches
Mail list logo