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:
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.
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.php
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 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://www.php.net/)
To
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? php blablabla ?
i cannot understand why, i don't
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
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
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
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 :
--
link href=left.css rel=stylesheet type=text/css
pSOME HTML HERE/p
[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 :
--
link href=left.css rel=stylesheet type=text/css
pSOME HTML HERE/p
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 :
--
link href=left.css rel=stylesheet type=text/css
pSOME HTML
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
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:
!DOCTYPE html PUBLIC -//W3C//DTD
[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
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]
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 *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
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
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/your/file',
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?
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:
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 having no
[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:
form name=myform ---WHAT IS THE
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
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
ptest/p
But this doesnt
ptest
/p
Any ideas?
See the last user contributed note from *csaba at alum dot mit dot edu
*at
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
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
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 ;(
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
-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
but for an
-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
Cc: php
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
form target=_parent 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
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
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:
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 or method to
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
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
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
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
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
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
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. :-)
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
I
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 PHP
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
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
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 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
50 matches
Mail list logo