php-general Digest 8 Jan 2008 01:37:22 - Issue 5222
Topics (messages 266837 through 266862):
Re: First stupid post of the year. [SOLVED]
266837 by: tedd
266838 by: Zoltán Németh
266840 by: Robert Cummings
266846 by: tedd
266850 by: tedd
utf-8 in
hello all:
my boss want use zend framework with smarty. if i don't use view helper
in smarty, it's easy to do it, but how can i use zend framework view
helper in smarty?
thanks All!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I just wonder to how can I find a memory size of an array.
Regards
Sancar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello all:
my boss want use zend framework with smarty. if i don't use view helper
in smarty, it's easy to do it, but how can i use zend framework view
helper in smarty?
thanks All!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Balasubramanyam A wrote:
Hi all,
I'm searching names from MySQL and printing it on a browser. Also, I've
provided checkbox for all the rows and a delete button for a page. I want to
delete the selected rows from MySQL when I click on the Delete button. How
do I do that?
Here is the code which
On Sun, 6 Jan 2008 11:28:55 -0500, tedd wrote:
At 11:04 PM +0100 1/5/08, Nisse Engström wrote:
The page encoding is determined by the HTTP
`Content-Type:´ header. Period. A meta element
may provide hints to a browser if the HTTP header
is missing (eg. when saving a page to disc). In the
Hi,
I have created a class and passing a float value to a method in it. I
have checked the the argument values in the method. The passed
argument has the proper value. However, on any arithmetic operation
the float as a whole is rounded off.
System Information :
Operating System : Windows
that one of the nodes has an id of 'custom'. However, when I try to get
the
element directly using getElementById(), it doesn't return the node
properly. Am I doing something wrong?
A common problem. See here:
http://wiki.flux-cms.org/display/BLOG/GetElementById+Pitfalls
Probably
At 12:03 PM +0100 1/7/08, Nisse Engström wrote:
How does the following pages compare? The display
should be identical:
http://luden.se/test/t-1252.html
http://luden.se/test/t-utf8.html
Nisse:
No, there is quite a difference depending upon
the text encoding used in my browser (Safari).
For
2008. 01. 7, hétfő keltezéssel 10.29-kor tedd ezt írta:
At 12:03 PM +0100 1/7/08, Nisse Engström wrote:
How does the following pages compare? The display
should be identical:
http://luden.se/test/t-1252.html
http://luden.se/test/t-utf8.html
Nisse:
No, there is quite a difference
hello
does php have any built-in functions to convert post data from
whatever format it arrives in to whatever format i wish?
example:
i use iso-8859-1 internally, and even specify
accept-charset=iso-8859-1 in my html, but some browsers (phones) send
utf-8 anyway.
do i have to manually check
All of these look the same for me in Opera under Linux. Character sets
are not a browser war issue, they're a character set/font issue. Just
because a character set supports a character, doesn't mean the character
font exists.
Cheers,
Rob.
On Mon, 2008-01-07 at 10:29 -0500, tedd wrote:
At
Hi All,
Ok, I have resolved the problem! Interestingly from the index.phtml page I
was still unable to get any info even
after setting the display errors options as suggested by Brady. I tried
connecting direct to some other random
.phtml files included in the CDRTool app and I started
Olav Mørkrid wrote:
hello
does php have any built-in functions to convert post data from
whatever format it arrives in to whatever format i wish?
example:
i use iso-8859-1 internally, and even specify
accept-charset=iso-8859-1 in my html, but some browsers (phones) send
utf-8 anyway.
do i
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
My experience is that this does not affect only the displayed
characters, but the way the form fields are transported.
But perhaps I am wrong,
Iv
This works for me as well.
Put in utf-8 and you should be good to go.
You
Hi folks,
Probably the most impressive application I've run into for the iPhone has to
be Facebook's implementation. I'm looking for ways to improve my application
to be as responsive as theirs. Unfortunately it has quite a way to go. Does
anyone know how this form of 'routing' works?
For
It's probably using IUI (the iPhone UI CSS/JS that Joe Hewitt created,
now being maintained at http://code.google.com/p/iui/) which allows
you to request the page to be loaded via AJAX based on how you setup
the link.
a href=foo.phpthis will load via AJAX/a
a href=foo.php target=_selfthis will
At 4:36 PM +0100 1/7/08, Zoltán Németh wrote:
2008. 01. 7, hétf keltezéssel 10.29-kor tedd ezt írta:
however, on firefox with encoding auto-detection both page looks
correctly and the same.
greets
Zoltán Németh
Not that you are claiming otherwise, but FF will
render the pages incorrectly if
Thanks for the reply Mike.
I suppose ultimately I'd need to dig into the JavaScript (hopefully it's not
compressed) to figure out the PHP routing. I believe re-writing my
application with the framework would be quite extensive and just not
feasible at this particular point in time, although I
It's -very- easy to use.
Just strip your pages down and let the device do a lot of the work
(via the IUI CSS/JS) - I converted our WordPress-based site in maybe
15-20 minutes on my first try.
It was tricky when loading up the subpages, I figured out the
difference between the full-loading pages
clearstatcache();
if(is_executable(PATH_TO_SOURCE_DIR . $filename)
{
code
}
Always returns true for:
foo.jpg
foo.php
foo.sh
And even if I feed it a non existing file.
I found one ref that said is_executable() doesn't work in safemode, seems dumb
if true.
If that's so, how can I test whether
At 10:41 AM -0500 1/7/08, Robert Cummings wrote:
Character setsare not a browser war issue,
they're a character set/font issue. Just
because a character set supports a character, doesn't mean the character
font exists.
Cheers,
Rob.
Rob:
What I meant by browser wars was that there is
a
Hi:
What would be a good form (i.e., fields) for collecting global
addresses and phone numbers?
In other words, in the USA we ask for name, address, city, state,
zip, and phone number. What would be a global equivalent that could
cover all (or most) address and phone numbers?
Cheers,
i specify iso-8859-1 in both header and body:
meta http-equiv=Content-type content=text/html; charset=iso-8859-1/
form action=/ method=post accept-charset=iso-8859-1
if two different people post the norwegian phrase Godt nytt år
(happy new year), it may appear in the following variations:
On Jan 7, 2008 1:13 PM, tedd [EMAIL PROTECTED] wrote:
Hi:
What would be a good form (i.e., fields) for collecting global
addresses and phone numbers?
In other words, in the USA we ask for name, address, city, state,
zip, and phone number. What would be a global equivalent that could
cover
maybe look at iconv functions
but the meta content-type is the only thing i set, and it works 100%
fine. all javascripts, forms, etc. inherit it from the looks of it
properly.
On 1/7/08, Olav Mørkrid [EMAIL PROTECTED] wrote:
i specify iso-8859-1 in both header and body:
meta
When configuring APC 3.0.16 I see this, which I don't recall seeing before:
checking dlfcn.h presence... no
configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: dlfcn.h: proceeding with the compiler's result
checking for dlfcn.h... yes
Also
I take it back.. if I use --enable-apc-pthreadmutex I get file locks,
but if I don't use the option at all, I get pthreadmutexes. I'm
guessing pthead became the new default?
On Jan 7, 2008 1:59 PM, steve [EMAIL PROTECTED] wrote:
When configuring APC 3.0.16 I see this, which I don't recall
In other words, in the USA we ask for name, address, city, state, zip,
and phone number. What would be a global equivalent that could cover all
(or most) address and phone numbers?
Full name (optionally forename/surname)
Address 1
Address 2 (optional)
Address 3 (optional)
Town/City
Al wrote:
clearstatcache();
if(is_executable(PATH_TO_SOURCE_DIR . $filename)
{
code
}
Always returns true for:
foo.jpg
foo.php
foo.sh
And even if I feed it a non existing file.
Really?
?php
$file = 'blah.de.blah';
echo 'file exists: ' . is_file($file) . \n;
echo 'is exec: ' .
is_executable() does not check whether a file's contents will do
something useful (or dangerous, depending on one's viewpoint) when you
execute the file.
It just checks if the file has been set as executable with
http://php.net/chmod
ANY file with ANY extension, or NO extension at all, can be an
Hi all,
I have a screen get_collection.php which is supposed to be used to
select something called 'data sets'. My database (the postgres database
is not the problem, PHP is) has an entity called 'data series' which has
a child entity called 'data sets'. The user is first shown a list of
I have to ask... WHY are you forcing ISO-8859-1? If anything, you should be
forcing UTF-8. Then you can send, receive, and store data in UTF-8 ad cover
most human languages without having to change character set.
On Monday 07 January 2008, Olav Mørkrid wrote:
i specify iso-8859-1 in both
On Mon, January 7, 2008 7:20 pm, Mary Anderson wrote:
EVERY http request is totally separate and independent of any other
http request, unless YOU specifically code something in the URL or
SESSION to tie them together.
I thought I could just give re_reference_id to get_collection as
an
Al wrote:
clearstatcache();
if(is_executable(PATH_TO_SOURCE_DIR . $filename)
{
code
}
is_executable() will only tell if the execute bit is set for the
provided file.
Always returns true for:
foo.jpg
foo.php
foo.sh
And even if I feed it a non existing file.
Checking on a non-existing
Sancar Saran wrote:
Hello,
I just wonder to how can I find a memory size of an array.
wild guess
echo strlen(serialize($array));
/wild guess
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Wan Chaowei wrote:
hello all:
my boss want use zend framework with smarty. if i don't use view helper
in smarty, it's easy to do it, but how can i use zend framework view
helper in smarty?
Probably best to ask the zend-framework list(s):
http://framework.zend.com/community
--
Postgresql
Cyril Chacko wrote:
Hi,
I have created a class and passing a float value to a method in it. I
have checked the the argument values in the method. The passed
argument has the proper value. However, on any arithmetic operation
the float as a whole is rounded off.
http://php.net/float
There is
steve wrote:
When configuring APC 3.0.16 I see this, which I don't recall seeing before:
checking dlfcn.h presence... no
configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: dlfcn.h: proceeding with the compiler's result
checking for
39 matches
Mail list logo