Jump to content

ajetrumpet

Members
  • Posts

    195
  • Joined

  • Last visited

1 Follower

About ajetrumpet

  • Birthday 05/26/1980

Profile Information

  • Gender
    Male
  • Location
    USA
  • Age
    39

Recent Profile Visitors

2,423 profile views

ajetrumpet's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. are you telling me that I've violated the rules by cross posting and not telling you guys? if I remember, I've done that a few times in the years that I've been here. but rarely. by the way, I'm talking privately to Ernie over on PHPhelp.com
  2. well, considering that you've said this, I'd say you've shown that you know how to work in this industry. regarding the subject though, I'm guessing you guys have nothing for me at this point?
  3. and you're getting that error, where? are you the programmer or the user? this forum? you didn't say that, did you? I'm guessing you're joking anyway. however, assuming that you use github: https://www.php.net/manual/en/function.imagecreatefromjpeg.php https://github.com/libgd/libgd/issues/206 https://stackoverflow.com/questions/21503792/imagecreatefromjpeg-http-request-failure but on the other hand, perhaps you're getting it because software is not perfect and not all calls, regardless of kind, work all the time because there are millions of factors involved in failures of all kinds? No human being can know it all? hmmmmmmmmmmmmmmmmmmm
  4. why don't you explain to me what the difference is between a class and an interface, in your own words. that OK? by the way, why are you interested in beautiful girls? most of those are not really that smart. 😃
  5. why don't I just say this? what do you guys do when working with foreign developers to help them understand that too much professionalism ends up being a nightmare for everyone? I've already mentioned that this work is pretty darn simple. is that better?
  6. I didn't say that. so, can you offer anything else? I always love your snide remarks. 😃 so what do you think about this URL by microsoft? https://docs.microsoft.com/en-us/office/vba/api/excel.workbook a workbook object inside of excel is an API!? LOL. yeah right. (or rather, PART of an API??). yeah, definition is correct, sure. but when human beings in the real word say API, they would never do that if they were talking about objects inside of a program like excel. they would say that for heavy coding initiatives like SOAP, REST, etc....
  7. can you guys help with this a little bit? i've been in so many companies. I get so sick of this. people throw terms around all the time and a lot of times, at least what I've noticed, is that a lot of people don't even really know what they're talking about. take for instance, this: https://www.php.net/manual/en/class.iterator.php if you consider the link, it is calling the iterator a class. but, in the article it is described as an interface. to me, that's just ridiculous. you see, what's going to happen with that, is that I'm going to go into a meeting next week and some person from india is going to argue with me about ""well, no, a class is not an interface.....yada yada..."", and on and on and on. obviously this is extremely simple, and most CEOs understand that. I've never understood why engineers do not. it's nothing more than a hierarchy. everything is. sooooo.....to start here, does anyone reading this understand what I'm trying to say? This is nothing more than information management, as everything is anyway. That's why it's very simple. at this point, I would think that no one should have to write code anymore, even if the concepts of low code and no code did not exist. code is so patternized anyway, and there are only so many objects on Earth to mimic in the electronic world, is that not why frameworks were created in the first place? let us start there. comments anyone? thanks. Adam
  8. this is literally the only thing you said that I wasn't aware of. thanks! I think that pretty much gives me everything I need. your words to describe what PHP does what that line of code was really what I was after, more or less. wonderful! 😃
  9. Barand, that does not give me what I need. does it say what I was looking for? If it did, I must have missed it. here's an example of what I need an explanation of: why do the following 2 blocks of code work the same way and output the same string value, even though single and double quotes are being used for both? $var = 'value'; echo '$var'; echo 'value'; or am I incorrect? I did not test those examples, but I know I have written many instances of this type of thing in the past and it has worked.
  10. I don't think I've asked this before have I?? can someone give me an internet KB that gives me all scenarios that warrant using singles or doubles? as in, wrapping values, variables, and why I need to do either, and when, etc, etc....? thanks
  11. if I have a list of 5,000 bots and their server header into in my DBs, can someone point me to a web resource that can give me any insight into how to show a custom page if a bot is detected at the render request? I can look up PHP functions myself and possibly use header(), but didn’t know if anything special was involved that I don’t already know about. so, say for instance, as a joke I want to do this: <?php $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); if (substr($ip, 0, 3) = '10.') { echo 'sorry, but we do not display content to USA government's automated server sniffing bots.'; } ?> how much of a pain in the rear would it be to display custom pages for ‘‘x’’ number of automated hits? I realize that this is pointless because most are just from researching orgs the world over, but it IS a relevant question to ask. thanks.
  12. OK, so the answer to my question is that it's the fault of DNS configurations by whatever they are using as a host/server resource? if that's the case, that's all I need to know.
  13. can someone explain to me why PHP returns so many different variants when throwing out visitor info using this piece of code? $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); here are some examples I have seen recently: planetlab24.gino-research.net.in.tum.de 10.32.64.124 49.129.197.35.bc.googleusercontent.com abts-north-dynamic-142.110.68.182.airtelbroadband.in 173-20-152-84.client.mchsi.com now, obviously i can understand the google one, and a few others. but, given the info and insight on these pages: https://www.php.net/manual/en/function.gethostbyaddr.php , and https://www.php.net/reserved.variables.server , why are the returns so different for different people? why does PHP see all different kinds of things? is the cause the way the user’s server is configured? some identifying info OF the server? and what about reserved IPs? like the “10.xx…” one I listed above? I’ve seen hundreds from that pool, and other blocks of reserved ones, and they have never had alpha-chars included in their captures. it’s always only the IP numbers. there a reason for that? really, all I’m looking for is why I see what I see. anyone help? furthermore, does anyone know if other server-side languages like c#, python, ruby or any js frameworks return different results than PHP ever would? thanks.
  14. ok then. I've never used a local testing server. can you point me to any docs other than what I've already found, that can teach me like a 2 year old? https://www.apachefriends.org/docs/ https://www.apachefriends.org/faq_windows.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.