Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. well if you are concerned about people potentially not sharing their method(s) then only send invites out to people you know/trust to share their methods.  Also it helps if you post invites in places where people have no idea what/where the real site is.  I mean, if you have for instance been on a board talking about www.mysite.com for the last few months, i probably wouldn't post an invite on that board.
  2. it's hard to determine how to fix that without you showing your code, but if it's because of some kind of loop you are doing that is dependant on the array keys being 12345 instead of 1245 then you can use [url=http://www.php.net/array_values]array_values()[/url] to reset the keys after you have unset one of them.  consider this example: [code] <?php   // example array   $blah = array('a','b','c','d','e');     // display what the key - value initially looks like   // will show keys 0,1,2,3,4   foreach ($blah as $key => $val) {       echo "$key - $val <br>";   }     // unset the middle element   unset ($blah[2]);   // show what the key-val looks like now   // shows 0,1,3,4   foreach ($blah as $key => $val) {       echo "$key - $val <br>";   }   // reset the keys   $blah = array_values($blah);   // display results from reseting the keys   // shows 0,1,2,3    foreach ($blah as $key => $val) {       echo "$key - $val <br>";     } ?> [/code]
  3. you could always buy a junk machine, setup wamp and your script and post an open invite here (or somewhere else) for people to try to bust it. I love invites like that :)
  4. so you are saying there is no way to flag it somehow like with the { }  or something?
  5. http://www.phpfreaks.com/tutorials/142/0.php
  6. please do not make multiple threads asking the same question.
  7. he wasn't providing you with a connection script. he was providing you with the php function to actually run your query.
  8. ..or something like that. well basically I have this: parent::$this->config['channel'] and i can't figure out how to put that inside double quotes.  It works just fine if I do this: echo "blah " . parent::$this->config['channel'] . " more blah"; but I want it to look like this: echo "blah parent::$this->config['channel'] more blah"; I tried these: [code] // <outputs it literally> parent::$this->config['channel'] echo "blah {parent::$this->config['channel']} more blah"; // <outputs it half literally> parent::#phpfreaks echo "blah {parent::{$this->config['channel']}} more blah"; // <does the same thing as ^> echo "blah parent::{$this->config['channel']} more blah"; [/code] but i can't just simply do {$this->config['channel']} because it's being echoed inside a class extending another class, hence the parent:: where am i going wrong??
  9. well if it's an 'older' computer then i doubt it's pcix...unless the card is pcix..
  10. i login just fine to the web client with FF...
  11. Are  you sure that's a 32 bit wireless router card? usually pci cards with 3 keys are 64 bit.  If your card key span is longer than your pci slot then I am pretty sure you are mistaken and that's a 64 bit card. But if it's the same length, and you are sure it's a 32 bit card, then it should be compatable. Your 2 key pci slot type is certainly 32 bit.  Have you actually tried to put it in or did you just figure it had 3 keys vs. your 2 keyed pci slot? The only reason why it would not physically go in even when it is the same length is if it's a different voltage type, because there's like 2 voltage types. like 3.3 and 5 volt and they are physically notched different so that you can't accidentally put one into the other.
  12. okay for those of you who happen to be on the [i]other[/i] side of this sarchasm: the red dots spell out "CV is stupid 2.0" and yes, ron was in fact able to read them. although I will admit that in a recent poll, it turns out that 92 out of 100 people could not read it either. 67 of the 92 claimed they did not recognize the fact that they were letters in the first place.  20 of them claimed they recognized some letters but could not make out what it said, perhaps because they just can't read, or can't spell properly, or some other reason altogether; overall it is somewhat ironic that these people are in fact also stupid 2.0.  The remaining 5 of the 92 were in fact color blind, or at least they claimed to be.  Further studies may need to be conducted in order to find out whether they were telling the truth or lying because color-blind is the new "in" thing to be.  Of the 8 people who were in fact able to make out what it said: At least 5 of them cannot be trusted as validly being able to read it, as they failed to reveal their knowledge on the subject until [i]after[/i] i went and spoiled it in the irc chatroom.  Of the other 3, 2 can be 100% confirmed, one of them being myself, of course, as I wrote the damn thing.  As far as the 3rd person goes, there is reason to believe that I may in fact have multiple personality disorder, and so I may have answered twice.  Further investigation is in order on that count, as well.
  13. I used to sell custom mini-blinds.  Okay stop laughing now.  Anyways, we had lots of different styles from aluminum blinds to pvc to wood blinds, etc.. We also had different 'grades' from basic cheap parts and limited colors (for people looking to replace broken blinds in their apartment) to high quality parts that will last forever, have better insulation, etc.. and I spent a whole lot of time memorizing every single little piece of information about all of the different products we offered.  And when I first started trying to sell those blinds, I spent all day long spouting off all this technical crap about the blinds, trying to explain how much more insulation blind A provides over blind B, etc.. etc.. and customers generally yawned and walked away and I really didn't make a whole lot of commission at all.  It took me a while to realize that customers don't give a damn about all the technical crap.  They don't give a damn what the parts are made of, where they are made, how they work, etc.. All they care about is that it [i]does[/i] work (which is just an afterthought, because the fact that it should work should go without saying), but more importantly, how cool it looks/does it fit the look of the rest of their house.  And then how much it costs.  I would imagine that just like selling products in the real world, the design (including what it can do) is what gets the customer to throw their money at you.  I would think that they don't really care [i]how[/i] it works.. I can explain to the customer all day long how innovative and streamlined the code is and all they hear is blah blah blah.  That is why I focus on the design first.  Customers are generally impatient and don't understand the work put into making things work.  If I start working from the inside and work my way out, and the client wants a progress report, no matter how many leaps and bounds you've made on the structure and code etc.. all they generally hear is blah blah blah all the while wondering where the hell their site is and you must not be doing a damn thing because they equate physically seeing the design as the end-all-be-all of building a website. I don't blame them; people just look at things like that in general.  When is the last time you went to go nuke a burrito and thought about how your microwave actually works? Or do you usually just look at it as far as absent mindedly pushing some buttons and waiting a couple of minutes and it magically cooks your burrito?  Same concept.  The point is, cater to the guy handing you your paycheck, not the other way around.  You'll make your life easier by doing so.
  14. here ron i made this just for you! [img]http://www.chroniclesofwar.com/images/justforron.jpg[/img]
  15. Don't be jealous.
  16. you mean like password protect any scripts that access it? changing the chmod on the scripts that don't need user interaction (like cron job scripts)? that sort of stuff?
  17. .josh

    Limewire

    because it's not illegal to run a program that exchanges (uncopyrighted) data between other people.  If that were illegal, then you may as well shut down the whole damn internet.
  18. yeah that's right. cuz you know your place. I pwn j00
  19. ron add #ajaxfreaks to the dropdown for the web client
  20. that is javascript.  what exactly are you wanting to know about it? be more specific. p.s. - moving this to javascript forum
  21. it's shorthand for inserting for instance a variable into your otherwise plain old html. for instance: [code] <?php   $pirate = 'yaaar!'; ?> <html> <body>   a pirate says <?= $pirate ?> </body> </html> [/code]
  22. http://www.phpfreaks.com/tutorials/147/0.php (among other things) shows you how to make your column headers into links to resort your data by that column.  all you really have to do is modify it a bit.  make 2 links instead of one for each name and add a new variable to the link to pass asc or desc and just add that variable to your query.
  23. okay so i went to the tutorial link you provided and they have user/pass authentication using a database.  If you had followed the tutorial all you would have had to do is add more rows to your database table with usernames/passwords and the script would automatically be multi-user compatible.  Frankly, I have no idea where you got the code you provided in the OP, as it only seems to partially match the code from the tutorial.  It looks like you decided to skip the database name/pw check part and add hardcoded variables into your script instead.  if you REALLY wanna do it that way, then see alpine's post.
  24. that html source in and of itself produces white text for me.. p.s.- moving to the proper forum.
  25. yeah so i uh, dropped in and uh..man what a lively bunch.  there was like 10 people in there and nobody talkin' or nothin'.  OR maybe they are all PMing each other and I wasn't cool enough to talk to :/ LoL, NOT.  Everybody knows I'm too sexy for my shirt. ;D
×
×
  • 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.