Re: [PHP] IE Problem Detecting Post Variables

2009-01-05 Thread tedd
At 1:19 AM + 1/5/09, Ashley Sheridan wrote: On Sun, 2009-01-04 at 10:04 -0500, tedd wrote: > I'd disagree that the W3C is more indicative of the overall browser usage statistics, as by their own admission, their visitors tend to be those more technically minded, ergo, more knowledgeable abo

Re: [PHP] php beautify downloaded...great how does one run the program???

2009-01-05 Thread Chris
Fred Silsbee wrote: I looked at all the downloaded docs Ask in a more appropriate place for one thing. It has a forum: http://sourceforge.net/forum/?group_id=65412 -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] php beautify downloaded...great how does one run the program???

2009-01-05 Thread Fred Silsbee
I looked at all the downloaded docs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-01-05 Thread Robert Cummings
On Tue, 2009-01-06 at 11:01 +1100, Ross McKay wrote: > Micah Gersten wrote: > > >You're referencing the 5.1 manual. In the 5.0 manual it says that > >VARCHAR was extended to 65535 in 5.0.3, so you're statement is not > >entirely correct, nor was Stuart's. That's why I linked him to the 5.0 > >ma

Re: [PHP] Import files from directory

2009-01-05 Thread Daevid Vincent
On Tue, 2009-01-06 at 01:01 +0100, 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 >

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

2009-01-05 Thread bruce
are you moving the files from the ftpdir, to a separate dir? if you are, you can run your cron process from the top level dir... get a list of any underlying files, and then iterate through the list to copy the files to whereever you need to copy them... you'd use the 'ls -R...' or the 'find'

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

2009-01-05 Thread Ross McKay
Micah Gersten wrote: >You're referencing the 5.1 manual. In the 5.0 manual it says that >VARCHAR was extended to 65535 in 5.0.3, so you're statement is not >entirely correct, nor was Stuart's. That's why I linked him to the 5.0 >manual page on data types. Good point, thanks! I usually read from

[PHP] Import files from directory

2009-01-05 Thread Merlin Morgenstern
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 system. My basic idea was to

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

2009-01-05 Thread Merlin Morgenstern
Hello everybody, thank you all for your help. I got a solution running. In pure-ftpd you can authenticate via mysql. Via a user table, exactly the thing I was searching for. However, there is a problem araising. Every user get's his own directory for uploads. My next step would have been to

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

2009-01-05 Thread Micah Gersten
Ross McKay wrote: > First, start here: > > http://dev.mysql.com/doc/refman/5.1/en/string-types.html > > Stuart wrote: > > >>> varchar: only the space required for the content of the field is >>> allocated per row but these fields are limited to 255 chars (IIRC) in >>> length. >>> > > In M

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

2009-01-05 Thread Ross McKay
First, start here: http://dev.mysql.com/doc/refman/5.1/en/string-types.html Stuart wrote: >> varchar: only the space required for the content of the field is >> allocated per row but these fields are limited to 255 chars (IIRC) in >> length. In MySQL, varchar can hold "up to" 65,535 characters,

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

2009-01-05 Thread Frank Stanovcak
This would be the winning answer. I've been using text up till now. I'll have to change that. Thank you! "Robert Cummings" wrote in message news:1231185251.4.2.ca...@localhost... > On Mon, 2009-01-05 at 19:15 +, Stuart wrote: >> 2009/1/5 Frank Stanovcak : >> > It's been a while since

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

2009-01-05 Thread Daniel Brown
On Mon, Jan 5, 2009 at 14:54, Robert Cummings wrote: > > It's generally worth mentioning that you can usually index char or > varchar, but not text. Actually, you can with MyISAM tables using FULLTEXT. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.

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

2009-01-05 Thread Robert Cummings
On Mon, 2009-01-05 at 19:15 +, Stuart wrote: > 2009/1/5 Frank Stanovcak : > > 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 si

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

2009-01-05 Thread Micah Gersten
Frank Stanovcak wrote: > 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 > interaction it seemed like the

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

2009-01-05 Thread Daniel Brown
On Mon, Jan 5, 2009 at 14:05, Frank Stanovcak wrote: > 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 > int

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

2009-01-05 Thread Frank Stanovcak
Thank you. I have a stupid/nasty habit of realizing I can search after I post a question. Problem was I was overwhelmed on google. I was hoping for a simple this type is good for this use because, but bad for other things because. type answer. My mantra around this office is "I'm old not add

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

2009-01-05 Thread Stuart
2009/1/5 Frank Stanovcak : > 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 > interaction it seemed like the

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

2009-01-05 Thread Frank Stanovcak
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 interaction it seemed like the place to ask. Thanks in advance,

Re: [PHP] MySQL client version problem

2009-01-05 Thread ceo
Historically, mysql has been both an external extension, and a built-in part of the source, depending on the version of PHP. Your current experience would indicate that it's only external in 5.2.8, but I cannot confirm nor deny that. How is MySQL installed? If it's rpm, do you have mysq

Re: [PHP] MySQL client version problem

2009-01-05 Thread Rene Fournier
Thing is, I have MySQL 5.0.67 installed, and I've never had MySQL 4 on this box (Xserve G5, Mac OS X Server 10.4.11). Here's my configure command: ./configure --prefix=/usr/local/php5 --mandir=/usr/share/man -- infodir=/usr/share/info --with-apxs --with-ldap=/usr --with-kerberos=/ usr --ena

Re: [PHP] RSS Feed on my PHP site

2009-01-05 Thread Richard Heyes
> 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. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgra

Re: [PHP] MySQL client version problem

2009-01-05 Thread ceo
PHP had a built-in MySQL for awhile as I recall. You had to explicitly use --with-mysql=/usr/local (or wherever you put your mysql headers/libs) to make it choose the one you wanted. Even if it's not using built-in, it may have found an "old" install of your MySQL rather than your shiny ne

[PHP] MySQL client version problem

2009-01-05 Thread Rene Fournier
After following some instructions on compiling PHP 5.2.8 from source ( http://osx.topicdesk.com/content/view/48/62/ ), I notice now that phpinfo() reports that I am running the MySQL client API version 4.1.22 (instead of 5.0.45). Is this something to do with how you compile PHP, or does it d

Re: [PHP] How to count transfered kBytes in File-Download

2009-01-05 Thread ceo
> When mentioning the RAM usage problem, one might consider calling > flush() after each echo, just to make sure that they don't run over > PHPs memory limit. Oh yeah. Make sure you've run through and cleared all ob_buffers for any kind of non-HTML output, specifically for file downloads.

Re: [PHP] How to count transfered kBytes in File-Download

2009-01-05 Thread Jim Lucas
c...@l-i-e.com wrote: >> echo fread($HANDLER, $FSIZE); > > This is your problem child right here... > > Sucking in an entire OGG File to RAM, for a large OGG file, will be quite > painful. > > And, on a busy server, even moderate size files will be problematic. > > You could probably relie

Re: [PHP] RSS Feed on my PHP site

2009-01-05 Thread Wolf
DanBarker85 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. You STFW but haven't found anything? Wow... Google sure had a number of responses...

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

2009-01-05 Thread Sancar Saran
On Monday 05 January 2009 16:29:09 Merlin Morgenstern wrote: > Hello everybody, > > I am running a real estate site where I would like to enable bulk upload > via real estate software that exports an xml file into an ftp account. > > In order to give every user unique access I would need to generat

Re: [PHP] Re: Re: How to count transfered kBytes in File-Download

2009-01-05 Thread ceo
> I'm still a little confused on this though. How would a browser send > this to notify of a download that was only partially completed before? As I understand it, it was more of a "partially cached" document issue. If the browser has the first N bytes of a document in its cache, it will se

[PHP] RSS Feed on my PHP site

2009-01-05 Thread DanBarker85
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. Thanks for any help! Dan -- View this message in context: http://www.nabble.com/RSS-Feed-on-my-PHP-site-tp21293513p21293513.h

Re: [PHP] How to count transfered kBytes in File-Download

2009-01-05 Thread ceo
> echo fread($HANDLER, $FSIZE); This is your problem child right here... Sucking in an entire OGG File to RAM, for a large OGG file, will be quite painful. And, on a busy server, even moderate size files will be problematic. You could probably relieve a lot of stress and keep full

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

2009-01-05 Thread bruce
merlin.. if you're going to allow a user to use the same user/passwd for the site, and the FTP server.. i would strongly argue that you should allow the user only the minimal access on the FTP server. if someone hacks your site, no need to have them running rampant over your FTP server. i would a

Re: [PHP] A beginner“s question

2009-01-05 Thread Andrew Ballard
On Mon, Jan 5, 2009 at 10:50 AM, Eduardo wrote: > Thanks, you all! > I tried near all suggestions, and Vicente's worked with >IE6 >Windows98SE >EasyPHP > > Eduardo > > > On 5 Jan 2009 at 4:36, Vicente wrote: > >> > > > Unless you have taken steps to ensure that the val

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

2009-01-05 Thread Phpster
What about just using an http upload? Bastien Sent from my iPod On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote: Yes, it would be great if he could use the already existing username and password. It should not be a one time password. I am just now looking into mysql support for pu

Re: [PHP] (auto) session expire

2009-01-05 Thread Thiago H. Pojda
On Mon, Jan 5, 2009 at 12:05 PM, 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

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

2009-01-05 Thread Merlin Morgenstern
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 could use the already existing username and password. It should not be a

[PHP] (auto) session expire

2009-01-05 Thread Shiplu
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 expire. In fact the browse

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

2009-01-05 Thread Jason Pruim
On Jan 5, 2009, at 9:55 AM, Merlin Morgenstern wrote: Yes, it would be great if he could use the already existing username and password. It should not be a one time password. I am just now looking into mysql support for pure ftpd. One solution I have in mind is to write the password into t

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

2009-01-05 Thread Merlin Morgenstern
Yes, it would be great if he could use the already existing username and password. It should not be a one time password. I am just now looking into mysql support for pure ftpd. One solution I have in mind is to write the password into the pureftp DB upon signup. That would be the easiest. The o

Re: [PHP] A beginner“s question

2009-01-05 Thread Eduardo
Thanks, you all! I tried near all suggestions, and Vicente's worked with IE6 Windows98SE EasyPHP Eduardo On 5 Jan 2009 at 4:36, Vicente wrote: >

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

2009-01-05 Thread bruce
are you trying to allow a user who logs in, to use his same username when interfacing with the FTP server? obviously, the password for the FTP server will be different. Or are you looking to dynamically create a one time user/passwd for the user so that it changes each time they access the FTP ser

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

2009-01-05 Thread Merlin Morgenstern
Marc Steinert wrote: Merlin Morgenstern schrieb: Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate individual ft

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

2009-01-05 Thread Marc Steinert
Merlin Morgenstern schrieb: Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate individual ftp name and passwords f

[PHP] setting up FTP account names via PHP

2009-01-05 Thread Merlin Morgenstern
Hello everybody, I am running a real estate site where I would like to enable bulk upload via real estate software that exports an xml file into an ftp account. In order to give every user unique access I would need to generate individual ftp name and passwords for each member. I can not see