Oops. Sorry, you are correct. I did not look at the ob_gzhandler. I just
thought of the ob_start function.
But I remember gz encoding works fine with IE 5. Shouldn't be a problem with
5.5.
Cheers,
Prathap
-- Original Message ---
From: Rasmus Lerdorf [EMAIL PROTECTED]
To:
On Sun, May 8, 2005 9:22 pm, Murray @ PlanetThoughtful said:
As others have suggested, using an ftp client application is one way to
handle it, however, users being users, the feedback has been Why do we
need
to upload the files via an ftp client, *then* go to the web application
and
attach
I would like to use browscap.ini, I believe you can override the php.ini
file values with a php_value line in a .htaccess file.
Is this possible? Is so how?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks greg, will check them out.
Greg Donald wrote:
On 5/6/05, Angelo Zanetti [EMAIL PROTECTED] wrote:
I just want to find out from you which payment gateways you use and what
experiences good and bad have you had with them. I'm looking for a
reliable payment gateway to handle credit card
Ryan A wrote:
clip
Your looking at something like. For ages between 21 and 23
$Upper = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-22));
$Lower = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-23));
$sql = SELECT field1,field2,field3 FROM `table_name` WHERE `age`
BETWEEN . $Lower . AND .
Murray @ PlanetThoughtful wrote:
[ snipped ]
when u upload it name it dynamiccaly by appending date and time before
the file name
like this
2005050501010-filename.jpg
Hi, yes, I'm already doing this. Conflict of filename isn't my issue -- it's
whether or not the file should be uploaded at all, in
Thanks Richard.
That did the trick. Now to the DB fixing business...
-Will
Richard Lynch [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
On Thu, May 5, 2005 10:42 pm, William Stokes said:
I made a mistake and stored date information to DB as varchar values
(dd.mm.yyy). When I read
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 11:56
To: php-general@lists.php.net
Subject: [PHP] I'm having a blond moment with a while loop???
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
-CLIENT1 MacOs X w/ Netscape (JS enabled)
-CLIENT2 Linux 2.6 w/ Netscape (JS enabled also)
In a web application, I need to open a JS window
within data came from MySql and
Sorry - forgot to CC to list.
Personally I have a feeling that if you take out the :3306, your
script might just work.
I read somewhere that on unix, mysql used a unix socket whenever the
hostname was localhost. On unix localhost:something means that
something is a unix socket, when it would
But I remember gz encoding works fine with IE 5. Shouldn't be a problem with
5.5.
Did you try downloading the same compressed page twice, and checking
the server logs, to see if it loaded from cache the second time
around?
Cheers,
Prathap
-- Original Message ---
I just finished testing what you said. It comes from the cache during the
second time. But this happens with all the other pages too (the non-
compressed) not only the ones that were returned using ob_gzhandler.
It is the same phenomena with Opera 8 too.
Prathap
-- Original Message
Hello
Can I get the background color a swf file with php?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Francesco Casalena [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 10:18
To: php-general@lists.php.net
Subject: [PHP] need manual reload on Mac client
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
On 5/9/2005 9:47:50 AM, Burhan Khalid ([EMAIL PROTECTED]) wrote:
Ryan A wrote:
clip
Your looking at something like. For ages between 21 and 23
$Upper = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-22));
$Lower = date(m-d-Y, mktime(0,0,0,date(m),date(d),date(y)-23));
$sql
I am not sure
but maybe something like this is posible
$current_year = date(Y);
$qry = SELECT * FROM
`table`
WHERE ($current_year-YEAR(birthday)) BETWEEN 25 AND 26
Matthew Weier O'Phinney [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Ryan A [EMAIL PROTECTED] :
Thanks for
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 1:02 PM
Luck and me? You dont know who you are talking to my friendI am
still
on
mysql 3.23 not even
4.1 !!!
TO_DAYS() works on 3.23 too ;-)
--
Med venlig hilsen / best regards
ComX
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can do?
--
09:21:28 up 37 days, 17:45, 1 user, load average: 2.54, 2.04, 1.50
Hi,
CCavenue is good.
Also try 2checkout.com, but i wont reccomenrd that
because their interface is not that good as
ccavenue's.
..Deeps..
--- Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi guys,
I just want to find out from you which payment
gateways you use and what
experiences good and
* [EMAIL PROTECTED] [EMAIL PROTECTED] :
I am not sure
but maybe something like this is posible
$current_year = date(Y);
$qry = SELECT * FROM
`table`
WHERE ($current_year-YEAR(birthday)) BETWEEN 25 AND 26
No -- because this incorrectly identifies somebody born on June 14 as 26
even
Hi,
Where are the dollar signs before seatnum, seat1 etc
in the if condition.
..Deeps..
--- Anasta [EMAIL PROTECTED] wrote:
What am i doing wrong here, the output is always
'empty'
?php
$result = mysql_query(SELECT username FROM users
WHERE seatnum='seat1') or die(mysql_error());
Bottom line is that you can't do it reliably with PHP or anything on
the server. Different browsers will display content at different times.
I think Internet Explorer will only display something after it gets a
certain amount of information (i.e. 18k) or the entire page. I don't
think any
I would first look to the browser configuration and your html code. Are
you using meta tags in your web page like pragma nocache and page
expiration? If not, then it's really kind of up to the browser if it's
going to reload the entire page from the server. I know there have been
issues with
Hello Martín,
Monday, May 9, 2005, 1:23:45 PM, you wrote:
MM I have a text variable that contains $ symbols, that when I pass it out
PHP
MM thinks that the $ mean that a variable name comes right after.
MM I tried escaping the $ put with no luck.
$string = hello\$world;
Best regards,
On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
On 5/9/05, bala chandar [EMAIL PROTECTED] wrote:
Hi
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
On Sun, May 08, 2005 at 08:56:25PM +0530, bala chandar wrote:
On Monday 09 May 2005 14:23, Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out
PHP thinks that the $ mean that a variable name comes right after.
To include the string symbol in a variable, use the single quotes.
$myvar='this is $$$ test';
Andy
--
On 5/9/05, Martín Marqués martin@bugs.unl.edu.ar wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can do?
$var = 'hi $there';
--
On Monday 09 May 2005 15:23, Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out
PHP thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Use single quote.
Is there something I can do?
--
Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can do?
?php
echo '$';
echo \$;
?
--
PHP General Mailing List
On 5/9/05, Martín Marqués martin@bugs.unl.edu.ar wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
/*
This is standard behavior, as far as I know. Are you using an IDE, or
just a standard text
Hiya!
I have just come back from the client visit and one of the issues that arose
was over the use of accessible markup, more specifically the use of tables
versus the use of layers.
Now, my long held belief was that div/layers were added to the spec so that
designers could separate
Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can do?
How did you escape the symbol? You should use backslash: \
Or
Hi..
Is this a correct mailing list to submit a posting looking for a web
developer/web designer? The project will initially be a Sweat Equity
project? Are there members here interested in being part of a Start-Up.
Even though this is a PHP/Development list, we thought we'd ask!
We have a
Hi,
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
On 5/9/05, bala chandar [EMAIL PROTECTED] wrote:
Hi
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
On
hi
On 5/9/05, Martín Marqués martin@bugs.unl.edu.ar wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
use this
$$text = $text;
I tried escaping the $ put with no luck.
Is there something I
El Lun 09 May 2005 11:44, Marek Kilimajer escribió:
Martín Marqués wrote:
I have a text variable that contains $ symbols, that when I pass it out
PHP
thinks that the $ mean that a variable name comes right after.
I tried escaping the $ put with no luck.
Is there something I can
Do you mean you named a variable like $varia$le? I wouldn't do that.
If you mean you have something like:
A text $tring with $ome dollar$
Just put it in single quotes instead of double quotes. PHP doesn't
evaluate what's inside single quotes.
'A text $tring with '.$variable.' dollar'
On May 9,
On Mon, May 09, 2005 at 08:19:47PM +0530, bala chandar wrote:
Hi,
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
On 5/9/05, bala chandar [EMAIL PROTECTED] wrote:
Hi
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
I have a text variable that contains $ symbols, that when
I pass it
out PHP thinks that the $ mean that a variable name comes
right after.
To include the string symbol in a variable, use the single quotes.
$myvar='this is $$$ test';
Or, if you still want to use interpolation, use
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 15:40
To: php-general@lists.php.net
Subject: [PHP] Accessible HTML - OT
Hiya!
I have just come back from the client visit and one of the issues that
arose was over the use of accessible markup, more
* Mikey [EMAIL PROTECTED]:
I have just come back from the client visit and one of the issues that
arose was over the use of accessible markup, more specifically the use
of tables versus the use of layers.
Now, my long held belief was that div/layers were added to the spec so
that designers
It has come to a point where a vendor is requiring that we use SOAP to
access a service that they provide, so I need some recommendations...
a. Do I build my own request/receipt functions.
2. Do I use something like nusoap or Pears' SOAP classes?
Would those of you who are experienced with PHP
Hello bala,
Monday, May 9, 2005, 3:51:21 PM, you wrote:
I have a text variable that contains $ symbols, that when I pass it out PHP
thinks that the $ mean that a variable name comes right after.
bc use this
bc $$text = $text;
While I'm sure creating a variable variable is useful in lots of
hi
perhaps have a look here:
http://www.webstandards.org/about/
Mikey wrote:
Hiya!
I have just come back from the client visit and one of the issues that arose
was over the use of accessible markup, more specifically the use of tables
versus the use of layers.
Now, my long held belief was that
Hi All,
I need to implement the ability to ftp upload files from
client machines via a form in a web application I'm developing.
From reading the PHP help, all I can find to perform this is
the POST method for handling file uploads
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Mon, May 09, 2005 at 08:19:47PM +0530, bala chandar wrote:
Hi,
On 5/9/05, The Doctor [EMAIL PROTECTED] wrote:
On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
On 5/9/05, bala chandar [EMAIL PROTECTED] wrote:
Hi
Leonardo Pedretti wrote:
I would like (for code cleanliness purposes) to make 'new' return a reference
to an already created object under certain circumstances without using a
factory, is it possible?
not unless you hack the php engine (in which case
your code will only work on your custom php
how do I set a number as a string
example
let us say
$a = 1;
$b = 2;
$c = 0;
I would like to be able to
$str = $c.$a.$b;
to result with
$str = 012;
is there something that I have missed or I guess the question should be what
did I miss
--
PHP General Mailing List (http://www.php.net/)
To
Hey fellas, sorry to infest the list with another question about a
templating engine, but I am looking for some professional opinions
here...
I am trying to make a small, fast, and simple templating class... Now
I have mastered the art of variable replacement, and have made two
versions. The
Hi.
I am very new to this group and this is my first request for help so please be
patient.
when I try to use the mail() function in a PHP based webpage I get the
following error:
Fatal error: Call to undefined function: mail() in the path to my
script on line line number
I have tried
For the most part you can simply treat them as strings. What is
happening that shouldn't be happening, or what should be happening,
but isn't?
let us say
$a = 1;
$b = 2;
$c = 0;
$str_a = (string)$a;
$str_b = $b
I would like to be able to
$str = $c.$a.$b;
Does that not work? What happens
Nested tables are the absolute worst thing you can do! A screen reader
is able to tab to a table and tab within a table but once you begin to
have tables within tables, UGH! To quote accessibility guru Joe Clark;
With nested tables, a screen reader user ends up working from within a
maze
I think Leonardo might have a point here. Built-in support for
Singletons could be a nice feature, without the use of static
functions, would be nice. I wouldn't use the 'new' keyword however. I
think something along the lines of existing, or ref
$ref = existing TEST; // which would return an
I was under the belief that tables are very bad for accessibility. I
once attended a conference on accessibility and standards and witnessed
a blind person attempting to read a website that had it's information
laid out in a table with a screen reader. It was awful and shamed me
into never
I am trying to make a small, fast, and simple templating class... Now
I have mastered the art of variable replacement, and have made two
versions. The first one I made simply used file() to load up the file
into an array,
Personally I think you should use file_get_contents() instead.
On 5/9/05, James Williams [EMAIL PROTECTED] wrote:
1st question) I need a professionaly opinion on to which solution is
better, considering speed, security, and expandability.
Bench them both with Apache's ab.
2nd question) Like I said before, I've mastered the art of variable
replacement,
On 5/9/05, Rory Browne [EMAIL PROTECTED] wrote:
I made a second one, which reads the file into an array,
changes the variables the same way, but instead compiles the finished
product into a compile directory and then reads the compiled file back
to the page. the benefit to this being that
Mary-Anne Nayler wrote:
Hi.
I am very new to this group and this is my first request for help so
please be patient.
when I try to use the mail() function in a PHP based webpage I get the
following error:
Fatal error: Call to undefined function: mail() in the path to my
script on line line
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said:
Fatal error: Call to undefined function: mail() in the path to my
script on line line number
That means PHP has no mail() function to even call, which is MUCH earlier
in the process than sendmail location.
Most likely, your webhost has
* James Williams [EMAIL PROTECTED]:
Hey fellas, sorry to infest the list with another question about a
templating engine, but I am looking for some professional opinions
here...
I am trying to make a small, fast, and simple templating class... Now
I have mastered the art of variable
* Mary-Anne Nayler [EMAIL PROTECTED] :
Nested tables are the absolute worst thing you can do!
I agree -- which, if you read my post, you'll see I didn't advocate
nested tables -- just a single table for columnar layout of the page.
Within each column, items are floated or positioned using CSS.
Hello,
on 05/09/2005 08:24 PM Mary-Anne Nayler said the following:
Nested tables are the absolute worst thing you can do! A screen reader
is able to tab to a table and tab within a table but once you begin to
have tables within tables, UGH! To quote accessibility guru Joe Clark;
With nested
Hi All,
this page,
http://www.freewebmasterhelp.com/tutorials/phpmysql/5
has the below code,
?
$i=0;
while ($i $num) {
$first=mysql_result($result,$i,first);
$last=mysql_result($result,$i,last);
$phone=mysql_result($result,$i,phone);
$mobile=mysql_result($result,$i,mobile);
Testing receipt of post..cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
64 matches
Mail list logo