php-general Digest 27 Sep 2007 14:30:48 - Issue 5041
Topics (messages 262504 through 262526):
Re: counting with leading zeros
262504 by: brian
262506 by: Robert Cummings
262508 by: brian
262509 by: Robert Cummings
262510 by: Jim Lucas
262522
This may not be relevant as I'm only glancing over this as I have to
leave for a meeting, but you have to enable POP access in Gmail before
you can download to another email client like Thunderbird or Outlook,
so maybe the same applies?
Anyway, I'm looking to find a way of accessing my gmail as I
Carlton Whitehead wrote:
Is something causing the memory allocation
to loop until it reaches this maximum value?
I don't think so as the 4GB value is mentioned in the error message.
Usually when memory is exhausted in a loop it will say (tried to
allocate 100 bytes) - e.g. a little amount.
Hey
when i upload a file with the move_uploaded_file function the perm on
the uploaded file is 0600
the same work with copy the result ist 0644
with php4 the result was always the same and know with php5 it is
diffrent
i serached in the bug list and found this in the link below
and it is not a
Is there no freopen function in php?
I need to redirect stdin to a filename - outside of a shell so I can't
use a plain redirect).
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Under the results there are 3 files to download. Some users are getting an
uable to read or corrupt message.
http://vps.aztechost.co.uk/~trisco/index.php
and 3 here
http://vps.aztechost.co.uk/~trisco/rankings.php
The upload script is similar
if(isset($_POST['_upload'])
Hi all.
this is more of a general question but Im sure some people will have
experience and also it will be useful to others who are looking for the
same answers as I am.
What are the implications of having a site that has many different
languages, including latin and non latin characters?
On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote:
What are the implications of having a site that has many different
languages, including latin and non latin characters?
Keep everything as universal (UTF-8) as possible, and make sure that you
code for right-to-left languages as well.
Paul Scott wrote:
On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote:
What are the implications of having a site that has many different
languages, including latin and non latin characters?
Keep everything as universal (UTF-8) as possible, and make sure that
you code for
Paul Scott wrote:
On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote:
What are the implications of having a site that has many different
languages, including latin and non latin characters?
Keep everything as universal (UTF-8) as possible, and make sure that you
code for
Per Jessen wrote:
Paul Scott wrote:
On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote:
What are the implications of having a site that has many different
languages, including latin and non latin characters?
Keep everything as universal (UTF-8) as possible, and make
Jim Lucas wrote:
[EMAIL PROTECTED] wrote:
Jim Lucas wrote:
[EMAIL PROTECTED] wrote:
post_max_size = 10M
max_execution_time = 3600 ; Maximum execution time of each script, in
seconds
max_input_time = 3600 ; Maximum amount of time each script may spend
parsing request data
On Wed, 2007-09-26 at 21:56 -0700, Jim Lucas wrote:
Now, if you plan to delete any images in the list, this will not work.
But if you don't expect to delete any images in the list and always want
the ($total_images + 1), then follow along.
?php
function getNextImage($path, $prefix) {
[EMAIL PROTECTED] wrote:
Jim Lucas wrote:
[EMAIL PROTECTED] wrote:
Jim Lucas wrote:
[EMAIL PROTECTED] wrote:
post_max_size = 10M
max_execution_time = 3600 ; Maximum execution time of each script, in
seconds
max_input_time = 3600 ; Maximum amount of time each script may
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning and filtering to do.
I often have to employ this line for example:
foreach (array_keys($_POST) as $key)
Robert Cummings wrote:
Suit yourself. But better programmer's don't just wave their hands in
the air and hope for the best.
Ah crap -- there's another technique I have to cross off my list.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
At 3:58 PM -0400 9/26/07, brian wrote:
Well, this is almost precisely the same thing i have, save for using
POSIX character classes, str_pad instead of sprintf(), and
incrementing elsewhere. What i was really wondering is if there was
a *much simpler* way to do this, not just re-arranging
At 10:39 PM -0400 9/26/07, brian wrote:
Now you're obviously just trying to be a dickhead.
While someone is, it's not Rob.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
David Christopher Zentgraf wrote:
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning and filtering to do.
I often have to employ this line for example:
Hulf wrote:
Under the results there are 3 files to download. Some users are getting an
uable to read or corrupt message.
http://vps.aztechost.co.uk/~trisco/index.php
and 3 here
http://vps.aztechost.co.uk/~trisco/rankings.php
The upload script is similar
if(isset($_POST['_upload'])
At 12:07 PM -0400 9/26/07, David wrote:
This is probably pretty basic but : I'd like to create a page where the end
result is the product(s) listed based on certain criteria selected by the
user, so I would like a drop down menu or other means that they select from
and based on that selection a
Per Jessen wrote:
David Christopher Zentgraf wrote:
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning and filtering to do.
I often have to employ this
The problem is isolated to PDO ODBC -- old school ODBC works fine.
Below are my test cases.
Plain old ODBC:
?php
// lobtestOdbc.php
$res = odbc_connect('fmarchive_mssql', 'change', 'me');
if (!$res) { die ('failed to connect'); }
$stp = 'SELECT attdata FROM fm_faxin_att WHERE id =
Does anyone know how to create a field based on a menu choice?
When the menu is selected, then another field is created with an associated
number.
For instance:
Selection = Collie Field = 1
Selection = AkitaField = 2
And so on...
Thanks,
--
Steve M.
[snip] Does anyone know how to create a field based on a menu choice?
When the menu is selected, then another field is created with an
associated
number.
For instance:
Selection = Collie Field = 1
Selection = AkitaField = 2
[/snip]
Javascript, DHTML, and AJAX
--
PHP General Mailing
Hi Colin,
The MS documentation says the image type can hold up to 2GB:
http://technet.microsoft.com/en-us/library/ms187993.aspx
It appears someone beat me to filing a bug report about this:
http://bugs.php.net/bug.php?id=42765
I guess that's that for now until this gets fixed.
Regards,
Colin Guthrie wrote:
Per Jessen wrote:
I work almost exclusively in UTF-8 (language irrelevant), but I've
never had to do any of the above. The mb_convert_encoding()
fromUTF-8 to UTF-8 doesn't seem to make much sense?
I agree. Provided you HTML is dished out with UTF-8 in the doctype
Edward Vermillion wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
Yes it does. If your HTML page was sent in UTF-8, any request
originating from that page will also be in UTF8.
On 9/27/07, Edward Vermillion [EMAIL PROTECTED] wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
just my experience, but as long as it has the meta tag w/ utf-8 in it,
the browser
On Sep 27, 2007, at 10:09 AM, Colin Guthrie wrote:
Per Jessen wrote:
David Christopher Zentgraf wrote:
Your biggest problem will be if you accept any kind of user input
which could be in any kind of language.
Depending on your server configuration you'll probably have some
serious cleaning
On Sep 27, 2007, at 1:49 PM, Per Jessen wrote:
Edward Vermillion wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
Yes it does. If your HTML page was sent in UTF-8, any request
Edward Vermillion wrote:
... and you can guarantee that any data coming into your site comes
from your form?!? WOW!!!
;)
So back to my original question, what breaks if you're *expecting*
UTF-8 and you don't *get* UTF-8?
As long as my server isn't vulnerable to it, I couldn't care less.
hello people anyone know a good tutorial to learn the basics of zend, how it
works and how to use?
Regards,
Gonzalo
Ave,
I¹m not sure what¹s causing the problem, but I have a feeling that its¹ a
timeout issue.
I have a curl function that retrieves specific data from a remote webpage.
The script works fine on my localhost, but when I upload it to my remote
server, the script tries to execute, but 10 15
On 9/27/07, Gonzalo PHPFan [EMAIL PROTECTED] wrote:
hello people anyone know a good tutorial to learn the basics of zend, how it
works and how to use?
Regards,
Gonzalo
Google: Zend Basics
First result: Understanding the Zend Framework, Part 1: The basics
On Friday 28 September 2007 11:09, Nathan Nobbe wrote:
just curious, what database are you using?
I am using MySQL Ver 14.12 Distrib 5.0.22
cheers,
Jeffery
-nathan
On 9/27/07, Jeffery Fernandez [EMAIL PROTECTED] wrote:
I am having nightmares with this bit off code.
The following code
just curious, what database are you using?
-nathan
On 9/27/07, Jeffery Fernandez [EMAIL PROTECTED] wrote:
I am having nightmares with this bit off code.
The following code work perfectly fine:
$soap_request_string = XML
?xml version=1.0 encoding=UTF-8?
env:Envelope
I am having nightmares with this bit off code.
The following code work perfectly fine:
$soap_request_string = XML
?xml version=1.0 encoding=UTF-8?
env:Envelope xmlns:env=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns1=urn:Gateway_Proxy xmlns:xsd=http://www.w3.org/2001/XMLSchema;
tedd wrote:
At 3:58 PM -0400 9/26/07, brian wrote:
Well, this is almost precisely the same thing i have, save for
using POSIX character classes, str_pad instead of sprintf(), and
incrementing elsewhere. What i was really wondering is if there was
a *much simpler* way to do this, not just
39 matches
Mail list logo