Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
At 7:44 PM -0700 8/5/09, Michael A. Peters wrote: Miller, Terion wrote: Shawn you know repeatedly have been nothing but an asshole to me on this list, I have said before I'm not a php programmer, I was a front end designer, need graphics , need a css layout...see meneed backend programming..I'm trying... Stop being such a egomaniacal dickhead, a social life may do you good. If your job description does not include php development, and they are asking you to do it, then ask them to pay for the necessary books for you to learn PHP or do not accept the assignment, pointing out that you are not a PHP developer. If you job description includes php development, then you need to know what you are doing. Yeah, that's a bit like your employer saying "Here's a gun, shoot the bad guys." First, you don't know how to shoot a gun and second you don't know who the bad guys are. That's a recipe for disaster. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Miller, Terion wrote: Shawn you know repeatedly have been nothing but an asshole to me on this list, I have said before I'm not a php programmer, I was a front end designer, need graphics , need a css layout...see meneed backend programming..I'm trying... Stop being such a egomaniacal dickhead, a social life may do you good. If your job description does not include php development, and they are asking you to do it, then ask them to pay for the necessary books for you to learn PHP or do not accept the assignment, pointing out that you are not a PHP developer. If you job description includes php development, then you need to know what you are doing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Eric Butera wrote: > On Tue, Aug 4, 2009 at 7:19 PM, Govinda wrote: >> Terion, >> >> I've done a lot of backend programming, but I'm even more newbie than you in >> PHP... so take this from an equal, & FWIW: >> I think we in this work can all get dry/impersonal and grouchy at times, but >> to rephrase the others, in perhaps more encouraging terms: >> I think the guys just want the natural satisfaction of seeing you grow in >> understanding. it is really fulfilling to help people; we all love helping >> someone in need! But we all also want to see our investment stick and make >> a difference in the long run. Putting out fires is ok once in a while, but >> much more satisfying is contributing to someone getting good at this stuff, >> even if at a humble pace. >> >> >> John Butler (Govinda) >> govinda.webdnat...@gmail.com >> >> >> >> > > Yea that whole teach a person to fish... yadda yadda. :) > Ya, the on fire thing or whatever is the weird part. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, Aug 4, 2009 at 7:19 PM, Govinda wrote: > Terion, > > I've done a lot of backend programming, but I'm even more newbie than you in > PHP... so take this from an equal, & FWIW: > I think we in this work can all get dry/impersonal and grouchy at times, but > to rephrase the others, in perhaps more encouraging terms: > I think the guys just want the natural satisfaction of seeing you grow in > understanding. it is really fulfilling to help people; we all love helping > someone in need! But we all also want to see our investment stick and make > a difference in the long run. Putting out fires is ok once in a while, but > much more satisfying is contributing to someone getting good at this stuff, > even if at a humble pace. > > > John Butler (Govinda) > govinda.webdnat...@gmail.com > > > > Yea that whole teach a person to fish... yadda yadda. :) -- http://www.ericbutera.us/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Terion, I've done a lot of backend programming, but I'm even more newbie than you in PHP... so take this from an equal, & FWIW: I think we in this work can all get dry/impersonal and grouchy at times, but to rephrase the others, in perhaps more encouraging terms: I think the guys just want the natural satisfaction of seeing you grow in understanding. it is really fulfilling to help people; we all love helping someone in need! But we all also want to see our investment stick and make a difference in the long run. Putting out fires is ok once in a while, but much more satisfying is contributing to someone getting good at this stuff, even if at a humble pace. John Butler (Govinda) govinda.webdnat...@gmail.com
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, Aug 04, 2009 at 06:10:30PM -0400, HallMarc Websites wrote: > [HallMarc Websites] > > God I love this planet. I agree with Paul. > Yeah, great planet, this. A little touristy, but still a good travel value. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
> -Original Message- > From: Paul M Foster [mailto:pa...@quillandmouse.com] > Sent: Tuesday, August 04, 2009 5:44 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > (RESOLVED) > > On Tue, Aug 04, 2009 at 12:42:11PM -0500, Shawn McKenzie wrote: > > > Miller, Terion wrote: > > > Shawn you know repeatedly have been nothing but an asshole to me on > > > this list, I have said before I'm not a php programmer, I was a > front > > > end designer, need graphics , need a css layout...see meneed > > > backend programming..I'm trying... Stop being such a egomaniacal > > > dickhead, a social life may do you good. > > > > Dearest Terion, > > > > If by "repeatedly", you mean twice, then yes I'll agree. I've also > > helped and/or solved your issues more than twice (once being today if > > you've read it and followed it). Most often my intent was to get you > to > > try and learn and troubleshoot your own issues instead of posting the > > same code problems and syntax errors over and over. You come to this > > list "repeatedly" with errors that are caused by a total lack of > > understanding, and in my opinion, a total lack of due diligence on > your > > part. It's not today or the past week or the past several weeks, > it's > > been for quite some time with little or no improvement. > > > > If by being an "asshole", you mean the time that I suggested that you > > get an editor with syntax checking/highlighting because you posted a > > whole page of wrapped code that had a syntax error (missing > semicolon), > > then yes I have been, though a helpful asshole with good intentions. > At > > some point it gets obnoxious. When is that point? It differs > depending > > upon the person. Many on this list have just stopped replying to > your > > posts altogether. I like them need to see an attempt to help ones > self > > occasionally before I continue with help. > > > > I wasn't defending your boss yelling at you, that's rarely > appropriate. > > However, after the many posts from you on this list, to see "Need > quick > > got written up yesterday!! OUCH", I felt like yelling at you, "Need > > payment doing your work!! CONSTANTLY" :-) > > > > As a CSS/HTML/graphics designer, did you take this job with the > > understanding that you'd have to learn PHP or did they just thrust it > > upon you? If the former, then you need to buckle down and learn it > in a > > constructive manner. If your social life needs to suffer for a short > > time, then that's what it takes. If the latter, then maybe talk to > them > > about some company paid training and mentoring from someone helpful > that > > knows backend programming and PHP. > > > > I may be a "dickhead", but not "egomaniacal". There are many better > PHP > > gurus on this list than I, and I know it. Unfortunately, many of them > > are ignoring your posts entirely. At present my social life is > actually > > overwhelming my ability to devote time to PHP coding, however if > you'd > > like to send pictures I'll give them a look see. > > > > I can understand your frustration and can tell that you're very > > stressed, so I will attempt to not be an "asshole" nor a "dickhead", > but > > please show a little more devotion to learning and helping yourself. > > I have to agree with Shawn on most everything. I'm one of those people > who've chosen not to pay attention to your posts. The masses of code > you > post are nearly indecipherable, and you seem to be constantly tripped > up > by syntax errors, etc. > > PJ blew it with me in the same way. PJ, too, is not a professional > coder. And like you, he seems to be unwilling to buckle down and study > the language, preferring instead to come to experts here to get free > tutoring. But at some point, the patience of people on this list runs > out, and rather than excoriating you, they simply stop helping you. > > My point here is not to insult you or denigrate your abilities. You may > be a very nice person, and quite talented at doing the things you're > trained to do. But programming in PHP is apparently not one of them. > And > if you're going to be doing this for a living, then you're going to > have > to either stop doing this for a living, or actually study the subject. > Because sooner or later, no one here will listen, no matter how nice > you > are, and no matter how well you do the other parts of your job. > > Paul > > -- > Paul M. Foster > > -- [HallMarc Websites] God I love this planet. I agree with Paul. __ Information from ESET Smart Security, version of virus signature database 4306 (20090804) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, Aug 04, 2009 at 12:42:11PM -0500, Shawn McKenzie wrote: > Miller, Terion wrote: > > Shawn you know repeatedly have been nothing but an asshole to me on > > this list, I have said before I'm not a php programmer, I was a front > > end designer, need graphics , need a css layout...see meneed > > backend programming..I'm trying... Stop being such a egomaniacal > > dickhead, a social life may do you good. > > Dearest Terion, > > If by "repeatedly", you mean twice, then yes I'll agree. I've also > helped and/or solved your issues more than twice (once being today if > you've read it and followed it). Most often my intent was to get you to > try and learn and troubleshoot your own issues instead of posting the > same code problems and syntax errors over and over. You come to this > list "repeatedly" with errors that are caused by a total lack of > understanding, and in my opinion, a total lack of due diligence on your > part. It's not today or the past week or the past several weeks, it's > been for quite some time with little or no improvement. > > If by being an "asshole", you mean the time that I suggested that you > get an editor with syntax checking/highlighting because you posted a > whole page of wrapped code that had a syntax error (missing semicolon), > then yes I have been, though a helpful asshole with good intentions. At > some point it gets obnoxious. When is that point? It differs depending > upon the person. Many on this list have just stopped replying to your > posts altogether. I like them need to see an attempt to help ones self > occasionally before I continue with help. > > I wasn't defending your boss yelling at you, that's rarely appropriate. > However, after the many posts from you on this list, to see "Need quick > got written up yesterday!! OUCH", I felt like yelling at you, "Need > payment doing your work!! CONSTANTLY" :-) > > As a CSS/HTML/graphics designer, did you take this job with the > understanding that you'd have to learn PHP or did they just thrust it > upon you? If the former, then you need to buckle down and learn it in a > constructive manner. If your social life needs to suffer for a short > time, then that's what it takes. If the latter, then maybe talk to them > about some company paid training and mentoring from someone helpful that > knows backend programming and PHP. > > I may be a "dickhead", but not "egomaniacal". There are many better PHP > gurus on this list than I, and I know it. Unfortunately, many of them > are ignoring your posts entirely. At present my social life is actually > overwhelming my ability to devote time to PHP coding, however if you'd > like to send pictures I'll give them a look see. > > I can understand your frustration and can tell that you're very > stressed, so I will attempt to not be an "asshole" nor a "dickhead", but > please show a little more devotion to learning and helping yourself. I have to agree with Shawn on most everything. I'm one of those people who've chosen not to pay attention to your posts. The masses of code you post are nearly indecipherable, and you seem to be constantly tripped up by syntax errors, etc. PJ blew it with me in the same way. PJ, too, is not a professional coder. And like you, he seems to be unwilling to buckle down and study the language, preferring instead to come to experts here to get free tutoring. But at some point, the patience of people on this list runs out, and rather than excoriating you, they simply stop helping you. My point here is not to insult you or denigrate your abilities. You may be a very nice person, and quite talented at doing the things you're trained to do. But programming in PHP is apparently not one of them. And if you're going to be doing this for a living, then you're going to have to either stop doing this for a living, or actually study the subject. Because sooner or later, no one here will listen, no matter how nice you are, and no matter how well you do the other parts of your job. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
> -Original Message- > From: Miller, Terion [mailto:tmil...@springfi.gannett.com] > Sent: Tuesday, August 04, 2009 11:09 AM > To: a...@ashleysheridan.co.uk; Miller, Terion > Cc: ke...@netsmith.ltd.uk; PHP-General List > Subject: Re: [PHP] Need quick got written up yesterday!! OUCH > (RESOLVED) > > > > > On 8/4/09 10:03 AM, "Ashley Sheridan" wrote: > > print_r($_SERVER); > > I get: > > Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] > => Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13) > Gecko/2009073021 Firefox/3.0.13 [HTTP_ACCEPT] => > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_ENCODING] => > gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 > [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [HTTP_REFERER] > => http://getpublished.news- > leader.com/ResturantInspections/restaurants.php?show=all [HTTP_COOKIE] > => > GCIONID=TExITWZPTUtlZElNQUZrdjlWdkZVQkNOQk1CTEZLKzk3RWEzbENYWE81MD1+MX4 > yMDA5MDgwNH4yfnppcDo2NTgwN3x5b2I6MTk2OHxnZW46MXxjb3U6dXN8c2l0OmdwYXBlcj > E3MQ==; anonId=72bd6954-d270-402a-a4d5-10f109166cef; > rsi_ct=2009_8_4:51; PHPSESSID=ak6iv296ca08bj4eilbjjr0vd7; > GCIONSN=cmVmOjB+bmQxOiU3QiUyMkxldmVsMU5vZGUlMjIlM0ElMjIlMjIlMkMlMjJMZXZ > lbDJOb2RlJTIyJTNBJTIyJTIyJTJDJTIyTmV3Q2xpY2slMjIlM0FmYWxzZSUyQyUyMlVSTC > UyMiUzQSUyMmh0dHAlM0EvL2dldHB1Ymxpc2hlZC5uZXdzLWxlYWRlci5jb20vUmVzdHVyY > W50SW5zcGVjdGlvbnMvdmlldy5waHAlM0ZJRCUzRDExMzclMjIlN0R+bmQyOm51bGw=; > s_sq=%5B%5BB%5D%5D; s_cc=true; REVSCISN=true [HTTP_CACHE_CONTROL] => > max-age=0 [PATH] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > [SERVER_SIGNATURE] => > Apache/2.0.52 (Red Hat) Server at getpublished.news-leader.com Port 80 > [SERVER_SOFTWARE] => Apache/2.0.52 (Red Hat) [SERVER_NAME] => > getpublished.news-leader.com [SERVER_ADDR] => 64.29.29.40 [SERVER_PORT] > => 80 [REMOTE_ADDR] => 64.22.254.4 [DOCUMENT_ROOT] => > /var/www/vhosts/getpublished.news-leader.com/httpdocs [SERVER_ADMIN] => > rjas...@springfi.gannett.com [SCRIPT_FILENAME] => > /var/www/vhosts/getpublished.news- > leader.com/httpdocs/ResturantInspections/view.php [REMOTE_PORT] => > 30353 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 > [REQUEST_METHOD] => GET [QUERY_STRING] => ID=1137 [REQUEST_URI] => > /ResturantInspections/view.php?ID=1137 [SCRIPT_NAME] => > /ResturantInspections/view.php [PHP_SELF] => > /ResturantInspections/view.php [REQUEST_TIME] => 1249398440 ) > > -- [HallMarc Websites] Ugh! Try this from now on echo ""; print_r($_SERVER); echo ""; What gets sent to the window is at least legible by us lower human forms [HallMarc Websites] __ Information from ESET Smart Security, version of virus signature database 4305 (20090804) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Miller, Terion wrote: > Shawn you know repeatedly have been nothing but an asshole to me on > this list, I have said before I'm not a php programmer, I was a front > end designer, need graphics , need a css layout...see meneed > backend programming..I'm trying... Stop being such a egomaniacal > dickhead, a social life may do you good. Dearest Terion, If by "repeatedly", you mean twice, then yes I'll agree. I've also helped and/or solved your issues more than twice (once being today if you've read it and followed it). Most often my intent was to get you to try and learn and troubleshoot your own issues instead of posting the same code problems and syntax errors over and over. You come to this list "repeatedly" with errors that are caused by a total lack of understanding, and in my opinion, a total lack of due diligence on your part. It's not today or the past week or the past several weeks, it's been for quite some time with little or no improvement. If by being an "asshole", you mean the time that I suggested that you get an editor with syntax checking/highlighting because you posted a whole page of wrapped code that had a syntax error (missing semicolon), then yes I have been, though a helpful asshole with good intentions. At some point it gets obnoxious. When is that point? It differs depending upon the person. Many on this list have just stopped replying to your posts altogether. I like them need to see an attempt to help ones self occasionally before I continue with help. I wasn't defending your boss yelling at you, that's rarely appropriate. However, after the many posts from you on this list, to see "Need quick got written up yesterday!! OUCH", I felt like yelling at you, "Need payment doing your work!! CONSTANTLY" :-) As a CSS/HTML/graphics designer, did you take this job with the understanding that you'd have to learn PHP or did they just thrust it upon you? If the former, then you need to buckle down and learn it in a constructive manner. If your social life needs to suffer for a short time, then that's what it takes. If the latter, then maybe talk to them about some company paid training and mentoring from someone helpful that knows backend programming and PHP. I may be a "dickhead", but not "egomaniacal". There are many better PHP gurus on this list than I, and I know it. Unfortunately, many of them are ignoring your posts entirely. At present my social life is actually overwhelming my ability to devote time to PHP coding, however if you'd like to send pictures I'll give them a look see. I can understand your frustration and can tell that you're very stressed, so I will attempt to not be an "asshole" nor a "dickhead", but please show a little more devotion to learning and helping yourself. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Shawn you know repeatedly have been nothing but an asshole to me on this list, I have said before I'm not a php programmer, I was a front end designer, need graphics , need a css layout...see meneed backend programming..I'm trying... Stop being such a egomaniacal dickhead, a social life may do you good. On 8/4/09 9:53 AM, "Shawn McKenzie" wrote: Miller, Terion wrote: > THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM > WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE > SHOULD WORK BE THIS AWFUL? IT'S HARD ENOUGH WORKING IN A MALE DOMINATED > FIELD, BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES OMG > GOD...I JUST MAY HAVE TO CRY LIKE THE GIRL I AM. SHIT. > SORRY FOR THE CAPS HAVING A MELTDOWN...AND FOR THE LIST THE PROBLEM WAS HERE: > Maybe he thought he was hiring a PHP developer or a detail oriented quick learner. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Miller, Terion wrote: > > > On 8/4/09 10:04 AM, "Bastien Koert" wrote: > > On Tue, Aug 4, 2009 at 10:58 AM, Miller, > Terion wrote: >> >> >> ---snip >> > ---snip- >> http://pastebin.ca/1517966 >> >> I don't get why the $_SERVER['browse.php'] stopped working >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > What is the goal to show when there is nothing chosen (currently > resulting in your default 'A' listing) > > -- > > Bastien > > Cat, the other other white meat > > yep the current goal is that when the user first lands on the page browse.php > it will default to show the 'a' listings, on other pages no listings unless a > menu option is selected will show. > > > I couldn't help looking at the code. 1. There is no $_GET['letter'], there is a $_GET['ID'], so this: // Main controller which page to show. Will call browse('A') 2. This: //if the page is browse default to A's if on other pages just show pagination links and not default listings Does absolutely nothing because it sets the $letter var, which you don't even use except to overwrite it with your foreach: foreach($letters as $letter) Walk through your code step by step and you'll see the problems. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
Miller, Terion wrote: > THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM > WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE > SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED > FIELD, BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES OMG > GOD...I JUST MAY HAVE TO CRY LIKE THE GIRL I AM. SHIT. > SORRY FOR THE CAPS HAVING A MELTDOWN...AND FOR THE LIST THE PROBLEM WAS HERE: > Maybe he thought he was hiring a PHP developer or a detail oriented quick learner. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, 2009-08-04 at 08:08 -0700, Miller, Terion wrote: > > > On 8/4/09 10:03 AM, "Ashley Sheridan" wrote: > > print_r($_SERVER); > > I get: > > Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] => > Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13) > Gecko/2009073021 Firefox/3.0.13 [HTTP_ACCEPT] => > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_ENCODING] => > gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 > [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [HTTP_REFERER] => > http://getpublished.news-leader.com/ResturantInspections/restaurants.php?show=all > [HTTP_COOKIE] => > GCIONID=TExITWZPTUtlZElNQUZrdjlWdkZVQkNOQk1CTEZLKzk3RWEzbENYWE81MD1+MX4yMDA5MDgwNH4yfnppcDo2NTgwN3x5b2I6MTk2OHxnZW46MXxjb3U6dXN8c2l0OmdwYXBlcjE3MQ==; > anonId=72bd6954-d270-402a-a4d5-10f109166cef; rsi_ct=2009_8_4:51; > PHPSESSID=ak6iv296ca08bj4eilbjjr0vd7; > GCIONSN=cmVmOjB+bmQxOiU3QiUyMkxldmVsMU5vZGUlMjIlM0ElMjIlMjIlMkMlMjJMZXZlbDJOb2RlJTIyJTNBJTIyJTIyJTJDJTIyTmV3Q2xpY2slMjIlM0FmYWxzZSUyQyUyMlVSTCUyMiUzQSUyMmh0dHAlM0EvL2dldHB1Ymxpc2hlZC5uZXdzLWxlYWRlci5jb20vUmVzdHVyYW50SW5zcGVjdGlvbnMvdmlldy5waHAlM0ZJRCUzRDExMzclMjIlN0R+bmQyOm51bGw=; > s_sq=%5B%5BB%5D%5D; s_cc=true; REVSCISN=true [HTTP_CACHE_CONTROL] => > max-age=0 [PATH] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > [SERVER_SIGNATURE] => > Apache/2.0.52 (Red Hat) Server at getpublished.news-leader.com Port 80 > [SERVER_SOFTWARE] => Apache/2.0.52 (Red Hat) [SERVER_NAME] => > getpublished.news-leader.com [SERVER_ADDR] => 64.29.29.40 [SERVER_PORT] => 80 > [REMOTE_ADDR] => 64.22.254.4 [DOCUMENT_ROOT] => > /var/www/vhosts/getpublished.news-leader.com/httpdocs [SERVER_ADMIN] => > rjas...@springfi.gannett.com [SCRIPT_FILENAME] => > /var/www/vhosts/getpublished.news-leader.com/httpdocs/ResturantInspections/view.php > [REMOTE_PORT] => 30353 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => > HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => ID=1137 [REQUEST_URI] => > /ResturantInspections/view.php?ID=1137 [SCRIPT_NAME] => > /ResturantInspections/view.php [PHP_SELF] => /ResturantInspections/view.php > [REQUEST_TIME] => 1249398440 ) > That's your problem then. Your $_SERVER['SCRIPT_FILENAME'] has a full path in it. I think you maybe meant to use SCRIPT_NAME, which itself even has the path relative to the document root in it. You could use the basename() function to just get the filename of the path though. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On 8/4/09 10:04 AM, "Bastien Koert" wrote: On Tue, Aug 4, 2009 at 10:58 AM, Miller, Terion wrote: > > > > ---snip > ---snip- > > http://pastebin.ca/1517966 > > I don't get why the $_SERVER['browse.php'] stopped working > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > What is the goal to show when there is nothing chosen (currently resulting in your default 'A' listing) -- Bastien Cat, the other other white meat yep the current goal is that when the user first lands on the page browse.php it will default to show the 'a' listings, on other pages no listings unless a menu option is selected will show. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On 8/4/09 10:03 AM, "Ashley Sheridan" wrote: print_r($_SERVER); I get: Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13) Gecko/2009073021 Firefox/3.0.13 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_ENCODING] => gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [HTTP_REFERER] => http://getpublished.news-leader.com/ResturantInspections/restaurants.php?show=all [HTTP_COOKIE] => GCIONID=TExITWZPTUtlZElNQUZrdjlWdkZVQkNOQk1CTEZLKzk3RWEzbENYWE81MD1+MX4yMDA5MDgwNH4yfnppcDo2NTgwN3x5b2I6MTk2OHxnZW46MXxjb3U6dXN8c2l0OmdwYXBlcjE3MQ==; anonId=72bd6954-d270-402a-a4d5-10f109166cef; rsi_ct=2009_8_4:51; PHPSESSID=ak6iv296ca08bj4eilbjjr0vd7; GCIONSN=cmVmOjB+bmQxOiU3QiUyMkxldmVsMU5vZGUlMjIlM0ElMjIlMjIlMkMlMjJMZXZlbDJOb2RlJTIyJTNBJTIyJTIyJTJDJTIyTmV3Q2xpY2slMjIlM0FmYWxzZSUyQyUyMlVSTCUyMiUzQSUyMmh0dHAlM0EvL2dldHB1Ymxpc2hlZC5uZXdzLWxlYWRlci5jb20vUmVzdHVyYW50SW5zcGVjdGlvbnMvdmlldy5waHAlM0ZJRCUzRDExMzclMjIlN0R+bmQyOm51bGw=; s_sq=%5B%5BB%5D%5D; s_cc=true; REVSCISN=true [HTTP_CACHE_CONTROL] => max-age=0 [PATH] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin [SERVER_SIGNATURE] => Apache/2.0.52 (Red Hat) Server at getpublished.news-leader.com Port 80 [SERVER_SOFTWARE] => Apache/2.0.52 (Red Hat) [SERVER_NAME] => getpublished.news-leader.com [SERVER_ADDR] => 64.29.29.40 [SERVER_PORT] => 80 [REMOTE_ADDR] => 64.22.254.4 [DOCUMENT_ROOT] => /var/www/vhosts/getpublished.news-leader.com/httpdocs [SERVER_ADMIN] => rjas...@springfi.gannett.com [SCRIPT_FILENAME] => /var/www/vhosts/getpublished.news-leader.com/httpdocs/ResturantInspections/view.php [REMOTE_PORT] => 30353 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => ID=1137 [REQUEST_URI] => /ResturantInspections/view.php?ID=1137 [SCRIPT_NAME] => /ResturantInspections/view.php [PHP_SELF] => /ResturantInspections/view.php [REQUEST_TIME] => 1249398440 ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, Aug 4, 2009 at 10:58 AM, Miller, Terion wrote: > > > > ---snip > > Was going to say the exact same thing. No one should have to put up with > that crap. > > I suggest if this was a normal occurrence, a chat with him would be a start. > If you get nowhere with that, a trip to HR would be good. > > Shouting at someone is counter-productive, and there more you put up with it, > the more your boss will feel empowerment over you, > > Regards, > Kevin > > > Thanks guys!! I actually do have an appt with HR at 2pm today. And his > yelling fix didn't fix it at all...now it just displays default "A" listings > on all pages which is what he does NOT want4 minutes until my > deadline...guess I won't make this one. Think I will go be a bartender and > florist again..that's how I got thru college..so much less stressI'm > going to start using the pastebin for my code I can't figure out my settings > I tell it text but it seems to jumble it anyways > So if anyone wants to have a look here is the link for the script > > http://pastebin.ca/1517966 > > I don't get why the $_SERVER['browse.php'] stopped working > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > What is the goal to show when there is nothing chosen (currently resulting in your default 'A' listing) -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, 2009-08-04 at 07:58 -0700, Miller, Terion wrote: > > > ---snip > > Was going to say the exact same thing. No one should have to put up with > that crap. > > I suggest if this was a normal occurrence, a chat with him would be a start. > If you get nowhere with that, a trip to HR would be good. > > Shouting at someone is counter-productive, and there more you put up with it, > the more your boss will feel empowerment over you, > > Regards, > Kevin > > > Thanks guys!! I actually do have an appt with HR at 2pm today. And his > yelling fix didn't fix it at all...now it just displays default "A" listings > on all pages which is what he does NOT want4 minutes until my > deadline...guess I won't make this one. Think I will go be a bartender and > florist again..that's how I got thru college..so much less stressI'm > going to start using the pastebin for my code I can't figure out my settings > I tell it text but it seems to jumble it anyways > So if anyone wants to have a look here is the link for the script > > http://pastebin.ca/1517966 > > I don't get why the $_SERVER['browse.php'] stopped working > What do you get if you do a print_r($_SERVER); ? Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
---snip Was going to say the exact same thing. No one should have to put up with that crap. I suggest if this was a normal occurrence, a chat with him would be a start. If you get nowhere with that, a trip to HR would be good. Shouting at someone is counter-productive, and there more you put up with it, the more your boss will feel empowerment over you, Regards, Kevin Thanks guys!! I actually do have an appt with HR at 2pm today. And his yelling fix didn't fix it at all...now it just displays default "A" listings on all pages which is what he does NOT want4 minutes until my deadline...guess I won't make this one. Think I will go be a bartender and florist again..that's how I got thru college..so much less stressI'm going to start using the pastebin for my code I can't figure out my settings I tell it text but it seems to jumble it anyways So if anyone wants to have a look here is the link for the script http://pastebin.ca/1517966 I don't get why the $_SERVER['browse.php'] stopped working -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
On Tue, 2009-08-04 at 07:40 -0700, Miller, Terion wrote: > THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM > WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE > SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED > FIELD, BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES OMG > GOD...I JUST MAY HAVE TO CRY LIKE THE GIRL I AM. SHIT. > SORRY FOR THE CAPS HAVING A MELTDOWN...AND FOR THE LIST THE PROBLEM WAS HERE: > > / Main controller which page to show. if (isset($_GET['letter'])) { > browse($_GET['letter']); } else { browse('A'); } > > On 8/4/09 9:30 AM, "Ashley Sheridan" wrote: > > On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote: > > for($i = 0; $i <= 9; $iﯯ) > > I'm noticing an odd character just here (heaven knows what line number!) > I'd presume this was meant to be something like a ++ or +=n, but seems > to be interpreted as a multibyte character here. I'll let you know if I > find anything else. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > Ah, doesn't sound good there. Have you thought about saying something to him, to just try and explain how you feel? You shouldn't have to feel bullied at work, no matter what sex you are. Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Need quick got written up yesterday!! OUCH (RESOLVED)
THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED FIELD, BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES OMG GOD...I JUST MAY HAVE TO CRY LIKE THE GIRL I AM. SHIT. SORRY FOR THE CAPS HAVING A MELTDOWN...AND FOR THE LIST THE PROBLEM WAS HERE: / Main controller which page to show. if (isset($_GET['letter'])) { browse($_GET['letter']); } else { browse('A'); } On 8/4/09 9:30 AM, "Ashley Sheridan" wrote: On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote: > for($i = 0; $i <= 9; $iﯯ) I'm noticing an odd character just here (heaven knows what line number!) I'd presume this was meant to be something like a ++ or +=n, but seems to be interpreted as a multibyte character here. I'll let you know if I find anything else. Thanks, Ash http://www.ashleysheridan.co.uk