Shawn McKenzie wrote:
Lamonte wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function do
Lamonte wrote:
> Shawn McKenzie wrote:
>> Lamonte wrote:
>>
>>> Shawn McKenzie wrote:
>>>
Shawn McKenzie wrote:
> Lamonte wrote:
>
>> Setting a variable inside a function and making it global inside an
>> inner function doesn't work?
>>
>>
As a qualified PHP Engineer , I'm certain you have written some code
that is failing and you need a little help massaging, by all means post
it and we'll gladly take a look and see if we can help facilitate its use.
Wolf
Shelley wrote:
Hi all,
I'm searching some file upload progress bar code
Shelley,
What code have you tried and what were your results?
What about searches on google or the archives here?
Wolf
Shelley wrote:
Hi all,
I'm searching some file upload progress bar code.
But no good result was found. :(
So is there anybody please be kind enough to show some code here?
Shawn McKenzie wrote:
Lamonte wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChi
Lamonte wrote:
> Shawn McKenzie wrote:
>> Shawn McKenzie wrote:
>>
>>> Lamonte wrote:
>>>
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChildr
Hi all,
I'm searching some file upload progress bar code.
But no good result was found. :(
So is there anybody please be kind enough to show some code here?
Great thanks.
--
Regard,
Shelley (http://phparch.cn)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
HI
i think it is a bit difficult. CURL can actually help you get Response on a
cross Domain platform. Javascript dosenot.
Espesially Ajax is not cross domain for security reasons.
On Wed, Mar 12, 2008 at 3:40 AM, William Piper <[EMAIL PROTECTED]> wrote:
> I have been using php's curl for quite a
Shawn McKenzie wrote:
> Lamonte wrote:
>> Setting a variable inside a function and making it global inside an
>> inner function doesn't work?
>>
>> Right well I have created this function:
>>
>> [code]
>> function getForumChildrenTree( $id )
>> {
>>$id = intval( $id );
>>$treeResult = array
Lamonte wrote:
> Setting a variable inside a function and making it global inside an
> inner function doesn't work?
>
> Right well I have created this function:
>
> [code]
> function getForumChildrenTree( $id )
> {
>$id = intval( $id );
>$treeResult = array(
>'topics' => array(),
On Tue, Mar 11, 2008 at 6:10 PM, William Piper <[EMAIL PROTECTED]> wrote:
> I have been using php's curl for quite a while now and it has never
> allowed to run javascript... bummer! I read on an article
> http://blogs.zdnet.com/Stewart/?p=627 that the new curl v6 allows this.
>
> There are a few
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChildrenTree( $id )
{
$id = intval( $id );
$treeResult = array(
'topics' => array(),
'posts' => array(),
'
I have been using php's curl for quite a while now and it has never
allowed to run javascript... bummer! I read on an article
http://blogs.zdnet.com/Stewart/?p=627 that the new curl v6 allows this.
There are a few ajax sites that I would like to scrape, but they are a
pain to read through all
On 3/11/08, Skip Evans <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I've been Googling trying to find a JavaScript
> list serve to post a question to, but have been,
> embarrassingly, unable to find one.
>
> Anyone on one they'd recommend or know of one?
Not a list, but the peeps in #javascript o
On Tuesday 11 March 2008 21:24:45 you wrote:
> I've been coding PHP for some time now in combination with MySQL, but I
> have never heard of the possibility of storing images in a database..?
>
> I didn't even know this was possible.
they are stored as binary objects.
for a strategic search direct
Daniel Brown gmail.com> writes:
> snipped
It worked like a charm, thanks. Made it a bit faster.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all,
I've been Googling trying to find a JavaScript
list serve to post a question to, but have been,
embarrassingly, unable to find one.
Anyone on one they'd recommend or know of one?
Thanks
*sigh*
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
h
Shawn McKenzie wrote:
> Sofia Jacob (CA) wrote:
>> Hi,
>>
>> I want to create a link that get the name and the link from the database.
>>
>> The problem is that I get the bullets created with but not the link,
>> here is my code and the result:
>>
>>
>>
>> > function do_html_URL($url, $name)
>>
Sofia Jacob (CA) wrote:
> Hi,
>
> I want to create a link that get the name and the link from the database.
>
> The problem is that I get the bullets created with but not the link,
> here is my code and the result:
>
>
>
> function do_html_URL($url, $name)
> {
> // output URL as link and
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with but not the link, here
is my code and the result:
function display_categories($cat_array)
{
if (!is_array($cat_array))
{
echo "No hay categorías a
> A stroke less than two weeks before your twenty-ninth birthday.
Five months. Close though... :-)
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 11 March 2008 18:30:13 you wrote:
> On Tue, Mar 11, 2008 at 11:24 AM, Børge Holen <[EMAIL PROTECTED]> wrote:
> > 'n here we go againfff
>
> Børge, the F's are silent. ;-P
=D
--
---
Børge Holen
http://www.arivene.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
>>
>> I want to prevent one from taking over a session from one who left the
>> site
>> and left his desk for a moment.
>>
>> What if that connection were two servers communicating together !?
>> Any crooked mind could then steal the latent session and start fire in
>> the
>> system(s).
>
>
On Tue, Mar 11, 2008 at 11:24 AM, Børge Holen <[EMAIL PROTECTED]> wrote:
> 'n here we go againfff
Børge, the F's are silent. ;-P
--
Daniel P. Brown
Senior Unix Geek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Mar 11, 2008 at 11:48 AM, Bill <[EMAIL PROTECTED]> wrote:
> Hum. Then we rely on JS to implement security with conections. And JS is
> anything but secure AFAIK.
>
> I want to prevent one from taking over a session from one who left the site
> and left his desk for a moment.
>
> What i
On Tue, Mar 11, 2008 at 11:00 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
> > ...which is kinda funny b/c right here he says to "Employ me". Not with
> > double typos like that, Mr.!! =D
>
> Oopsy. Sight is a funny thing...
>
> http://www.phpguru.org/article.php/102
I don't know how I miss
On Tue, Mar 11, 2008 at 12:11 PM, Stut <[EMAIL PROTECTED]> wrote:
>
> On 11 Mar 2008, at 16:02, Lamonte H wrote:
> > I went to the page, but I didn't find a search box and what not. Is
> > there a
> > way to search the archives? Else when I get home I'll just create a
> > script
> > to DL al
On 11 Mar 2008, at 16:02, Lamonte H wrote:
I went to the page, but I didn't find a search box and what not. Is
there a
way to search the archives? Else when I get home I'll just create a
script
to DL all the links to a page then create a simple search box.
You might want to think about wh
Yeah, I'm working on this with the hopes of it turning into a full module
for a larger project I'm working on... but I'm still a bit of a noob :)
Thanks for the assistance guys!
On Tue, Mar 11, 2008 at 11:48 AM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 11, 2008 at 11:11 AM, Matty Sar
I went to the page, but I didn't find a search box and what not. Is there a
way to search the archives? Else when I get home I'll just create a script
to DL all the links to a page then create a simple search box.
It Maq wrote:
> Hi,
>
> I need help with a simple script that i made for handling errors. The problem
> is that the script displays the same message several times while i want it
> displayed just one time.
> He is the code:
>
> function error_handler($errno, $errstr, $filename, $lineno, &$cont
Sorry,
i found the error. it was my mistake
- Original Message
From: It Maq <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tuesday, March 11, 2008 11:38:10 AM
Subject: [PHP] Error handling
Hi,
I need help with a simple script that i made for handling errors. The problem
is th
On Tue, Mar 11, 2008 at 11:11 AM, Matty Sarro <[EMAIL PROTECTED]> wrote:
> Greets all!
> I am working on a minor project for work for entering inventory information
> for servers we ship out.
>
> Here is my plan:
> First page -
> Get client name, number of servers, and find number of miscellan
Hi
>> > socket open, then there are much smaller, simpler ways.
>>
>> Like what ?
>
>I meant as opposed to the session-handling method I sent in the
> other thread. However, you may want to look into having JavaScript
> handle the session-watching, and report to the server via AJAX calls
>
Matty Sarro wrote:
> Greets all!
> I am working on a minor project for work for entering inventory information
> for servers we ship out.
>
> Here is my plan:
> First page -
> Get client name, number of servers, and find number of miscellaneous
> equipment(s) being shipped (UPS's, monitors, etc)
>
Hi,
I need help with a simple script that i made for handling errors. The problem
is that the script displays the same message several times while i want it
displayed just one time.
He is the code:
";
echo $errno. "";
}
}
set_error_handler(error_handler, E_STRICT);
ini_set('error_re
Quoting Matty Sarro <[EMAIL PROTECTED]>:
Greets all!
I am working on a minor project for work for entering inventory information
for servers we ship out.
Here is my plan:
First page -
Get client name, number of servers, and find number of miscellaneous
equipment(s) being shipped (UPS's, monitor
On Tue, Mar 11, 2008 at 10:42 AM, Philip Thompson
<[EMAIL PROTECTED]> wrote:
> I do understand the security aspect though. It's like a password that
> changes quite frequently - it would be, for all intensive purposes,
> impossible to guess.
Very similar, yes. You've got the idea.
> Oh,
'n here we go againfff
--
---
Børge Holen
http://www.arivene.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greets all!
I am working on a minor project for work for entering inventory information
for servers we ship out.
Here is my plan:
First page -
Get client name, number of servers, and find number of miscellaneous
equipment(s) being shipped (UPS's, monitors, etc)
>From there, create a loop to run t
After a while of studying different softwares, I've still been getting
confused on how to make a timezone management script to display time in
different time zones. Like right now im in -0600 CST GMT, how would I
create a script that would work on any server that would allow me to display
my cur
On 3/11/08, jeffry s <[EMAIL PROTECTED]> wrote:
> which one is better. save in database or in folder?
The file system _is_ a database. No need to add more unnescessary layers.
Here is the defacto Zend benchmark on the topic:
http://www.zend.com/zend/trick/tricks-sept-2001.php
It doesn't work
...which is kinda funny b/c right here he says to "Employ me". Not with
double typos like that, Mr.!! =D
Oopsy. Sight is a funny thing...
http://www.phpguru.org/article.php/102
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
On Mar 11, 2008, at 10:42 AM, Philip Thompson wrote:
On Mar 11, 2008, at 12:20 AM, Mike wrote:
Wait, what?
You are defining user role ids as MD5 hashes of UUIDs created from
random numbers that change on every request?
Am I missing something or is this completely insane advice?
I'm pro
Probably has to do with what GFY means in texting short hand. Go F...
Yourself ;-).
Warren
> -Original Message-
> From: David Giragosian [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2008 7:34 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] save image in database vs fold
On Tue, Mar 11, 2008 at 10:34 AM, David Giragosian
<[EMAIL PROTECTED]> wrote:
> On 3/11/08, Daniel Brown <[EMAIL PROTECTED]> wrote:
> >http://www.gfy.com/ ;-P
>
> Whoa! My institution blocked that URL for 'adult content'. I guess
> there are some racy example pictures or something?? lol.
On Mar 11, 2008, at 12:20 AM, Mike wrote:
Wait, what?
You are defining user role ids as MD5 hashes of UUIDs created from
random numbers that change on every request?
Am I missing something or is this completely insane advice?
I'm probably wrong on this, but I think the point is that it do
On 3/11/08, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 11, 2008 at 10:15 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote:
> > > > some friend of mine ague about this matter, this morning. they say,
> > saving
> > > > image
On 11 Mar 2008, at 14:26, Zoltán Németh wrote:
2008. 03. 11, kedd keltezéssel 12.34-kor Stut ezt írta:
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state
On Tue, Mar 11, 2008 at 10:15 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote:
> > > some friend of mine ague about this matter, this morning. they say,
> saving
> > > image in
> > > database is more professional. I am not really agree
2008. 03. 11, kedd keltezéssel 12.34-kor Stut ezt írta:
> On 4 Mar 2008, at 13:57, Jochem Maas wrote:
> > Stut mentioned a little while back that he avoids using the built-in
> > session
>
> > mechanism if at all possible, but still manages to track user
> > state ... now I
> > can think of a
On Mar 11, 2008, at 7:29 AM, Zoltán Németh wrote:
2008. 03. 11, kedd keltezéssel 09.37-kor Richard Heyes ezt írta:
/etch/hosts
Typo. That should be:
/etch/hosts
I bet you mean /etc/hosts :)
greets,
Zoltán Németh
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
...which is ki
On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote:
> > some friend of mine ague about this matter, this morning. they say, saving
> > image in
> > database is more professional. I am not really agree with that,since i am
> > just a novice programmer.
>
> Well, bearing in mind I only have exp
Wolf wrote:
Danny Brow wrote:
I have about 10 csv files I need to open to access data. It takes a lot
of time to search each file for the values I need. Would it be best to
just dump all the cvs files to an SQL db and then just grab what I need
from there? I'm starting to think it would make a l
On Tue, Mar 11, 2008 at 9:01 AM, Bill <[EMAIL PROTECTED]> wrote:
> Hi Daniel,
>
>
> > on the site. If all you want to do is find out if they still have the
> > socket open, then there are much smaller, simpler ways.
>
> Like what ?
I meant as opposed to the session-handling method I sent i
On 11 Mar 2008, at 13:31, Thiago Pojda wrote:
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
> Stut mentioned a little while back that he avoids using the built-in
> session
> mechanism if at all possible, but still manages to track user state
> ... now I can think of a way or t
Hi Daniel,
> on the site. If all you want to do is find out if they still have the
> socket open, then there are much smaller, simpler ways.
Like what ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Mar 11, 2008 at 3:21 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
>
> >
> > Read up on "ACL's."
> >
>
> Apart from Zend which you've mentiond below, is there anything in/for
> PHP that will help implement ACLs for a PHP application?
>
>
> > http://en.wikipedia.org/wi
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state ... now I
can think of a way or two that he might do that but I was wondering if
any one could give an
2008. 03. 11, kedd keltezéssel 09.37-kor Richard Heyes ezt írta:
> > /etch/hosts
>
> Typo. That should be:
>
> /etch/hosts
I bet you mean /etc/hosts :)
greets,
Zoltán Németh
>
> --
> Richard Heyes
> Employ me:
> http://www.phpguru.org/cv
>
--
PHP General Mailing List (http://www.php.net
Quoting jeffry s <[EMAIL PROTECTED]>:
thanks Richard ..
sorry dev.. i don't know this subject is quite sensitive here :(
It's not so sensitive :) It's just one of those questions that pop''s
up a lot. And some of those discussions were pretty heated.
I think I'm gonna dive into the arch
thanks Richard ..
sorry dev.. i don't know this subject is quite sensitive here :(
> I think I'm gonna dive into the archives then. To see for myself what
> left such a scars upon that subject.
i guess, i have to prepare my oxygen tank to dive into the archives.
i am quite curious to find out wha
some friend of mine ague about this matter, this morning. they say, saving
image in
database is more professional. I am not really agree with that,since i am
just a novice programmer.
Well, bearing in mind I only have experience of MySQL, the general
consensus is to save it to a file on you har
Børge Holen wrote:
Topposting here...
dont dont dont... we beat the living crap outa this one. Dont ask, do whatever
you want and learn from it.
Fact is that the best one is the one that works best right then and there.
Dont you dare push this subject any further...
On Tuesday 11 March 2008
Topposting here...
dont dont dont... we beat the living crap outa this one. Dont ask, do whatever
you want and learn from it.
Fact is that the best one is the one that works best right then and there.
Dont you dare push this subject any further...
On Tuesday 11 March 2008 12:00:35 jeffry s wro
Quoting jeffry s <[EMAIL PROTECTED]>:
some friend of mine ague about this matter, this morning. they say, saving
image in
database is more professional. I am not really agree with that,since i am
just a novice programmer. i am asking
senior php programmer what you opinion about this?
which one
Lamp Lists wrote:
hi to all!
on one eZine site, I have to show when the article is posted but as difference from NOW. like
"posted 32 minutes ago", or "posted 5 days ago".
is there already sucha php/mysql function?
thanks.
Hi,
I don't know about existing functions but you can us
some friend of mine ague about this matter, this morning. they say, saving
image in
database is more professional. I am not really agree with that,since i am
just a novice programmer. i am asking
senior php programmer what you opinion about this?
which one is better. save in database or in folder?
> /etch/hosts
Typo. That should be:
/etch/hosts
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Taylor-Johnston wrote:
It used to have a feed, by accident.
Now someone munches up too much bandwidth.
http://www.foo.com//?feed=rss2
How can I divert this to 127.0.0.1 or something to convince this one to
leave my bandwidth alone?
You could make your PC think www.foo.com is local. Open u
On 11 Mar 2008, at 07:09, John Taylor-Johnston wrote:
Any other inspiration?
Assuming the index is a PHP script stick this at the top...
-Stut
--
http://stut.net/
John Taylor-Johnston wrote:
It used to have a feed, by accident.
Now someone munches up too much bandwidth.
http://www.foo
I should say that running 7 quueries against 200MB table with ~600 000 rows
for 4 seconds looks to me as if there was no indexes and very poor database
design (i mean that CVS file is dumped into database incorrectly). Or you'r
server is Pentium 100 :)
P.S. Having myself a 1.5GB database with some
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: 10 March 2008 18:23
To: php-general@lists.php.net
Subject: [PHP] Re: SESSION Array problem - possibly different PHP versions?
Put a print_r($_SESSION) at the top and bottom of your page code so you can
see
what's happening.
A
John Taylor-Johnston wrote:
> I do. CPanel too. How would I write that into an htaccess ?
>
The RewriteRule syntax is the same in .htaccess
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eric Butera wrote:
>
> Read up on "ACL's."
>
Apart from Zend which you've mentiond below, is there anything in/for
PHP that will help implement ACLs for a PHP application?
> http://en.wikipedia.org/wiki/Access_control_list
> http://framework.zend.com/manual/en/zend.acl.html
Does anyone use t
Any other inspiration?
Thanks,
John
John Taylor-Johnston wrote:
It used to have a feed, by accident.
Now someone munches up too much bandwidth.
http://www.foo.com/?feed=rss2
How can I divert this to 127.0.0.1 or something to convince this one to
leave my bandwidth alone?
John
--
PHP General
77 matches
Mail list logo