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
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 gu
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 f
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 tutorial
> 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
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 unsubsc
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
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
validat
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
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 Apach
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 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 som
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 som
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.
On
[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 PH
> -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
> 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
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
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-
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 consens
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 messag
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
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]
S
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 aband
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 do
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 i
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 l
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 i
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
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 unsubscribe
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 t
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 th
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
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
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.
>
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 "front-l
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
> f
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
>into there.
> Besically, there is a mail form to enter iterm infomaiton, if it exist
> bef
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
> sh
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
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.
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 http://www.squareinch.net/home.php
were all over the map in timings.
>From respectable 0.1
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 a
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, co
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 bac
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, whic
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 i
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 all
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
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 can
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, unfor
No you have not, otherwise we would not be seeing:
"http://www.w3.org/TR/html4/loose.dtd";>
when we SHOULD be seeing
"http://www.w3.org/TR/html4/loose.dtd";>
- tul
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/clien
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, y
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 "thi
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
> 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 Loc
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";);
Example HTTP redirect:
header('Location: http://www.google.com";);
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",
"Fr
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 da
No problem.
A simple script to do what you want could be:
http://www.example.com/path/to/' . $redirect_page;
header('Location:'.$redirect_url);
exit();
}
// Handle bad form data here
?>
The key is to ensure your script doesn't output anything before the header
function call. This includes an
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 easily
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:
header(
# [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, whi
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;
}
Item 1
Item 2
""sues"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
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
what
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.
Take out the comment before the DOCTYPE. There should be nothing before it.
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 PRO
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:
include('/path/to/my/in
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 pas
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 and clean up your code
- it
does not validate as html 4.01. The DOCTYPE should be the very
first th
The guys are right, there are many variables that could be affecting this.
However, get rid of those tags before 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).
Trust m
:)
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 serve
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 mach
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 n
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 ar
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,
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!!!
cellspacing="0">
"http://www.w3.org/TR/html4/loose.dtd";>
SQUARE INCH
http://www.squareinch.net/sq.css"; rel="stylesheet"
t
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 s
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 i
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 y
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 - h
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 -0
[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');
exit()
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 (h
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 guessi
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
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
89 matches
Mail list logo