[PHP] Implicit FTPS

2012-01-05 Thread Todd Nelson
. Todd Nelson

Re: [PHP] Implicit FTPS

2012-01-05 Thread Todd Nelson
Thank you Nilesh, but ftp_ssl_connect is my problem! I know what it does now - I'd like to extend it. From that manual page: ftp_ssl_connect() opens an explicit SSL-FTP connection to the specified host. Todd From: Nilesh Govindarajan cont...@nileshgr.com To: Todd Nelson tnel

[PHP] Calendar/Date

2009-03-17 Thread Jason Todd Slack-Moehrle
Hi All, Does anyone have code and/or advice for how to get get the current week (with a passed current day, say) and what then end date is at Saturday. So take today: Tuesday March 17, 2009 I want to get: Sunday March 15, 2009 Monday March 16, 2009 Tuesday March 17, 2009 Wednesday March

[PHP] password field validation

2009-03-12 Thread Jason Todd Slack-Moehrle
Hi All, I have an input field with type=password. I am trying to do some error checking to see if the user puts a value in after they submit the form (i.e not left it blank) Here is what I have: on form: Password: input id=PASSWORD name=PASSWORD type=password size=15 In PHP error

Re: [PHP] password field validation

2009-03-12 Thread Jason Todd Slack-Moehrle
if (empty($_POST[PASSSWORD])) { $GERROR=TRUE;} If that's a direct copy/paste from your actual code, there is an extra S in PASSWORD. Also, you should enclose the array key in quotes: if (empty($_POST['PASSWORD'])) { $GERROR='TRUE'; } It is official I am a DOPE! Thank you, yes, I did not

[PHP] Daily and Weekly Calendar classes

2009-03-12 Thread Jason Todd Slack-Moehrle
Hi All, Does anyone have classes for creating a nice daily calendar? I can put the data in MySQL and be queried, etc. Something that when I add events to the calendar it puts them in the right time slot, etc, etc. I can do the rest of the coding Free is best! -Jason -- PHP General

RE: [PHP] whoami explanation

2009-03-04 Thread Boyd, Todd M.
-Original Message- From: PJ [mailto:af.gour...@videotron.ca] Sent: Tuesday, March 03, 2009 5:56 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] whoami explanation Boyd, Todd M. wrote: -Original Message- From: Ashley Sheridan [mailto:a

RE: [PHP] whoami explanation

2009-03-04 Thread Boyd, Todd M.
-Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Wednesday, March 04, 2009 10:16 AM To: Robert Cummings Cc: PJ; Boyd, Todd M.; php-general@lists.php.net Subject: Re: [PHP] whoami explanation On Wed, Mar 4, 2009 at 10:52

RE: [PHP] 0.T Java IDE

2009-03-03 Thread Boyd, Todd M.
++, and Processing.org's notepad, I've got to say: Developing UIs is easiest in Netbeans. Sorry. :( // Todd

RE: [PHP] whoami explanation

2009-03-03 Thread Boyd, Todd M.
~ was an alias for the current user context's home directory in any POSIX system I've ever used. :) Welcome aboard, PJ. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Boyd, Todd M.
-Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] Sent: Saturday, February 28, 2009 12:05 AM To: a...@ashleysheridan.co.uk Cc: Boyd, Todd M.; PHP General list Subject: Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in-- On Fri

RE: [PHP] Re: How important is your Express or Web Editiondatabase? Please weigh in--

2009-03-02 Thread Boyd, Todd M.
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Saturday, February 28, 2009 4:14 AM To: Andrew Ballard Cc: Boyd, Todd M.; PHP General list Subject: Re: [PHP] Re: How important is your Express or Web Editiondatabase? Please weigh in-- I absolutely

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
it in gmail:   http://code.google.com/p/jquery-multifile- plugin/downloads/detail?name=multiple-file-upload.zipcan=2q= Understood, but I don't think either of these do what the OP wanted, whcih was a real time file upload progress bar. // Todd

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
-Original Message- From: mike [mailto:mike...@gmail.com] Sent: Monday, March 02, 2009 12:59 PM To: Boyd, Todd M. Cc: PHP General list Subject: Re: [PHP] upload progress (was www.soongy.com) On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. tmbo...@ccis.edu wrote: Gears will allow

RE: [PHP] retrieve multiple select

2009-03-02 Thread Boyd, Todd M.
if that's what they've selected. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
curious as to whether or not anyone knew if this will invoke browser validation events or not. Comments and questions are more than welcome, though. :) Cheers! // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
-Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: Monday, March 02, 2009 4:18 PM To: Boyd, Todd M. Cc: PHP General list Subject: Re: [PHP] Javascript question On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote: Before some of you newbies feel like

RE: [PHP] Javascript question

2009-03-02 Thread Boyd, Todd M.
-Original Message- From: Michael A. Peters [mailto:mpet...@mac.com] Sent: Monday, March 02, 2009 4:42 PM To: Boyd, Todd M. Cc: PHP General list Subject: Re: [PHP] Javascript question Boyd, Todd M. wrote: Before some of you newbies feel like being heroes and jump all over me

RE: [PHP] Re: catch the error

2009-02-27 Thread Boyd, Todd M.
-Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Thursday, February 26, 2009 6:38 PM To: Boyd, Todd M. Cc: PHP General list Subject: Re: [PHP] Re: catch the error Boyd, Todd M. wrote: -Original Message- From: Chris [mailto:dmag...@gmail.com] Sent

RE: [PHP] Re: How do I remove an array element from within a recursive function?

2009-02-27 Thread Boyd, Todd M.
-Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Thursday, February 26, 2009 8:48 PM To: Daevid Vincent Cc: php-general@lists.php.net; Shawn McKenzie Subject: Re: [PHP] Re: How do I remove an array element from within a recursive function? Daevid Vincent wrote: I

RE: [PHP] use strict or similar in PHP?

2009-02-27 Thread Boyd, Todd M.
, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Development methods (was: use strict or similar in PHP?)

2009-02-27 Thread Boyd, Todd M.
-Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: Friday, February 27, 2009 9:56 AM To: PHP General list Subject: [PHP] Development methods (was: use strict or similar in PHP?) From: Boyd, Todd M. Well, take care of all of your logic before you display

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Boyd, Todd M.
. Alas... // Todd

RE: [PHP] Re: catch the error

2009-02-26 Thread Boyd, Todd M.
are attempting to use. # BAD: $db = mysql_connect([options]); $result = mysql_query([some query], $db_connect); # what's $db_connect? who knows! # GOOD: $db = mysql_connect([options]); $result = mysql_query([some query], $db); # same resource link from mysql_connect See? HTH, // Todd -- PHP

RE: [PHP] Re: catch the error

2009-02-26 Thread Boyd, Todd M.
-Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Thursday, February 26, 2009 4:16 PM To: Boyd, Todd M. Cc: PJ; PHP General list Subject: Re: [PHP] Re: catch the error In examples sent to you, people foolishly replaced your $db var with $db_connect ONLY FOR PART

RE: [PHP] XML - XSLT transformation using XSLTProcessor class

2009-02-20 Thread Boyd, Todd M.
. HTH, // Todd

RE: [PHP] Opinions Please, Describing PHP as Web Framework of C and C++

2009-02-17 Thread Boyd, Todd M.
? Assembly is just a framework for microcode. Cheers, Rob. So, what is the level that actually polarizes the sectors on the hard drive? Anything more abstract then that is then an API right? It's all just a neat wrapper for exchanging electron positions. // Todd -- PHP General

RE: [PHP] Online Part Time Job Available

2009-02-16 Thread Boyd, Todd M.
[probably] joking.) // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using DLL with PHP

2009-02-09 Thread Boyd, Todd M.
), though that may be a new convention introduced with the .NET framework that is not backwards-compatible with plain COM objects... // Todd

RE: [PHP] php validate user password

2009-02-09 Thread Boyd, Todd M.
be a stretch, though. :) I say, Huzzah, tedd. Good idea. Hash + Obscurity Hash + Nothing // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using DLL with PHP

2009-02-09 Thread Boyd, Todd M.
path just for our web app. Or does it have to be a DLL that can be registered? I believe you do have to register it with regsvr32 for it to be visible. I think the GUID that Todd mentioned might even work, but I've only ever used the ProgID. If you don't know the ProgID

RE: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-06 Thread Boyd, Todd M.
! :D C# can do function calls like: FunctionName(VariableName:=Value); I wholeheartedly prefer PHP to .NET for most things... but you've got to admit--that's a pretty slick feature. Me likey. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Garbage Collection

2009-02-05 Thread Boyd, Todd M.
a course is removed (but not remove the tutor, the same as you do not remove the course itself when the tutor is deleted). I suppose you could also do it yourself with PHP code when a failed link is turned up, but why bother separating DB logic from the DB itself? :) HTH, // Todd -- PHP General

RE: [PHP] CLI not obeying php.ini

2009-02-05 Thread Boyd, Todd M.
to what's already been said, you could try forcing a php.ini file in the current directory by trying the -c command line option. I've done it to try messing with a handful of values here and there for particular scripts. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] function_exists question

2009-02-05 Thread Boyd, Todd M.
server, and let an .htaccess file (or some other such convention) determine the version of PHP to run particular files/directories/etc. with. My 2c, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Hidden costs of PHP arrays?

2009-01-30 Thread Boyd, Todd M.
-critical transaction processing software, that might be another story. (Then again, if that were the case, I might not be playing with an interpreted language to begin with.) My 2c. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CURL vs stream_socket_client

2009-01-30 Thread Boyd, Todd M.
is not sending properly formatted XML is possible. Have you looked at the resulting HTML that is sent to curl to make sure that it's not a server error message? If it's the results you were looking for (but in XHTML format instead of XML), I'll bet it's a User Agent thing. Just a thought... // Todd -- PHP

RE: [PHP] Switch statement Question

2009-01-29 Thread Boyd, Todd M.
): dosomethingelse(); break; default: somethingelseentirely(); break; } ...this way, your case statements can be expressions themselves, and it will always pick at least one of them to fire. HTH, // Todd -- PHP General Mailing List

[PHP] PHP Content Management

2009-01-29 Thread Jason Todd Slack-Moehrle
Hi All, I am looking for an open-sourced CMS that is PHP/MySQL based. I would like something simple to setup, but also would be good for a storefront as I want to use it for my indie business. Thoughts? -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] validating directory and file name with preg_match

2009-01-28 Thread Boyd, Todd M.
group. You could just as easily remove the ?: and ignore the extra capture in your code (as you have done). 1. http://www.regular-expressions.info/lookaround.html HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: validating directory and file name with preg_match

2009-01-28 Thread Boyd, Todd M.
on this server. Your suggestion worked like a charm! Thank you very much! Upon reading this, I realize that I over-thought my suggestion. /^c:\\inetpub\\wwwroot\\folder\\(?:entry|edit)\\(\w+\.(?:php|pdf))$/i That's my final answer. :) // Todd -- PHP General Mailing List (http://www.php.net

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
in. Finally, just because IE8 is (supposed to be) fully CSS standards compliant doesn't mean anything for IE7, IE6, IE5, etc. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 4:40 PM Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Boyd, Todd M. wrote: Finally, just because IE8 is (supposed to be) fully CSS standards compliant

RE: [PHP] Coding for email response forms

2009-01-27 Thread Boyd, Todd M.
to mix Javascript with it before knowing what they're dealing with. http://www.w3schools.com/php HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Boyd, Todd M.
told them to do. Yes, accepting NULL values in a database is frowned upon (unless the table is a transaction table)... but I doubt his boss or his client cares in the least. My 2 cents. ;) // Todd

RE: [PHP] Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Boyd, Todd M.
-Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Tuesday, January 27, 2009 4:04 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Global Changes With Loop To Allow Nulls In A Table... The other responses should get you started

RE: [PHP] profiler web server

2009-01-26 Thread Boyd, Todd M.
believe it's httpd. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] best practice wrt multi-lingual websites, gettext() etc.

2009-01-26 Thread Boyd, Todd M.
is requested. There will be overhead involved in the codec operations, obviously, but you could help to curb that with client- or server-side caching. Just a thought. It might not be feasible for your situation at all... // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
it directly in other ASP.NET projects, and so on and so forth. You'll get a wealth of benefits aside from making your life easier with bridging the two languages. :) HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Is that hearsay or heresy? Heresy is introducing change to a system of belief. Most commonly, you see it in religious context. // Todd -- PHP General Mailing List (http://www.php.net

RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
-Original Message- From: Boyd, Todd M. Sent: Friday, January 23, 2009 1:44 PM To: 'Bastien Koert' Cc: php-general@lists.php.net Subject: RE: [PHP] Java / PHP Bridge -Original Message- From: Bastien Koert [mailto:phps...@gmail.com] Sent: Friday, January 23, 2009 1:13

RE: [PHP] Please explain: index.php/index/index

2009-01-21 Thread Boyd, Todd M.
. 1. http://www.codeplex.com/IIRF 2. http://www.regular-expressions.info HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Looking for an app...

2009-01-16 Thread Boyd, Todd M.
/rexcrawler HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Boyd, Todd M.
+://#', $anchorText) == 0) { # add current directory to the beginning of the relative path # (nothing is done to absolute paths or URLs with protocol spec) $anchorText = $curDir . '/' . $anchorText; } echo $anchorText; ? ...UNTESTED. HTH, // Todd

RE: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Boyd, Todd M.
-Original Message- From: Shawn McKenzie [mailto:nos...@mckenzies.net] Sent: Friday, January 16, 2009 1:08 PM To: php-general@lists.php.net Subject: Re: [PHP] Parsing HTML href-Attribute Shawn McKenzie wrote: Boyd, Todd M. wrote: -Original Message- From: farn

RE: [PHP] preg_match_all question

2009-01-16 Thread Boyd, Todd M.
(/\{\{lang:(.*)\}\}/, $str, $tags); You need the ungreedy modifier: preg_match_all(/\{\{lang:(.*)\}\}/U, $str, $tags); FWIW, you can tell just the .* to be un-greedy using a ? like so: preg_match_all('/\{\{lang:(.*?)\|\|/', $str, $tags); // Todd -- PHP General Mailing List (http

RE: [PHP] Parsing HTML href-Attribute

2009-01-16 Thread Boyd, Todd M.
.) I don't really have the time right now to further the regex, but you can bet your shirt I'm going to give it another look when I get home. :) // Todd

RE: [PHP] preg_match_all question

2009-01-16 Thread Boyd, Todd M.
-Original Message- From: Boyd, Todd M. [mailto:tmbo...@ccis.edu] Sent: Friday, January 16, 2009 2:13 PM To: php-general@lists.php.net Subject: RE: [PHP] preg_match_all question -Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: Friday, January

RE: [PHP] Basic Authentication

2009-01-15 Thread Boyd, Todd M.
to be relatively IN-secure, more algorithms like Triple DES, G-DES, DES-X, LOKI89, and ICE were created. You might be looking at a Triple DES hash. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Boyd, Todd M.
://www.giveupandusetables.com 'nuff said. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Data trasfer between PHP pages

2009-01-12 Thread Boyd, Todd M.
-method data in your form. Try $_POST['myname'] and see if that doesn't grab the value you're looking for. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Regex Problem

2008-12-18 Thread Boyd, Todd M.
(perhaps with some very minor changes) in PHP. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fread question

2008-12-18 Thread Boyd, Todd M.
it that way (since I don't believe you can change magic_quotes_gpc using ini_set() or similar methods). HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fread question

2008-12-18 Thread Boyd, Todd M.
Hah! Forgot to add the link: 1. http://php.net/ini_set How would you guys have ever figured out that was the page on PHP's website you need to visit in order to view information about the ini_set() function?! ;) // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] RE: Php question from Newsgroup

2008-12-18 Thread Boyd, Todd M.
Mike -- I've bottom posted my reply, as is the convention for this list (and most others). Scroll down. From: Mike Peloso [mailto:mpel...@princeton.edu] Sent: Thursday, December 18, 2008 9:56 AM To: Boyd, Todd M. Subject: Php question from Newsgroup Todd, I have attached a few jpgs

RE: [PHP] Read/decode barcodes from an image

2008-12-18 Thread Boyd, Todd M.
expectations: hell yes--tell them not to use a fax machine in the digital age. Scan the document and e-mail it or something. Where I work, we've done away with 90% of any fax machine usage in order to have documents that can be used by our OCR solution. My 2c, // Todd -- PHP General Mailing List

RE: [PHP] CLI in background on windows

2008-12-18 Thread Boyd, Todd M.
prevent pre-Vista machines from showing the user that a task is being executed. If it doesn't, then at least /min will keep the window minimized rather than slapping them in the face with it. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Re: Foreign Keys Question

2008-12-12 Thread Boyd, Todd M.
databases are there for. Make a historical database, and make a transactional database... but don't make one that tries to be both, or you're just shooting yourself in the foot. // Todd

RE: [PHP] Re: Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-12 Thread Boyd, Todd M.
]. 1. http://www.codeplex.com/IIRF 2. http://bakery.cakephp.org/articles/view/cakephp-on-iis 3. http://www.creativepark.it/downloads/iismod_rewrite.zip HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Poll of Sorts: Application Frameworks--Zend, Cake etc

2008-12-11 Thread Boyd, Todd M.
://www.yiiframework.com // Todd

RE: Re: [PHP] file_exists and wildcard/regex

2008-12-10 Thread Boyd, Todd M.
); } } ? If you want back more than the first match, do away with the $found -related stuff. 1. http://docs.cs.up.ac.za/programming/asm/derick_tut/syscalls.html HTH, // Todd

RE: Re: [PHP] file_exists and wildcard/regex

2008-12-10 Thread Boyd, Todd M.
-Original Message- From: Boyd, Todd M. [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2008 8:28 AM To: php-general@lists.php.net Subject: RE: Re: [PHP] file_exists and wildcard/regex FWIW, I would probably do the file search like this (UNTESTED): ?php $filereg

RE: [PHP] how to not show login info in the url ...what am I looking for?

2008-12-10 Thread Boyd, Todd M.
. My 2c, // Todd

RE: [PHP] converting a vid with ffmpeg - howto do progress bars?

2008-12-10 Thread Boyd, Todd M.
, it won't be completely accurate--but the bar will move a heck of a lot more often/accurately than if you only bump it each time a file is finished transcoding. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread Boyd, Todd M.
of the other back slashes in your paths), try: C:\\xampp\\htdocs\\dox\\th_dsc_076.jpg Instead of C:\\xampp\\htdocs\\dox/th_dsc_076.jpg HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-12-05 Thread Boyd, Todd M.
a Java program (yes, iText is Java) to extract the text from the fields--or entire document--and spit it out however you format it (text, XML, whatev). iText - http://www.lowagie.com/iText/ PHP/Java bridge - http://php-java-bridge.sourceforge.net/pjb/ HTH, // Todd

[PHP] PEAR Help

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi All, I installed PEAR fine. How I need to install OLE and Spreadsheet_Excel_Writer and I dont see how pear install . fails every time with channel errors and not found errors. I have downloaded the .tgz files, but I dont know where to put the contents. Any thoughts? -Jason

[PHP] File Uploads Help!!!

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi All, I am uploading a file and it says it worked, but I dont see it in the directory Here is my code so far: $allowed_ext = array('csv','xls'); $ext = end(explode('.',$_FILES['uploadedfile']['name'])); $ran2 = rand()..; $target = tempUploads/;

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Here is the output I am printing: 'tempUploads/1425182872.xlsUploaded The File.' What is the issue? -Jason On Dec 5, 2008, at 2:11 PM, Jason Todd Slack-Moehrle wrote: Hi All, I am uploading a file and it says it worked, but I dont see it in the directory Here is my code so far

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi Eric, 'tempUploads/1425182872.xlsUploaded The File.' http://us2.php.net/manual/en/function.is-uploaded-file.php http://us2.php.net/manual/en/features.file-upload.errors.php So do I still use move_uploaded_file? -Jason

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi Eric, So do I still use move_uploaded_file? Absolutely. I just didn't see anywhere in your code where you were checking for an error with the file upload itself or that it did exist on the server before moving it. Got it, thanks!! -Jason -- PHP General Mailing List

[PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
OK, making good learning progress today. I have a string that is: Jason Slack and I want it broken at the space so i get Jason and then Slack I am looking at parse_str, but I dont get how to do it with a space. The example is using []=. Then I want to assign like: $fname = Jason; $lname =

Re: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
How might I also parse and address like: SCOTTSDALE, AZ 85254 It has a comma and a space -Jason On Dec 5, 2008, at 4:02 PM, Jason Todd Slack-Moehrle wrote: OK, making good learning progress today. I have a string that is: Jason Slack and I want it broken at the space so i get Jason

Re: AW: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
Konrad, On Dec 5, 2008, at 4:22 PM, Konrad Priemer wrote: $array = explode( , Jason Slack); Awesome, thanks, yup that does it. Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 It has a comma and a space! -Jason -- PHP General Mailing List

Re: AW: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
Conny, Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 $string = cortland, ny 13045; $search = array(, , ,); $replace = array( , ); $newString = str_replace($search, $replace, $string); $array = explode( , $newString); Ah ha! Nice that makes sense,

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

2008-12-04 Thread Boyd, Todd M.
machine for this solution to work. If you're using *nix... well... good luck. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Last working day of a month

2008-12-04 Thread Boyd, Todd M.
is a workday. :) HTH, // Todd

RE: [PHP] IE8 and HTML5

2008-12-04 Thread Boyd, Todd M.
with Chrome; mostly about crashing unexpectedly.) // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] IE8 and HTML5

2008-12-04 Thread Boyd, Todd M.
, as far as canvas / in IE, you can fake it with Javascript: http://me.eae.net/archive/2005/12/29/canvas-in-ie/ Yes, this is another patchwork circumvention routine to drag IE, kicking and screaming, into the world of web browsing that exists outside of Quirks Mode... but it works. HTH, // Todd

RE: [PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread Boyd, Todd M.
will just throw everything in a ![CDATA[]] block away. It can be useful when you are the only one reading/manipulating the XML ... but getting it into a universal code page is the way to go if aggregators are going to be touching your content. My 2c, // Todd -- PHP General Mailing List (http

RE: [PHP] php cURL with SSL problem ??

2008-11-25 Thread Boyd, Todd M.
) apache2.2+php5 I'm not sure I entirely understand your question... but here goes: Yes, you can make your own CRT/KEY/CER files using OpenSSL. http://www.freebsd.org/doc/en/books/handbook/openssl.html has some instructions. Hope this helps, // Todd -- PHP General Mailing List (http

RE: [PHP] Model Web Site

2008-11-20 Thread Boyd, Todd M.
: http://www.google.com Get comfortable with programming; with algorithms; with data structures; with databases; with client-server relationships. HTH, // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: anchor name on URL

2008-11-19 Thread Boyd, Todd M.
-Original Message- From: Ashley Sheridan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 5:09 PM To: Yeti Cc: Boyd, Todd M.; PHP General Mailing List Subject: Re: [PHP] Re: anchor name on URL On Tue, 2008-11-18 at 14:58 -0800, Yeti wrote: I look forward to the day

RE: [PHP] Re: anchor name on URL

2008-11-19 Thread Boyd, Todd M.
-Original Message- From: Ashley Sheridan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 5:58 PM To: Richard Heyes Cc: Yeti; Boyd, Todd M.; PHP General Mailing List Subject: Re: [PHP] Re: anchor name on URL On Tue, 2008-11-18 at 23:51 +, Richard Heyes wrote: Yeah

RE: [PHP] Invalid Arguements

2008-11-19 Thread Boyd, Todd M.
to facepalm ahead of time. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] HTTP Authentication

2008-11-19 Thread Boyd, Todd M.
for the Authorization header. HTH, // Todd -- 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 Boyd, Todd M.
Taking this back on-list... From: Terion Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 8:44 AM To: Boyd, Todd M. Subject: Re: [PHP] Invalid Arguements I don't know how to run is_array this is the problem I'm a designer that is stuck doing a coders job On Wed, Nov 19

RE: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Boyd, Todd M.
) in Google. Ugh. // Todd -- 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 Boyd, Todd M.
From: Terion Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2008 9:39 AM To: Boyd, Todd M. Cc: PHP General Mailing List Subject: Re: [PHP] Invalid Arguements I've been trying to catch on to php on the fly, I started with Cold fusion years ago then did asp for a long time

RE: [PHP] HTTP Authentication [ SOLVED ]

2008-11-19 Thread Boyd, Todd M.
, meaning 2? :) Glad to hear you've solved your problem, anyway.. // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   >