Re: [PHP] Re: Setting a variable inside a function and making itglobal insideaninner function doesn't work?

2008-03-11 Thread Lamonte
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

Re: [PHP] Re: Setting a variable inside a function and making itglobal insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
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? >> >>

Re: [PHP] PHP & Ajax progress bar

2008-03-11 Thread Wolf
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

Re: [PHP] PHP & Ajax progress bar

2008-03-11 Thread Wolf
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?

Re: [PHP] Re: Setting a variable inside a function and making it global insideaninner function doesn't work?

2008-03-11 Thread Lamonte
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

Re: [PHP] Re: Setting a variable inside a function and making it global insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
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

[PHP] PHP & Ajax progress bar

2008-03-11 Thread Shelley
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.

Re: [PHP] Curl Javascript

2008-03-11 Thread chetan rane
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

[PHP] Re: Setting a variable inside a function and making it global insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
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

[PHP] Re: Setting a variable inside a function and making it global insidean inner function doesn't work?

2008-03-11 Thread Shawn McKenzie
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(),

Re: [PHP] Curl Javascript

2008-03-11 Thread Nathan Nobbe
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

[PHP] Setting a variable inside a function and making it global inside an inner function doesn't work?

2008-03-11 Thread Lamonte
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(), '

[PHP] Curl Javascript

2008-03-11 Thread William Piper
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

Re: [PHP] Know a JS list serve

2008-03-11 Thread Greg Donald
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
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

[PHP] Re: Whats faster? simplexml_load_string or simplexml_load_file?

2008-03-11 Thread Lamonte H
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

[PHP] Know a JS list serve

2008-03-11 Thread Skip Evans
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

[PHP] Re: link with database

2008-03-11 Thread Shawn McKenzie
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) >>

[PHP] Re: link with database

2008-03-11 Thread Shawn McKenzie
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

[PHP] link with database

2008-03-11 Thread Sofia Jacob (CA)
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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Richard Heyes
> 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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
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

Re: [PHP] Session still open

2008-03-11 Thread Bill
>> >> 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). > >

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
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

Re: [PHP] Session still open

2008-03-11 Thread Daniel Brown
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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Daniel Brown
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

Re: [PHP] How do I search the archives?

2008-03-11 Thread Daniel Brown
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

Re: [PHP] How do I search the archives?

2008-03-11 Thread Stut
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

Re: [PHP] Storing values between multiple page forms

2008-03-11 Thread Matty Sarro
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

[PHP] How do I search the archives?

2008-03-11 Thread Lamonte H
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.

[PHP] Re: Error handling

2008-03-11 Thread Shawn McKenzie
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

Re: [PHP] Error handling (skip this message my mistake)

2008-03-11 Thread It Maq
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

Re: [PHP] Storing values between multiple page forms

2008-03-11 Thread Daniel Brown
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

Re: [PHP] Session still open

2008-03-11 Thread Bill
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 >

[PHP] Re: Storing values between multiple page forms

2008-03-11 Thread Shawn McKenzie
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) >

[PHP] Error handling

2008-03-11 Thread It Maq
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

Re: [PHP] Storing values between multiple page forms

2008-03-11 Thread Thijs Lensselink
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

Re: [PHP] Question about user management...

2008-03-11 Thread Daniel Brown
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,

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
'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

[PHP] Storing values between multiple page forms

2008-03-11 Thread Matty Sarro
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

[PHP] Timezone management

2008-03-11 Thread Lamonte H
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Greg Donald
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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Richard Heyes
...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

Re: [PHP] Question about user management...

2008-03-11 Thread Jason Pruim
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

RE: [PHP] save image in database vs folder

2008-03-11 Thread Warren Vail
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
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.

Re: [PHP] Question about user management...

2008-03-11 Thread Philip Thompson
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread David Giragosian
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

Re: [PHP] maintaining [user] state without a session ...

2008-03-11 Thread Stut
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
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

Re: [PHP] maintaining [user] state without a session ...

2008-03-11 Thread Zoltán Németh
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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Philip Thompson
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Robert Cummings
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

Re: [PHP] CSV speed

2008-03-11 Thread Ray Hauge
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

Re: [PHP] Session still open

2008-03-11 Thread Daniel Brown
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

Re: RES: [PHP] maintaining [user] state without a session ...

2008-03-11 Thread Stut
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

RES: [PHP] maintaining [user] state without a session ...

2008-03-11 Thread Thiago Pojda
-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

Re: [PHP] Session still open

2008-03-11 Thread Bill
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

Re: [PHP] Question about user management...

2008-03-11 Thread Eric Butera
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

Re: [PHP] maintaining [user] state without a session ...

2008-03-11 Thread Stut
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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Zoltán Németh
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread dev
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread jeffry s
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Richard Heyes
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Aschwin Wesselius
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
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

Re: [PHP] save image in database vs folder

2008-03-11 Thread dev
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

Re: [PHP] difference in time

2008-03-11 Thread Aschwin Wesselius
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

[PHP] save image in database vs folder

2008-03-11 Thread jeffry s
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?

Re: [PHP] /?feed=rss2

2008-03-11 Thread Richard Heyes
> /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

Re: [PHP] /?feed=rss2

2008-03-11 Thread Richard Heyes
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

Re: [PHP] Re: /?feed=rss2

2008-03-11 Thread Stut
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

Re: [PHP] CSV speed

2008-03-11 Thread Arvids Godjuks
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

RE: [PHP] Re: SESSION Array problem - possibly different PHP versions?

2008-03-11 Thread Angelo Zanetti
-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

Re: [PHP] Re: /?feed=rss2

2008-03-11 Thread Per Jessen
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

Re: [PHP] Question about user management...

2008-03-11 Thread Per Jessen
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

[PHP] Re: /?feed=rss2

2008-03-11 Thread John Taylor-Johnston
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