Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Bad day? /frank 1 nov 2006 kl. 09.55 skrev Mel: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why so slow?

2006-11-01 Thread Robert Cummings
On Wed, 2006-11-01 at 00:55 -0800, Mel wrote: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php That's a bit like asking us to read your mind. We'd only be guessing since we can't see your code and you haven't told us what your site does. What I can say is

Re: [PHP] why so slow?

2006-11-01 Thread Mel
So do you mean that's it is ok and not slow? On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote: On Wed, 2006-11-01 at 00:55 -0800, Mel wrote: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php That's a bit like asking us to read your mind. We'd only be

Re: [PHP] why so slow?

2006-11-01 Thread Mel
This is my first php site and I have no idea where to look for a reason! On Nov 1, 2006, at 1:07 AM, Frank Arensmeier wrote: Bad day? /frank 1 nov 2006 kl. 09.55 skrev Mel: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php -- PHP General Mailing List

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Stut
[EMAIL PROTECTED] wrote: Having a problem here trying to redirect some old pages. I've recently noticed using a server header check that my 301 redirects in PHP are returning 302 instead. I'm using the following code: header('HTTP/1.1 301 Moved Permanently'); header('Location: newurl');

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Maybe it's the 18 k of JavaScript from Google that slows your page down? Why not load this script locally from your server? /frank 1 nov 2006 kl. 10.26 skrev Mel: So do you mean that's it is ok and not slow? On Nov 1, 2006, at 1:09 AM, Robert Cummings wrote: On Wed, 2006-11-01 at 00:55

Re: [PHP] why so slow?

2006-11-01 Thread Robert Cummings
On Wed, 2006-11-01 at 01:26 -0800, Mel wrote: So do you mean that's it is ok and not slow? I'm saying we can't ascertain why it's so slow since we don't have enough information. Cheers, Rob. -- .. | InterJinn Application Framework -

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
My suggestion: stripp out the JS from Google. Test you page again. Should the page load as slowly as before, it might have to do with PHP. Then, give us more details about your script) /frank 1 nov 2006 kl. 10.53 skrev Robert Cummings: On Wed, 2006-11-01 at 01:26 -0800, Mel wrote: So do

Fwd: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Please send a CC of your answer to the PHP list as well... /frank Vidarebefordrat brev: Från: Toby Osbourn [EMAIL PROTECTED] Datum: onsdag 1 nov 2006 10.57.17 GMT+01:00 Till: Frank Arensmeier [EMAIL PROTECTED] Ämne: Re: [PHP] why so slow? Yeah it will be that hit counter or whatever it is

Re: [PHP] why so slow?

2006-11-01 Thread Mel
I took the Google stuff out. I can't tell if it's faster now. I don't think it's very consistent. Sometimes it loads pretty fast and sometimes it gets stuck in the right corner! I don't think I have seen this happen with any other site! On Nov 1, 2006, at 2:12 AM, Frank Arensmeier wrote: My

Re: [PHP] why so slow?

2006-11-01 Thread Mel
Here is the code for a testing page: http://www.squareinch.net/ client_testing.php?art=btw_logo.jpg I am sure it is a mess since it is my first!!! table width=100% height=100% border=0 cellpadding=0 cellspacing=0 tr td align=center valign=middle bordercolor=#FF !--

Re: [PHP] why so slow?

2006-11-01 Thread Jürgen Wind
Frank Arensmeier wrote: My suggestion: stripp out the JS from Google. Test you page again. Should the page load as slowly as before, it might have to do with PHP. Then, give us more details about your script) /frank 1 nov 2006 kl. 10.53 skrev Robert Cummings: On Wed,

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
Why do you have html tags before your doctype declaration? Anyway, I am not sure if your problem has to do with PHP after all. Again, if you think that it is related to PHP, show us some code. There are still other things to consider (server, external files, CSS - neither of those things

Re: [PHP] No Error Messages

2006-11-01 Thread Sancar Saran
On Tuesday 31 October 2006 19:00, Richard Lynch wrote: Hi again, Its my bad, sorry for interruption, I use ajax things and use E_ALL error level. Sometimes I use @ before variables to disable notices because it creates problem in ajax. And this time I use @ for my entire Page containers. And

[PHP] Re: [BULK] [PHP] why so slow?

2006-11-01 Thread clive
Mel wrote: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php perhaps its the server that its hosted on, is it a dedicated machine,shared or a virtual private server. It could also be the bandwidth the server has, It could be the route taken to get to the

Re: [PHP] Re: [BULK] [PHP] why so slow?

2006-11-01 Thread Mel
:) I know it is a dedicated server on westhost.com I wouldn't know how to check for the kind of connection! thanks, and all the best... On Nov 1, 2006, at 3:10 AM, clive wrote: Mel wrote: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php perhaps its the

Re: [PHP] Re: [BULK] [PHP] why so slow?

2006-11-01 Thread Dave Goodchild
The guys are right, there are many variables that could be affecting this. However, get rid of those tags before body and clean up your code - it does not validate as html 4.01. The DOCTYPE should be the very first thing in the page. Once you have amended these, revalidate (validator.w3c.org).

Re: [PHP] Re: [BULK] [PHP] why so slow?

2006-11-01 Thread Mel
ok, thank you. I am on it! On Nov 1, 2006, at 3:24 AM, Dave Goodchild wrote: The guys are right, there are many variables that could be affecting this. However, get rid of those tags before body and clean up your code - it does not validate as html 4.01. The DOCTYPE should be the very

Re: [PHP] why so slow?

2006-11-01 Thread Robin Vickery
On 01/11/06, Mel [EMAIL PROTECTED] wrote: Here is the code for a testing page: http://www.squareinch.net/ client_testing.php?art=btw_logo.jpg I am sure it is a mess since it is my first!!! [] include(http://www.squareinch.net/include/misc.inc;); Don't do that - publishing your

Re: [PHP] why so slow?

2006-11-01 Thread Robin Vickery
On 01/11/06, Mel [EMAIL PROTECTED] wrote: Thank you so much. Yes, I was afraid of putting my passwords... I can move the include file outside the directory, but what do you mean by include the file directly Please respond to the list What I meant was to do this:

Re: [PHP] why so slow?

2006-11-01 Thread Mel
ok I have fixed my html and include http://www.squareinch.net/client_testing_html401.php could you please help me figure out how to change the query in box 4 so that it shows the url only when the link is active? On Nov 1, 2006, at 5:11 AM, Robin Vickery wrote: On 01/11/06, Mel [EMAIL

Re: [PHP] why so slow?

2006-11-01 Thread Dave Goodchild
Take out the comment before the DOCTYPE. There should be nothing before it.

Re: [PHP] why so slow?

2006-11-01 Thread Mel
I have this is the page I am working on right now and it is valid html 4.01 http://www.squareinch.net/client_testing_html401.php On Nov 1, 2006, at 5:32 AM, Dave Goodchild wrote: Take out the comment before the DOCTYPE. There should be nothing before it.

[PHP] Changing the Action attribute of Form

2006-11-01 Thread sues
I need to pass control of a form to either a page that accesses our database, and displays the data, OR to a page that contains static content. The ACTION attribute will then depend on the contents of 1 of the input fields in the form, which is a SELECT type of input. Here is an example of

[PHP] Re: Changing the Action attribute of Form

2006-11-01 Thread Jo�o C�ndido de Souza Neto
scipt language=javascript function change_action(obj) { if (obj.test_item.value=1) obj.action=page_1.php; if (obj.test_item.value=2) obj.action=page_2.php; return true; } /script form name=test action=some_page.php method=get name=test select name=test_item size=1

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-11-01 10:20:07 -0500: I need to pass control of a form to either a page that accesses our database, and displays the data, OR to a page that contains static content. The ACTION attribute will then depend on the contents of 1 of the input fields in the form, which

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Kris Leech
I think Stut is right, you only need the one header! Stut wrote: [EMAIL PROTECTED] wrote: Having a problem here trying to redirect some old pages. I've recently noticed using a server header check that my 301 redirects in PHP are returning 302 instead. I'm using the following code:

RE: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Edward Kay
Set the action attribute to be the same page as the form (or a separate 'handler' PHP page). This script can then examine the input supplied by the submission and then redirect the user to the appropriate page with an HTTP header. I'd avoid using JavaScript for this sort of thing. It can be

RE: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Edward Kay
No problem. A simple script to do what you want could be: ?php if (isset($_REQUEST['test_item']) { $test_item = $_REQUEST['test_item']; $redirect_page = ''; switch ($test_item) { case '1': $redirect_page = 'page1.php'; break; case '2': $redirect_page =

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Ed Lazor
Javascript: Have the submit button call a JS function which would check the state of the select and set the action appropriately before submitting the form. PHP: submit the result to a dispatcher script that'll redirect to one of the targets based on what has arrived in the

Re: [PHP] php.ini ini_set

2006-11-01 Thread Ed Lazor
I think that's what he's trying, but he's missing the fact that he needs to include the actual From: that you've specified. In other words, I think he's doing: mail([EMAIL PROTECTED], Subject, Body, [EMAIL PROTECTED]); instead of: mail([EMAIL PROTECTED], Subject, Body, From:[EMAIL

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Dave Goodchild
Example HTTP redirect: header('Location: http://www.google.com;);

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread David Giragosian
Wasn't there a thread recently about a webpage having multiple forms on it, each of course with its own action attribute? Might be another solution here. David On 11/1/06, Dave Goodchild [EMAIL PROTECTED] wrote: Example HTTP redirect: header('Location: http://www.google.com;);

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread ianevans
Just a shot in the dark, but it's possible that providing a Location header resets the status response. Try swapping your two header calls. Stut: Flipping the headers doesn't work, unfortunately, running wget still shows a 302 being returned. Kris: You need both headers. Just giving the

[PHP] Directory name

2006-11-01 Thread Sugrue, Sean
I'm trying retrieve a directory name and a filename with a form. I want to use input type file so the user can browse for the file but keep the whole directory name. Any help Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Microsoft Partners With Zend

2006-11-01 Thread Daevid Vincent
No comments? http://it.slashdot.org/it/06/10/31/2047209.shtml Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. But everyone has a price, and you through enough money at something and you can make

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Robert Cummings
On Wed, 2006-11-01 at 11:37 -0800, Daevid Vincent wrote: No comments? http://it.slashdot.org/it/06/10/31/2047209.shtml Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. I'm not worried, you

Re: [PHP] why so slow?

2006-11-01 Thread M.Sokolewicz
No you have not, otherwise we would not be seeing: !-- * start header -- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head when we SHOULD be seeing !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Ed Lazor
Have the lighttpd guys come up with any ideas? On Nov 1, 2006, at 10:24 AM, [EMAIL PROTECTED] wrote: Just a shot in the dark, but it's possible that providing a Location header resets the status response. Try swapping your two header calls. Stut: Flipping the headers doesn't work,

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
It's great to see Microsoft be so supportive of PHP. Go Andi! :) Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. But everyone has a price, and you through enough money at something and you

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 1:37 pm, Daevid Vincent wrote: http://it.slashdot.org/it/06/10/31/2047209.shtml I think MS and PHP Devs have met before, in the hopes of getting better integration and performance. I'm sure this is a boon and a feather in their cap for Zend, but, ultimately, I don't see

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
ps... I wonder if .NET will ever support PHP *GRIN* On Nov 1, 2006, at 11:59 AM, Ed Lazor wrote: It's great to see Microsoft be so supportive of PHP. Go Andi! :) Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not

Re: [PHP] Directory name

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 12:50 pm, Sugrue, Sean wrote: I'm trying retrieve a directory name and a filename with a form. I want to use input type file so the user can browse for the file but keep the whole directory name. I don't think you *can* get a directory name out of standard HTML

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Richard Lynch
2On Wed, November 1, 2006 9:20 am, sues wrote: I need to pass control of a form to either a page that accesses our database, and displays the data, OR to a page that contains static content. The ACTION attribute will then depend on the contents of 1 of the input fields in the form, which is

RE: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 10:09 am, Edward Kay wrote: $redirect_url = 'http://www.example.com/path/to/' . $redirect_page; header('Location:'.$redirect_url); exit(); Rant #43 I will never understand why one would waste bandwidth and bounce the server/user/browser/user/browser/server back

Re: [PHP] why so slow?

2006-11-01 Thread John Nichel
Mel wrote: I have this is the page I am working on right now and it is valid html 4.01 http://www.squareinch.net/client_testing_html401.php Bzzttt. No, it isn't. The people here have been pretty accommodating of you so far, but if you continue to *not* do any research yourself,

Re: [PHP] why so slow?

2006-11-01 Thread Frank Arensmeier
In fact, validator.w3.org validates the hmtl page at http:// www.squareinch.net/client_testing_html401.php as valid 4.01 html. So obviously, html comments are allowed before the doctype declaration. Anyway, the page contains almost one hundred (haven't count them) totally unnecessary empty

Re: [PHP] why so slow?

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 2:55 am, Mel wrote: Could you think of why my site loads so slowly? http://www.squareinch.net/home.php Install Firefox and an HTML Validator. Look at your View Source Your !doctype isn't even the first line! :-) That urchintracker() stuff will probably kill

Re: [PHP] Stupid question of the day (Editing text file in $HOME via web)

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 9:42 pm, Google Kreme wrote: My first guess would be to check out the various panel solutions for having a web interface that webhosts provide to edit what is essentially a simple text file, which configures the web server, mail server, ftp server, etc. These all

RE: [PHP] php.ini ini_set

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 8:59 pm, Beauford wrote: That doesn't work. Here is what I have. mail($email,$subject,$body,$from); Which is (senders address, the subject, the body of the message, and the from address) The from address is taken from this, and I added the -f in front of it.

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 12:24 pm, [EMAIL PROTECTED] wrote: Just a shot in the dark, but it's possible that providing a Location header resets the status response. Try swapping your two header calls. Stut: Flipping the headers doesn't work, unfortunately, running wget still shows a 302

Re: [PHP] Add buttons on the fly

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 3:46 pm, Wang Chen wrote: I would like to add two buttons on a page form infomation confirmation, however, the html code in php nest can not be known by browser if I put form xxx input xx /form into there. Besically, there is a mail form to enter iterm

Re: [PHP] Remote Robot Control with PHP

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 2:54 pm, Prathaban Mookiah wrote: alone to do the entire job due the high delay it takes to connect to the telnet port on the robot, (I adopted the PHPTelnet class written by Antone Roundy - http://www.geckotribe.com/php-telnet/), I could not resist using it for

[PHP] OO website/program doubt

2006-11-01 Thread Meghdad Azriel
Hello, The objects in an OO website/program is always alive in the session, or they die at the end of the execution of each page? and what about making something like this: front-building-engine in javascript AJAX tells to PHP the events AJAX request and load data from PHP PHP sends

Re: [PHP] Manually Inserted Row

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 1:20 pm, Keith Spiller wrote: RE: Manually Inserted Row I'm using PHP to retrieve the values for the manual insert... I originally tried using an array created from the mysql query and adding one row manaually and then sorting the multidimensional array. As

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Sancar Saran
On Wednesday 01 November 2006 21:37, Daevid Vincent wrote: No comments? http://it.slashdot.org/it/06/10/31/2047209.shtml Well once upon a time one of great M$ exec say We can write better software than OSS). After more than 3 or 4 years we still waiting better Browser, Web Server etc. I do

Re: [PHP] Directory name

2006-11-01 Thread Ed Lazor
I don't think web browsers are going to send you the name of the directory the file comes from. On Nov 1, 2006, at 10:50 AM, Sugrue, Sean wrote: I'm trying retrieve a directory name and a filename with a form. I want to use input type file so the user can browse for the file but keep the

Re: [PHP] OO website/program doubt

2006-11-01 Thread Ed Lazor
No variable is part of session data, unless you specifically add it yourself. Sorry, can't answer to AJAX, haven't had time to play with it. On Nov 1, 2006, at 12:50 PM, Meghdad Azriel wrote: Hello, The objects in an OO website/program is always alive in the session, or they die at

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Robert Cummings
On Wed, 2006-11-01 at 23:08 +0200, Sancar Saran wrote: On Wednesday 01 November 2006 21:37, Daevid Vincent wrote: No comments? http://it.slashdot.org/it/06/10/31/2047209.shtml Well once upon a time one of great M$ exec say We can write better software than OSS). After more than 3 or 4

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
And writing windows native applications with php under Visual Studio may be interesting... I use RealBasic a lot for cross-platform development... it would be cool if PHP were the base language, instead of Basic *grin* -Ed -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] OO website/program doubt

2006-11-01 Thread Richard Lynch
On Wed, November 1, 2006 2:50 pm, Meghdad Azriel wrote: The objects in an OO website/program is always alive in the session, or they die at the end of the execution of each page? They die and are resurrected like zombies on the next page. The Resurrection is slightly more complicated than

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Kevin Waterson
This one time, at band camp, Ed Lazor [EMAIL PROTECTED] wrote: ps... I wonder if .NET will ever support PHP *GRIN* or perhaps something to counter php-gtk... win32php that would would be interesting Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a

RE: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 6:22 pm, Daevid Vincent wrote: There is nothing to re-compile here. The command line has an existing flag for you to specify the php.ini file, or to override any setting[s] within the php.ini file. Mebbe so, but that's equally obnoxious to pass this command line

[PHP] Closing a connection to browser without exiting the script

2006-11-01 Thread David Négrier
Hello there, I'm having a somewhat unusual question here, and I cannot find any way to solve it. I have a PHP page that displays a message, and then, performs a very long operation. Note that it displays the message first. I do not intend to give some feedback to the user when the operation

RE: [PHP] OO website/program doubt

2006-11-01 Thread bruce
yo rich (or others)... does php provide the ability to store objects in a session var -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 1:16 PM To: Meghdad Azriel Cc: php-general@lists.php.net Subject: Re: [PHP] OO website/program

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread tg-php
http://www.winbinder.com much better than GTK if you work on Windows platforms and want standalone PHP apps :) And I can't find it now, but a few years ago when I was dipping my toe into the ASP.NET world to try to be compliant with Existing standards in a company I worked for (before

RE: [PHP] PHP IMAP with Attachments!?

2006-11-01 Thread WeberSites LTD
Maybe this can help PHP MIME Decoder. This class decodes Mime Encoded email message. Attachments are stored in a directory. Works with Multipart/alternative, multipart/mixed etc. http://www.weberdev.com/get_example-1607.html -Original Message- From: Andy [mailto:[EMAIL PROTECTED]

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-01 Thread Ed Lazor
Unless you want to pre-parse set_ini() for constants differently than set_ini() for variables. [shudder] It sounds like we just need support for pre-parser commands. You end up with one set of variables, but now you have the opportunity to change attributes of the environment before script

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-01 Thread Ed Lazor
dejavu! This thread was just on the mailing list recently... check the mailing list archives. -Ed On Nov 1, 2006, at 1:24 PM, David Négrier wrote: Hello there, I'm having a somewhat unusual question here, and I cannot find any way to solve it. I have a PHP page that displays a

RE: [PHP] Job Opening

2006-11-01 Thread WeberSites LTD
You should also post here : PHP MySQL Jobs and Projects : http://www.weberforums.com/forum20.html -Original Message- From: Larry Garfield [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 5:16 AM To: php-general@lists.php.net Subject: [PHP] Job Opening Well since the

Re: [PHP] OO website/program doubt

2006-11-01 Thread Ed Lazor
Yes. Check the mailing list archive. We just had a discussion about 2 weeks ago that talked about this and gave a few examples. On Nov 1, 2006, at 1:30 PM, bruce wrote: yo rich (or others)... does php provide the ability to store objects in a session var -Original Message-

Re: [PHP] OO website/program doubt

2006-11-01 Thread Kevin Waterson
This one time, at band camp, bruce [EMAIL PROTECTED] wrote: does php provide the ability to store objects in a session var yes http://phpro.org/tutorials/Introduction-to-PHP-Sessions.html#8 Kevin -- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread ianevans
Write a quick-hack Perl script to just do a 301 and Location and see if Perl+lighthttpd gets you a 302 or a 301. Did as you suggested and perl+lighttpd produces the 301 as expected. So the unwanted 302 is just lighttpd+php. This seems to be connected to http://bugs.php.net/bug.php?id=36705

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Daevid Vincent
-Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:05 PM Cc: Daevid Vincent; PHP General Subject: Re: [PHP] Microsoft Partners With Zend ps... I wonder if .NET will ever support PHP *GRIN* I guess that's sorta what I'm afraid of...

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Jay Blanchard
[snip] I guess that's sorta what I'm afraid of... PHP# (like the did to Java - J++ - C# ) Don't get me wrong. C# is a great language (probably one of the few things that M$ did right), and I'd LOVE to use a real IDE like Visual Studio to dev in... But I'm also terrified they'll pervert

Re: [PHP] Remote Robot Control with PHP

2006-11-01 Thread Prathaban Mookiah
I totally agree with your view. PHP does not bring in any added value into this project. The primary impetus behind me using PHP was my personal liking towards PHP. But this is a good point to ponder upon - what benefits does PHP offer to the academic community over traditional cgi tools. One

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread ray . hauge
I don't think there's anything to worry about MS making any changes with PHP. I'm at the Zend conference righ t now, and they've had some talks about working with MS. Mostly they're trying to fix a lot of the segfaults and performance issues that PHP has on theh Win32 platform. You might see

RE: [PHP] Microsoft Partners With Zend

2006-11-01 Thread ray . hauge
I don't think there's anything to worry about MS making any changes with PHP. I'm at the Zend conference righ t now, and they've had some talks about working with MS. Mostly they're trying to fix a lot of the segfaults and performance issues that PHP has on theh Win32 platform. You might see

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Curt Zirzow
On 11/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just a shot in the dark, but it's possible that providing a Location header resets the status response. Try swapping your two header calls. Just to add more info: We're running php as fastcgi under lighttpd. Doing a little searching I

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread steve
On 11/1/06, Daevid Vincent [EMAIL PROTECTED] wrote: Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. MS added a FastCGI module to IIS. Thats the big thing. The real question is, why doesn't Apache

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Curt Zirzow
On 11/1/06, steve [EMAIL PROTECTED] wrote: On 11/1/06, Daevid Vincent [EMAIL PROTECTED] wrote: Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. MS added a FastCGI module to IIS. Thats the big

Re: [PHP] why so slow?

2006-11-01 Thread Mel
Your advice is well taken and thank you. I do have a book with the help of which I made this site and I have been working on it for many many weeks. (ashamed to say exactly how many!) Remember your first ever php site? I truly do appreciate all the help I got and it did lead me to

[PHP] Form verification

2006-11-01 Thread Ron Piggott (PHP)
I am wondering if any of you know what it is called when letters come up for the user to key in for form entry verification. Ron

Re: [PHP] Form verification

2006-11-01 Thread Joe Wollard
Captcha http://en.wikipedia.org/wiki/Captcha On 11/1/06, Ron Piggott (PHP) [EMAIL PROTECTED] wrote: I am wondering if any of you know what it is called when letters come up for the user to key in for form entry verification. Ron -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread ianevans
what version of php? PHP 5.1.4 (cgi-fcgi) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OO website/program doubt

2006-11-01 Thread Chris
bruce wrote: yo rich (or others)... does php provide the ability to store objects in a session var You just need to make sure you load the class before the session: include('user_class.php'); ... session_start(); otherwise you get incomplete class errors. -- Postgresql php tutorials

[PHP] PHP 5.1.6 on Mac OSX 10.4.8 w/MySQL 5.0.27 support

2006-11-01 Thread Ed Lazor
Any ideas on how to get this PHP configure / compile to work? Apache 2.2.3 is installed and working from source. MySQL 5.0.27 is installed and working from the Mac OSX package available on the MySQL site. PHP 5.1.6 will configure and make if I don't worry about MySQL support. The configure

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Rasmus Lerdorf
Daevid Vincent wrote: -Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:05 PM Cc: Daevid Vincent; PHP General Subject: Re: [PHP] Microsoft Partners With Zend ps... I wonder if .NET will ever support PHP *GRIN* I guess that's

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Rasmus Lerdorf
Rasmus Lerdorf wrote: The only slight negative as far as you are concerned could be that they may divert some Zend resources to work on Windows issues that aren't interesting to you. But consider that there are 1133 people with PHP cvs accounts. Only 11 work for Zend, and out of those 11