Re: [PHP] Function mktime() documentation question

2012-03-09 Thread Charles
On Sat, Mar 10, 2012 at 12:57 AM, Charles wrote: > On Sat, Mar 10, 2012 at 12:52 AM, Charles wrote: >> On Sat, Mar 10, 2012 at 12:07 AM, Tedd Sperling >> wrote: >>> On Mar 9, 2012, at 11:17 AM, Charles wrote: >>> >>>> On Fri, Mar 9, 2012 at 10:58 P

Re: [PHP] Function mktime() documentation question

2012-03-09 Thread Charles
On Sat, Mar 10, 2012 at 12:52 AM, Charles wrote: > On Sat, Mar 10, 2012 at 12:07 AM, Tedd Sperling > wrote: >> On Mar 9, 2012, at 11:17 AM, Charles wrote: >> >>> On Fri, Mar 9, 2012 at 10:58 PM, Tedd Sperling >>> wrote: >>>> On Mar 9, 2012,

Re: [PHP] Function mktime() documentation question

2012-03-09 Thread Charles
On Sat, Mar 10, 2012 at 12:07 AM, Tedd Sperling wrote: > On Mar 9, 2012, at 11:17 AM, Charles wrote: > >> On Fri, Mar 9, 2012 at 10:58 PM, Tedd Sperling >> wrote: >>> On Mar 9, 2012, at 5:37 AM, Ford, Mike wrote: >>>>> From: Tedd Sperling [mailto:t

Re: [PHP] Function mktime() documentation question

2012-03-09 Thread Charles
On Fri, Mar 9, 2012 at 10:58 PM, Tedd Sperling wrote: > On Mar 9, 2012, at 5:37 AM, Ford, Mike wrote: >>> From: Tedd Sperling [mailto:tedd.sperl...@gmail.com] >>> But why does anyone have to use the next month to figure out how >>> many days there are are in this month? Do you see my point? >> >>

Re: [PHP] Function mktime() documentation question

2012-03-08 Thread Charles
On Fri, Mar 9, 2012 at 9:23 AM, Tedd Sperling wrote: > On Mar 8, 2012, at 6:53 PM, Daniel Brown wrote: > On Mar 8, 2012 6:14 PM, "Tedd Sperling" wrote: >> >> > Side-point: I find it interesting that getdate() has all sorts of neat >> > descriptions for the current month (such as, what weekday a

Re: [PHP] Function mktime() documentation question

2012-03-07 Thread Charles
On Thu, Mar 8, 2012 at 7:01 AM, Simon Schick wrote: > $date = new DateTime($year . '-' . $current_month . '-1'); > $date->add( new DateInterval( 'P1M' ) ); // Add a period of 1 month to > the date-instance (haven't tried that with the 30th of Jan ... would > be kind-of interesting) > > $days_in_cu

Re: [PHP] no traffic

2012-03-06 Thread Charles
On Tue, Mar 6, 2012 at 8:55 PM, Lawrence Decker wrote: > I've been playing with PHP for about 6 years and I have no idea why this is > happening... I've been writing a script to auth to AD.  When I run the > script on my dev box, nothing.  I have wireshark running in the background > on the dev bo

Re: [PHP] no traffic

2012-03-06 Thread Charles
On Tue, Mar 6, 2012 at 8:55 PM, Lawrence Decker wrote: > I've been playing with PHP for about 6 years and I have no idea why this is > happening... I've been writing a script to auth to AD.  When I run the > script on my dev box, nothing.  I have wireshark running in the background > on the dev bo

[PHP] PHP 5.4 new output control API callback buffer

2012-03-05 Thread Charles
Hi, I'm just wondering, what is the right output of below code should be ob_start(function($o) { fwrite(STDERR, $o); }); echo 'hello'; ob_end_clean(); Does it should print "hello" or does it should print nothing? In PHP 5.3, it prints hello, but in 5.4.0 it prints nothing. Looking at the C cod

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-27 Thread CHARLES HUNT
red Groups. - Original Message From: Daniel Brown To: CHARLES HUNT Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP] ldap_add - Server is unwilling to peform On Wed, Jan 26, 2011 at 10:17, CHARLES HUNT wrote: > Hello- > I am trying to add create a u

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Do I need to be using SSL? Not sure how to implement that. (if you can't tell I'm pretty new to PHP) - Original Message From: Daniel Brown To: CHARLES HUNT Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP] ldap_add - Server is un

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
It seems ldap_mod_add is for adding attributes to a dn that is already there. I get the error: "Modify: No such object in..." - Original Message From: Daniel Brown To: CHARLES HUNT Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP

Re: [PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Win 2000 Active Directory. I'll give ldap_mod_add a shot. - Original Message From: Daniel Brown To: CHARLES HUNT Cc: php-general@lists.php.net Sent: Wed, January 26, 2011 9:39:32 AM Subject: Re: [PHP] ldap_add - Server is unwilling to peform On Wed, Jan 26, 2011 at 10:17, CH

[PHP] ldap_add - Server is unwilling to peform

2011-01-26 Thread CHARLES HUNT
Hello- I am trying to add create a user account with the ldap_add function. However I get the error below when it is invoked. Does anyone have ideas what may be causing this error? What I can look into? Anything would be helpful. Warning: ldap_add() [function.ldap-add]: Add: Server is unwill

Re: [PHP] I need ideas for things to code

2009-04-25 Thread Charles Harvey
This was a surprisingly good idea that works for me, as I haven't coded in about 3 years and need to get my hand back in. Trying to make use of one idea led to several others. Thanks, tedd! Charles On Sat, Apr 25, 2009 at 4:54 AM, tedd wrote: > At 7:00 PM -0400 4/24/09, Andrew Huc

Re: [PHP] 5.2.9 changes - phpwiki

2009-03-31 Thread Charles Sprickman
On Mon, 30 Mar 2009, Michael A. Peters wrote: Charles Sprickman wrote: Hello all, Recently I upgraded a box running phpwiki from php 5.2.8 to 5.2.9. After the upgrade, phpwiki (1.3.14) started spitting out the following two errors, both of which are basically leaving the wiki dead in the

[PHP] 5.2.9 changes - phpwiki

2009-03-30 Thread Charles Sprickman
I'm simply not seeing anything that would cause this. Snippets of both files are below. Looking for any pointers - I need to get the wiki up and running again and phpwiki releases are few and far between. Thanks, Charles first error is in this block: /** * safe php4 definitio

RE: [PHP] Re: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles
Yes. It can't find a file.> To: php-general@lists.php.net> Date: Tue, 20 Jan 2009 17:14:14 -0600> From: nos...@mckenzies.net> Subject: Re: [PHP] Re: Installation problems on Vista> > lucson pierre-charles wrote:> > Nathan,> > > > When I remove the #&

RE: [PHP] Re: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles
Installation problems on Vista> > lucson pierre-charles wrote:> > Dear Nathan,> > The "short_tags" is sure off but when I changed the > > scripts, they're still being output to the browser. > > > > These are the lines I added to the modules section:

RE: [PHP] Installation problems on Vista

2009-01-20 Thread lucson pierre-charles
to process PHP script files. Check > out this page:> > http://www.ampsoft.net/webdesign-l/how-to-install-apache-php-mysql-3.html> > -TG> > - Original Message -> From: lucson pierre-charles > To: > Date: Mon, 19 Jan 2009 22:37:25 +> Subject: [PHP]

[PHP] RE: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles
IniDir "c:/php5" I added these lines to the DirectoryIndex: DirectoryIndex index.html index.html.var index.php Lucson> Date: Mon, 19 Jan 2009 22:49:01 +> From: nrix...@gmail.com> To: lucsonpie...@hotmail.com> CC: php-general@lists.php.net> Subject: Re: Installation pr

[PHP] Installation problems on Vista

2009-01-19 Thread lucson pierre-charles
I am having problems installing the zip package (PHP5) on Windows Vista. The output will not come on the browser upon testing. Only the code is being output to the browser. Apache (Apache 2) was properly installed. Your assistance please. Regards, Lucson

[PHP] need loop help

2006-10-03 Thread Charles Kline
lds[$j]] = ${$fields[$j]}; } The problem I am having is that the code is now on a more secure server with register_globals off (and I don't want to turn that on). I am not sure how to get the POST data sorted out using this method. Hope it is clear what I mean. Thanks, Charles --

Re: [PHP] setting the same value to multiple variables

2006-03-30 Thread charles stuart
On Mar 30, 2006, at 11:01 PM, Jasper Bryant-Greene wrote: charles stuart wrote: if ( 1 == 1 ) ^^ what is the point of this? Just cutting out the long IF statement so everyone didn't have to look past it. { $goodToGo = 0; $errorArray[] = "You must declare some goals on

[PHP] setting the same value to multiple variables

2006-03-30 Thread charles stuart
Hi, I'm sure this is quite basic. Nonetheless I'm new to PHP so I haven't figured it out. I'd like to set each variable to the same value (without having to set that value individually for each variable). Thanks for the help. best, Charles if ( 1 ==

Re: [PHP] HAXPLORER - any info?

2006-03-30 Thread Charles Kline
Turned out to be a security hole in Mambo. He has fixed it. Thanks for your assistance. - Charles On Mar 30, 2006, at 3:33 PM, Brady Mitchell wrote: -Original Message- Does anyone know anything about this, and if they do - have any thoughts on how it may have gotten on the server

[PHP] HAXPLORER - any info?

2006-03-30 Thread Charles Kline
any shell script they want. Does anyone know anything about this, and if they do - have any thoughts on how it may have gotten on the server and how to secure against it in the future? Just trying to help out a friend here. Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] str_replace

2005-10-10 Thread Charles Stuart
like their 'trap' catches any string including CURL U before I can str_replace the string after gathering the input with _POST. Anyone disagree? best, Charles On Oct 10, 2005, at 3:12 PM, Rory Browne wrote: I'm not completely sure, but I think they're talking shi

[PHP] str_replace

2005-10-10 Thread Charles Stuart
, but I think the site serves quite a few people who might not have javascript on. Thanks for listening. Below is the PHP [2]. best, Charles [2] // Grabbing the data from the form. if ($task == "updateInfo") { $activityChallenges = cs_remove_curl_up(sanitize_paranoid_string

Re: [PHP] Two MySQL connections in one script not working as expected

2005-09-27 Thread Charles Kline
On Sep 27, 2005, at 5:23 PM, M. Sokolewicz wrote: Charles Kline wrote: On Sep 27, 2005, at 3:42 PM, Andy Pieters wrote: Hi Without you actually showing us these class files we can only guess but a common mistake is this: mysql_open(connection details) mysql_query(query) In those

Re: [PHP] Two MySQL connections in one script not working as expected

2005-09-27 Thread Charles Kline
ifferent name and I changed the names of the functions as well. I have another set of class files that contain my various queries etc. Thanks for any help. Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Two MySQL connections in one script not working as expected

2005-09-27 Thread Charles Kline
the second query is being executed against the first database connection - does that make sense? So I get an error that the database_name.table_name does not exist, which is true, but the query is getting executed against the wrong database name. Any ideas? Thanks, Charles -- PHP General

Re: [PHP] Accessing data in an object?

2005-09-27 Thread Charles Kline
On Sep 27, 2005, at 12:07 PM, Charles Kline wrote: I am confused on how to get to the data in this object, anyone help me out? here is the result of my var_dump() which is inside a class function functionTest($data){ var_dump($data); } object(staff)(2) { ["arrStaff"]=&g

[PHP] Accessing data in an object?

2005-09-27 Thread Charles Kline
]=> string(4) "9090" ["bsLastName"]=> string(5) "kline" ["bsFirstName"]=> string(7) "charles" ["bsPhone"]=> string(4) "1212" ["bsSite"]=> string(1) "4" ["b

[PHP] Handling file uploads for download

2005-09-12 Thread Charles Kline
visitors twould be. Any suggestions? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-13 Thread Charles Stuart
On Jul 12, 2005, at 6:50 AM, Chris Shiflett wrote: As far as allowing [red] goes, you can just as easily add to the list of available tags and not have to come up with a replacement for every other HTML tag that already exists. but what about the poor bastards that'll go around trying

Re: [PHP] XML and PHP

2005-07-06 Thread Charles Stuart
use a search engine. if you can't find what you need, then ask. if you already did this, then state that you already looked and you found xyz, but xyz isn't telling you what you need to know, which is specifically "blah". best, charles On Jul 6, 2005, at 2:59

Re: [PHP] extending a class using includes not working

2005-05-25 Thread Charles Kline
On May 25, 2005, at 7:53 PM, Richard Lynch wrote: On Wed, May 25, 2005 11:30 am, Charles Kline said: i have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once("firstclass.php") then i use include_once ("secondclass.php") in my

[PHP] extending a class using includes not working

2005-05-25 Thread Charles Kline
template. any ideas why? thanks, charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Recursive function and formatting string for javascript tree

2005-05-24 Thread Charles Kline
rogram Support',null,null] ['Provider Resources',null,null, ['MOST',null,null] ], ['Family Resources',null,null, ['Family Resources - Chatham Site',null,null, ['Team 13',null,null], ['Team 14',null,null] ], ['Enhanced Programs',null,null, ['Teen Parent Program',null,null] ] ], ], ['External Relations',null,null] ] ] Any help would be great. I am stuck. Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 qne MySQL

2005-05-19 Thread Charles FENDT
module... if the file is in the path... But try to use MySQLi or PDO (PHP 5.1 or PECL modules for PHP 5.0) This is a must better way to acces mysql Database... regards, FENDT Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Class function calling another function in class

2005-05-18 Thread Charles Kline
y($rs)){ $this->str .= " - " . $row['bpPositionID'] . "\n"; } } return($this->str); } Later $depts = $org->getDepts(); echo "" . $depts . ""; Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reverse MD5 ???

2005-04-21 Thread Charles FENDT
? $sqlquery = "insert into x_table (team_id,number,) values ('$team_id','$number') $team_id is the MD5 formatted cookie value and I need to put it to the x_table column team_id in cleartext. Thanks a lot -Will MD5 => no reverse that's why it's "secur

Re: [PHP] PDO Oracle

2005-04-21 Thread Charles FENDT
Charles FENDT a Ãcrit : I try PDO with Oracle... I want to use a prepared query with a param... but bindParam freeze Apache, exec(arra(...)) send me an error : OCIBindByPos: ORA-01036: numïro/nom de variable interdit (..\pecl\pdo_oci\oci_statement.c:259) Any idee ?? Regards, FENDT Charles more

[PHP] PDO Oracle

2005-04-21 Thread Charles FENDT
I try PDO with Oracle... I want to use a prepared query with a param... but bindParam freeze Apache, exec(arra(...)) send me an error : OCIBindByPos: ORA-01036: numïro/nom de variable interdit (..\pecl\pdo_oci\oci_statement.c:259) Any idee ?? Regards, FENDT Charles -- PHP General Mailing List

[PHP] PDO and Oracle...

2005-04-21 Thread Charles FENDT
I try to use PDO to access to Oracle database... I use "PDO::prepare" and bindParam to set var values... but it didn't work !!! PDO_PARAM_INT didn't work with columns of type NUMBER... What can i do ??? Regards, FENDT Charles -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] secure document : solution wanted

2005-04-06 Thread Charles Hamel
"Duncan Hill" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wednesday 06 April 2005 17:02, Charles Hamel wrote: >> "Duncan Hill" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > One way to handle this

Re: [PHP] secure document : solution wanted

2005-04-06 Thread Charles Hamel
"Duncan Hill" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wednesday 06 April 2005 16:23, Charles Hamel typed: >> Hi >> >> I am bulding a secure intranet.(php, mysql, apache) >> I am using a session and Mysql to handel the user ac

[PHP] PDO and Oracle

2005-04-06 Thread Charles FENDT
I try to use PDO with Oracle and PHP 5.0.4 on windows... my php.ini includes php_pdo.dll and when I try to create an object, I got an error message "could not find driver" Any idea ? regards, FENDT Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] PDO and Oracle

2005-04-06 Thread Charles FENDT
I try to use PDO with Oracle and PHP 5.0.4 on windows... my php.ini includes php_pdo.dll and when I try to create an object, I got an error message "could not find driver" Any idea ? regards, FENDT Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] secure document : solution wanted

2005-04-06 Thread Charles Hamel
Hi I am bulding a secure intranet.(php, mysql, apache) I am using a session and Mysql to handel the user accounts. Everythying works fine with that. The client now needs to share word/pdf document with the registered user. I created a secure directory using .htaccess for this purpose and it wor

Re: [PHP] use_soap_error_handler

2005-02-17 Thread FENDT Charles
Jochem Maas a écrit : FENDT Charles wrote: Jochem Maas a écrit : FENDT Charles wrote: Hello... Someone knows how this work ? use_soap_error_handler I don't have a clue but looking at the docs you have at least 2 other ways of handling SOAP errors: 1. http://php.paradoxical.co.uk/manu

Re: [PHP] use_soap_error_handler

2005-02-17 Thread FENDT Charles
Jochem Maas a écrit : FENDT Charles wrote: Hello... Someone knows how this work ? use_soap_error_handler I don't have a clue but looking at the docs you have at least 2 other ways of handling SOAP errors: 1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php is_soap_fault is

[PHP] use_soap_error_handler

2005-02-17 Thread FENDT Charles
Hello... Someone knows how this work ? use_soap_error_handler I search a way to handle SoapFault exceptions from the SoapServer class... Regards FENDT Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SoapServer::handlle

2005-02-16 Thread FENDT Charles
Hello, I (try) to use a SoapServer in a CLI program. I want to redirect the SoapServer::handle() output from STDOUT to a socket stream. (my second question is how can i prevent SoapServer::handle() to kill my daemon process... cf php.soap) How can I o this ? regards FENDT Charles -- PHP General

[PHP] SoapServer::handlle

2005-02-16 Thread Charles FENDT
"Alive" on stdout... the script ends with the SoapServer::handle() call. Did i miss something? an option ? regards FENDT Charles P.S. I need to use the WSDL mode. The same happened, but this is easier show my probleme (no need of a WSDL file) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Cached Templates

2004-08-31 Thread charles kline
On Aug 31, 2004, at 9:18 PM, raditha dissanayake wrote: rogue wrote: Sorry if this is the wrong place for this post. I am having problems where PHP templates that I modify via ftp are not showing changes for like 1 minute or so. I assume this is some kind of server caching but I am not sure how

Re: [PHP] Techniques for doing story

2004-08-17 Thread charles kline
On Aug 17, 2004, at 1:04 PM, Matthew Sims wrote: hn C. Nichel OMG, John. You broke through to someone. This could be good sign. Now if we can just get him to stop top posting he'll be ready for anything. ;) oops... now i got it! :) -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Techniques for doing story

2004-08-17 Thread charles kline
Yea, But then I took his advice and found this http://www.catb.org/~esr/faqs/smart-questions.html#keepcool so I was not so offended :) I had all the other links, but that one and did not think my question was that "out there" for the list... oh well. On Aug 17, 2004, at 12:31 PM, Jason Davidso

Re: [PHP] Techniques for doing story

2004-08-17 Thread charles kline
I understand how the pages are designed etc. What I wanted to understand better was how the pages were being displayed using PHP. I guess it is obvious now after getting a few responses, that the HTML is stored in a table, perhaps one record per page... then you just query the story_id and page

[PHP] Working with a new design client

2004-08-09 Thread charles kline
better way to handle this? I have never used Smarty, which I understand might be a big help in these situations. One concern of mine is that I have a tight budget on this project and don't want to spend a lot of time learning a new system unless I have to. Thanks for any advice, Charles -

[PHP] CMS Ideas Welcome

2004-08-04 Thread charles kline
art of the layout, I give them a form based image upload feature. Another thought was to have them upload .html files and the images via a form, but then I thought this could really cause problems if they had screwed up code. Any thoughts would be greatly appreciated. Thanks, Charles -- PHP Gener

Re: [PHP] Finding a value in an array

2004-07-22 Thread charles kline
Thanks!!! On Jul 22, 2004, at 11:39 PM, Justin Patrin wrote: On Thu, 22 Jul 2004 23:34:56 -0400, charles kline <[EMAIL PROTECTED]> wrote: Hi all, I am using fgetcsv() to get a tab delimited text file into an array. It gives me an array in this format: Array ( [0] =&

[PHP] Finding a value in an array

2004-07-22 Thread charles kline
Hi all, I am using fgetcsv() to get a tab delimited text file into an array. It gives me an array in this format: Array ( [0] => Array ( [0] => 97 [1] => Effects of Slow Heating Rates on Products of Polyethylene Pyrolysis ) [1] => Array (

[PHP] PHP Coding Standards

2004-05-29 Thread charles kline
Hi all, I was having a conversation with a friend and talking about coding standards in the open source community (focusing on PHP). I seem to remember there being a document out there that sort of laid it out pretty well. Anyone know where I might find a copy? Thanks, Charles -- PHP General

[PHP] Re: session variables

2004-04-20 Thread Charles Collins
omain", $domain_name) Works a treat now, the server was saving the session cookie for the wrong url and hence when the secoudn page was called in the same browser it wa not able to collect up the session variables as the domain names were different. Thanks again, Regards Charlie. "Charles C

Re: [PHP] [Solved] session variables

2004-04-20 Thread Charles Collins
Dupont" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I would do script 1 : $_SESSION['test'] = "hello world"; and in script2 : print($_SESSION['test']); vincent -Original Message- From: Charles Collins [mailto:[EMAIL PROTECTED] Sent: mardi

Re: [PHP] session variables

2004-04-20 Thread Charles Collins
world"; and in script2 : print($_SESSION['test']); vincent -Original Message- From: Charles Collins [mailto:[EMAIL PROTECTED] Sent: mardi 20 avril 2004 17:44 To: [EMAIL PROTECTED] Subject: [PHP] session variables I have two test files running on a server, which is giving me a h

[PHP] session variables

2004-04-20 Thread Charles Collins
I have two test files running on a server, which is giving me a headache, due to the fact the session variables are not been maintained across the two pages. The server is running ... PHP Version = 4.0.5 register_globals = ON Session Support = Enabled session.auto_start = Off session.cache_expir

[PHP] Shopping Cart Solutions

2003-09-22 Thread Charles Kline
Anyone have suggestions for open source shopping cart apps in PHP? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Palm

2003-09-16 Thread Charles Kline
I have a project in mind where I would like to be able to Sync my Palm with the calendar in my CRM. Anyone have info on doing this? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Messages for group@php.net are in pending

2003-09-10 Thread Gibier Jean-Charles
Hello, I have a request destined to the php "group", relevant of the authorization to use "PHP" root in a project name. This must be done by sending a mail to group_at_php.net but this adresse seems to be out of order. ---8<-- Hi. This is the qmail-send program

Re: [PHP] Encrypt/Serialize Source Code for Sale

2003-09-07 Thread Charles Kline
Thanks. This is one I had not turned up in my search. Much appreciated. - Charles On Sunday, Sep 7, 2003, at 00:44 US/Eastern, Evan Nemerson wrote: Take a look at Turck MMCache (free) and Zend Encoder (not). http://www.turcksoft.com/en/e_mmc.htm http://www.zend.com/store/products/zend

[PHP] Encrypt/Serialize Source Code for Sale

2003-09-06 Thread Charles Kline
What methods are available (ups and downs) for encrypting and serializing php applications for sale? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP & MS Exchange Server problem

2003-07-16 Thread Charles Vos
Hello All--- I'm having some trouble getting PHP to communicate with my Windows 2000 MS Exchange Server... I'm running PHP 4.3.2 on a Win2000 machine serving with Apache 1.3. The code I'm using is: $mbox = imap_open("{x.x.x.x:143}","admin","adminpass", OP_HALFOPEN); $err = imap_errors();

Re: [PHP] stripping newlines from a string

2003-06-08 Thread Charles Kline
Yes. Is weird. I thought this would work too, but for some reason it was not removing them all. I wonder if re-saving the files with UNIX linebreaks (or try DOS) would have any effect. Will report back. - Charles On Monday, June 9, 2003, at 02:24 AM, Joe Pemberton wrote: http://www.php.net

[PHP] stripping newlines from a string

2003-06-08 Thread Charles Kline
Hi all, How would i go about stripping all newlines from a string? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] reading a file into variable for using in a javascript

2003-06-08 Thread Charles Kline
x27;t figure out which to use. Thanks Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] When to use a text file rather then a database

2003-04-05 Thread Charles Kline
Hello all, I have a text blurb that is on the home page of a site. I need to make this block of text editable through a form in the admin section of the site. Is it worth having a table in the db or would I be better off writing to a file for this? Thanks, Charles -- PHP General Mailing List

Re: [PHP] getting values from objects

2003-04-01 Thread Charles Kline
he keys without setting it first to a variable (which is the only way I know how to now). Thanks, Charles On Tuesday, April 1, 2003, at 03:18 PM, Dan Joseph wrote: Have you tried: extract ($myvar = $res_pform->getSubmitValue("investigator5")); -Dan Joseph -Original Message-

[PHP] getting values from objects

2003-04-01 Thread Charles Kline
hi there, if this: $res_pform->getSubmitValue("investigator5"); returns an array, how do I get to the individual values in that array without first setting it to a variable like: $myvar = $res_pform->getSubmitValue("investigator5"); echo $myvar['field&#x

Re: [PHP] Validate MySQL date

2003-03-31 Thread Charles Kline
try the checkdate() function. i think that will do what you need. On Monday, March 31, 2003, at 11:06 PM, Ben C. wrote: How do I easily check to see if a MySQL formatted date is valid such as if a user enters 2003/02/28 would return true 2003/02/31 would return false I have check the manual an

Re: [PHP] date math question

2003-03-27 Thread Charles Kline
e ( 0, 0, 0, 1, 1, date['Y']); // first day of this year $end = mktime ( 0, 0, 0, 12, 31, date['Y']); // last day of this year then select all record where timestamp >= $start and timestamp <= $end should do the job Hope this helps Foong "Charles Kline" <[EM

Re: [PHP] date math question

2003-03-27 Thread Charles Kline
Okay cool. This leads me to another question. If I have stored the date as an epoch then is there a way using PHP and MySQL to say find all the records that have been added this YEAR (not last 365 days)? Thanks Charles On Friday, March 28, 2003, at 12:31 AM, Leo Spalteholz wrote: On March 27

[PHP] date math question

2003-03-27 Thread Charles Kline
, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html_quickform - array question

2003-03-26 Thread Charles Kline
Great. Thanks. - Charles On Wednesday, March 26, 2003, at 09:48 PM, Leif K-Brooks wrote: Yes, but you can't put put the single quoted array key directly in the double-quotes string, try: $thedate = $lr_form->getSubmitValue('lr_pub_date'); echo "The month: {$thedate

Re: [PHP] html_quickform - array question

2003-03-26 Thread Charles Kline
Okay. I think I understand. So I do something like this: $thedate = $lr_form->getSubmitValue('lr_pub_date'); echo "The month: $thedate['m']"; Is that what you meant? - Charles On Wednesday, March 26, 2003, at 09:31 PM, Leif K-Brooks wrote: Are you trying to p

[PHP] html_quickform - array question

2003-03-26 Thread Charles Kline
gt; string(4) "2003" } I am used to getting this data like: $form->getSubmitValue("field_name"); But doing that with this array just returns: Array Anyone know how to get to the data? Thanks charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] formatting textarea input on output

2003-03-25 Thread Charles Kline
I hang my head in shame... yes. As a matter of fact, I did on my second skim through my PHP ref. manual... thanks for the pointer just the same. - charles On Tuesday, March 25, 2003, at 05:38 PM, CPT John W. Holmes wrote: i have a textarea in a form which gets inserted into a table in my

Re: [PHP] MySQL and phpMyAdmin Issues

2003-03-25 Thread Charles Kline
I am by no means an expert (even remotely) but I do recall instructions on exactly how to do this in the documentation for MySQL - I think under the "how to upgrade" section. - Charles On Monday, March 3, 2003, at 06:53 PM, Stephen Craton wrote: Hello, Yesturday I made a big mist

[PHP] formatting textarea input on output

2003-03-25 Thread Charles Kline
hi all, i have a textarea in a form which gets inserted into a table in my database (mySQL). When displaying this text back to the screen, how do i retain the line breaks etc. that were in the original input? thanks charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Dynamic Form

2003-03-24 Thread Charles Kline
If the page does not submit between changes, PHP will not be much help, that would be JavaScript's job. You could use PHP to prepare the arrays that JavaScript will use to accomplish this. - Charles On Monday, March 24, 2003, at 11:32 AM, Keven Jones wrote: Hi, Can someone tell me if

[PHP] prepare() and execute()

2003-03-24 Thread Charles Kline
hi Could anyone give me an example of a prepare() and execute() that retrieves a simple dataset as an associative array and then prints it to the screen? I can only seem to find examples that do an INSERT and I am having trouble doing the translation. Thanks charles -- PHP General Mailing

[PHP] Parsing results from mySQL query

2003-03-22 Thread Charles Kline
Hi everyone, I have ALMOST gotten this working (mySQL part works). I have gotten the advice that this is easier to do in PHP then to try and make this query work in mySQL. Here is the query and a sampling of the current results (from phpMyAdmin) SELECT p.fname, p.lname, w.web_li

Re: [PHP] Validation of Numeric string sent in a form

2003-03-20 Thread Charles Kline
is_numeric(yoursting); this returns true if string is a number On Thursday, March 20, 2003, at 08:32 PM, Orlando Pozo wrote: Hello all, I am Orlando Pozo How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent

Re: [PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Charles Kline
Pear is really nice. I am very happy with it. - Charles On Thursday, March 20, 2003, at 02:56 PM, Merritt, Dave wrote: All, I've always used MySQL databases and the MySQL functions in PHP for my code in the past. However, I'm now working on a project that I want the project to be

[PHP] php, mysql, and method question

2003-03-20 Thread Charles Kline
have their order number incremented. Maybe there is a better way to do this? Just not sure. Maybe not with a database at all? Thanks for suggestions. Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date question

2003-03-19 Thread Charles Kline
verted is formatted, if you all get what I am saying... Thanks Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Anybody have any thoughts on Smarty?

2003-03-19 Thread Charles Kline
Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Does PHP run better under any specific unix os?

2003-03-18 Thread Charles Kline
Just wondering. I am trying to decide whether to build a FreeBSD server or other... open to suggestions Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >