Merlin wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I tried: $str = preg_replace('/\!\?\./', ' ', $str);
$s = ?!help!?;
echo
thank you, that worked excellent!
Merlin
Dave Goodchild schrieb:
On 27/05/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I am somehow lost when it comes to regex. I am trying to remove ! and ?
characters from a string. Could somebody please help me to get a working
regex running for that?
I
Hi there,
I am having some trouble in parsing some XML. No idea where I have that xml
parser for php from, but I believe it worked ok in the past. Now I do have a
file to parse with following structure:
SEARCHRESULTS
RESULTSET DATABASE
RESULT POS=1
TITLEI want
Merlin wrote:
Hi there,
I am having some trouble in parsing some XML. No idea where I have that
xml parser for php from, but I believe it worked ok in the past. Now I
do have a file to parse with following structure:
SEARCHRESULTS
RESULTSET DATABASE
RESULT POS=1
TITLEI want
Been having problems posting. If this gets through OK please ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, April 5, 2006 2:42 pm, Age Bosma wrote:
*confirm_image.php:*
Your browser and webserver see confirm_image.php in the URL.
Header(Content-type: image/jpeg);
REAL browsers like Mozilla and Firefox etc trust this.
Microsoft, however, in its infinite wisdom, ignores
On Thu, April 6, 2006 5:24 pm, Tom Rogers wrote:
put
error_reporting( E_ALL);
at the top of the script and see if any error messages show up.
The fact that the mime type is text seems to indicate some output has
gone to
the client before your header call. That could be any white space
John Wells wrote:
echo $this-name[5]\n;
echo $this-ID[5]\n;
$a1 = $this-name;
$a2 = $this-ID;
echo \n$a1[5] $a2[5]\n;
use curly brackets to help PHP understand what you're after:
echo {$this-name[5]}\n;
When you're in a string like this, PHP has a hard time knowing when
you're wanting to
On 4/7/06, Michael Felt [EMAIL PROTECTED] wrote:
Slowly I am getting the output I want.
Trying to use dynamic arrays, does creat the array I want, but getting
the info is sometimes surprising.
I notice a difference between arrays used locally in a function, and
arrays used as a 'var' in a
chris smith wrote:
On 4/7/06, Michael Felt [EMAIL PROTECTED] wrote:
Slowly I am getting the output I want.
Trying to use dynamic arrays, does creat the array I want, but getting
the info is sometimes surprising.
I notice a difference between arrays used locally in a function, and
arrays used
Michael Felt wrote:
OK . a rewrite, bit shorter...
1. A class construct with two arrays:
var $name;
var $ID;
function init($id) {
$this-name = array();
$this-ID = array();
# firther in code assignment done from a mysql database:
while ($max--)
Michael Felt wrote:
echo \n. $this-name[5] . . $this-ID[5]. \n;
This give the same output as:
$a1 = $this-name;
$a2 = $this-ID;
echo \n$a1[5] $a2[5]\n;
Looks like I may need to use the '.' constructor more often
Who can explain this (please)?
Michael Felt wrote:
OK . a rewrite, bit
echo $this-name[5]\n;
echo $this-ID[5]\n;
$a1 = $this-name;
$a2 = $this-ID;
echo \n$a1[5] $a2[5]\n;
use curly brackets to help PHP understand what you're after:
echo {$this-name[5]}\n;
When you're in a string like this, PHP has a hard time knowing when
you're wanting to access a
Slowly I am getting the output I want.
Trying to use dynamic arrays, does creat the array I want, but getting
the info is sometimes surprising.
I notice a difference between arrays used locally in a function, and
arrays used as a 'var' in a class function (all in PHP 4 atm).
Code snippet:
Tom Rogers wrote:
Make sure you don't have any blank lines before the ?php
There isn't. I've got the suspicion it's got to do with the UTF-8
character encoding because of the characters '', I've seen this
before with HTML pages. Because of this I asked the person who's having
the
Hi,
Friday, April 7, 2006, 6:20:41 AM, you wrote:
AB Tom Rogers wrote:
AB There isn't. I've got the suspicion it's got to do with the UTF-8
AB character encoding because of the characters '', I've seen this
AB before with HTML pages. Because of this I asked the person who's having
AB the
I added image confirmation to a guestbook and even though it works greate for
most people, some people have problem and I can't seem to figure out why this
happens. Note that I'm not talking about the same guestbook on one server but
the guestbook is on people's own hosting server.
The php
Hi,
I added image confirmation to a guestbook and even though it works
greate for most people, some people have problem and I can't seem to
figure out why this happens. Note that I'm not talking about the same
guestbook on one server but the guestbook is on people's own hosting server.
The
Hi,
Thursday, April 6, 2006, 5:42:05 AM, you wrote:
AB Hi,
AB I added image confirmation to a guestbook and even though it works
AB greate for most people, some people have problem and I can't seem to
AB figure out why this happens. Note that I'm not talking about the same
AB guestbook on one
I got only a test.shtml with this:
html
body
!--#include virtual=test.php --
/body
/html
and a test.php with:
?
echo 'Hello World';
?
PHP 4.4.2 , Apache 1.3.34 , nothing weird,
Compiled Options:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--prefix=/usr/local' '--with-xml'
i get segmentation fault with apache 1.3.34 , like this bug:
http://bugs.php.net/bug.php?id=35029 , only change the apache version.
The error is:
[Thu Mar 16 03:33:07 2006] [notice] child pid 2121 exit signal
Segmentation fault (11)
[Thu Mar 16 03:33:08 2006] [notice] child pid 2120 exit signal
Alberto Ferrer wrote:
i get segmentation fault with apache 1.3.34 , like this bug:
http://bugs.php.net/bug.php?id=35029 , only change the apache version.
The error is:
[Thu Mar 16 03:33:07 2006] [notice] child pid 2121 exit signal
Segmentation fault (11)
[Thu Mar 16 03:33:08 2006] [notice]
Hi,
I've some problems with the file()-function:
I call the function with the argument
http://www.azubo.de/api/csv.cfm?PartnerID=17PartnerPass=28O2NGC3result=end,auctionid,url,title,cat,price,bids,currency,image;
and only get an array of empty strings.
With other addresses as argument it works
Julius Hacker wrote:
Hi,
I've some problems with the file()-function:
I call the function with the argument
http://www.azubo.de/api/csv.cfm?PartnerID=17PartnerPass=28O2NGC3result=end,auctionid,url,title,cat,price,bids,currency,image;
and only get an array of empty strings.
With other addresses
Hello everybody,
I have problem with imap_open(). I've tried google - so I know, that
many people have problem with this function - but I think that my
problem is a little bit different or I haven't found any working answer :o(
So I'm tring this forum... Please help me, if you can.
My
On Tue, February 14, 2006 2:13 am, PJ wrote:
Hello everybody,
I have problem with imap_open(). I've tried google - so I know, that
many people have problem with this function - but I think that my
problem is a little bit different or I haven't found any working
answer :o(
So I'm tring this
Richard Lynch napsal(a):
On Tue, February 14, 2006 2:13 am, PJ wrote:
Hello everybody,
I have problem with imap_open(). I've tried google - so I know, that
many people have problem with this function - but I think that my
problem is a little bit different or I haven't found any working
answer
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
I doubt this is anything new, but I can't find any decent solution for
Anders Norrbring skrev:
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
I doubt this is anything new, but I can't find
Anders Norrbring skrev:
Anders Norrbring skrev:
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers.
I doubt this is
Hi,
My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the
tools I use (from InterAKT) no longer work.
After doing quite a bit of research, I've seen a few bugs regarding
realpath(), but none related to 4.4.1.
When I try the following:
?php
echo phpversion() . \n;
echo
Hi all,
Firstly, I'm new to this list, so I'm hoping I'm not flogging a dead
horse with this question, and I also hope I'm not inadvertently breaking
any list etiquete in any way...
Should this be the case, I apologise in advance. :P
Alright, with that out of the way, I'll post my actual
I think the DOCUMENT_ROOT is changed for new php implementation.
Thanks
Rich
On 1/31/06, Ron King [EMAIL PROTECTED] wrote:
Hi,
My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the
tools I use (from InterAKT) no longer work.
After doing quite a bit of research, I've seen a
On Tue, January 31, 2006 8:15 am, Olaf Greve wrote:
header(Content-Encoding: .$Encoding);
echo \x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xFF;
I don't know diddly about gzip-encoding and browsers, but this line
looks pretty hinky to me...
echo
Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a
strange problem. When i try to access a page it seems to be blank, before it
always worked but now it sudenly stopped. I am not a big computer techy but
i cleared IE's cache and it still doesen't work.
Source Code in IE for
PHP Superman wrote:
Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a
strange problem. When i try to access a page it seems to be blank, before it
always worked but now it sudenly stopped. I am not a big computer techy but
i cleared IE's cache and it still doesen't work.
I thought I was using session data and variables correctly, but I am
having some issues. I am using it to create a login but if I have
another user on a different machine my session data gets changed to who
last logged in. I had changed so it used https but changed it back and
it still seems to be
I have diagnosed a problem with sessions I am having. I'm don't believe
it's necessarily a PHP problem, but I thought someone must have seen
this before.
The first thing I do is a
session_start()
and then determine if (using session variables) whether the user has
logged in successfully
I am having problems with the following functions where my return simply
is #text Joe #text Smith #text unknown, it should have read
firstname Joe lastname Smith address unknown
What am I doing wrong?
?php
$xmlstring =
I've used the IMAP functions to connect to my pop3 server. I want to
download the emails. I can fetch headers, or fetch the body, but I
don't seem to be able to download the entire e-mail as one raw file.
This is so I can pass it to the PEAR mail mime class for parsing, as
well as for storage.
Oli Howson wrote:
I've used the IMAP functions to connect to my pop3 server. I want to
download the emails. I can fetch headers, or fetch the body, but I don't
seem to be able to download the entire e-mail as one raw file. This is
so I can pass it to the PEAR mail mime class for parsing, as
I used to have a number of sites direct 404 errors towards PHP scripts for
error handling and the such. Recently I upgraded my PHP installs to 4.4.1(from
4.3.11) with the configure parameters listed below. Now, none of my PHP
handlers are functioning. They are all returning 0 size responses.
Curt Zirzow wrote:
On Fri, Nov 18, 2005 at 12:07:00PM -0800, Russ F wrote:
I've reinstalled Apache2, PHP5, phpMyAdmin and MYSQl several times. I
still get the same error when i try to use phpmyadmin Can not load mysql
extensions. I checked the path it is correct, the extensions exist
in
Curt Zirzow wrote:
On Fri, Nov 18, 2005 at 12:07:00PM -0800, Russ F wrote:
I've reinstalled Apache2, PHP5, phpMyAdmin and MYSQl several times. I
still get the same error when i try to use phpmyadmin Can not load mysql
extensions. I checked the path it is correct, the extensions exist
in
On Fri, Nov 18, 2005 at 12:07:00PM -0800, Russ F wrote:
I've reinstalled Apache2, PHP5, phpMyAdmin and MYSQl several times. I still
get the same error when i try to use phpmyadmin Can not load mysql
extensions. I checked the path it is correct, the extensions exist
in /etc/php5/extensions but
I've reinstalled Apache2, PHP5, phpMyAdmin and MYSQl several times. I still
get the same error when i try to use phpmyadmin Can not load mysql
extensions. I checked the path it is correct, the extensions exist
in /etc/php5/extensions but they do not have a .so after them. The php.ini
file and
Since I was having so much difficulty getting PHP (with libxml2)
installed on RH9, I decided to take the advice given by several
people and use Fedora Core 4 instead, which I get installed w/o
difficulty. So next is Apache/PHP and I download Apache version
2.0.54 and PHP version 5.0.5.
[snip]
Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.
[/snip]
Did you restart the Apache server after making the changes to httpd.conf ? I
know it is basic, I just have
[snip]
Then I modify the httpd.conf file as instructed at the above
page by adding the LoadModule and AddType and then create a
'hello world' php script to make sure php is working.
[/snip]
Did you restart the Apache server after making the changes to httpd.conf ?
I
know it is basic, I just
Chris Boget wrote:
Since I was having so much difficulty getting PHP (with libxml2)
installed on RH9, I decided to take the advice given by several
people and use Fedora Core 4 instead, which I get installed w/o
difficulty. So next is Apache/PHP and I download Apache version
2.0.54 and PHP
Chris Boget wrote:
snip
My test
script looks like this:
script language=php
echo PHP Works!!;
/script
br
? echo PHP Works??;
And that is exactly what is getting output by the browser. The br
isn't even
getting interpreted as a break...?
Yeah, looks like you need the AddType entry.
And that is exactly what is getting output by the browser. The br
isn't even getting interpreted as a break...?
Is there a line like this in your httpd.conf...?
AddType application/x-httpd-php .php
[snip]
Yeah, looks like you need the AddType entry. Apache doesn't know what
*.php is, so
[snip]
Step 15 of the php installation (as listed in the link in my OP) has you add
the following to the httpd.conf:
AddType application/x-httpd-php .php .phtml
I also went ahead and added the following as well
AddType application/x-httpd-php-source .phps
The filename of my test script,
Step 15 of the php installation (as listed in the link in my OP) has you
add the following to the httpd.conf:
Ok, color me retarded. Pretty please. :) It turns out I modified the wrong
httpd.conf file.
duh.
Sorry about that. Everyone can move along. Nothing to see here but some
blathering
Chris Boget wrote:
Step 15 of the php installation (as listed in the link in my OP) has
you add the following to the httpd.conf:
Ok, color me retarded.
That happens when Jay gets involved. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing
[snip]
duh.
[/snip]
You have now officially obtained a lifetime membership to the club. Your
t-shirt should arrive in the mail soon.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Graham Anderson wrote:
?php
$quote = \;
$xml = '';
$xml .= '?xml version=1.0?'.\n;
$xml .= '?quicktime type=application/x-qtskin?'.\n;
$xml .= 'skin'.\n;
$xml .= 'movie src=' . $quote. ../../fonovisa.mov . $quote.
'/'.\n;
$xml .= 'contentregion src=' .$quote. ../images/mask.gif .
On Thursday 22 September 2005 12:10 am, David Robley wrote:
Not sure if you can attach files however to make 100% sure I'm attaching a
working copy of your script. I did modify it just a bit. However the code
that you gave us initially worked flawlessly under CLI PHP.
Graham Anderson wrote:
Thanks Rasmus :)
that is an incredibly cool tip: EOB
Surprised I did not see you at the Digital Rights [hollywood digital]
conference in LA early this week.
Upside: Free sushi and an ocean view. Downside: Lots of 'agency' types
and sales folk
when I access a straight movie file with no
Graham Anderson wrote:
Thanks Rasmus :)
that is an incredibly cool tip: EOB
Surprised I did not see you at the Digital Rights [hollywood digital]
conference in LA early this week.
Upside: Free sushi and an ocean view. Downside: Lots of 'agency' types
and sales folk
when I access a
Ok, I think I figured it out .
I had to convert my BBedit text editor file to plain text and then
copy/paste that text directly into a new server text file
So, I guess my $100+ text editor is screwing up the file ?
Is there some way to prevent this ?
My text encoding is in UTF-8 because I
Graham Anderson wrote:
Ok, I think I figured it out .
I had to convert my BBedit text editor file to plain text and then
copy/paste that text directly into a new server text file
So, I guess my $100+ text editor is screwing up the file ?
Is there some way to prevent this ?
Tell your
Set BBEdit to use Mac OS Roman. From the main window, choose
the file icon (5th from left).
Graham Anderson wrote:
--Apple-Mail-15-928383921
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Ok, I think I figured it out .
I had to
thanks guys :)
encoding in utf-8 NO BOM seems to do the trick
g
On Sep 22, 2005, at 11:05 AM, Jim Jagielski wrote:
Set BBEdit to use Mac OS Roman. From the main window, choose
the file icon (5th from left).
Graham Anderson wrote:
--Apple-Mail-15-928383921
Content-Transfer-Encoding:
I am trying to get headers to output properly
Even though I am defining Content-type as 'video/quicktime' , the
output is still text/html
Also, Content-Length is not outputting properly either :(
On the positive side, It appears to be outputting the $xml string
correctly, but screws up
Graham Anderson wrote:
Even though I am defining Content-type as 'video/quicktime',
the output is still text/html
Also, Content-Length is not outputting properly either :(
[snip]
header('Content-Type: video/quicktime');
header (Content-Length:.strlen($xml));
You have a superfluous space
thanks Chris :)
I changed the spaces but am still getting the same output errors:
bWarning/b: Cannot modify header information - headers already
sent by (output started at
/home/www/siren/siren/fonovisa/skintest/Library/php/
fonovisa_simple.php:1) in
On Wednesday 21 September 2005 09:34 pm, Graham Anderson wrote:
it doesn't look like there is anything wrong with your code. what you might
check however is, is there a space or a newline before ?php
_nothing_ should come before ?php
thanks Chris :)
I changed the spaces but am still getting
I checked that too :(
No spaces in the ?php line
I am running PHP Version 4.4.0
Out of curiosity, I removed the line:
$xml .= '?quicktime type=application/x-qtskin?'.\n;
and got the same error message
Is this one of those situations for ob_start ?
Kind of bizarre to my Newbie mind
?php
$quote
Graham Anderson wrote:
No spaces in the ?php line
I think the problem is a line before the ?php line:
bWarning/b: Cannot modify header information - headers
already sent by (output started at
/home/www/siren/siren/fonovisa/skintest/Library/php/
fonovisa_simple.php:1) in
Graham Anderson wrote:
I checked that too :(
No spaces in the ?php line
I am running PHP Version 4.4.0
Out of curiosity, I removed the line:
$xml .= '?quicktime type=application/x-qtskin?'.\n;
and got the same error message
Is this one of those situations for ob_start ?
Kind of
Here's the issue. I use MySQL as my database backend. I used to have php
running
fine and I used phpMyAdmin to do any admin functions I needed to on MySQL.
I recently upgraded to MySQL 5.x and ever since I've gotten the following
error messages.
When I try to use extension=php_mysqli.dll
This
On Sep 19, 2005, at 4:36 PM, Nathan wrote:
Here's the issue. I use MySQL as my database backend. I used to
have php
running
fine and I used phpMyAdmin to do any admin functions I needed to on
MySQL.
I recently upgraded to MySQL 5.x and ever since I've gotten the
following
error
On 9/14/05, Richard Lynch [EMAIL PROTECTED] wrote:
mssql_* and PHP know that the data is supposed to be integer
But the largest integer that PHP can store is 0x.
So when PHP tries to accept the integer from mssql_fetch_row, it's
got no room to store it as integer, and HAS to
On Tue, September 13, 2005 7:48 pm, J B wrote:
On 9/13/05, Chris [EMAIL PROTECTED] wrote:
Are you sure you're getting the number as you need it from the
query?
PHP won't (though I guess there could be a bug) automatically
convert a
numerical string into it's numerical equivalent.
If the
I suspect I'm far from the first person to have this problem, but I can't
seem to find the right search terms to locate the solution. Basically, I'm
doing a database query and dumping the results into an array. Then, later,
when I try to display the contents of the array, I run into problems.
Are you sure you're getting the number as you need it from the query?
PHP won't (though I guess there could be a bug) automatically convert a
numerical string into it's numerical equivalent.
If the code you posted produces this problem, then the only possiblities
I see are that the mssql
On 9/13/05, Chris [EMAIL PROTECTED] wrote:
Are you sure you're getting the number as you need it from the query?
PHP won't (though I guess there could be a bug) automatically convert a
numerical string into it's numerical equivalent.
If the code you posted produces this problem, then the
J B wrote:
I've been playing with it and it looks like mssql_fetch_row may be the
problem. Right after this line:
$line = mssql_fetch_row($result);
...I inserted this line:
var_dump($line[0]);
...and this is what I got back:
string(20) 3.67124100206018e+17
The actual contents of that
Hi,
I have an interesting problem that I cannot explain with using the
__set() and __get() when playing with arrays.
Basically with a normal object if you store an array as a property you
can manipulate it like an array. eg.
$obj-prop[5] = 'apple';
In this example if $obj-prop is an array then
eoghan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 20 Jul 2005, at 02:22, Linda H wrote:
fahreheit is here:
?
$fahr = $_GET['fahrenheit'];
if (is_null($fahr)){ echo 'fahr is null';}
$
The error was on the line: $fahr = $_GET['fahrenheit'];
try:
input
Hi,
I'm trying to code a form that will call itself. The first time it is
called (by a link), it should display the empty form. If it was called by a
submit to itself, it will validate and then process or re-display the form
if it didn't pass validation.
In Programing PHP I found a
On 20 Jul 2005, at 02:01, Linda H wrote:
But when execute the code above I get an error: Notice: Undefined
index: fahrenheit in C:\Program Files\Apache Group\Apache2\htdocs
\.
Where is fahrenheit? change the input name...
Eoghan
--
PHP General Mailing List (http://www.php.net/)
To
Where is fahrenheit? change the input name...
fahreheit is here:
?
$fahr = $_GET['fahrenheit'];
if (is_null($fahr)){ echo 'fahr is null';}
$
The error was on the line: $fahr = $_GET['fahrenheit'];
Linda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Where is fahrenheit? change the input name...
fahreheit is here:
?
$fahr = $_GET['fahrenheit'];
if (is_null($fahr)){ echo 'fahr is null';}
$
The error was on the line: $fahr = $_GET['fahrenheit'];
Linda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Linda H wrote:
Where is fahrenheit? change the input name...
fahreheit is here:
?
$fahr = $_GET['fahrenheit'];
if (is_null($fahr)){ echo 'fahr is null';}
$
The error was on the line: $fahr = $_GET['fahrenheit'];
Linda
Have you checked that the name is spelt correctly in your HTML
On 20 Jul 2005, at 02:22, Linda H wrote:
fahreheit is here:
?
$fahr = $_GET['fahrenheit'];
if (is_null($fahr)){ echo 'fahr is null';}
$
The error was on the line: $fahr = $_GET['fahrenheit'];
try:
input name=fahrenheit type=text value=?php echo $fahr; ? /
--
PHP General Mailing List
Hi all,
I'm trying compile the PHP for work with Oracle Server.
When I try the comand:
# rpm -ba php.spec
I get the following error message:
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
Have anyone any suggestions?
--
On Thu, July 7, 2005 7:13 am, Murilo Opsfelder Araújo said:
Hi all,
I'm trying compile the PHP for work with Oracle Server.
When I try the comand:
# rpm -ba php.spec
I get the following error message:
checking if the location of ZLIB install directory is defined... no
configure: error:
Hi there,
I just steped over mmcache:
http://turck-mmcache.sourceforge.net/index_old.html#install
After installing it, I can not see a real performance gain at all. The
system is installed corectly and mmcache.php tells me it is active and
running.
Now I saw that there is a mmcache API.
El Sb 18 Jun 2005 01:38, Tom Rogers escribi:
Here is a script I use to send pdfs which also handles caching
information. It may just be you are missing the content-length header?
[snip]
header(Accept-Ranges: bytes);
header('Cache-Control: no-cache, must-revalidate');
header(Content-type:
I have to send a PDF file after a submit on a form. The PDF is well created,
and I'm sending it to the client with this:
$fpdfName = /tmp/ . session_id() . .pdf;
// Vamos a mandar el PDF
header('Content-type: application/pdf');
// El archivo se va a llamar libreDeuda.pdf
Hi,
Saturday, June 18, 2005, 7:55:10 AM, you wrote:
MM I have to send a PDF file after a submit on a form. The PDF is well created,
MM and I'm sending it to the client with this:
MM $fpdfName = /tmp/ . session_id() . .pdf;
MM // Vamos a mandar el PDF
MM header('Content-type: application/pdf');
Hello all,
I hope this hasnt been answered a zillion times already, I've tried
everything I know and nothing has worked. The following is the PHP statement
and the HTML rendering. The apostrophe is displayed as is and breaks the
browser. May be I am wrong but I was under the impression that
Hello all,
I hope this hasnt been answered a zillion times already, I've tried
everything I know and nothing has worked. The following is the PHP statement
and the HTML rendering. The apostrophe is displayed as is and breaks the
browser. May be I am wrong but I was under the impression that
Leila Lappin mailto:[EMAIL PROTECTED]
on Thursday, June 09, 2005 7:46 AM said:
== This is the rendering ===
== (note the heart's apostrophe breaks IE and firefox) ===
li
a href=# onclick='document.form1.how.value=Pulmonary edema
is a condition in which fluid accumulates
Hi,
Friday, June 10, 2005, 12:05:48 AM, you wrote:
LL Hello all,
LL I hope this hasnt been answered a zillion times already, I've tried
LL everything I know and nothing has worked. The following is the PHP statement
LL and the HTML rendering. The apostrophe is displayed as is and breaks the
LL
Hi,
TR What I do to overcome this is in PHP do:
TR $content = rawurlencode($content);
TR and in the html javascript:
TR unescape($content);
I didn't do that very well, your code would look something like:
li
a href=#
onclick='document.form1.how.value=unescape(?php
: Re[2]: [PHP] Problems escaping apostrophe, please help
Hi,
TR What I do to overcome this is in PHP do:
TR $content = rawurlencode($content);
TR and in the html javascript:
TR unescape($content);
I didn't do that very well, your code would look something like:
li
a href=#
onclick
Hi all,
I have 3 arrays:
$array _ids = (id_1, id_2, id_3, id_4)
$array_names = (name_1, name_2, name_3, name_4)
$array_emails = (email_1, email_2, email_3, email_4)
I want to create an array that contains all this arrays and then to print the
array.
Something like that:
foreach
301 - 400 of 1046 matches
Mail list logo