[PHP] Re: Craigslist Jobs

2011-01-11 Thread Nathan Rixham
he two of those, then you're doing well :) Best, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: query strings and other delights

2011-01-13 Thread Nathan Rixham
kbai...@howlermonkey.net wrote: Your turn! :-D $_GET and if you do post.. (can you guess?) $_POST usage: http://www.foo.org/item1/delivery.php?item=name&code=DATA http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Rewriting string

2011-01-13 Thread Nathan Rixham
David McGlone wrote: Hi everyone, I think the subject is right, or somewhere close. Anyway I am trying to perform a little trickery here with links. In the following code you can see where I am trying to replace the link on the current page so it's not a link when on that page. I think I got

Re: [PHP] Re: query strings and other delights

2011-01-13 Thread Nathan Rixham
kbai...@howlermonkey.net wrote: ...Holy cow... nothing to extract the query string, it's automatically part of the environment. So I just do work with the $_GET string, it's in there already... yikes. yup OK, so $_GET is an array keyed to keywords; plug in the key, out comes the value. What

[PHP] Re: query strings and other delights

2011-01-13 Thread Nathan Rixham
kbai...@howlermonkey.net wrote: Your turn! :-D just in case I totally misunderstood, and you simply have the string and want to rip out the component parts of the query string, then: Or similar, watch out for parse_str though as it'll swap out spaces and . for _ - which is nice. -- PHP

Re: [PHP] Re: Rewriting string

2011-01-13 Thread Nathan Rixham
Admin wrote: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); If(in_array($_GET['page'], $categories)) { echo ''.str_replace("_"," ",$_GET['page']).''; }else{ echo ''.str_replace("_"," ",$_GET['page']).''; } I normally never write someones code for t

Re: [PHP] Re: Rewriting string

2011-01-13 Thread Nathan Rixham
Nathan Rixham wrote: Admin wrote: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); If(in_array($_GET['page'], $categories)) { echo ''.str_replace("_","

[PHP] Re: using BOTH GET and POST in the same page.

2011-02-12 Thread Nathan Rixham
ke a message body construction template. It's worth reading up on both HTTP and HTML Forms when using PHP, since PHP is a "Pre Hypertext Processor" and HTTP is the Hypertext transfer protocol, and HTML is the Hypertext markup language :) Best, Nathan -- PHP General Mailing Lis

[PHP] Re: using BOTH GET and POST in the same page.

2011-02-12 Thread Nathan Rixham
ke a message body construction template. It's worth reading up on both HTTP and HTML Forms when using PHP, since PHP is a "Pre Hypertext Processor" and HTTP is the Hypertext transfer protocol, and HTML is the Hypertext markup language :) Best, Nathan -- PHP General Mailing Lis

[PHP] Re: Simplifying MySql queries

2011-02-12 Thread Nathan Rixham
Andre Polykanine wrote: and here goes the question: is there a way to make these four in one so strictly one random question is selected from all of the four categories? "SELECT * FROM `CandidateQuestions` WHERE `Category` IN(1,2,3,4) ORDER BY RAND() LIMIT 4" note the limit 4, you'll

Re: [PHP] something about dates in mysql

2011-03-03 Thread Nathan Rixham
Richard Quadling wrote: On 3 March 2011 10:09, Webforlaget.dk wrote: I need help to know Why this dont work ? - $thisdate =date("Y-m-d",mktime(0,0,0,$mth, $day, $year)); $sql = "SELECT id,case,startdate,enddate FROM table WHERE s

[PHP] Somewhat OT - Stored Procedures

2011-03-03 Thread Nathan Nobbe
fers are the features folks are really looking, one of those 80/20 things... I stumbled into this link on a google search, it's from '04 but looks to be relevant to this day http://www.codinghorror.com/blog/2004/10/who-needs-stored-procedures-anyways.html Your thoughts appreciated, -nathan

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-03 Thread Nathan Nobbe
On Thu, Mar 3, 2011 at 12:23 PM, Steve Staples wrote: > On Thu, 2011-03-03 at 11:30 -0700, Nathan Nobbe wrote: > > Hey gang, > > > > (Yes Tedd, I like your style, when it pertains to how you address the > list > > :)) > > > > I have a new curiosity that&

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-03 Thread Nathan Nobbe
On Thu, Mar 3, 2011 at 12:59 PM, Paul M Foster wrote: > On Thu, Mar 03, 2011 at 11:30:49AM -0700, Nathan Nobbe wrote: > > > Hey gang, > > > > (Yes Tedd, I like your style, when it pertains to how you address the > list > > :)) > > > > I have a new

[PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-04 Thread Nathan Rixham
Richard Sharp wrote: I have been banging my head trying to figure out how to delay $(document).ready() command until my php script finish running and load data into a csv file. Any ideas *which* PHP script? are you returning an HTML document then keeping the script going in the background, /o

[PHP] Re: Somewhat OT - Stored Procedures

2011-03-04 Thread Nathan Rixham
Hi Nathan, Nathan Nobbe wrote: Also, bear in mind that personally I tend to favor OO paradigms for application development so would prefer feedback that incorporates that tendency. Initial thoughts are Bad: . Not well suited for ORM, particularly procedures which return multiple result sets

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-04 Thread Nathan Rixham
Richard Quadling wrote: At a fundamental level, my PHP code isn't concerning itself with any physical data structures. As much as possible my PHP code treats the sql data source as a processor ready to supply data in a standardized form (even hierarchical) and to accept data for storage (again hi

[PHP] Re: Regex for extracting quoted strings

2011-03-05 Thread Nathan Rixham
Mark Kelly wrote: Hi. I'm hoping someone can help me extract text between double quotes from a string. $regex = 'some magic'; $r = preg_match($regex, $sentence, $phrases); So, if $sentence = 'Dave said "This is it". "Nope, that is the wrong colour" she replied.'; I want $phrases to cont

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-07 Thread Nathan Nobbe
On Fri, Mar 4, 2011 at 7:29 AM, Richard Quadling wrote: > On 3 March 2011 18:30, Nathan Nobbe wrote: > > Hey gang, > > > > (Yes Tedd, I like your style, when it pertains to how you address the > list > > :)) > > > > I have a new curiosity that&

Re: [PHP] Re: Somewhat OT - Stored Procedures

2011-03-07 Thread Nathan Nobbe
lication layer. from a performance perspective i think pre-compiling large complex queries may be advantageous, but i suspect for trivial queries the difference may be marginal. some benchmarks would be helpful in this area if anyone knows where to find them. -nathan

Re: [PHP] Somewhat OT - Stored Procedures

2011-03-09 Thread Nathan Nobbe
On Wed, Mar 9, 2011 at 3:18 AM, Richard Quadling wrote: > On 7 March 2011 23:37, Nathan Nobbe wrote: > > On Fri, Mar 4, 2011 at 7:29 AM, Richard Quadling > > wrote: > >> > >> On 3 March 2011 18:30, Nathan Nobbe wrote: > >> > Hey gang, > &

Re: [PHP] PHP session replication

2011-03-17 Thread Nathan Nobbe
se backed sessions until they actually become a performance bottleneck. Here's the post from google groups if you're interested: http://groups.google.com/group/memcached/browse_thread/thread/7ed750db888e6b1b?pli=1 -nathan

Re: [PHP] PHP session replication

2011-03-17 Thread Nathan Nobbe
s not add a persistent store; membase offers replication + persistent store so it seems well suited for session storage. -nathan

Re: [PHP] PHP session replication

2011-03-18 Thread Nathan Nobbe
tarily. Storing session data in cookies has it's merits, but I think they start to loose their benefits on large sites. The way I see it they can be a great way to cope with startup costs and server-side complexity on low traffic sites. -nathan

Re: [PHP] PHP session replication

2011-03-18 Thread Nathan Nobbe
On Fri, Mar 18, 2011 at 11:56 AM, Stuart Dallas wrote: > On Friday, 18 March 2011 at 17:36, Nathan Nobbe wrote: > On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas wrote: > > > On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote: > > > > > I'm curious

Re: [PHP] PHP session replication

2011-03-18 Thread Nathan Nobbe
On Fri, Mar 18, 2011 at 11:58 AM, Richard Quadling wrote: > On 18 March 2011 17:36, Nathan Nobbe wrote: > > On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas wrote: > > > >> On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote: > >> > >> > I

[PHP] xinetd vs php socket server

2011-03-28 Thread Nathan Nobbe
than php-based implementation xinetd cons . time tradeoff learning xinetd configuration vs coding in support directly in php implementation . potentially less maintainable depending on staff, likely php dev team more capable of maintaining 100% php solution Interested in your thoughts! -nathan

Re: [PHP] xinetd vs php socket server

2011-03-28 Thread Nathan Nobbe
rol. i guess you can see where im going with this, basically, why reinvent the wheel w/ the daemon code when xinetd is available. i suppose those php libraries you mentioned are an argument against that, but then there is the speed benefit of xinetd. i guess it just comes down to a battle of tradeoffs. -nathan

Re: [PHP] xinetd vs php socket server

2011-03-28 Thread Nathan Nobbe
est to have it fork for the same reason apache is typically configured to fork. right? -nathan

Re: [PHP] xinetd vs php socket server

2011-03-28 Thread Nathan Nobbe
On Mon, Mar 28, 2011 at 5:14 PM, Curtis Maurand wrote: > > > Nathan Nobbe wrote: > > On Mon, Mar 28, 2011 at 3:34 PM, Bostjan Skufca wrote: > > > >> If you need high performance you probably already know that it will be > >> very > >> expensive

Re: [PHP] $_POST vars

2011-04-13 Thread Nathan Nobbe
it's typically populated by the environment. It would probly be cleaner to have the display portion of your script read from an arbitrary array. Said arbitrary array could be populated by $_POST in one case and the results of a query in another case. -nathan

Re: [PHP] $_POST vars

2011-04-13 Thread Nathan Nobbe
On Wed, Apr 13, 2011 at 12:04 PM, Stuart Dallas wrote: > On Wednesday, 13 April 2011 at 18:55, Nathan Nobbe wrote: > On Wed, Apr 13, 2011 at 11:49 AM, Jim Giner >wrote: > > > > > Can one create a set of $_POST vars within a script or is that not > do-able? > >

Re: [PHP] $_POST vars

2011-04-13 Thread Nathan Nobbe
Shrug, it's called reply-all and it's been brought up here before :) -nathan On Wed, Apr 13, 2011 at 12:25 PM, Jim Giner wrote: > No need to email me AND send to the list. Is that the standard practice on > this forum? Not encountered it before. > >

Re: [PHP] $_POST vars

2011-04-13 Thread Nathan Nobbe
On Wed, Apr 13, 2011 at 12:34 PM, Stuart Dallas wrote: > On Wednesday, 13 April 2011 at 19:15, Nathan Nobbe wrote: > On Wed, Apr 13, 2011 at 12:04 PM, Stuart Dallas wrote: > > > On Wednesday, 13 April 2011 at 18:55, Nathan Nobbe wrote: > > > On Wed, Apr 13, 201

Re: [PHP] $_POST vars

2011-04-13 Thread Nathan Nobbe
On Wed, Apr 13, 2011 at 3:30 PM, Stuart Dallas wrote: > On Wednesday, 13 April 2011 at 19:47, Nathan Nobbe wrote: > > On Wed, Apr 13, 2011 at 12:34 PM, Stuart Dallas wrote: > > > On Wednesday, 13 April 2011 at 19:15, Nathan Nobbe wrote: > > > On Wed, Apr 13, 2011

Re: [PHP] $_POST vars

2011-04-14 Thread Nathan Nobbe
On Thu, Apr 14, 2011 at 2:53 AM, Stuart Dallas wrote: > On Thursday, 14 April 2011 at 07:11, Nathan Nobbe wrote: > On Wed, Apr 13, 2011 at 3:30 PM, Stuart Dallas wrote: > > > On Wednesday, 13 April 2011 at 19:47, Nathan Nobbe wrote: > > > I never make any assumptions

Re: [PHP] JavaScript Injection ???

2011-04-25 Thread Nathan Rixham
chrome will prevent execution because the code was sent in the request, just check the javascript console and you'll see something like: "Refused to execute a JavaScript script. Source code of script found within request." Best, Nathan -- PHP General Mailing List (http://www.ph

Re: [PHP] str_replace

2011-04-25 Thread Nathan Rixham
Jim Lucas wrote: On 4/24/2011 8:44 AM, Ron Piggott wrote: I am trying to figure out a syntax that will replace each instance of % with a different letter chosen randomly from the string $puzzle_filler. $puzzle_filler is populated with the letters of the alphabet, roughly in the same ratio as the

Re: [PHP] Flattery will get you nowhere

2011-04-28 Thread Nathan Rixham
tedd wrote: At 4:58 PM -0400 4/27/11, Robert Cummings wrote: Tedd who? ;) Cheers, Rob. Rob what? ;-) Cheers, tedd flirting? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamic copyright in page footer?

2011-04-30 Thread Nathan Rixham
David Mehler wrote: Hello, I am trying to use php to put a copyright notice in a page footer. I'm using the date function with the "Y" value for the year. Here's the code: echo implode(",", range(2011,date("Y"))); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] semaphore release before acquire warning

2011-05-02 Thread Nathan Nobbe
owned upon thing to do and even more of a > performance hit. > > > > The irony is that I'm using shared memory (and signals) exactly for > performance reasons L perhaps try pcntl_signal() to signal the c program rather than sem_release(). -nathan

Re: [PHP] phpsadness

2011-05-27 Thread Nathan Nobbe
t;> > > What a whiner! > > Many of the things listed are things which give PHP character and history. > Too bad it's not a blog post with a comments section. I'd point him to the internals list :) -nathan

Re: [PHP] phpsadness

2011-05-28 Thread Nathan Nobbe
Strings are already accessible through array notation anyway, seems like ol dude may benefit from a php-general membership as well. -nathan

Re: [PHP] phpsadness

2011-05-28 Thread Nathan Nobbe
On Sat, May 28, 2011 at 1:34 PM, Andre Polykanine wrote: > Hello Nathan, > > Do you mean $x{8}? > yup, that or $x[8]; > That is good but not for all situations. > I need sometimes to make an array with letters as keys and numbers as > values, like this (I give Eng

Re: [PHP] What's up with Quercus?

2011-05-28 Thread Nathan Nobbe
the 'real' version of the project. when i looked into quercus a few years ago there wasn't support for things like spl and i'm not sure where they stand w/ 5.3 features like closures and namespaces. not only that but on any given minor release of php where is the parallel from quercus. also, the professional version of resin costs money. these are probly the main reasons why the resin community isn't blowing up. -nathan

[PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
ing to call an unknown method. Any help would be greatly appreciated as google hasn't been able to point me to the answer thus far. thx, -nathan

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Thu, Jun 16, 2011 at 1:58 PM, Eric Butera wrote: > On Thu, Jun 16, 2011 at 12:51 PM, Nathan Nobbe > wrote: > > Hi gang, > > > > If anyone out there has some experience w/ Doctrine now would be a great > > time to share it! > > > > So I'm wr

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
On Thu, Jun 16, 2011 at 3:58 PM, Eric Butera wrote: > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: > >> -Original Message- > >> From: Nathan Nobbe [mailto:quickshif...@gmail.com] > >> Sent: Thursday, June 16, 2011 9:51 AM > >> To: php-g

RE: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
gt; Subject: Re: [PHP] Doctrine madness! > > > > On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: > > >> -Original Message- > > >> From: Nathan Nobbe [mailto:quickshif...@gmail.com] > > >> Sent: Thursday, June 16, 2011 9:51 AM > > >

Re: [PHP] Doctrine madness!

2011-06-16 Thread Nathan Nobbe
11 2:58 PM > >> To: Daevid Vincent > >> Cc: php-general@lists.php.net > >> Subject: Re: [PHP] Doctrine madness! > >> > >> On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent wrote: > >> >> -Original Message- > >> >> From

Re: [PHP] Doctrine madness!

2011-06-18 Thread Nathan Nobbe
On Fri, Jun 17, 2011 at 1:19 PM, Jim Lucas wrote: > On 6/16/2011 3:15 PM, Nathan Nobbe wrote: > > what it really amounts to is php is good at doing 1 thing and 1 thing > only, > > generating web pages. for anything else, including command line scripts > > that run

Re: [PHP] Doctrine madness!

2011-06-20 Thread Nathan Nobbe
On Mon, Jun 20, 2011 at 5:16 AM, Ford, Mike wrote: > > -Original Message- > > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > > Sent: 16 June 2011 17:51 > > [...] > > > Here's what's going on, I instantiate a model object for th

[PHP] Installer for 5.3 on Windows ?

2011-08-23 Thread Nathan Nobbe
Hey gang, Wondering where the installer for php 5.3 on Windows is? Not seeing it here: http://windows.php.net/download/ Any clues appreciated, -nathan

[PHP] Re: Installer for 5.3 on Windows ?

2011-08-23 Thread Nathan Nobbe
On Tue, Aug 23, 2011 at 4:06 PM, Nathan Nobbe wrote: > Hey gang, > > Wondering where the installer for php 5.3 on Windows is? > > Not seeing it here: > > http://windows.php.net/download/ > > Any clues appreciated, > > -nathan > Hmm, I have found

Re: [PHP] Re: Repetitive answers . . .

2011-09-15 Thread Nathan Nobbe
; > wait, it sounds like we could use another answer .., yes ppl like to answer things many times here, often with almost identical suggestions, and many spins on how to approach the problem, including alternative perspectives on life..; the ebb-&-flow of php-general ;) -nathan

Re: [PHP] Friday Distraction

2011-10-21 Thread Nathan Nobbe
nice one! On Fri, Oct 21, 2011 at 10:27 AM, Daniel Brown wrote: >I'll get this week's Friday distraction kicked off here with > something shared with me by a Facebook friend. If you're on Facebook, > try this. It's pretty sweet (and safe for work and kids). > >http://www.takethislo

Re: [PHP] Friday Distraction

2011-10-21 Thread Nathan Nobbe
Friday :P On Fri, Oct 21, 2011 at 10:35 AM, Daniel Brown wrote: > On Fri, Oct 21, 2011 at 12:34, Nathan Nobbe > wrote: > > nice one! > >Quit top-posting! ;-P > > -- > > Network Infrastructure Manager > http://www.php.net/ >

Re: [PHP] Friday Distraction

2011-10-21 Thread Nathan Nobbe
gramming, teaching programming, and reading > about programming. > > Maybe I'm just getting too old for this stuff. > > Cheers, > > tedd > tedd, even older folks are getting on there these days. sure there are lame aspects as there are w/ just about anything; but it is a nice way to stay in touch w/ folks youd probly otherwise have lost touch w/. my 2c. -nathan

Re: [PHP] Exporting large data from mysql to html using php

2011-10-27 Thread Nathan Nobbe
hema (think keys) and queries; then investigate a reverse proxy like varnish to cache the generated html. you'll be able to handle a couple thousand requests per second against the proxy in no time. might be worth pre-generating some of the pages if they are still really slow after db optimization. -nathan

[PHP] Friday Distraction

2011-10-28 Thread Nathan Nobbe
Hi gang, Thinking database i/o would be the slowest part of a request in your new zf / amf app? Leave it to Zend_Amf to burn more cycles marshaling the protocol! http://s289.photobucket.com/albums/ll238/quickshiftin/?action=view¤t=ScreenShot2011-10-24at74724PM.png Happy Halloween! -nathan

Re: [PHP] Friday Distraction

2011-10-28 Thread Nathan Nobbe
On Fri, Oct 28, 2011 at 5:23 PM, Eric Butera wrote: > On Fri, Oct 28, 2011 at 7:07 PM, Daniel Brown wrote: > > On Fri, Oct 28, 2011 at 18:36, Nathan Nobbe > wrote: > >> Hi gang, > >> > >> Thinking database i/o would be the slowest part of a

Re: [PHP] Friday Distraction

2011-10-28 Thread Nathan Nobbe
On Fri, Oct 28, 2011 at 5:26 PM, Eric Butera wrote: > On Fri, Oct 28, 2011 at 7:24 PM, Nathan Nobbe > wrote: > > > > > > On Fri, Oct 28, 2011 at 5:23 PM, Eric Butera > wrote: > >> > >> On Fri, Oct 28, 2011 at 7:07 PM, Daniel Brown wrote: >

Re: [PHP] [php] static html search engine for php static html site

2011-12-27 Thread Nathan Nobbe
27;s based on mysql fulltext, not something i would go for, but may be viable on your shared hosting solution. -nathan

[PHP] Jobs in Denver

2012-03-05 Thread Nathan Nobbe
Hey gang, Anyone looking for solid PHP gigs in the Denver area, (or would consider moving to Denver b/c it's so awesome!) contact me offline; I've got the hookup! -nathan

RE: [PHP] Difficulty with SQL LIKE clause

2005-02-25 Thread Nathan Tobik
Not exactly clear what database you're using. In SQL Server the syntax is SELECT [options] FROM [table] WHERE [field] LIKE '%whatever value you're looking for%' The % means any string of characters, so it doesn't have to be exact Best of luck Nate Tobik (412)661-5700 x206 VigilantMinds -O

RE: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Nathan Tobik
I've used drag and drop row ordering before. The only PHP I used was to read a record set and write it out for the different items. The piece of code I used worked with JavaScript and html. Basically there was a large div, and each element inside of the main div was a div. It grabbed the onclic

RE: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Nathan Tobik
rder all they want, then submit the page once. I then take the list of items in the new order and submit them to the DB. Best of luck... Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Graham Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 2:29 PM To

RE: [PHP] Having problems connecting to MS SQL2000 server on PHP5

2005-05-02 Thread Nathan Tobik
Hi, We run PHP with SQL server no problems here. You never mentioned it so I thought I would, if you're running on Linux you need the FreeTDS library installed on the machine. If you are running on Windows you need the SQL Server client tools installed on the machine that PHP is on. Hop

[PHP] FPDF Help

2004-04-15 Thread Nathan Mealey
n at 1.5 cm from bottom $this->SetY(-15); //Arial italic 8 $this->SetFont('Arial','I',8); //Page number $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); } $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->Add

[PHP] Running Arbitrary PHP Code

2004-06-08 Thread Nathan Schmitz
_execute_script( .. ) fails to link within VS 6.0. Has anyone successfully done something similar? Is there an exported function that simply takes a string rather then the zend_file_handle? Does anyone have sample code? Nathan Schmitz Software Developer Biap Systems, Inc. [EMAIL PROT

[PHP] COM Objects

2007-08-14 Thread Nathan Wallis
e familiar with this SDK? I ran the installer which I guess would install the files in the correct location. Or do I need to have the DLL's in the same directory? I am very new to all of this. Thanks again, Nathan

Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Nathan Nobbe
of PUT and DELETE was when they were first created and added to the HTTP. -nathan On 8/14/07, Chris <[EMAIL PROTECTED]> wrote: > > > > Looking over PHP i can see a web service client > > could be written for a > > RESTful web service using the curl extension

Re: [PHP] HTTP methods, Web Browsers and REST

2007-08-14 Thread Nathan Nobbe
im imagining a system using the REST paradigm where a web browser is the client. rather than a REST paradigm simply for web services. -nathan On 8/14/07, Chris <[EMAIL PROTECTED]> wrote: > > Nathan Nobbe wrote: > > Chris, > > > > thanks for your reply > > >

Re: [PHP] OOP in PHP

2007-08-15 Thread Nathan Nobbe
what sort of error are you encountering ? -nathan On 8/15/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > > Dear my friends, > > This is the first time for me to use OOP concept of PHP. I wrote still a > very simple codes but it doesn't work as my manual book taught

Re: [PHP] maintaining session information

2007-08-15 Thread Nathan Nobbe
you can do whatever you want w/ a custom session handler, just so long as you implement all the methods. you could for instance have the session handler do network i/o to a 'session box' or something. thats my initial guess at a solution. -nathan On 8/15/07, Vic Agnews <[EMAIL PROT

Re: [PHP] php to generate java-script

2007-08-21 Thread Nathan Nobbe
locate the form fields i think its a matter of defining a naming convention w/in your system. -nathan On 8/21/07, brian <[EMAIL PROTECTED]> wrote: > > Jas wrote: > > Anyone have a good method of grabbing the current page and reading data > > from it? > > > > F

Re: [PHP] Aggressive PHP Smart Caching

2007-08-23 Thread Nathan Nobbe
experience with output buffering. i am eager to get it working, and if i can get it to work; will likely see it installed on a production system. looking forward to hearing from you. thanks, -nathan On 6/26/07, Alexander Romanovich <[EMAIL PROTECTED]> wrote: > > Thank you for your

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Nathan Nobbe
nterpart, simply because more memory would be consumed. indeed i suspect there is plenty of php4 code where people have forgotten to assign object references using =&. -nathan On 8/24/07, Steve Brown <[EMAIL PROTECTED]> wrote: > > Recently, I've been doing a lot of benchm

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
projects. i probly shouldnt use the word idiot and php4 in conjunction, to reflect my feelings because i might actaullly offend some people on the list :) -nathan On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-08-25 at 00:28 -0500, Larry Garfield wrote: > > O

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
occur w/in the code using keywords. im sure php4 applications can be very robust, but why bother rewriting things that are available at the language level as they are in 5; and praying that someone doesnt call a method because they didnt bother to read the comments.. -nathan On 8/25/07, Robert

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
although php allows you to write proceedrual code, i think it is best used from an oop paradigm. -nathan On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-08-25 at 10:33 -0400, Nathan Nobbe wrote: > > yes, i agree, people wont be all-of-a-sudden ignoring ph

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
agreed :) On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-08-25 at 10:57 -0400, Nathan Nobbe wrote: > > Robert, > > > > C is a low-level language whereas php is a high level language. > > ill admit it openly, i am biased toward oop / des

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
nk no ppp is madness... but again, thats nothing formal :) -nathan On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-08-25 at 11:09 -0500, Larry Garfield wrote: > > On Saturday 25 August 2007, Robert Cummings wrote: > > > > > Rewriting? Yo

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
i dont know what all this goPHP5 stuff is about. all i know is there was an announcment on php.net a few weeks back saying php4 is deprecated and it soon will be made obsolete. -nathan On 8/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-08-25 at 12:28 -0500, La

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-27 Thread Nathan Nobbe
mall and have a focused purpose. *sigh* i dont care to get into this debate again. in my mind its clear oop is superior to strictly procedural programming, but alas you are probably right. so whats the use in arguing ..? -nathan

[PHP] amfphp

2007-09-03 Thread Nathan Wallis
? Thanks, Nathan

Re: [PHP] PHP Debugger

2007-09-04 Thread Nathan Nobbe
on the server, xdebug is definitely worth trying. so far ive worked w/ protoeditor and eclipse pdt. they both have pros / and cons but im already used to the eclipse environment, so ill probly settle on pdt. -nathan On 9/4/07, Eric Gorr <[EMAIL PROTECTED]> wrote: > > I would suggest tak

Re: [PHP] Segfaults with modphp5 (apache) with threads, and fastcgiquestion

2007-09-10 Thread Nathan Nobbe
you might also want to hop on the #gentoo-php channel on irc.freenode.net -nathan On 9/10/07, Felipe Alcacibar <[EMAIL PROTECTED]> wrote: > > Chris escribió: > > Firstly the configure line you sent us is wrong. It's for the cli > > version, not the cgi version. >

[PHP] profiling newb

2007-09-10 Thread Nathan Nobbe
ated a comprehensive report that would really reduce profiling time rather than having to look through them one at a time. or am i missing something because im new to profiling ? thanks, -nathan

Re: [PHP] Getting line count of a text file

2007-09-12 Thread Nathan Nobbe
) or you dont want to use exec() or related functions look to the stream functions. they support buffered reading, so theorectically a script could read portions of a file and count lines as it read through the portions. -nathan

Re: [PHP] blocking exec() silently

2007-09-12 Thread Nathan Nobbe
rnings and errors to the browser in production anyway, which is good practice. i dont see a problem letting the warnings spit out in preproduction either, then developers would get the hint.. -nathan in /home/nathan/testDisable.php on line 2 On 9/12/07, Samuel Vogel <[EMAIL PROTECTED]> wro

Re: [PHP] blocking exec() silently

2007-09-13 Thread Nathan Nobbe
andard PHP error handler is completely bypassed. -nathan On 9/13/07, Samuel Vogel <[EMAIL PROTECTED]> wrote: > > Hey, > > Thanks for the replies! > safe-mode is not an option unfortunately! > But changing the Error reporting, is the first thing I wanted to do, but > whe

Re: [PHP] blocking exec() silently

2007-09-14 Thread Nathan Nobbe
running apache as the webserver). here<http://www.karakas-online.de/EN-Book/change-php-parameters.html>is the first article that came up in a google search. thats how 1and1 does it, via .htaccess -nathan On 9/14/07, Samuel Vogel <[EMAIL PROTECTED]> wrote: > > Actually I can

Re: [PHP] Upgrade

2007-09-21 Thread Nathan Nobbe
hat a copy is not created. i like to think the people i work w/ are competent, but less face it, in large systems w/ lots of developers, its hard to ensure =& is always being used. in fact, in php4 singletons break if =& is not used. that makes singleton in php4 very delicate. -nathan

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread Nathan Nobbe
. anyway in my experience its a relic and i try to stay away from it if i can. -nathan On 9/26/07, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote: > > On 26. Sep 2007, at 13:19, mike wrote: > > > i've downloaded PEAR packages before and used them manually. > > &g

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Nathan Nobbe
little time and investigate what other restrictions you host has. if the list is long you may want to consider a move. it may seem arduous now, but the longer you wait the more arduous it will become. -nathan On 9/26/07, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote: > > On

Re: [PHP] Compile issue

2007-09-26 Thread Nathan Nobbe
are you using the same configure command when compiling all 3 versions? -nathan On 9/26/07, Eric Butera <[EMAIL PROTECTED]> wrote: > > The last version of PHP I've been able to compile on my work machine > was 5.2.2. It is a PowerPC OS X 10.4.10. I'm curious if a

Re: [PHP] Compile issue

2007-09-26 Thread Nathan Nobbe
you might try experimenting w/ the configure command; perhaps if you start w/ a minimal php installation it will compile. then you could one-by-one enable the things you have in your standard configure command. maybe at least you could narrow down the problem that way. -nathan On 9/26/07, Eric

Re: [PHP] SimpleXMLElement is not Simple

2007-09-27 Thread Nathan Nobbe
just curious, what database are you using? -nathan On 9/27/07, Jeffery Fernandez <[EMAIL PROTECTED]> wrote: > > I am having nightmares with this bit off code. > > The following code work perfectly fine: > > $soap_request_string = << > http://www.w3.org/20

Re: [PHP] php 5 soap question

2007-09-28 Thread Nathan Nobbe
have you used soap ui <http://www.soapui.org/> before? its a great tool for testing interaction w/ web services before you implement a client layer in your own code because it shows sent and received xml. -nathan On 9/28/07, Hurst, Michael S. <[EMAIL PROTECTED]> wrote: > > I

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