php-general Digest 6 Jan 2009 15:21:02 -0000 Issue 5886

2009-01-06 Thread php-general-digest-help
php-general Digest 6 Jan 2009 15:21:02 - Issue 5886 Topics (messages 285494 through 285507): Re: php beautify downloaded...great how does one run the program??? 285494 by: Chris Re: IE Problem Detecting Post Variables 285495 by: tedd Re: setting up FTP account names via

Re: [PHP] setting up FTP account names via PHP

2009-01-06 Thread Ashley Sheridan
On Mon, 2009-01-05 at 16:16 +0100, Merlin Morgenstern wrote: Is there a good FTP Daemon that can be recommended for this purpose? pure-ftpd seams out of development since 2006. Jason Pruim wrote: On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote: Yes, it would be great if he

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Richard Heyes
... It may be worth mentioning that, IIRC, CHAR is faster due to the fixed length. If you can make your table use a fixed length row size (ie no variable length columns), it'll be faster. Also I could be missing something, but I can't see the advantage in VARCHAR since space is not really a

[PHP] Re: Import files from directory

2009-01-06 Thread Nathan Rixham
Merlin Morgenstern wrote: Hi everybody, I am running a real estate portal and would like to allow users to upload their listing from their existing software. They do this with a XML file which they will upload on a ftp server that places this xml file into a seperate directory on the file

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread chris smith
It may be worth mentioning that, IIRC, CHAR is faster due to the fixed length. If you can make your table use a fixed length row size (ie no variable length columns), it'll be faster. I'd be interested in seeing tests about this.. I doubt there's any difference. Also I could be missing

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Richard Heyes
Also I could be missing something, but I can't see the advantage in VARCHAR since space is not really a concern these days. char is fixed length and padded. If you don't fill up the space, the db does it for you (even though it seems it's internal only).

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Nathan Rixham
Richard Heyes wrote: i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed added to my website? You can read and parse an RSS feed just like any other webpage. Magpie RSS will probably make life easier though. and http://rssphp.net will make it ultra simple :) -- PHP

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Nathan Rixham
Richard Heyes wrote: Also I could be missing something, but I can't see the advantage in VARCHAR since space is not really a concern these days. char is fixed length and padded. If you don't fill up the space, the db does it for you (even though it seems it's internal only).

Re: [PHP] setting up FTP account names via PHP

2009-01-06 Thread Nathan Rixham
Ashley Sheridan wrote: On Mon, 2009-01-05 at 16:16 +0100, Merlin Morgenstern wrote: Is there a good FTP Daemon that can be recommended for this purpose? pure-ftpd seams out of development since 2006. Jason Pruim wrote: On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote: Yes, it would be

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Nathan Rixham
chris smith wrote: It may be worth mentioning that, IIRC, CHAR is faster due to the fixed length. If you can make your table use a fixed length row size (ie no variable length columns), it'll be faster. I'd be interested in seeing tests about this.. I doubt there's any difference. quote:

Re: [PHP] RSS Feed on my PHP site

2009-01-06 Thread Kevin Waterson
This one time, at band camp, DanBarker85 danbarke...@hotmail.co.uk wrote: Hi i'm new to RSS Feeds, but how would it be possible to have a BBC News Feed added to my website? I've searched for some kind of tutorial but haven't found anything. http://www.phpro.org/classes/Rss-Class.html

Re: [PHP] Import files from directory

2009-01-06 Thread clive
Merlin Morgenstern wrote: Has anybody an idea on how to do this? Thank you for any hint. I searched for this in google linux watch for new files and found this: http://www.linux.com/feature/150200 Clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Frank Stanovcak
So what I'm taking away from this is that I can index a text column, but that is relatively new. Based on experience with technology I'm going to guess it's not a very efficient index or search function yet. CHAR seems to be well entrenched, and the favorite for any column I may need to

[PHP] Re: Import files from directory

2009-01-06 Thread Frank Stanovcak
I may be mistaken, but it seems to me you would be better served letting it be file uploaded via php and process it as it arrives. This would save the chron run every 5 min, and dir search headaches. Or is there an issue that requires you to use an ftp transport? Merlin Morgenstern

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Dotan Cohen
2009/1/5 Frank Stanovcak blindspot...@comcast.net: It's been a while since I've programed (VB was on version 4) I was wondering if any one could tell me what the diff is between char, varchar, and text in mysql. I know this isn't a mysql news group, but since I am using php for the

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Nathan Rixham
Frank Stanovcak wrote: So what I'm taking away from this is that I can index a text column, but that is relatively new. Based on experience with technology I'm going to guess it's not a very efficient index or search function yet. CHAR seems to be well entrenched, and the favorite for any

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Eric Butera
On Tue, Jan 6, 2009 at 10:43 AM, Dotan Cohen dotanco...@gmail.com wrote: 2009/1/5 Frank Stanovcak blindspot...@comcast.net: It's been a while since I've programed (VB was on version 4) I was wondering if any one could tell me what the diff is between char, varchar, and text in mysql. I know

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Micah Gersten
Nathan Rixham wrote: Richard Heyes wrote: Also I could be missing something, but I can't see the advantage in VARCHAR since space is not really a concern these days. char is fixed length and padded. If you don't fill up the space, the db does it for you (even though it seems it's internal

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Nathan Rixham
Frank Stanovcak wrote: I know! This ranks up there with redirecting people to www.ratemypoo.com when an intrusion attempt is detected as part of the security measures. ahh i redirect them to the endless sixapart atom stream seing as it's normally spiders/bots - slows them down a bit :p

[PHP] IE7 forçando download de arquivo *.p hp

2009-01-06 Thread Zechim
Boa tarde pessoal, estou com um problema no ie7, tenho um atendimento on-line em um site, funciona corretamente em outros browers, mas no ie7, quando tento abrir a página do chat, ela força o download e não exibe o html na tela, como se fosse um link para download. -- PHP General Mailing List

Re: [PHP] IE7 forçando download de arquivo *.php

2009-01-06 Thread Maciek Sokolewicz
Zechim wrote: Boa tarde pessoal, estou com um problema no ie7, tenho um atendimento on-line em um site, funciona corretamente em outros browers, mas no ie7, quando tento abrir a página do chat, ela força o download e não exibe o html na tela, como se fosse um link para download. What makes

Re: SV: [PHP] Sending files via POST

2009-01-06 Thread Shawn McKenzie
Anders Norrbring wrote: On Fri, Jan 2, 2009 at 14:14, Anders Norrbring li...@norrbring.se wrote: *bump* Please don't bump threads, Anders. This is not a traditional web-based user forum. You've provided no additional data, so there is no need to bring this thread up again. If you want

[PHP] Logic puzzle. Not a question. Just for fun

2009-01-06 Thread Frank Stanovcak
This is verbatim from the manufacturer except I replaced the code info with vanilia filler to keep from getting in trouble with them. See how long it takes you to write the shortest SQL code that returns all State a and State f records. If this seems simple to you remember I have no formal

[PHP] get file from object

2009-01-06 Thread Jack Bates
How do I get the file where a class is defined, from an instance of that class? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get file from object

2009-01-06 Thread ceo
As far as I know, that's not readily available... However, you could do an ob_start() and/or a try/catch and try to re-define the class, and then ignore the error and continue. I believe the PHP error message you get will have the file and line where the original class was defined, so you

Re: [PHP] get file from object

2009-01-06 Thread Eric Butera
On Tue, Jan 6, 2009 at 3:20 PM, Jack Bates ms...@freezone.co.uk wrote: How do I get the file where a class is defined, from an instance of that class? What are you trying to do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: get file from object

2009-01-06 Thread Nathan Rixham
Jack Bates wrote: How do I get the file where a class is defined, from an instance of that class? you could hack around with exceptions or simply use Reflection.. it's all provided for you $testObject = new YourClass(); $class = new ReflectionClass( $testObject ); echo

[PHP] Re: get file from object

2009-01-06 Thread Nathan Rixham
Nathan Rixham wrote: Jack Bates wrote: How do I get the file where a class is defined, from an instance of that class? you could hack around with exceptions or simply use Reflection.. it's all provided for you $testObject = new YourClass(); $class = new ReflectionClass(

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Chris
Nathan Rixham wrote: chris smith wrote: It may be worth mentioning that, IIRC, CHAR is faster due to the fixed length. If you can make your table use a fixed length row size (ie no variable length columns), it'll be faster. I'd be interested in seeing tests about this.. I doubt there's any

Re: [PHP] Logic puzzle. Not a question. Just for fun

2009-01-06 Thread Chris
If this seems simple to you remember I have no formal training in logic structure or DB design Neither do I - and probably a lot of others here too ;) the value of a status field is given in the sdk text as such... ...This number is determined by adding the following values

Re: [PHP] (auto) session expire

2009-01-06 Thread Micah Gersten
Shiplu wrote: This is a very common issue. I searched and found many sites talking about this. but no good solution. Well the problem is I want to set my session will expire after 10 minutes of inactivity. Just like an banking site. When user is inactive for 10 minutes the session will

Re: Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Paul M Foster
On Wed, Jan 07, 2009 at 08:38:03AM +1100, Chris wrote: Nathan Rixham wrote: chris smith wrote: It may be worth mentioning that, IIRC, CHAR is faster due to the fixed length. If you can make your table use a fixed length row size (ie no variable length columns), it'll be faster. I'd be

[PHP] Firebird Backup

2009-01-06 Thread HostWare Kft.
Hi, I don't know if it's Firebird or PHP question. I want to use remote administration on one of my pages, at least do a backup for a Firebird database. Because the database file is located on a different intranet machine, I have to use service manager to do backup. So I tried: $svc_mgr =

RE: [PHP] IE7 forçando download de arquivo *.php

2009-01-06 Thread Jesús Enrique Muñoz Fernández
Digite o URL do seu site, acho que seria um pouco mais ilustrativos desta maneira para tentar identificar o problema. Saudações -- Please send us the url of your site, maybe we can

[PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-06 Thread L. Herbert
Greetings all, Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos