Re: [PHP] imap support breaking...

2002-06-21 Thread Danny Shepherd
I got that error once - turned out that I'd forgotten to compile the IMAP lib with SSL support. Try recompiling your IMAP libs and then recompiling everything else. Danny. FreeBSD 4.5/Apache 1.3.26/PHP4.2.1 - Original Message - From: "Rick Kukiela" <[EMAIL PROTE

Re: [PHP] Problem with Apache2/PHP4.2.1

2002-06-27 Thread Danny Shepherd
Try actually looking in the Apache2 manual - http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo HTH Danny. - Original Message - From: "Simon Grabowski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 23, 2002 3:08 PM Subject: [PHP

Re: [PHP] PHP and OOP

2002-06-27 Thread Danny Shepherd
This article's been around for ages. I OO design wherever I think it'll make the code more portable and extendable later on. From what I've seen, the slow down is negligible rather than considerable. But you write how you want to write and I'll write how I want t

Re: [PHP] FTP routine

2002-07-04 Thread Danny Shepherd
. go through the array using a foreach - to 'RETR' each file. HTH Danny. - Original Message - From: "Jose Arce" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 8:33 PM Subject: [PHP] FTP routine > Hi, i'm making a script to

Re: [PHP] Button can't see form!

2002-07-04 Thread Danny Shepherd
Actually, it's Netscape'sCrap, if you get specific :) Java's a totally different kettle of crap. Danny. - Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, July 04, 20

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
Try this: There's bound to be a way to do this much more neatly using a regexp but this was quick to write and it works :) HTH Danny. - Original Message - From: "vins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 4:02 PM Subje

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
You just knew there was a regexp version on the way, didn't you :) Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header()

2002-07-09 Thread Danny Shepherd
USER_AGENT']; $_SERVER['HTTP_USER_AGENT']='Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705)'; echo $_SERVER['HTTP_USER_AGENT']; HTH Danny - Original Message - From: "Taylor York" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: [PHP] ??????????????????????????????????????????????????????````````````````````ØØØØØØØØØØ

2002-07-09 Thread Danny Shepherd
If read the earlier posts you'll find that this is the guy who was to thick to unsubscribe himself this morning - he obviously still hasn't got it so he's trying to get a lifetime ban. So sad, so filtered :) Danny. - Original Message - From: "Rodolfo Gonzalez&quo

Re: [PHP] STARTTLS with IMAP?

2002-07-09 Thread Danny Shepherd
Not sure - but i've heard that this works: $mbox = imap_open ("{localhost:995/pop3/tls/novalidate-cert}", "user_id", "password"); So maybe it does, no promises though :) HTH Danny. - Original Message - From: "Alexander Skwar" <[EMAIL P

Re: [PHP] PHP and Apache2?

2002-07-10 Thread Danny Shepherd
or a list of the ones I'm running) If I were running a full scale production server I might think differently and run with Apache 1.3.26 but I'm not, just a pro-development server. HTH Danny. - Original Message - From: "Johan Holst Nielsen" <[EMAIL PROTECTED]> To: &

Re: [PHP] ???? etc

2002-07-10 Thread Danny Shepherd
d out how to leave, then re-subscribe. Zeev's already banned him from all php.net lists - he can't post now, even if he wanted too! Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread Danny Shepherd
just sort($Lang); A question: wouldn't it have been quicker to knock out a couple of test files to see which is the right way? HTH Danny. - Original Message - From: "vins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 1:36 PM Su

Re: [PHP] Dos Paths

2002-07-10 Thread Danny Shepherd
The problem with this method is assuming the ~1 part. What if I have: 'My Directory'-> MYDIRE~1 'My DirectoryForPics' -> MYDIRE~2 Now if your path has 'My DirectoryForPics' it's going to translate that into MYDIRE~1 which won't work. H

Re: [PHP] cookies

2002-07-10 Thread Danny Shepherd
To set a session cookie (one that is deleted when the browser window is closed) set a cookie without any expire date/time. To delete a cookie set a cookie of the same name with an expire date in the past. HTH Danny. - Original Message - From: "Alexander Ross" <[EMAIL P

Re: [PHP] Dos Paths

2002-07-10 Thread Danny Shepherd
Ah, that'll teach me to actually read the post next time, not just the code :) Danny. - Original Message - From: "Michael Sims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 2:02 PM Subject: Re: [PHP] Dos Paths On Wed, 10 J

Re: [PHP] Re: cookies

2002-07-10 Thread Danny Shepherd
No, I just tested it myself - if you set a cookie with no expire date it exists until the browser window is closed. My code: Close the window then return and the cookie should be gone"; } ?> HTH Danny. - Original Message - From: "vins" <[EMAIL PROTECTED]&g

Re: [PHP] question varibles and url

2002-07-10 Thread Danny Shepherd
of PHP source) You really could do with a spell checker btw :-) HTH Danny. - Original Message - From: @cid To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 10:24 PM Subject: [PHP] question varibles and url on my page (lessen.php) i have a variable $sort if this varible is empty if

Re: [PHP] PHP 4.3.0-dev and gd

2002-07-11 Thread Danny Shepherd
You need to compile with GD2 if you want to use any of the 2.* functions in PHP - phpinfo will say 'GD 2.0 or higher' HTH Danny. - Original Message - From: "Kevin Waterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 1:49

Re: [PHP] GIF Manipulation

2002-07-16 Thread Danny Shepherd
GD2 does have a compile time option which will re-enable support for writing GIFs. AFAIK you're only legally allowed to enable it if you live outside of the US/Canada. HTH Danny. - Original Message - From: "Jason Reid" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP] mcrypt

2002-07-16 Thread Danny Shepherd
ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/ - Original Message - From: "Peter" <[EMAIL PROTECTED]> To: "php_gen" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 1:16 AM Subject: [PHP] mcrypt > Howdy all.. > does any one know of another place i can download a win32 ver of mcrypt other t

Re: [PHP] Of Jobs and Certs

2002-07-17 Thread Danny Shepherd
I agree - nothing beats a good portfolio. Danny. - Original Message - From: "Miguel Cruz" <[EMAIL PROTECTED]> To: "Martin Clifford" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 6:55 PM Subject: Re: [PHP] Of Jobs and

Re: [PHP] Re: Binary Files :: They Keep Adding Blocks

2002-07-18 Thread Danny Shepherd
Try using just '\n' not '\r\n' as notepad doesn't understand carriage returns, hence the funny little square. - Original Message - From: "Vincent Kruger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 9:11 AM Subject: Re: [PHP] Re: Binary Files :: They Keep Addi

[PHP] printing support

2003-12-18 Thread Danny Schalken
Hello, I was wondering where the printing support has gone in php5? Is it still possible? Is is better to use mysql or sqlite with the new (and improved) php5? Thanks in advance, Best regards, Danny Schalken. Atrion Information Technology. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Apache 2.0.48 won't play nice with php 4.3.4 ?

2003-12-22 Thread Danny Anderson
rsion of Apache." Help! Is there a work around for this? Apache will start fine if I don't try to enable php via LoadModule in the Apache configuration file. Any comments and suggestions appreciated. Thanks, Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] best way to specify path to a file in a $variable?

2003-12-30 Thread Danny Anderson
h the same way as the $page_title works. I have tried some experiments with a $path_to_css variable, but I have not had much success. I think part of the problem is that I might be stumbling over escaping everything properly. Is there a better way to do what I am trying to do? Thanks,

[PHP] 4.2.2 doesn't have mysql_real_esacpe_string()

2003-12-31 Thread Danny Anderson
along the lines of "just use mysql_foo() instead, it does the same thing as that function that isn't in 4.2.2" Thanks, Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie: hmtl form to select items from mysql db

2004-01-15 Thread Danny Anderson
available 3)pick the item 4)pick quantity If anybody can point me to a tutorial or examples, I would be most appreciative. Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Discarded extension on file download

2002-04-19 Thread Danny Shepherd
Hi, I recently had this problem and, after hours of hair pulling, found that it seems to work best if you send the words Content-Type and Content-Disposition in **lower case**. Not sure why it has to be like that but it was the only way I found. HTH, Danny. - Original Message - From

Re: [PHP] Date function

2002-04-19 Thread Danny Shepherd
_Date) VALUES($CustID,NOW())"; // uses MySQL's builtin date function to store the current date. HTH, Danny. - Original Message - From: "Alia Mikati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 10:28 AM Subject: [PHP] Date function

Re: [PHP] .inc over .php

2002-04-19 Thread Danny Shepherd
A third way could be to append .php onto those files too, giving .inc.php, .class.php etc. Danny. > There are two ways to counter this: > > 1) have the .inc files in a directory outside the scope of the webserver > directory. > > 2) set the webserver to treat .inc

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Danny Shepherd
Firstly, I assume you mean "Y-m-j H:i:s" for the date format. To get the difference between 2 time strings : HTH Danny. - Original Message - From: "Ron Allen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 1:08 PM Subject

Re: [PHP] Validating User Input

2002-04-19 Thread Danny Shepherd
brackets - not sure how to go about getting them (escaping them didn't seem to work). HTH Danny. - Original Message - From: "SP" <[EMAIL PROTECTED]> To: "Php" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 1:57 PM Subject: [PHP] Validating User Inpu

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Danny Shepherd
use the date() command (http://www.php.net/date) - using $timeDiff as the datestamp. HTH Danny - Original Message - From: "Ron Allen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 2:56 PM Subject: Re: [PHP] Determine the difference betw

Re: [PHP] eregi() problem

2002-04-21 Thread Danny Shepherd
Try: if (!eregi('^[a-z_\-]{0,}$', $_POST['vpis_ime'])) echo "wrong char"; That'll sort it for everything except [ and ], which I can't find any way of checking for :-( Anyone else have any ideas? HTH anyway. Danny. - Original Message - Fro

Re: [PHP] need urgent session help, since new php version broke my code

2002-04-22 Thread Danny Shepherd
t; 4.1.x releases - including some variable names) HTH Danny. - Original Message - From: "nospam" <[EMAIL PROTECTED]> To: "'Php-General" <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 11:02 AM Subject: [PHP] need urgent session help, since new php versi

Re: [PHP] Database and files

2002-04-22 Thread Danny Shepherd
this should be Header("Content-Disposition: attachment; filename=\"File65.doc\"" ); Here's how I do it header("content-type: $mime"); header("content-disposition: attachment; filename=\"$displayName\""); echo $data; One thing - note that that the

Re: [PHP] Database and files

2002-04-22 Thread Danny Shepherd
- Original Message - From: "Richard Archer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 11:40 AM Subject: Re: [PHP] Database and files > At 11:25 AM +0100 22/4/02, Danny Shepherd wrote: > > >If you get multiple requests for

Re: [PHP] Daemon starting

2002-04-22 Thread Danny Shepherd
Not played with them myself but you might want to take a look at the system() and shell_exec() functions. HTH Danny. - Original Message - From: "Gilles Nedostoupof" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 12:28 PM Subject: [PHP]

Re: [PHP] Pb with socket_set_timeout()

2002-04-22 Thread Danny Shepherd
I don't think the windwos version of PHP supports sockets. use fsockopen instead. (http://uk.php.net/manual/en/function.fsockopen.php) HTH Danny. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 1:59 PM Subje

Re: [PHP] Question for you guys on best tools for a job

2002-04-29 Thread Danny Shepherd
route. Aside from Java and Flash you could still achieve a similar effect using the meta refresh tag - updating the page every 60 seconds or so. HTH Danny. - Original Message - From: "Michael Champagne" <[EMAIL PROTECTED]> To: "PHP General Mailing List" <[EMA

Re: [PHP] httpS connection with FILE

2002-05-10 Thread Danny Shepherd
It will be really cool when we can do that (in PHP4.3) but until then you'll have to make do with cURL (http://www.php.net/manual/en/ref.curl.php) HTH Danny. - Original Message - From: "Bert Buckley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Satu

Re: [PHP] Apache2

2002-05-13 Thread Danny Shepherd
ut I don't see how how situation would require anything different. HTH Danny. - Original Message - From: "Frank Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 13, 2002 7:17 PM Subject: [PHP] Apache2 > All, >

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Danny Shepherd
it's up to the browser to send the correct header saying that it accepts compressed web pages. HTH Danny. - Original Message - From: "Sqlcoders.com Programming Dept" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 1:25 PM Subject: Re

Re: [PHP] DOMXML in 4.2.0 problems

2002-05-15 Thread Danny Shepherd
forced to use the old functions - maybe the new names only apply in PHP 4.3.0+? If you need any more info: http://phpinfo.kyboshed.dyndns.org http://tests.kyboshed.dyndns.org/domtest.php http://tests.kyboshed.dyndns.org/domtest-source.php HTH Danny. - Original Message - From:

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Danny Shepherd
very lightweight on a cpu and i'd advise enabling compression by default, only disabling it if there is a noticable decrease in server performance. Processing power is probably cheaper today than bandwidth is. HTH. Danny. - Original Message - From: "George Whiffen" &l

Re: [PHP] Tellwhich browser

2002-05-15 Thread Danny Shepherd
$_SERVER['HTTP_USER_AGENT'] That's the variable which holds the browser's user agent string (browser name, version, platform etc); You may also find this helpful http://www.php.net/manual/en/function.get-browser.php HTH Danny. - Original Message - From: &quo

Re: [PHP] Re: Getting PHP on FreeBSD to talk to MSSQL Server 7...

2002-05-15 Thread Danny Shepherd
so have to use the sybase commands not the mssql commands but they're pretty much identical in function - just the names that are different. HTH Danny. - Original Message - From: "Michael Kimsal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, M

Re: [PHP] phpmysqladmin ? still viable?

2002-05-15 Thread Danny Shepherd
I think you're looking for phpMyAdmin and yes, it's very viable and PHP4 compatible. http://www.phpwizard.net/projects/phpMyAdmin/ HTH Danny. - Original Message - From: "Erik Gilchrist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Ma

Re: [PHP] Gettext and PHP4.2.0?

2002-05-17 Thread Danny Shepherd
n and the lib is in /usr/local/lib - find out where gettext is on your setup and adjust the config option accordingly. HTH Danny. - Original Message - From: "Bram van Leur" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 6:38 PM Subject: [PHP] G

[PHP] remove me from php list

2001-07-18 Thread danny brown
thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] please remove me from the mail list

2001-07-20 Thread danny brown
thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] CSV date issue

2007-01-11 Thread Danny Brow
Hi, It's been a while since I've used php and I'm trying to organize some data by date. The problem I'm having is that when the data changes from say 2006 to 2005 the first few rows of 2005 data goes into my 2006 data and the date for 2006 is lost. My code for separating dates is below with some s

Re: [PHP] CSV date issue - Solved

2007-01-11 Thread Danny Brow
Seems my problem was a data issue and I needed to compensate for missing dates. thanks, Dan On Thu, January 11, 2007 2:31 pm, Danny Brow wrote: > Hi, > > > It's been a while since I've used php and I'm trying to organize some > data by date. The problem I'm h

Re: [PHP] List gone quiet?

2005-02-25 Thread Danny Brow
On Fri, 2005-02-25 at 11:13 +, Lester Caine wrote: > Nothing on list over night? It's a PHP fast :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] recommending a PHP book?

2005-03-15 Thread Danny Lin
Can any one recommend a good book that discusses MVC design patterns with PHP (and mySQL)? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Update db with $_POST

2005-03-15 Thread Danny Brow
Thanks for looking, I figured it out, after RTFM for db, I found that I needed to do field=? instead of using VALUES (). Example: $db->query('UPDATE items SET item_name=?, item_desc=?, item_price=?, extraprice=? WHERE item_id = 3', array($_POST['title'], $_POST['description'], $_

[PHP] Update db with $_POST

2005-03-15 Thread Danny Brow
I'm trying to update some form data with this db update query and it's not working, I'm not getting an error either. $db->query("UPDATE items SET item_name = $_POST[title], item_desc = $_POST[description], item_price = $_POST[price], extraprice = $_POST[extraprice] WHERE item_id = 3"); & I've t

Re: [PHP] Re: Update db with $_POST

2005-03-15 Thread Danny Brow
On Tue, 2005-03-15 at 18:45 -0500, Jason Barnett wrote: > Danny Brow wrote: > > Thanks for looking, > > > > I figured it out, after RTFM for db, I found that I needed to do field=? > > instead of using VALUES (). > > > > > > > > Example: > >

Re: [PHP] Update db with $_POST

2005-03-16 Thread Danny Brow
On Wed, 2005-03-16 at 16:50 +1000, Ligaya Turmelle wrote: > assuming you are using PEAR DB - > > $result =& $db->query("UPDATE items SET (item_name, item_desc, > item_price, extraprice) VALUES (?,?,?,?) WHERE item_id = 3", > array($_POST['title'], $_POST['description'], $_POST['price'], > $_PO

[PHP] Postgresql & PHP

2005-03-22 Thread Danny Brow
Any recommendations on books for postgresql & PHP usage. Thanks, Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best Server OS

2005-03-28 Thread Danny Brow
On Mon, 2005-03-28 at 15:19 -0500, Phil Neeb wrote: > I'm lookin for some opinions on this one ... > > What do you think the best OS is for running a server with PHP and > MySQL? If you're going to say Linux, please, which Linux OS, there are > so many. Slackware. Dan. -- PHP General Maili

RE: [PHP] Best Server OS

2005-03-28 Thread Danny Brow
On Mon, 2005-03-28 at 15:58 -0500, Mike wrote: > I personally like OpenBSD - though many of the BSDs are similar at many > tasks and only have notable differences in a few areas (and it's those areas > you should look to find which works best for you). > > I wonder who will get bored and stir up t

Re: [PHP] Best Server OS

2005-03-28 Thread Danny Brow
On Mon, 2005-03-28 at 23:28 +0200, M. Sokolewicz wrote: > Danny Brow wrote: > > > On Mon, 2005-03-28 at 15:58 -0500, Mike wrote: > > > >>I personally like OpenBSD - though many of the BSDs are similar at many > >>tasks and only have notable differences

[PHP] Starting a big project

2005-05-01 Thread Danny Brow
I'm about to start writing a big web app (mostly in PHP). But I'm not sure if I should layout the DB first then write the app, or should I just start writing the app and add stuff to the DB as I need it. How do you guys go about it? Thanks, Dan. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Starting a big project

2005-05-01 Thread Danny Brow
project. Thanks, Dan > > On 5/1/05, Danny Brow <[EMAIL PROTECTED]> wrote: > > I'm about to start writing a big web app (mostly in PHP). But I'm not > > sure if I should layout the DB first then write the app, or should I > > just start writing the app and add s

Re: [PHP] PHP Applications?

2005-05-17 Thread Danny Brow
On Tue, 2005-05-17 at 15:34 -0400, Brent Baisley wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. > Any free ones? -- PHP General Mailing List (http://www.php.net/)

[PHP] fgetcsv

2008-01-09 Thread Danny Brow
Hi Everyone, I'm trying to compare a value to the first field in a csv fILE (example of the data below). Using while takes too long and I can't figure out how to compare just one row at a time. I've tried some variations of the following. //Common for all trials $demoID = fopen("newDemoID.csv",

Re: [PHP] fgetcsv

2008-01-09 Thread Danny Brow
9:59 +1100, Chris wrote: > Danny Brow wrote: > > Hi Everyone, > > > > I'm trying to compare a value to the first field in a csv fILE (example > > of the data below). Using while takes too long and I can't figure out > > how to compare just one row at a

RE: [PHP] fgetcsv

2008-01-09 Thread Danny Brow
Um, I've read the manual. On Wed, 2008-01-09 at 20:11 -0500, Bastien Koert wrote: > http://ca.php.net/manual/en/function.fgetcsv.php > _ > Discover new ways to stay in touch with Windows Live! Visit the City @ Live > today! > http:/

Re: [PHP] fgetcsv

2008-01-09 Thread Danny Brow
x27;t have the fgetcsv inside the while loop to get past > the first row... :-) > > On Wed, January 9, 2008 6:09 pm, Danny Brow wrote: > > I need to compare the first field of each row. But this idea is shot > > to > > hell, i've been running one of the examples on the

[PHP] DESC order results

2008-01-13 Thread Danny Brow
Just wondering if anyone could tell me how reliable the DESC order option is going to be when I am parsing thousands of records where they are multiple ChartNo's for the same clientNo. Or is there a better way to grab the most recent ChartNo. $link = mysql_connect('localhost', 'myuser', 'mypasswor

Re: [PHP] DESC order results

2008-01-13 Thread Danny Brow
Thanks for the answer, didn't think of asking this in a MySQL forum, sorry. Dan On Sun, 2008-01-13 at 20:28 +0100, Jochem Maas wrote: > Danny Brow schreef: > > Just wondering if anyone could tell me how reliable the DESC order > > option is going to be when I am parsing

Re: [PHP] GPS Locator

2008-03-04 Thread Danny Brow
Wintec makes a nice unit. http://www.wintec.com.tw/en/home.php But you are screwed if the system is in doors. I doubt you would get a GPS signal inside a building. Dan On Tue, 2008-03-04 at 10:18 -0600, Jay Blanchard wrote: > Howdy group! > > I know that this is not a PHP question (but it will

[PHP] CSV speed

2008-03-10 Thread Danny Brow
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 lot of sense. What do you guys thi

Re: [PHP] CSV speed

2008-03-10 Thread Danny Brow
On Mon, 2008-03-10 at 22:36 -0400, 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

[PHP] help needed to install php on my xp home edition pc

2004-02-20 Thread danny cobbinah
i have installed apache 2 and mysql 3 on my pc (running xp home) i have installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with apache at all. any help please? how do i configure apache and php to mix? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] using xp home

2004-02-21 Thread danny cobbinah
is it better to use apache 1.3.29 or apache 2.0.48? i am having the worst trouble ever trying to get this thing to work -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] hello

2004-04-01 Thread danny . heijl
Try this, or nothing! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Learning PHP5

2004-10-28 Thread Danny Brow
On Thu, 2004-10-28 at 15:03 -0700, Matthew Sims wrote: > About a week ago someone was asking where are beginner can go to learn > PHP5? This book was just advertised on Slashdot. > > Learning PHP 5 > Only $20 on Amazon.com > http://www.amazon.com/exec/obidos/tg/detail/-/0596005601/qid=1099000383/s

Re: [PHP] Learning PHP5

2004-10-28 Thread Danny Brow
On Thu, 2004-10-28 at 20:20 -0500, Greg Donald wrote: > On Thu, 28 Oct 2004 19:12:12 -0400, Michael Lauzon <[EMAIL PROTECTED]> wrote: > > Unfortunately the PHP.net are not really for beginners, you have to > > have some programming knowledge to get started using their > > tutorials...this is just m

Re: [PHP] VOTE TODAY

2004-11-02 Thread Danny Brow
On Tue, 2004-11-02 at 10:50 -0700, Grant wrote: > > I can't wait for the replies... > > Here's a reply: > > Don't vote for Bush. > > - Grant > I'm Canadian, please stop wasting my bandwidth. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] PHP Accelerator

2004-11-07 Thread Danny Brow
On Sun, 2004-11-07 at 07:55 +0200, Jyry Kuukkanen wrote: > On Sun, 7 Nov 2004, raditha dissanayake wrote: > > > David wrote: > > > > > I need a PHP accelerator but am not sure which one to use. I would > > > highly prefer to not use a commercial accelerator and need one that > > > works with PH

[PHP] Creating a directory

2004-11-12 Thread Danny Brow
What's the best way to create a directory with PHP, I tried using: if (array_exists('dir',$_POST)) { $dir_name = test123; shell_exec('mkdir $dir_name'); I don't want to have to declare a variable, I would like to do this all on one line. Like: shell_exec('mkdir $_POST['

Re: [PHP] Creating a directory

2004-11-12 Thread Danny Brow
Thanks, I should have looked that up. 4am, time for bed. Thanks again, Dan. On Fri, 2004-11-12 at 18:01 +0900, Pluance wrote: > Use mkdir in PHP Functions. > See Also: http://www.php.net/manual/en/function.mkdir.php > > On Fri, 12 Nov 2004 03:54:52 -0500, Danny Brow <[EMAIL PR

Re: [PHP] Creating a directory

2004-11-12 Thread Danny Brow
On Fri, 2004-11-12 at 17:12 +, Jason Wong wrote: > On Friday 12 November 2004 08:54, Danny Brow wrote: > > What's the best way to create a directory with PHP, I tried using: > > > > if (array_exists('dir',$_POST)) { > > $dir_name = test123; >

Re: [PHP] probably stupid, but...

2004-11-12 Thread Danny Brow
On Fri, 2004-11-12 at 15:08 -0500, Robert Sossomon wrote: > I have a form that sends 20 rows of data into a script, instead of having to > write 20 separate add functions, I wrote this piece of code... > > $i=1; > while ($i<20) > { > if ($_POST[book_title_$i]' != "") // One problem maybe the q

RE: [PHP] probably stupid, but...

2004-11-12 Thread Danny Brow
On Fri, 2004-11-12 at 14:35 -0600, Jay Blanchard wrote: > [snip] > Did that and it fixed only that piece (saw it right after I sent the > email out > to the group). I am thinking that it is still somewhat of the > iterations that > are causing problems. I am waiting on the server guy to get bac

[PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
Below is a snip of a program I am writing, I am a little new to php. Any how, I can't for the life me figure out why one of my functions cannot grab the item_pics1 variable. I have tried passing the variable to the function, tried using $GLOBALS['item_pic1']. So I guess my question is, does PHP in

Re: [PHP] Unsubscribing Junk Emails From the List: requests@firstustrading.com

2004-12-09 Thread Danny Brow
I'm getting it too. On Thu, 2004-12-09 at 09:49 -0800, Justin Palmer wrote: > Hi, > > Every time I send a response to the list I get a auto-reply from: > [EMAIL PROTECTED] > > Is there someone that I could email that can delete this user from the > list? > > Thanks for any information. > > Reg

Re: [PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
On Thu, 2004-12-09 at 13:41 -0500, John Nichel wrote: > Danny Brow wrote: > > Below is a snip of a program I am writing, I am a little new to php. > > Any how, I can't for the life me figure out why one of my functions > > cannot grab the item_pics1 variable. I have

Re: [PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
On Thu, 2004-12-09 at 12:40 -0800, Richard Lynch wrote: > My best guess from skimming your code is that you need: > > global $_POST; > should I put this at the top of my code with the rest of my variables? > in the function that uses $_POST. > > Or is $_POST always global anyway? No. > > I

Re: [PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
On Thu, 2004-12-09 at 15:39 -0500, Roger Spears wrote: > Danny Brow wrote: > > On Thu, 2004-12-09 at 13:41 -0500, John Nichel wrote: > > > >>Danny Brow wrote: > >> > >>>Below is a snip of a program I am writing, I am a little new to php. > >>&

Re: [PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
On Thu, 2004-12-09 at 12:40 -0800, Richard Lynch wrote: > My best guess from skimming your code is that you need: > > global $_POST; > > in the function that uses $_POST. > > Or is $_POST always global anyway? > > I always forget, because they changed it around on POST/GLOBALS/etc at > some poi

Re: [PHP] Confused - $GLOBALS

2004-12-09 Thread Danny Brow
On Fri, 2004-12-10 at 05:52 +0800, Jason Wong wrote: > On Friday 10 December 2004 04:52, Danny Brow wrote: > > OK, you never said what your problem was except to say "everything works but > the str_replace item_pics1." > > Did you check $GLOBALS['errors'] a

Re: [PHP] ISP snippet

2004-12-10 Thread Danny Brow
On Thu, 2004-12-09 at 18:17 -0600, Brad Ciszewski wrote: > i need help to figure out the isp of a user. can anyone help me with this? http://www.arin.net/whois/ It will give you the owner of the IP address, i.e. Bell, AOL, etc. Whats the reason you need the uses ISP? > > > > -Brad > > www.B

RE: [PHP] can I compile php source OT

2004-12-21 Thread Danny Brow
Wow I just wasted 10 minutes of my day reading half these post. This is one long thread. And man is it hard to follow. Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor

2005-01-13 Thread Danny Brow
On Thu, 2005-01-13 at 18:02 +0200, William Stokes wrote: > Hello, > > I'm quite new with writing php code. I was considering of using some kind of > php editor program to help with the syntax. Know any goog ones? > > Thanks > -Will > I like Komodo. Dan. -- PHP General Mailing List (http://ww

Re: [PHP] For HomeSite users...

2005-01-20 Thread Danny Brow
.org don't work but www.phpeclipse.de does. Dan. On Fri, 2005-01-21 at 12:06 +1100, [EMAIL PROTECTED] wrote: > I havent used Homesite in years, I am now an Eclipse advocate :) > > www.phpeclipse.org :) > > > > OMG! > > > > This is quite possibly the coolest thing I've found in a while, and it

[PHP] test

2005-05-31 Thread Danny Brow
signature.asc Description: This is a digitally signed message part

<    1   2   3   >