I have a PHP 4.x install on an Apache server. I have a PHP
application and a call to the mail function. I have 2 static IP's on
the server and I have one web server and one instance of postfix for
each IP to basically separate the two sites. The only issue I have
right now is sending mai
Robert napisal(a):
I'm new to PHP but not programming in general. I have used C++ for a while
and I'm familiar with the newline character as it's basically the same in
PHP.
This is the most basic of examples:
print 'one' ;
print "\n" ;
print 'two' ;
The output of this when accessed on my server
I'm new to PHP but not programming in general. I have used C++ for a while
and I'm familiar with the newline character as it's basically the same in
PHP. Whenever I print something with a newline character in it all it
produces is a space between whatever two things I'm printing. I'm running
php 5.
Hi,
I scoping out an Internet site project and my primary consideration at
the moment is authentication infrastructure. Conceptually I was thinking
about something like the pseudocode at the bottom of this message
(pardon all the Java-esc typing).
Can PHP do this sort of thing? I'm wonderin
Quoting Jeff McKeon <[EMAIL PROTECTED]>:
-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3
Jeff McKeon wrote:
>I've got a server with RedHat ES3 running. It has PH
Quoting Joseph Crawford <[EMAIL PROTECTED]>:
i keep getting an error that zend optimizer doesnt work with this version of
PHP, can anyone explain why that would be?
From Zend's web site:
"Supported PHP versions: 4.0.5 up through 5.0.x."
http://www.zend.com/store/products/optimizer-sysreq.php
Michael B Allen wrote:
Why do sessions use cookies?
The client needs to identify itself, and cookies are a mechanism created
for exactly this purpose.
Isn't a session just a container associated with the user's socket?
I'm not sure what you mean, but I suspect the answer is no. :-)
Chris
On Fri, 2 Dec 2005 20:43:48 -0500, in php.general [EMAIL PROTECTED]
(Michael B Allen) wrote:
>Why do sessions use cookies? Isn't a session just a container associated
>with the user's socket?
No. Even though mechanisms such as keepalive exists they are not
reliable for tracking a user. A client c
Why do sessions use cookies? Isn't a session just a container associated
with the user's socket?
Thanks,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
On Fri, 02 Dec 2005 19:21:43 -0500
Chris Shiflett <[EMAIL PROTECTED]> wrote:
> You might find this article helpful:
>
> http://shiflett.org/articles/guru-speak-nov2004
Very helpful indeed! I was mainly focused on the "Expires" header, but
changing the Cache-Control output (by setting
Hi Peter,
When I begin session with session_start() PHP sets an Expired-header.
I suppose that's fine for the sake of unwanted caching.
Unfortunately, Firefox seem to reload a page that's expired when using
the browser's "Back" navigation instead of showing the page as it was
as the user left i
WASP:
http://wasp.sourceforge.net
On Nov 30, 2005, at 2:04 AM, Gregory Machin wrote:
Hi..
Any body recomend a good MVC platform that is easy to work with,
and build
on...
I'm looking at cakephp, solar, php on trax..
Anything better out there.
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROT
Hi,
When I begin session with session_start() PHP sets an Expired-header. I
suppose that's fine for the sake of unwanted caching.
Unfortunately, Firefox seem to reload a page that's expired when using
the browser's "Back" navigation instead of showing the page as it was as
the user left it.
This
Hah, I was looking in the object aggregation functions, that really deserved
a RTFM
"Ray Hauge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That would be get_class( [obj] );
>
> http://us3.php.net/manual/en/function.get-class.php
>
> Matt Monaco wrote:
>
>>Is there a function o
That would be get_class( [obj] );
http://us3.php.net/manual/en/function.get-class.php
Matt Monaco wrote:
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is valid just as with any other link.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> How can I get the form values submitted from an iframe where the target is
> the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Jeff McKeon wrote:
-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3
Jeff McKeon wrote:
I've got a server with RedHat ES3 running. It has PHP 4.3.2
installed
> -Original Message-
> From: Jeff McKeon
> Sent: Friday, December 02, 2005 15:18
> To: php
> Subject: RE: [PHP] Upgrading on RH ES3
>
>
> > -Original Message-
> > From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
> > Sent: Friday, December 02, 2005 14:50
> > To: Jeff McKeon
> >
> -Original Message-
> From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 02, 2005 14:50
> To: Jeff McKeon
> Cc: php
> Subject: Re: [PHP] Upgrading on RH ES3
>
>
> Jeff McKeon wrote:
>
> >I've got a server with RedHat ES3 running. It has PHP 4.3.2
> installed
>
Jeff McKeon wrote:
I've got a server with RedHat ES3 running. It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9. This
server also runs apache2.0.
I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile mysel
i keep getting an error that zend optimizer doesnt work with this version of
PHP, can anyone explain why that would be?
i have gone into zend studio and went to /lib/Optimizer-2.5.13/ created the
php-5.1.x dir and copied the ZendOptimizer.dll from the php-5.0.x directory
but it still complains ;( i
Peppy wrote:
This info is for the server where the script does not work:
Apache/1.3.33 (Unix) PHP/4.3.10
FreeBSD cliffb55.iserver.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #42: Tu i386
This info is for the server where the script works:
Apache/2.0.40 (Red Hat Linux) PHP Version 4.3.2
Lin
I've got a server with RedHat ES3 running. It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9. This
server also runs apache2.0.
I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself. Problem is, the INS
Shaun wrote:
Hi M,
Thanks for your help, the code works fine except if there is a line break in
the html, for example
this works
test
But this doesnt
test
Any ideas?
See the last user contributed note from *csaba at alum dot mit dot edu
*at http://us3.php.net/manual/en/reference.p
Jay Blanchard said the following on 12/02/2005 07:49 AM:
[snip]
What is the best FREE pdf generator for PHP?
[/snip]
http://www.fpdf.org and you know that PHP has some built-in functionality
using PDFlib http://www.php.net/pdf
If you're able to GPL your code you can use PDFlib freely. IIRC th
[snip]
> http://www.assertia.com/iframe.html
>
> and then click on 'Click Here'. I am trying to display the form results in
> the parent window, but I am having no luck!
> [/snip]
>
> Actually it is working properly. You have no POST method in your form call
>
> form.html:
> <---WHAT IS THE METHOD
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [snip]
> I have made an example of this now. If you click on this link:
>
> http://www.assertia.com/iframe.html
>
> and then click on 'Click Here'. I am trying to display the form results in
> the parent window, but I am
http://www.fpdf.org is a very good resource for PDF generation. I use
it all the time. It was faster than writing up my own PDF class. It's
fairly well documented as well.
There's also http://fpdi.setasign.de/ if you want to put text, images,
etc on an existing PDF.
Jay Blanchard wrote:
Robert Cummings wrote:
On Fri, 2005-12-02 at 09:42, Jochem Maas wrote:
Bing Du wrote:
Hi,
In Perl, hash can be stored in a file like this:
tie(%contact,'SDBM_File',$tmp_file,O_RDWR|O_CREAT,0666);
How the function should be implemented in PHP if it's possible?
file_put_contents('/path/to/
On Fri, 2005-12-02 at 09:42, Jochem Maas wrote:
> Bing Du wrote:
> > Hi,
> >
> > In Perl, hash can be stored in a file like this:
> >
> > tie(%contact,'SDBM_File',$tmp_file,O_RDWR|O_CREAT,0666);
> >
> > How the function should be implemented in PHP if it's possible?
>
> file_put_contents('/path
What is the best FREE pdf generator for PHP?
We use HTMLDoc and it works reasonably well.
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> What is the best FREE pdf generator for PHP?
>
PHP *is* a free PDF generator.
http://us3.php.net/manual/en/ref.pdf.php
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
What is the best FREE pdf generator for PHP?
[/snip]
http://www.fpdf.org and you know that PHP has some built-in functionality
using PDFlib http://www.php.net/pdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the best FREE pdf generator for PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I have made an example of this now. If you click on this link:
http://www.assertia.com/iframe.html
and then click on 'Click Here'. I am trying to display the form results in
the parent window, but I am having no luck!
[/snip]
Actually it is working properly. You have no POST method in you
Hi all,
I have made an example of this now. If you click on this link:
http://www.assertia.com/iframe.html
and then click on 'Click Here'. I am trying to display the form results in
the parent window, but I am having no luck!
Here is my code:
iframe.html:
http://www.w3.org/TR/xhtml1/DTD/xhtml1
Bing Du wrote:
Hi,
In Perl, hash can be stored in a file like this:
tie(%contact,'SDBM_File',$tmp_file,O_RDWR|O_CREAT,0666);
How the function should be implemented in PHP if it's possible?
file_put_contents('/path/to/your/file', $someFingArray)
Thanks,
Bing
--
PHP General Mailing List
Georgi Ivanov wrote:
Hi,
I have application that does this:
When one press a specific button, I'm calling JS function that make http(ajax)
request to some php file . The php returns HTML like this :
--
SOME HTML HERE
--
The returned HTML
[snip]
I have application that does this:
When one press a specific button, I'm calling JS function that make
http(ajax)
request to some php file . The php returns HTML like this :
--
SOME HTML HERE
--
The returned HTML i placed in tag.
The
Hi,
I have application that does this:
When one press a specific button, I'm calling JS function that make http(ajax)
request to some php file . The php returns HTML like this :
--
SOME HTML HERE
--
The returned HTML i placed in tag.
The lo
Hello,
I am writing a PHP book (using a wiki software!) to guide mainly new PHP
user through all sorts of issues. The most important part is that I intend
to make this a User-Request Book where user tell me what they want and I
write articles on those topics. This is because I dont have a lot of ti
anyone looking for an example of how not to ask a question
on a mailing list, this is it:
Rama wrote:
in a huge php page it's happen that some page included in index.php, for some
strange reason went write.
2 byte are write on the pages included, and are always the same (FF and FE in
hexadecil
Hi Matteo,
can you reduce the code to the smallest one and provide your scripts
here to reproduce it?
> in a huge php page it's happen that some page included in index.php, for some
> strange reason went write.
> 2 byte are write on the pages included, and are always the same (FF and FE in
> he
in a huge php page it's happen that some page included in index.php, for some
strange reason went write.
2 byte are write on the pages included, and are always the same (FF and FE in
hexadecilam) at the start of file.
so the file will be
FF FE
i cannot understand why, i don't use fopen, fwrite,
Hi Mehmet,
can you provider a full backtrace of your core dumped php?`
> [EMAIL PROTECTED] -> [~]#cat first.php
> <%php
> echo "Hello World!";
> %>
> [EMAIL PROTECTED] -> [~]#
>
> Segmentation fault (core dumped)
> [EMAIL PROTECTED] -> [~]#
--
Marco Kaiser
--
PHP General Mailing List (http://ww
whats with
if (isset($_POST['field']) && (INT)$_POST['field']>=0) {
? This should cover the requirements.
$_POST['field'] should be eq 0 or higher as int.
(INT) converts 1.44 to 1 (cuts .44)
-- Marco
2005/12/2, Jochem Maas <[EMAIL PROTECTED]>:
> Steve Edberg wrote:
> > At 5:30 PM +0100 12/1/05
hi all.
i installed php5_extensions on my system (Freebsd5.4)
please look the lines below and tell me where i am doing something wrong.
[EMAIL PROTECTED] -> [~]#php /*hit the tab*/
php php-config phpize
[EMAIL PROTECTED] -> [~]#php
a simple php code:
[EMAIL PROTECTED] -> [~]#cat first.p
Steve Edberg wrote:
At 5:30 PM +0100 12/1/05, Jochem Maas wrote:
Steve Edberg wrote:
Only problem with intval() is that it returns 0 (a valid value) on
I knew that. :-)
I figured so, but I thought I'd make it explicit for the mailing list...
failure, so we need to check for 0 first. Add
Shaun wrote:
Hi,
How can I get the form values submitted from an iframe where the target is
the parent window?
Use Javascript. Check out irt.org -> Javascript
They have lots of great examples.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
50 matches
Mail list logo