Jump to content

johnrcornell

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

About johnrcornell

  • Birthday 05/04/1985

Contact Methods

  • AIM
    trickrick1985
  • Website URL
    http://jrcii.blogspot.com/

Profile Information

  • Gender
    Male
  • Location
    New York, NY

johnrcornell's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Wow so nobody knows? No one understands the difference between these things? That's disappointing.
  2. Hi Guys, I promise I read through the Zend site on this, but I'm pretty confused, about the overlap and relationship between these things: Zend Core Zend Web Server Debugger Zend Executable Debugger Zend Platform PDT Basically, I have Zend Studio and I want to be able to debug my code on my remote Linux server. It *seems* like php-devel package comes with Zend Debugger (?????) but # yum install php-devel gets Error: Missing Dependency: php = 5.1.6-3.7.fc6 is needed by package php-devel Well I've got PHP 5.2.5 installed, so I don't know how an outdated version of PHP could be a dependency. Then there's xdebug, which seems to be an alternative to Zend Debugger, which you can install by #pecl install xdebug But #pecl install zenddebugger does nothing. So I can't use yum, pecl (and obviously not pear) to install Zend Debugger? And Executable debugger? Web Server debugger? I'm so confused. Please help. Thank you.
  3. Changing the comparison operator to == makes it work in IE but not FF
  4. Here's my JS in the HEAD section: <script language="Javascript"> function toggleclock(clock) { if (clock.state = 'on') { clock.src = 'includes/png/clock_color.png' clock.state = 'off' } else if (clock.state = 'off') { clock.src = 'includes/png/clock_bw.png' clock.state = 'on' } } </script> And here's in the BODY section: <img src="includes/png/clock_bw.png" border=0 onload="this.state='off'" onclick="toggleclock(this)" style="cursor: pointer;" /> The script seems perfectly logical, I never have problems like this in PHP this is why I hate JavaScript. I can never get even simple things to work let alone complicated things. I'm sure I'm just misunderstanding. Does anyone see what's wrong? The results are that it'll toggle the image initially from clock_bw.png to clock_color.png, but once it's toggled to color it will not toggle back to black and white. Thanks for anyone with insight. This is holding up the show on this project! Ricky
  5. Hi Guys! I'm hoping one of you smart cookies out there understands regex better than I do. $street2 = "Unit 1 A"; $street2 = preg_replace('/(?<=(?:Unit|Apt)\s.)\s/','',$street2); I expect $street2 to now equal, "Unit 1A" Instead, I get, "Warning: preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 19" I barely got the regex where it's at, I cannot figure out where to apply * here in order to give me an arbitrary lookbehind length. Since the target could be: Apt 1 A Apt 23 A Unit 1 A Unit 23 A Unit 234 BF etc Any ideas anyone?
  6. The best response to this common question that I've heard recently is in this Zend Developer Zone article by Robert Peake: http://devzone.zend.com/node/view/id/1236
  7. So the object definitions are collectively the "model" All that class-external instantiation and logic is the "controller" And the easiest to understand, the system output is the "view" I think I've got it. Thank you!
  8. There's nothing wrong with MS Bob as long as you have it configured correctly. It's resource overhead is actually very low. I've been working on some OS-based multi-threaded processing with it, between the two it's surprisingly a pretty agile web platform. Parallel to the strengths of NetBSD.
  9. Hi guys, I'm new here (obviously.) When I use the [ code ] [ / code ] markup I only get plainol boring black-and-white code. But everyone else gets to have this neato color coding on their posts. What markup do I use to enable that on your forum? Hope this question is in the right place. Thank you for any help! Ricky
  10. The same could be accomplished using mod_rewrite. It's an Apache module that basically takes a requested URL, applies a regex pattern to it and transforms it server side into what it needs to be. So you could have: http://www.mysite.com/scripts/download.php?file=/dl/apps/photoshop.exe turn into: http://www.mysite.com/downloads/photoshop cool stuff eh
  11. Hey, thank you for your response! I think I've got a little better grip on it now. I have a rephrase of the question- Is it correct to say that in a properly-designed MVC implementation, no instantiation would occur in the model outside of a class?
  12. Hi All, I'm trying to see if anyone has any experience setting up a WAMP configuration on Microsoft Bob. I installed Apache 2, but I can't find httpd.conf. Is it by the fireplace? Thanks in advance for any help! John
  13. I know, put all the data you want in an array, serialize, base64 encode it, then put its value into a hidden input field on your form. Then on the next page do an extract($_REQUEST); LMAO DO NOT DO THAT
  14. If you're looking to search through the contents of an array with permutations of natural language or anything like that you'll have to write some regex. It looks intimidating at first but it's fun once you figure it out. Sorry for the vague answer, just trying to provide a next-step jumping off point if you find out that you mean something more ambitious by "search."
  15. I admit that I was too lazy to read the entire thread, so I hope my answer is appropriate- Use the Yahoo! UI library if production time is an issue. For your specific issue, here's the code: http://developer.yahoo.com/yui/examples/container/panelwait/1.html and here's an example of the implementation: http://developer.yahoo.com/yui/examples/container/panelwait/2.html
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.