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

2009-01-05 Thread Jim Lucas
*= CHUNK_SIZE and compare it to DOWNLOAD_LIMIT. ceo, you made me realize a problem with yours and my example also. 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. -- Jim Lucas Some men

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

2009-01-04 Thread Jim Lucas
Michelle Konzack wrote: Hello Eric, Am 2009-01-04 14:33:37, schrieb Eric Butera: On Sun, Jan 4, 2009 at 1:39 PM, Michelle Konzack linux4miche...@tamay-dogan.net wrote: [ '/usr/share/tdphp-vserver/includes/02_functions.inc' ] function fncPushBinary($type='show', $file,

Re: [PHP] Posting Data?

2009-01-02 Thread Jim Lucas
. It allows you to modify page content and then resubmit it. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net

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

2009-01-02 Thread Jim Lucas
to the function is already sanitized. Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have

Re: [PHP] Please point me in the right direction

2009-01-02 Thread Jim Lucas
the best solution? David Hope the above helps. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread Jim Lucas
a one question... You have your grey button associated with your Default Theme button and you have your default button associated with your Alternate Theme button Is this correct? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon

Re: [PHP] system() Question

2008-12-31 Thread Jim Lucas
, and to all a safe night! -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] What does ?xml have to do with it?

2008-12-28 Thread Jim Lucas
declaration -- how do I turn that off? Or is this something else? Cheers, tedd short tags are enabled. Disable them in your php.ini file and you will be good. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth

Re: SV: [PHP] Round to a given value?

2008-12-25 Thread Jim Lucas
Anders Norrbring wrote: On Wed, 2008-12-24 at 20:38 +0100, Anders Norrbring wrote: Rounding an integer to the closest divisor by ten is easy with round() and a negative precision, but I turn out to be lost if I want to round to a given number.. Example, round to the closest 5000, or

Re: [PHP] Help with a Search Function

2008-12-24 Thread Jim Lucas
*: mysql_num_rows(): supplied argument is not a valid MySQL result resource in * C:\Inetpub\Xampp\htdocs\SNLeader\WOSystemN\ViewOrders.php* on line *182 Thanks in advance * -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them

Re: [PHP] Regular expressions (regex) question for parsing

2008-12-22 Thread Jim Lucas
{ $results['non_matches'][$i] = $line; } } print_r($results); ? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing

Re: [PHP] Re: HTTP Error 500 - IsapiModule

2008-12-19 Thread Jim Lucas
(mysql_error()); Mind you that the above is not recommended in production code. But, it works for trying to figure out this type of problem. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V

Re: [PHP] IE8 and HTML5

2008-12-19 Thread Jim Lucas
) your hard drive. Mark This is why I removed it from my system. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http

[PHP] Variable Scope problem passing function parameters

2008-12-18 Thread Jim McIntyre
tell, it sends an essentially blank email to nobody (but returns true. If I replace any of my function variables with strings, like this: $phpMail-AddAddress('m...@example.com'); the email actually gets that data. What am I missing? Thanks, Jim -- PHP General Mailing List (http

Re: [PHP] Variable Scope problem passing function parameters

2008-12-18 Thread Jim McIntyre
metastable wrote: Jim McIntyre wrote: $phpMail = new PHPMailer(); $phpMail-From = $from; $phpMail-AddAddress($this-to); $phpMail-Subject = $subject; $phpMail-Body = $body; return $phpMail-Send(); $this - to it has no meaning in the scope of your class. Apparently

[PHP] SOLVED Re: [PHP] Variable Scope problem passing function parameters

2008-12-18 Thread Jim McIntyre
Jim McIntyre wrote: metastable wrote: Jim McIntyre wrote: $phpMail = new PHPMailer(); $phpMail-From = $from; $phpMail-AddAddress($this-to); $phpMail-Subject = $subject; $phpMail-Body = $body; return $phpMail-Send(); Never mind - I found the problem. It was a lowly

Re: [PHP] Phpmyadmin password

2008-12-17 Thread Jim Lucas
Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com That is the case, but only if the op is using http auth if they are using config or cookie based, then it might/should be stored in the config.inc.php file. -- Jim Lucas Some men are born

Re: [PHP] header modify errors

2008-12-15 Thread Jim Lucas
or VirtualHost ... blocks that are overriding your php.ini settings. Plus, make sure you restart to make the changes take effect. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William

Re: [PHP] Re: header modify errors

2008-12-15 Thread Jim Lucas
production environment is setup to where it does not display the warning. So, he wants his newly installed test machine to match what the production is doing. Correct me if I'm wrong Terion. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
files that may need altered in the server's configuration files such as php.ini etc... email me at linia...@yahoo.com if you can help. Thanks, Ian Why is it a requirement to use mail() ?? Why not use a package like phpmailer or some such email lib? -- Jim Lucas Some men are born

Re: [PHP] new xampp server problem w/mail

2008-12-15 Thread Jim Lucas
Lets keep things on the list! Ian Lin wrote: Jim Lucas, Thank you for your advise! It is not necessarily crucia that I use the mail() function, but that is what I usually use when writing email scripts for my clients because thier servers all support it. I am a web designer and would

Re: [PHP] Resource ID# 5 and Resource id #5 8561 errors....help

2008-12-12 Thread Jim Lucas
!!! $FileName = str_replace(/, , $FileName); $FileName = str_replace(.jpg, , $FileName); echo $FileName; ... Do the rest of what you place to do with each row ... } ? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have

Re: [PHP] Include directive..

2008-12-09 Thread Jim Lucas
as a standard php include every time someone visits the given VirtualHost block. Hope this helps. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General

Re: [PHP] Include directive..

2008-12-09 Thread Jim Lucas
are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 8:19 PM To: dele454

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Jim Lucas
Andrew Ballard wrote: On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas [EMAIL PROTECTED] wrote: I was going to say that I haven't yet decided on what the final output format is going to be. Probably either rtf or OpenXML. How about I ask for suggestions on what would be the best format to store

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
yet -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
, the virtualhost block, or .htaccess files if they are an option. Hope this helps -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
Shawn McKenzie wrote: Jim Lucas wrote: Boyd, Todd M. wrote: -Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP] How to fetch .DOC or .DOCX file in php Importance: Low Hi ! I want

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
/dbconn_open.php); ? Regards, Johny John This still doesn't address his possible parse error problem. If he has a parse error, it makes no difference where he places the above lines. Nothing is going to work. It should be done via one of the three methods that mention in my other email. Jim Lucas

Re: [PHP] adding key- value pair to an array

2008-12-03 Thread Jim Lucas
= $percentage; I don't think the above will work either, afaik php doesn't allow you to have variable names start with numbers. Also, there is a high possibility that $percentage would end up being a float. -- Jim Lucas Some men are born to greatness, some achieve greatness

Re: [PHP] adding key- value pair to an array

2008-12-03 Thread Jim Lucas
' $row-$percentage = ($browseCount / $totalCount ) * 100; Were you intending to just say $row-percentage instead of calling $percentage?  } } Please somebody tell me how to achieve this. Thanks in advance. Aniket -- Jim Lucas Some men are born

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Jim Lucas
=testvarbr/ input type=submit value=Submitbr/ /form looks like you already fixed it.. works fine for me on your server: array(1) { [testvar]= string(2) er } NULL (then all the phpinfo()) i posted er on the form at bottom.. Seems to be working for me also. -- Jim Lucas Some men are born

Re: [PHP] reading XML

2008-11-20 Thread Jim Lucas
#38739 Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading XML

2008-11-20 Thread Jim Lucas
is the simplest way to accomplish this small challenge? Thanks in advance. Or this one even http://us2.php.net/manual/en/function.xml-parse.php#83416 Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Invalid Arguements

2008-11-19 Thread Jim Lucas
form. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] implode()

2008-11-18 Thread Jim Lucas
would be a good place to start when asking for help. To us, it is pretty obvious what the problem could be. But the error would help. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V

Re: [PHP] Help insert not working, implode errors....

2008-11-18 Thread Jim Lucas
= ; } The latter one would assume that you would only receive a valid string instead of an array if $_POST['BannerSize'] was set at all. so... YMMV -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V

Re: [PHP] Scheduling scripts?

2008-11-18 Thread Jim Lucas
http://bulldog.tzo.org/webcal/ for my wife and a few friends. Seemed nice and easy to setup. Looks like it is end of life, but they have started a new version, http://www.webcalng.com/ looks pretty much the same. Might give that a try. -- Jim Lucas Some men are born to greatness, some

Re: [PHP] Help insert not working, implode errors....

2008-11-17 Thread Jim Lucas
that this code never worked, unless you changed the order of the arguments being passed to your implode() calls. The arguments are backwards in all three calls. check out this http://php.net/implode it might give you insight on how to make it work. -- Jim Lucas Some men are born to greatness, some

Re: [PHP] mySQL query question

2008-11-16 Thread Jim Lucas
Chris wrote: Jim Lucas wrote: [EMAIL PROTECTED] wrote: Ok, so just that I am clear, you are SELECTing and pulling all the data that you are submitting in the above INSERT statement from the DB initially, then you are only modifying the confirm_number value and then re- submitting all

Re: [PHP] mySQL query question

2008-11-15 Thread Jim Lucas
Michael S. Dunsavage wrote: On Fri, 2008-11-14 at 12:46 -0800, Jim Lucas wrote: SELECT @confirm_number AS confirm_number; Are we not SELECTING the column value here? should we be selecting confirm_number as confirm_number? The idea is to give you the number that was used in the INSERT

Re: [PHP] mySQL query question

2008-11-14 Thread Jim Lucas
that the $confirm_number has been altered. Correct? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net

Re: [PHP] mySQL query question

2008-11-14 Thread Jim Lucas
, pretty much, eliminate any chance of a race condition. Since everything is happening within mysql, it should be very hard to end up with a condition that you start stomping on records. Let the list know if it works for you. -- Jim Lucas Some men are born to greatness, some achieve greatness

Re: [PHP] mySQL query question

2008-11-14 Thread Jim Lucas
Jim Lucas wrote: [EMAIL PROTECTED] wrote: Ok, so just that I am clear, you are SELECTing and pulling all the data that you are submitting in the above INSERT statement from the DB initially, then you are only modifying the confirm_number value and then re- submitting all the values

Re: [PHP] mySQL query question

2008-11-14 Thread Jim Lucas
Michael S. Dunsavage wrote: On Fri, 2008-11-14 at 13:31 -0800, Jim Lucas wrote: '{$Comments}', @confirm_number ) The above should be this instead @confirm_number ); Even after fixing that, nothing gets inserted

Re: [PHP] mySQL query question

2008-11-14 Thread Jim Lucas
Jim Lucas wrote: Michael S. Dunsavage wrote: On Fri, 2008-11-14 at 13:31 -0800, Jim Lucas wrote: '{$Comments}', @confirm_number ) The above should be this instead @confirm_number ); Even after fixing that, nothing gets

[PHP] Darn mail servers...

2008-11-11 Thread Jim Lucas
Hope this works... -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] file_get_contents urlencode spaces: yeah right?

2008-11-10 Thread Jim Lucas
. Worked for me. I had the same results as you on my server. The only fix I found was to replace the + with %20. Maybe the user agent server are doing something special that file_get_contents() server are not doing. -- Jim Lucas Some men are born to greatness, some achieve greatness

[PHP] htmlentities() and default_charset

2008-11-08 Thread Jim Hermann - UUN Hostmaster
/htmlentities10.phpt, htmlentities11.phpt, and htmlentities13.phpt all expect the default_charset to be used when charset=''. Thanks. Jim - Jim Hermann [EMAIL PROTECTED] UUism Networks http://www.UUism.net Ministering to the Needs of Online UUs Web Hosting, Email Services, Mailing Lists

Re: [PHP] removing text from a string

2008-11-06 Thread Jim Lucas
calls B's Pros: Slightly faster then A Single Function call B's Cons: Regex You should really check the manual again Jim. AFAIK ltrim doesn't remove a single character but as long they belong to the list they are all removed you just do: ltrim($line, '0123456789

Re: [PHP] removing text from a string

2008-11-06 Thread Jim Lucas
wrong I like perl and pcre but it is pointless here. Personal choice, and yes my testing has proven that a regex is faster then the multiple function calls or if conditions needed to accomplish the same thing. -- Jim Lucas Some men are born to greatness, some achieve greatness

Re: [PHP] Globals or Super Global Variables To Be Reused from For Loops

2008-11-06 Thread Jim Lucas
_ Express yourself with gadgets on Windows Live Spaces http://discoverspaces.live.com?source=hmtag1loc=us -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them

Re: [PHP] Random number generator

2008-11-06 Thread Jim Lucas
')) % 10) +1; echo $second; ? This should do -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] removing text from a string

2008-11-06 Thread Jim Lucas
the manual again Jim. AFAIK ltrim doesn't remove a single character but as long they belong to the list they are all removed you just do: ltrim($line, '0123456789') and this does the job perfectly. So perhaps you need to reconsider your thoughts on this. Maybe instead of saying

Re: [PHP] Infinite Loop Issue

2008-11-06 Thread Jim Lucas
$issues; echo $priority; echo 'br /'; Where are the above variables defined/create? } $all-close(); } -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V

Re: [PHP] removing text from a string

2008-11-05 Thread Jim Lucas
*/', '', $line), \n; } ? This takes care of all possible issues related to the char after the first period. Maybe it is there maybe not. Could be that it is a tab and not a space. Could even be multiple tabs or spaces. -- Jim Lucas Some men are born to greatness, some achieve greatness

Re: [PHP] removing text from a string

2008-11-05 Thread Jim Lucas
, '0123456789'), '.')); B) preg_replace('/^[0-9]+\.\s*/', '', $line); Which do you prefer? A's Pros: Not a regex A's Cons: A little slower then B multiple function calls B's Pros: Slightly faster then A Single Function call B's Cons: Regex -- Jim

Re: [PHP] find a word in a string

2008-11-05 Thread Jim Lucas
() or strpos() (both case-sensitive) use stristr() and stripos() if you are looking to be case insensitive. You could even use substr_count(). You have a number of options. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them

Re: [PHP] Recursive Directory Listing

2008-11-04 Thread Jim Lucas
); displayDir($entry); echo '/li'; } echo '/ul'; } } displayDir($dir); ? Hope this helps -- Jim Lucas Excellent, Jim. Thanks very much for your help. At the risk of straying too far from the original subject/call

Re: [PHP] take me off the list

2008-11-03 Thread Jim Lucas
right after she wrote that first message, and haven't heard back since. So that was most likely the case. You keep doing things for people, they are never going to learn... :) -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon

Re: [PHP] Recursive Directory Listing

2008-10-31 Thread Jim Lucas
'; } } displayDir($dir); ? Hope this helps -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] clear a mysql table

2008-10-28 Thread Jim Lucas
to ask how to clear/empty a table -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Dynamically creating multi-array field

2008-10-26 Thread Jim Lucas
Martin Zvarík wrote: PHP Version 5.2.4 ? $node = '[5][1][]'; ${'tpl'.$node} = 'some text'; print_r($tpl); // null ? I really don't like to use the EVAL function, but do I have choice?? This sucks. You should print the results that you are looking for! Are you looking for something like

Re: [PHP] Dynamically creating multi-array field

2008-10-26 Thread Jim Lucas
Martin Zvarík wrote: Nope, you have to use the eval() everytime for read/write. Wrong. Their is always more then one way to skin a cat! ?php $node = '[5][1][]'; $text = 'some text'; preg_match_all('|\[([^\]\[]*)\]|', $node, $matches, PREG_PATTERN_ORDER); $recursive = $matches[1];

Re: [PHP] Dynamically creating multi-array field

2008-10-26 Thread Jim Lucas
Jim Lucas wrote: Martin Zvarík wrote: Nope, you have to use the eval() everytime for read/write. Wrong. Their is always more then one way to skin a cat! ?php $node = '[5][1][]'; $text = 'some text'; preg_match_all('|\[([^\]\[]*)\]|', $node, $matches, PREG_PATTERN_ORDER); $recursive

Re: [PHP] web shot script

2008-10-24 Thread Jim Lucas
that I thought these other companies provided. You could probably do something like this on one computer by having VMWare (or similar) software running to see all the different renderings. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust

Re: [PHP] moved code to a new server

2008-10-24 Thread Jim Lucas
and it should probably work just fine. You might also want to check into this option too. allow_url_fopen = Off Change it to allow_url_fopen = On if you would like to allow the opening of remote files via fopen/file_get_contents/etc... -- Jim Lucas Some men are born to greatness, some achieve

Re: [PHP] class constructor overloading

2008-10-23 Thread Jim Lucas
Alain Roger wrote: thanks a lot, this is exactly what i needed. if the construct of based class A accept arguments, i guess that construct of class B must have the sames. moreover, i guess that something like that must be written: class A { function __construct($nameA) { ... } } class

Re: [PHP] Difficulty navigating symlinks

2008-10-23 Thread Jim Lucas
Robert Cummings wrote: On Thu, 2008-10-23 at 09:46 -0400, Seth Foss wrote: Jim Lucas wrote: Seth Foss wrote: Jim Lucas wrote: Seth Foss wrote: Hi everyone, I am trying to run multiple sites on the same server, that have mostly identical code - a pre-built application

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread Jim Lucas
it would make your case. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Difficulty navigating symlinks

2008-10-22 Thread Jim Lucas
of the call. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Difficulty navigating symlinks

2008-10-22 Thread Jim Lucas
Seth Foss wrote: Jim Lucas wrote: Seth Foss wrote: Hi everyone, I am trying to run multiple sites on the same server, that have mostly identical code - a pre-built application. Anyway, I would like to save disk space by specifying independent configuration files for each site

Re: [PHP] Source Code Analysis

2008-10-22 Thread Jim Lucas
the display_errors part and check your php log file instead. Some people will probably suggest using something like xdebug I personally have never used a debugging tool, except for the version that Robert talks about. Works great and never has to be reconfigured or setup more then once... :) -- Jim Lucas

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Hi, I have tried your MS-Excel MIME type in PHP. But am facing a small problem. I can't get the grid lines as look like in normal Excel file. Am using windows XP, Internet explorer 6.0, MS Excel 2003 Thanks in advance.-- Jim Lucas wrote : abderrazzak nejeoui

Re: [PHP] E_STUPID

2008-10-22 Thread Jim Lucas
it. (the feature that is) -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MkDir Help

2008-10-22 Thread Jim Lucas
Jason Todd Slack-Moehrle wrote: Hi All, I want to make a directory on my web server programatically when my code to create a new user runs. I am running PHP 5.2.5 on Linux. I am running: $dirToCreate = ...$_SESSION['s_USER_URL']; mkdir($dirToCreate, 0777, TRUE); // create the directory for

Re: [PHP] Politics

2008-10-21 Thread Jim Lucas
Apache? :) no, no, no, she said painfully, she must be using IIS... :) Try upgrading all your drivers and then restarting... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Jim Lucas Some men are born to greatness, some achieve

Re: [PHP] Flags package for PHP?

2008-10-16 Thread Jim Lucas
, Waynn I would maybe look into using a standard ini file and then use the parse_ini_file [1] function to bring it all together again. 1 - http://us2.php.net/manual/en/function.parse-ini-file.php -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have

Re: [PHP] Output text status on a long class

2008-10-14 Thread Jim Lucas
/etc... -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Output text status on a long class

2008-10-14 Thread Jim Lucas
Boyd, Todd M. wrote: -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 11:56 AM To: Boyd, Todd M. Cc: php php Subject: Re: [PHP] Output text status on a long class Boyd, Todd M. wrote: Also, a setting to check it to make sure

Re: [PHP] Can't use copy() to copy files

2008-10-14 Thread Jim Lucas
stream: Permission denied in /home/vinat/public_html/Files/test.php on line 31 Any help appreciated! your source and destination are the same. you can't do that. Even windows cries when you try that.. :) -- Jim Lucas Some men are born to greatness, some achieve greatness

Re: [PHP] Output text status on a long class

2008-10-14 Thread Jim Lucas
Boyd, Todd M. wrote: -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 11:43 AM To: Chrome Cc: 'Stut'; 'Andrew Ballard'; 'Jay Moore'; php-general@lists.php.net Subject: Re: [PHP] Output text status on a long class Chrome wrote: On 14 Oct

Re: [PHP] Output text status on a long class

2008-10-14 Thread Jim Lucas
/etc... -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Little regex help please...

2008-10-13 Thread Jim Lucas
,$match); -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Little regex help please...

2008-10-13 Thread Jim Lucas
slash on the closing title tag preg_match('#title([^]*)/title#iU',$data,$match); -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http

Re: [PHP] Passing a variable which is an aggregate function

2008-10-10 Thread Jim Lucas
. http://php.net/number_format -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re[2]: The 'at' sign (@) variable prefix

2008-10-09 Thread Jim Lucas
. As far as I have ever seen, they are always strings. Be it empty or not. I added a speed test to the bottom of that page also. It shows the difference between the two functions getting called 10,000 times. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some

Re: [PHP] Required files not being parsed properly...

2008-10-07 Thread Jim Lucas
or something? The page isn't available any longer... :) -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Required files not being parsed properly...

2008-10-06 Thread Jim Lucas
to On Change that restart apache. You should be good to go. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net

Re: [PHP] Php4 = Php5

2008-10-03 Thread Jim Lucas
the benefits of the upgrade itself. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: SESSION array problems UPDATE

2008-10-02 Thread Jim Lucas
. Works fine. http://www.cmsws.com/examples/php/testscripts/[EMAIL PROTECTED]/002.php -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List

Re: [PHP] Re: SESSION array problems UPDATE

2008-10-02 Thread Jim Lucas
Jim Lucas wrote: tedd wrote: At 11:10 PM +0100 10/1/08, Nathan Rixham wrote: [tested - works] -snip- ? regards! nathan :) I need to re-address this.. tedd your original code works fine over here; as does the code I sent you, and the code jay submitted first.. do us a favour, copy

Re: [PHP] Selecting all records between a date range

2008-10-02 Thread Jim Lucas
Jason Pruim wrote: Hi Everyone, Could not perform query: Query was empty This would tell me that the variable that you are passing to your function call is either empty or not set. Maybe a typo. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have

Re: [PHP] SESSION array problems [THE REASON]

2008-10-02 Thread Jim Lucas
Daniel Brown wrote: And fear not, Sergeant Sperling register_globals is deprecated and is removed as of PHP6. so long, farewell, bye bye -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act

Re: [PHP] SESSION array problems [THE REASON]

2008-10-02 Thread Jim Lucas
Daniel Brown wrote: On Thu, Oct 2, 2008 at 12:57 PM, Jim Lucas [EMAIL PROTECTED] wrote: so long, farewell, bye bye If you say so. Do you realize how many websites are going to break now? ;-P https://www.example.com/secure/shop.php?page=creditcardinfo.php ?php include($page

Re: [PHP] Selecting all records between a date range

2008-10-02 Thread Jim Lucas
always add this... http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_unix-timestamp SELECT * FROMtimeStore WHERE timeinUNIX_TIMESTAMP(DATE_SUB(NOW(),INTERVAL 7 DAYS)) -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have

Re: [PHP] SESSION array problems

2008-10-01 Thread Jim Lucas
($_SESSION['first_name'][$i]); } How about this? Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wanted PHP Developers LogicManse

2008-09-30 Thread Jim Lucas
address and spammed the hell out of us if they'd wanted. Why do you think they are looking for a programmer... *what's wrong with me today* -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V

Re: [PHP] Time Loop

2008-09-30 Thread Jim Lucas
, '/td'; } # Don't forget to reset the $days array # otherwise the array pointer is at the last index reset($days); echo '/tr'; } echo '/table/form'; ? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth

Re: [PHP] Wanted PHP Developers LogicManse

2008-09-30 Thread Jim Lucas
Nathan Rixham wrote: Jim Lucas wrote: Nathan Rixham wrote: Richard Heyes wrote: Thanks for quoting the whole message then! :P Maybe he just wanted to make sure you got it... I'm always really tight on these guy's - but it is just somebody offering us a job I guess; they could have scoured

<    6   7   8   9   10   11   12   13   14   15   >