Well after looking at the template thing you posted with your link it
seems to me like PHP is used to create working XML. So i wonder why
you are using AJAX here.
Now could it be that you use appendChild() ? That function would
simply add the XML again.
It's not easy to tell if you are not showing
[EMAIL PROTECTED] wrote:
> I am using a form to select a csv file and then import it into mysql and
> maybe im just drawling a blank here. But why is it blowing up.
> This thing loads like 14 million records into the database and I am clue less
> how it can do that with a 2 record csv file.
>
>
On Mon, 2008-10-13 at 15:02 -0700, bruce wrote:
> hi...
>
> as a test... using the cli php... try to write a short app to read a file
> that simulates your input csv file, and then writes it out as well...
>
> once you do this, you'll know you have the logic to read/write/manipulate the
> csv f
hi...
as a test... using the cli php... try to write a short app to read a file that
simulates your input csv file, and then writes it out as well...
once you do this, you'll know you have the logic to read/write/manipulate the
csv file.
after you can do this, go ahead and then create/work wit
I am using a form to select a csv file and then import it into mysql and maybe
im just drawling a blank here. But why is it blowing up.
This thing loads like 14 million records into the database and I am clue less
how it can do that with a 2 record csv file.
Upload:
$row = 1;
$filename = $_P
You can try, $_SERVER['SERVER_SOFTWARE']
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jiang Miao
Sent: Monday, October 13, 2008 3:44 PM
To: php-general@lists.php.net
Subject: [PHP] How to know what current system is?
Is there any function do that?
when php in Linu
Jiang Miao wrote:
> Is there any function do that?
> when php in Linux it returns linux
> in windows it returns windows
>
> I found phpinfo(INFO_GENERAL); output the string System => Linux ubuntu
> 2.6.24-19-server. but I have no idea to get that info.
>
> Thanks
> Jiang Miao
>
PHP_OS constant.
I use a pure templating class similar to something that I found here
http://www.talkphp.com/advanced-php-programming/2568-pure-php-template-class
.html. My question is how do you handle AJAX requests from XMLHttpRequest
(); My class pumps out the entire page over again after the AJAX request is
ma
Is there any function do that?
when php in Linux it returns linux
in windows it returns windows
I found phpinfo(INFO_GENERAL); output the string System => Linux ubuntu
2.6.24-19-server. but I have no idea to get that info.
Thanks
Jiang Miao
--
PHP General Mailing List (http://www.php.net/)
T
Gary schreef:
> I posted that I was new to php and had a nice warm responce, however I am
> now getting these responses in my email box. Is this something that I am
> doing? I read and contribute to other news groups on a daily basis and this
> is a first Can I change this?
this list is as
Thanks guys, I appreciate the help.
Cheers!
R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Jim Lucas [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 12:13 PM
> To: Ryan S
> Cc: Eric Butera; Boyd, Todd M.; php php
> Subject: Re: [PHP] Little regex help please...
>
> Too quick on the reply
>
> forgot not to escape the forward slash on t
On 13 Oct 2008, at 18:12, Gary wrote:
I'm sure I will be able to filter, its just that I belong to a
number of
other NGs and this is the first time I have seen this...
Didn't read the advice about top-posting did ya?
Anyhoo, this is primarily a mailing list with a newsgroup gateway.
You're
-Original Message-
From: Ryan S [mailto:[EMAIL PROTECTED]
Sent: 13 October 2008 07:09 PM
To: Eric Butera; Boyd, Todd M.
Cc: php php
Subject: Re: [PHP] Little regex help please...
Hey Todd, Eric,
Thanks for replying.
> I don't believe you need both the / and the # for delimiters in your
On Mon, Oct 13, 2008 at 1:04 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Eric Butera [mailto:[EMAIL PROTECTED]
>> Sent: Monday, October 13, 2008 12:00 PM
>> To: Boyd, Todd M.
>> Cc: Ryan S; php php
>> Subject: Re: [PHP] Little regex help please...
>>
>> On Mo
I'm sure I will be able to filter, its just that I belong to a number of
other NGs and this is the first time I have seen this...
Thanks
gary
"Wolf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Gary <[EMAIL PROTECTED]> wrote:
>> I posted that I was new to php and had a n
Ryan S wrote:
> Hey Todd, Eric,
>
> Thanks for replying.
>
>> I don't believe you need both the / and the # for delimiters in your
>> RegEx. Try using just # (since / is actually going to be in the text
>> you're searching for) like this:
>>
>> > $data =
>> file_get_contents("http://www.youtube.
Ryan S wrote:
> Hey Todd, Eric,
>
> Thanks for replying.
>
>> I don't believe you need both the / and the # for delimiters in your
>> RegEx. Try using just # (since / is actually going to be in the text
>> you're searching for) like this:
>>
>> > $data =
>> file_get_contents("http://www.youtube.
You must be a ptd customer...actually I am in SEPA, but howdy neighbor all
the same.
Gary
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, Oct 13, 2008 at 12:57 PM, Gary <[EMAIL PROTECTED]> wrote:
>> I posted that I was new to php and had a nice warm respon
Hey Todd, Eric,
Thanks for replying.
> I don't believe you need both the / and the # for delimiters in your
> RegEx. Try using just # (since / is actually going to be in the text
> you're searching for) like this:
>
> $data =
> file_get_contents("http://www.youtube.com/watch?v=oQ2dKXGAjNg";);
>
> -Original Message-
> From: Eric Butera [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 12:00 PM
> To: Boyd, Todd M.
> Cc: Ryan S; php php
> Subject: Re: [PHP] Little regex help please...
>
> On Mon, Oct 13, 2008 at 12:52 PM, Boyd, Todd M. <[EMAIL PROTECTED]>
> wrote:
> > I don
On Mon, Oct 13, 2008 at 12:57 PM, Gary <[EMAIL PROTECTED]> wrote:
> I posted that I was new to php and had a nice warm responce, however I am
> now getting these responses in my email box. Is this something that I am
> doing? I read and contribute to other news groups on a daily basis and this
> i
Gary <[EMAIL PROTECTED]> wrote:
> I posted that I was new to php and had a nice warm responce, however I am
> now getting these responses in my email box. Is this something that I am
> doing? I read and contribute to other news groups on a daily basis and this
> is a first Can I chang
> -Original Message-
> From: Gary [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 11:58 AM
> To: php-general@lists.php.net
> Subject: [PHP] New to this groupa continuation
>
> I posted that I was new to php and had a nice warm responce, however I
> am
> now getting these res
> -Original Message-
> From: TG [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 11:44 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Top/bottom posting holy war *cringe* (was: New to
> PHP)
>
> I concede only that the PHP list has a requested style (bottom
> posting).
On Mon, Oct 13, 2008 at 12:52 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Ryan S [mailto:[EMAIL PROTECTED]
>> Sent: Monday, October 13, 2008 11:33 AM
>> To: php php
>> Subject: [PHP] Little regex help please...
>>
>> Hello!
>>
>> Here's a regex that I got off
I posted that I was new to php and had a nice warm responce, however I am
now getting these responses in my email box. Is this something that I am
doing? I read and contribute to other news groups on a daily basis and this
is a first Can I change this?
Thanks
Gary
--
PHP General Mail
On Monday 13 October 2008 13:44:27 TG wrote:
> I concede only that the PHP list has a requested style (bottom posting). I
> disagree on it's usefulness OVER top posting.
>
So, this is the only list that you read.
--
Davi Vidal
--
E-mail: davividal at siscompar dot com dot br
MSN : dav
> -Original Message-
> From: Ryan S [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 11:33 AM
> To: php php
> Subject: [PHP] Little regex help please...
>
> Hello!
>
> Here's a regex that I got off the web that I am trying to modify for
my
> needs, I suck at regex so desperately
I concede only that the PHP list has a requested style (bottom posting). I
disagree on it's usefulness OVER top posting.
I'm perfectly able to read top or bottom posted messages with nearly equal
fluidity. I find top posting to be more fluid and useful. I've never
quite sure why this becomes
The problem with pointing out the pros and cons is that it will lead to
another holy war. :)
- Original Message -
From: Micah Gersten <[EMAIL PROTECTED]>
To: PHP General
Date: Mon, 13 Oct 2008 10:48:34 -0500
Subject: Re: [PHP] New to PHP
> The problem with bottom posting is that if you
Hello!
Here's a regex that I got off the web that I am trying to modify for my needs,
I suck at regex so desperately need some help.
Basically, am trying to get a remote webpage and get the value between the
tags, note that it should get the values regardless if is upper
or lower case (case
> -Original Message-
> From: Micah Gersten [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2008 10:49 AM
> To: PHP General
> Subject: Re: [PHP] New to PHP
>
> The problem with bottom posting is that if you follow the conversation,
> you have to scroll to find the new content. I gues
Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 13, 2008 at 11:45 AM, TG <[EMAIL PROTECTED]> wrote:
> > I don't want to get into a bottom vs top posting debate. Just know that
> > some
> > of us prefer top posting. There's no right/wrong answer to this.
>
> There is no debate.
On Mon, Oct 13, 2008 at 11:45 AM, TG <[EMAIL PROTECTED]> wrote:
> I don't want to get into a bottom vs top posting debate. Just know that some
> of us prefer top posting. There's no right/wrong answer to this.
There is no debate. There is a right and wrong answer. Sometimes
people just ne
On 13 Oct 2008, at 16:48, Micah Gersten wrote:
Wolf wrote:
By Bottom Posting (common when on a mailing list or NG) it gives
greater context as you read through the previous posts and by the
time of getting to where the new response is, it is in sync. No
skipping back and forth to read to g
[snip]
I don't want to get into a bottom vs top posting debate. Just know that
some of us prefer top posting. There's no right/wrong answer to this.
[/snip]
Consider how this would read if I posted above your entry.
But I have trimmed quite nicely thank you! :)
--
PHP General Mailing List
Ok thank you, i try learn yor post, and make meny aport, for the list,
apologize me for my english, i am new in this theme but in php i have
experience.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hola.
"No son los años los que te enseñan sobre la vida, sino como vives en la vida
los años"
Universidad de las Ciencias Informáticas
Juan José Rosales Rodriguez
Tel: 02366792 (Gr) - 078358458 (UCI)
De: Micah Gers
Micah Gersten <[EMAIL PROTECTED]> wrote:
> The problem with bottom posting is that if you follow the conversation,
> you have to scroll to find the new content. I guess if you trim and
> bottom post it's not so bad.
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> h
The problem with bottom posting is that if you follow the conversation,
you have to scroll to find the new content. I guess if you trim and
bottom post it's not so bad.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Wolf wrote:
> By Bottom Posting (common w
I don't want to get into a bottom vs top posting debate. Just know that some
of us prefer top posting. There's no right/wrong answer to this.
Trimming is always good, though.
I second the recommendations for this mailing list as a good source (as well
as reading what's posted and seeing if y
Gary <[EMAIL PROTECTED]> wrote:
> Well...thank you all for the warm and friendly welcome, I will probably try
> to steer one of my projects to php (or at least a portion of) in a short
> while.
>
Gary, one thing to keep in mind is to BOTTOM POST and TRIM your posts.
By Bottom Posting (
Well...thank you all for the warm and friendly welcome, I will probably try
to steer one of my projects to php (or at least a portion of) in a short
while.
One of the things a client wants is a "landing page", so I am assuming that
php might come in handy for that...
Thank you all and once I g
He i not speak very good englis, pliss can you tel me abaout list in spanich?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Welcome to the list, Gary.
On Mon, Oct 13, 2008 at 10:01 AM, Gary <[EMAIL PROTECTED]> wrote:
> Sorry if this is a dup, but I posted and it seemed to get lost
Both came through. Sometimes it just takes a minute or two, and
you shouldn't get a copy of your own message.
> I am just
On Oct 13, 2008, at 10:01 AM, Gary wrote:
Sorry if this is a dup, but I posted and it seemed to get lost
I am just learning php, and I like to use newsgroups to suppliment the
learning process.
Can anyone reccomend a good source for information to a newbie and
is this a
good forum for m
Sorry if this is a dup, but I posted and it seemed to get lost
I am just learning php, and I like to use newsgroups to suppliment the
learning process.
Can anyone reccomend a good source for information to a newbie and is this a
good forum for my level? or is there another one you might
I am just starting to learn php, and typically I use newsgroups to
suppliment the learning process.
Does anyone have any sources that you would reccommend to me and is this the
best NG for me to monitor?...or is there another you might suggest?
Thanks
Gary
--
PHP General Mailing List (htt
> -Original Message-
> From: Ashley Sheridan [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 11, 2008 11:44 AM
> To: Shawn McKenzie
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Re: Remove index.php from url
>
> On Sat, 2008-10-11 at 11:02 -0500, Shawn McKenzie wrote:
> > Shawn
On Tue, Sep 23, 2008 at 10:17 AM, Jason <[EMAIL PROTECTED]> wrote:
> At 15:05 23/09/2008, you wrote:
>
> [snip]
>
>> So, I'm left wondering what that leaves. Is there anything currently
>> available that could be considered stable for a production
>> environment, supports parameterized queries and
You are absoloodle right about that. Although I'm not sure about their
greediness, which might be different.
I prefer the '{0,}' in my rewrite rules because I usually define the
max-length to prevent code injection.
eg.
# to make sure only the first 8 chars get passed on to PHP
RewriteRule ^blog/
Yeti wrote:
>> What's the point of using '{0,}' instead '*' ?
>
> Well the thing is that with the {0,} more REQUEST_URIs are valid:
> eg.
> /blog
> /blog/
> /blog/17
> /blog/17/
> /blog/17/0
> /blog/17/0/
Yeti,
I must be slow today - I still can't see the difference between
'{0,}' (= 0 or m
>Jessen wrote:
>RewriteRule ^blog/([^/]+)/([^/]+)/ blog.php?getparam1=$1&getparam2=$2
>[NC,QSA,L]
Of course, your truely does what the OP asked for + it cuts of all
strings after the last /
/A yeti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
> What's the point of using '{0,}' instead '*' ?
Well the thing is that with the {0,} more REQUEST_URIs are valid:
eg.
/blog
/blog/
/blog/17
/blog/17/
/blog/17/0
/blog/17/0/
AND additional characters get ignored (like when it is necessary to
reload content with javascript, due to caching issues)
On Mon, Oct 13, 2008 at 3:09 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Ashley Sheridan wrote:
>
>> You should look at developing the app so that it doesn't rely on
>> referrer information, as this is unpredictable as you've seen.
>
> Yep, that's what I did too. Can't remember exactly what I did,
Am 2008-10-10 11:13:11, schrieb tedd:
> I just landed a client who had a very bad experience with rentacoder.
> So, it appears that the 2nd-world nation programming experience is
> providing some kick-back work for honest programmers. At least I
> receive more business from people who have had p
Hi,
My problem was a headers already sent error, which I fixed by redirecting
the form POST to a seperate file instead of the same login.php. Thanks for
all your help!
2008/10/13 Stut <[EMAIL PROTECTED]>
> On 12 Oct 2008, at 23:51, Micah Gersten wrote:
>
>> The question is, why aren't you using
On 12 Oct 2008, at 23:51, Micah Gersten wrote:
The question is, why aren't you using a session variable instead of
cookies? That's one of the greatest features of PHP.
If you're able to use cookies instead of sessions, and the size of the
data you're storing is fairly small, it's always bett
Hi,
> I'm not very familiar with the whole thing yet
I think that's a common position.
> but after looking at
> your site I find it quite interesting.
> So is it possible to render 3d vector based objects in the canvas and
> if so an entire 3d based website?
Well before you start calling the me
Ashley Sheridan wrote:
> Hmm, it doesn't mention which versions of the browsers it lists are
> capable of displaying the canvas tag. I'm still using Firefox 2 on
> this computer, and all I got was 5 horizontal bands of grey and blue.
Same here.
/Per Jessen, Zürich
--
PHP General Mailing List
> Probably not Firefox 1.5. I have FF 1.5 without _any_ add-ons here and
> all I got were the same "5 horizontal bands of grey and blue."
So it does support it, bit not very well... :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
--
PHP General Mai
>Check your addons and such, Ashley. Gecko itself (the HTML
> rendering engine used in Firefox) has supported since 1.8 I
> believe, which equated to Firefox 1.5.
Older versions may well have issues though. An example of
inconsistencies would that FF3 doesn't seem to have a problem with
nega
> very fine work mr heyes, I've been most impressed by you're RGraph - a great
> use for the canvas!
Thank you!
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Ashley Sheridan wrote:
> You should look at developing the app so that it doesn't rely on
> referrer information, as this is unpredictable as you've seen.
Yep, that's what I did too. Can't remember exactly what I did, but I
suspect it involved setting info in the session,
> Not just with IE as
65 matches
Mail list logo