Hi Nathan,
if you're already speaking of iterating children, i'd like to ask you
another question:
Basically i was trying to do the same thing as Tim, when i experienced
some difficulties iterating over DOMElement->childNodes with foreach and
manipulating strings inside the nodes or even rep
What variable contains the number?
How _exactly_ are you assigning the number to the variable?
How _exactly_ are you writing the data to the CSV file?
I tried looking up a function 'dump' at php.net and didn't turn up
anything. How is dump implemented?
On Sep 8, 2008, at 6:16 PM, Tom Shaw wr
Hi.
For my CMS, i need to do imports of photos and videos.
For uploading large files i have a Java FTP applet with automated resume, so
no problems there.
But: unzipping them and importing them might take a long time if it's a
large batch (1000s of pictures/videos).
Currently i split this up by
Arnie Shore wrote:
>> Folks, I need to take a given float value to, say, two decimals, as per
>> subject JS. I've RTFM, but to no avail.
On Mon, 08 Sep 2008 22:03:54 +0200, Sjoerd wrote:
>$str = sprintf("%01.2f", $number);
Skinning cat, method two:
$str = number_format($number, 2);
--
Ross McK
Jochem Maas wrote:
>how do you handle licensing/activation in these VMs?
>I have parallels on my Mac and a 'proper' bootcamp install of WinXP
>which I need for work ... and I'm not about to screw with that install
>for the sake of testing another POS version of IE.
You need a license for each in
This is a bug/feature of Excel.
If the field it marked as type of General, the default field type, Excel will
truncate the zeros to the right of the decimal.
price,55.55
price,55.50
price,55.00
copy these values
create a new text file, call it test.csv
paste the above values into it.
now, ope
Have you opened the CSV file in a text editor?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tom Shaw wrote:
> This statement _is_ correct. I see values such as 234.55, but not 234.00 in
> the CSV file and when I dump the data.
> 55.00 will equal 55 when it
This statement _is_ correct. I see values such as 234.55, but not 234.00 in
the CSV file and when I dump the data.
55.00 will equal 55 when it should equal 55.00. 234.00 shows up as 234. The
data is fine it just simple does not show up
correctly in the CSV file.
$out
.="".$name.",".$description.",
Tom Shaw wrote:
> I'm outputting a bunch of numerical values for a spreadsheet to calculate
> total sales among other things on a client shopping cart. I'm running into
> problems with values that contain zeros after the decimal. If a value is
> 234.55 the value outputs fine to the CSV file but if
On Sep 8, 2008, at 5:06 PM, Tom Shaw wrote:
Actually that won't work I tried it. For some reason the .00 shows
up when I
try to manually add a .00. I know weird.
Did you mean to say that it .00 _doesn't_ show up when you try to
manually add a .00?
The value is in the array or string
be
On Mon, Sep 8, 2008 at 2:00 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
> I know that Base64 encoding adds something like 30% to the overall volume of
> the object once it has been encoded. For huge files, that might be
> unacceptable. I'm not sure how UUEncode handles it.
yeah, I found an ema
Actually that won't work I tried it. For some reason the .00 shows up when I
try to manually add a .00. I know weird. The value is in the array or string
before outputting printing to CSV. Number format does not work either.
-Original Message-
From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
> -Original Message-
> From: mike [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 1:38 PM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> On Mon, Sep 8, 2008 at 11:35 AM, Boyd, Todd M. <[EMAIL PROTECTED]>
>
> -Original Message-
> From: Tom Shaw [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 3:54 PM
> To: php-general@lists.php.net
> Subject: [PHP] CSV output.
>
> I'm outputting a bunch of numerical values for a spreadsheet to
> calculate
> total sales among other things on a clie
It sounds like you simply need to number format the data to ensure that PHP
does not truncate
http://php.net/number_format
If excel, or whatever your using to view the csv file, is truncating then
you will need to properly format that cell.
--
Stephen Johnson c | eh
The Lone Coder
http://www
I'm outputting a bunch of numerical values for a spreadsheet to calculate
total sales among other things on a client shopping cart. I'm running into
problems with values that contain zeros after the decimal. If a value is
234.55 the value outputs fine to the CSV file but if the value is 234.00
only
Ross McKay schreef:
On Mon, 8 Sep 2008 13:03:18 +0100, "Richard Heyes" wrote:
I really don't want to install a beta (though I did install Chrome, so
maybe that should be "an MS beta") but I am interested in how it
performs.
That's what God invented the virtual machine for. Load up Windows XP
ZenCart Reasons:
PHP-based
Open Source
lots if plugins
Take a look at this:
http://en.wikipedia.org/wiki/Zen_Cart
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Charlene wrote:
>
> Micah Gersten wrote:
>> Try Zencart.
>>
>> Thank you,
>> Micah Gersten
>> onS
> -Original Message-
> From: Jim Lucas [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 2:38 PM
> To: Richard Kurth
> Cc: PHP General List
> Subject: Re: [PHP] pulling data from array
---8<--- snip
> > $query1 = "SELECT sponserrep,rep,firstname,lastname,phonenumber FROM
> > co
Richard Kurth wrote:
> I am trying to pass the data from a table to a
> google.visualization.OrgChart javascript
> I have converted the data to an array called $customf_array.
> Look down in the script to where I need to pull the data out of the
> array to see the reset of my question
>
>
> $quer
> -Original Message-
> From: Boyd, Todd M.
> Sent: Monday, September 08, 2008 2:28 PM
> To: 'Richard Kurth'; 'php-general@lists.php.net'
> Subject: RE: [PHP] pulling data from array
---8<--- snip
>
> # now loop through your object array and translate to js function
calls
>
> foreach($o
> -Original Message-
> From: Richard Kurth [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 1:55 PM
> To: PHP General List
> Subject: [PHP] pulling data from array
>
> I am trying to pass the data from a table to a
> google.visualization.OrgChart javascript
> I have converted t
I am trying to pass the data from a table to a
google.visualization.OrgChart javascript
I have converted the data to an array called $customf_array.
Look down in the script to where I need to pull the data out of the
array to see the reset of my question
$query = "SELECT * FROM member WHERE m
On Mon, Sep 8, 2008 at 5:27 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> http://htmlpurifier.org/
+1 vote for htmlpurifier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Sep 8, 2008 at 11:35 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
> The checksum is not being performed in the last version I worked on. That was
> going to be my next step--verifying each chunk as it came down the tube. As
> far as encoding, I believe I was UUEncoding it. I don't have t
> -Original Message-
> From: mike [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 1:19 PM
> To: Boyd, Todd M.
> Cc: Jason Pruim; php-general@lists.php.net
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> Yes, share it please!
>
> We also have a Java guy who
On Mon, Sep 8, 2008 at 6:49 AM, Craige Leeder <[EMAIL PROTECTED]> wrote:
> The only concern I would have is that you are using a third party
> software/applet to do these uploads. I'm not a fan of MAKING users have a
> piece of software enabled to allow them basic web-standard functionality on
> a
Yes, share it please!
We also have a Java guy who was going to look into creating this.
Do you checksum each segment and validate it? Do you do any encoding
on the wire to keep the bytes safe? I figure uuencoding or something
would help with transferring over the wire (remember to checksum the
uu
Micah Gersten wrote:
Try Zencart.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Thank you for your recommendation, but I really need either reasons why
to use a particular product from experience or reference to an article
which support your recommend
Ali Çevik schreef:
Correct me if I'm wrong but, unless I have a common folder for my class
files, such as "/classes/", an autoloader has nothing to do with solving my
problem. I get the impression that there might not be another way of solving
the problem too, sadly. I need to force my users to p
ANR Daemon schreef:
Greetings, Jochem Maas.
In reply to Your message dated Sunday, September 7, 2008, 20:56:37,
I've been working on some PEAR-based app last week and I ran into problem.
While I debugging app, my backtrace always trimmed at some point.
First time I though it was my mistake, and
Per Jessen wrote:
Shawn McKenzie wrote:
I need translations from English into the most common languages of my
users: Spanish, French, Italian, Chinese, Indian, Russian. Also,
anyone having expertise in other languages, I would love to have them,
please contact me.
Maybe it's worth trying htt
Wolf wrote:
Shawn McKenzie wrote:
Hi All,
I'm looking for professional translations from English of the following:
- admin.php lang file just under 150 PHP defines
- user.php lang file just under 30 PHP defines
- a javascript file with about 25 single word defines
- about 19 PHP files with 2 de
On Sep 8, 2008, at 809AM, Charlene wrote:
The company I work for is going to be creating the catalog to a
small store (~100 items). The customized catalog will include the
front end that the shoppers will use as well as the back end data
entry.
We need shopping cart/checkout software, pr
In my test.php file, I cannot run javascript and images do not show up. If I
run this file using the URL
http://localhost/index/?m=login&name=Sachin
I can see 'My name is Sachin'.
If I rename this file to test.html and open it, the image shows up and
clicking on 'Click Me!' button works fine.
P
In my test.php file, I cannot run javascript and images do ot show up. If I
run this file using the URL
http://localhost/index/?m=login&name=Sachin
I can see 'My name is Sachin'.
If I rename this file to test.html and open it, the image shows up and
clicking on 'Click Me!' button works
http://
> -Original Message-
> From: Jason Pruim [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 10:48 AM
> To: Boyd, Todd M.
> Cc: php-general@lists.php.net; Craige Leeder
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
>
> On Sep 8, 2008, at 11:25 AM, Boyd, Todd M.
On Sep 8, 2008, at 11:25 AM, Boyd, Todd M. wrote:
-Original Message-
From: Craige Leeder [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2008 8:49 AM
To: mike
Cc: PHP General list
Subject: Re: [PHP] Large/unreliable file uploading over HTTP
The only concern I would have is that y
Boyd, Todd M. wrote:
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>Sent: Saturday, September 06, 2008 9:41 AM
>>To: [EMAIL PROTECTED]
>>Cc: php
>>Subject: [PHP] Problem of Connection Character Sets and Collations
>>
>>Dear All,
>>
>>For displaying with unicode
> -Original Message-
> From: Craige Leeder [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2008 8:49 AM
> To: mike
> Cc: PHP General list
> Subject: Re: [PHP] Large/unreliable file uploading over HTTP
>
> The only concern I would have is that you are using a third party
> software/
On Mon, Sep 8, 2008 at 11:09 AM, Charlene <[EMAIL PROTECTED]> wrote:
> The company I work for is going to be creating the catalog to a small store
> (~100 items). The customized catalog will include the front end that the
> shoppers will use as well as the back end data entry.
>
> We need shoppin
On Mon, 2008-09-08 at 11:48 +0100, Colin Guthrie wrote:
> Richard Heyes wrote:
> > Anyone using it?
>
> Do you mean Firefox, Chrome or Safari? All of these are Internet
> Explorer beaters
You forgot Opera you insensitive clod... it beats all 4!
Cheers,
Rob.
--
http://www.interjinn.com
Appl
Richard Heyes wrote:
That's what God invented the virtual machine for
>>
God
Who?
I prefer some kind of Xen Buddhism...
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [ht
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 06, 2008 9:41 AM
> To: [EMAIL PROTECTED]
> Cc: php
> Subject: [PHP] Problem of Connection Character Sets and Collations
>
> Dear All,
>
> For displaying with unicode Character Sets problem
This one time, at band camp, David Lidstone <[EMAIL PROTECTED]> wrote:
> which with hindsight is completely illogical! I also wasn't aware of the
> constants. Is there a simple tutorial / docs you know of for SPL?
http://www.phpro.org/tutorials/Introduction-to-SPL.html
Kevin
--
PHP General
Hello,
on 09/08/2008 09:16 AM Emil Edeholt said the following:
> Hello,
>
> Do you know of any good ways to filter out javascript from html code?
> I've seen this code
> http://kallahar.com/smallprojects/php_xss_filter_function.php but I
> found some old discussions about it saying that it wasn't
Greetings, Jochem Maas.
In reply to Your message dated Sunday, September 7, 2008, 20:56:37,
>> I've been working on some PEAR-based app last week and I ran into problem.
>> While I debugging app, my backtrace always trimmed at some point.
>> First time I though it was my mistake, and switched back
> God
Who?
--
Richard Heyes
HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The only concern I would have is that you are using a third party
software/applet to do these uploads. I'm not a fan of MAKING users have
a piece of software enabled to allow them basic web-standard
functionality on a site.
It is however, an interesting concept. It would really come in handy f
Can we see your parsing code, please?
BTW, are you parsing for and , because you have given both as
an example here.
- Craige
VamVan wrote:
hello,
i have html tags in the bod of text like:
$body = "helloierhellohello";
print $body;
Some how it does not render html properly in a html pag
No, I'm not. I didn't even know it was in Beta until this email.
I probably wont download it until final release. I'm not the biggest MS
fan, and pretty much the only reason I use IE is for cross-browser testing.
- Craige.
Richard Heyes wrote:
Hi,
Anyone using it?
--
PHP General Maili
On Mon, 8 Sep 2008 13:03:18 +0100, "Richard Heyes" wrote:
>I really don't want to install a beta (though I did install Chrome, so
>maybe that should be "an MS beta") but I am interested in how it
>performs.
That's what God invented the virtual machine for. Load up Windows XP in
KVM, QEMU, Virtual
On Monday 08 September 2008 14:53:24 Jay Moore wrote:
> > Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
> > KDE) is my preference ;)
>
> Heathen!
>
> Dreamweaver is awesome. Not for their WYSIWYG editor, but for their
> code-only view and its auto-complete.
>
> Never have
Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
KDE) is my preference ;)
Heathen!
Dreamweaver is awesome. Not for their WYSIWYG editor, but for their
code-only view and its auto-complete.
Never have I typed so little to get so... little.
Jay
--
PHP General Mailing
Correct me if I'm wrong but, unless I have a common folder for my class
files, such as "/classes/", an autoloader has nothing to do with solving my
problem. I get the impression that there might not be another way of solving
the problem too, sadly. I need to force my users to put all their class
fi
Shawn McKenzie wrote:
> I need translations from English into the most common languages of my
> users: Spanish, French, Italian, Chinese, Indian, Russian. Also,
> anyone having expertise in other languages, I would love to have them,
> please contact me.
Maybe it's worth trying http://www.elance
IMHO, the obvious choice (for PHP) should be HTML Purifier by Edward Yang.
Link: http://htmlpurifier.org/
--Bipin Upadhyay.
On Mon, Sep 8, 2008 at 5:46 PM, Emil Edeholt <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Do you know of any good ways to filter out javascript from html code? I've
> seen this c
On Mon, Sep 8, 2008 at 8:16 AM, Emil Edeholt <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Do you know of any good ways to filter out javascript from html code? I've
> seen this code http://kallahar.com/smallprojects/php_xss_filter_function.php
> but I found some old discussions about it saying that it w
Hello,
Do you know of any good ways to filter out javascript from html code?
I've seen this code
http://kallahar.com/smallprojects/php_xss_filter_function.php but I
found some old discussions about it saying that it wasn't really secure.
There most be some safe way to filter out xss without
Sorry, but sarcasm doesn't quite come across email very effectively.
2008/9/8 Richard Heyes <[EMAIL PROTECTED]>:
> Hi,
>
>> I think he is asking whether people are using Internet Explore 8 Beta 2
>
> I am. That would be an obscure sense of humour.
>
>> No I'm not using it, I still haven't ugraded
[snip]
...experience...
[/snip]
Sounds like it is time for you to learn some modeling.
"Why?", you ask.
It is very simple; once a project is broken down into its component
parts it will be much easier for you to provide a time estimate for your
customer. Additionally, high level overviews (such
On Sep 8, 2008, at 7:59 AM, Richard Heyes wrote:
Correct me if I'm wrong, but couldn't you use grab and parse the
rss feeds
you want, store the titles in a database, with a column for
identifying if
the e-mail has been sent? So every hour it checks your feeds, grabs
the new
ones, checks t
Hi,
> I think he is asking whether people are using Internet Explore 8 Beta 2
I am. That would be an obscure sense of humour.
> No I'm not using it, I still haven't ugraded to IE7 yet, and probably
> won't while I use Firefox 3, and am quite happy with FF3.
I really don't want to install a beta
> Correct me if I'm wrong, but couldn't you use grab and parse the rss feeds
> you want, store the titles in a database, with a column for identifying if
> the e-mail has been sent? So every hour it checks your feeds, grabs the new
> ones, checks to see if emailSent="1" if not pass it to
> send_not
Shawn McKenzie wrote:
> Hi All,
>
> I'm looking for professional translations from English of the following:
> - admin.php lang file just under 150 PHP defines
> - user.php lang file just under 30 PHP defines
> - a javascript file with about 25 single word defines
> - about 19 PHP files with 2 def
I think he is asking whether people are using Internet Explore 8 Beta 2
No I'm not using it, I still haven't ugraded to IE7 yet, and probably
won't while I use Firefox 3, and am quite happy with FF3.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On Sep 8, 2008, at 6:50 AM, Richard Heyes wrote:
Hi,
Anyone know of a PHP based RSS to email gateway. What I'm looking to
do is have something running on my website that provides an interface
for specifying some feeds, and these are subsequently checked every
hour or so. If a new news item is
Hi,
Anyone know of a PHP based RSS to email gateway. What I'm looking to
do is have something running on my website that provides an interface
for specifying some feeds, and these are subsequently checked every
hour or so. If a new news item is found, it fires off an email to me.
Basically want th
Richard Heyes wrote:
Anyone using it?
Do you mean Firefox, Chrome or Safari? All of these are Internet
Explorer beaters
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contri
Hi,
Anyone using it?
--
Richard Heyes
HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shawn McKenzie schrieb:
Hi All,
I'm looking for professional translations from English of the following:
- admin.php lang file just under 150 PHP defines
- user.php lang file just under 30 PHP defines
- a javascript file with about 25 single word defines
- about 19 PHP files with 2 defines in ea
David Lidstone schreef:
Thanks very much to both of you.
This does the trick! I had (stupidly) tried:
foreach ($c as new RecursiveIteratorIterator($item))
which with hindsight is completely illogical! I also wasn't aware of the
constants. Is there a simple tutorial / docs you know of for SPL?
don't top post.
Ali Çevik schreef:
Hi,
I guess the word "meaningless" depends on what you are trying to do.
So, I guess I have to describe what I'm trying to do. The problem is, I need
to pass a php object to javascript via json and then back to php again
using json. However, while doing that
Thanks very much to both of you.
This does the trick! I had (stupidly) tried:
foreach ($c as new RecursiveIteratorIterator($item))
which with hindsight is completely illogical! I also wasn't aware of the
constants. Is there a simple tutorial / docs you know of for SPL? I have
tried numerous g
74 matches
Mail list logo