Jump to content

ginerjm

Members
  • Posts

    6,906
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by ginerjm

  1. Did you pay someone to write this for? Because if you did, you got ripped off. The person who wrote this knows only slightly more about PHP than you do. This code is a mish-mash of html, php, js all tumbled together and making no sense to a newcomer trying to help you. Here's the first thing that was written stupidly. You took the dates for your holidays and built a string with brackets in it. Why? To do searches for specific values? Why not build an array and simply use a proper array function to find a date value in the array? If you are going to do a search of a string, why the brackets? It looks to me like someone THOUGHT they were creating an array, but alas, they were not using the correct syntax. I tried to follow some of the rest of this but gave up. Really this is (in the most gentle term I can think of) crap. Give it back to whoever wrote it and tell him/her to do a better job, or better yet, both of you sit down and take a PHP course together.
  2. It is definitely a focus issue. NO amount of clicking achieves focus in the browser window though. Switching to other apps and back, closing the mail message window, even opening up another browser window (which does scroll!) and switching back doesn't achieve the proper focus. BUT - I discovered that if I maximize my problem browser scrolling works. Un-maximize it tho and the focus issue returns. Oh, well... such is life.
  3. I know it seems impossible, but it is happening suddenly and doesn't seem to be going away. If I click a link from one of your emails the url is this: http://forums.phpfreaks.com/topic/302056-scrolling-in-topics-referred-by-an-email/?do=findComment&comment=1536944 If I manually open up php freaks and navigate to the same topic the url in the address bar is this: http://forums.phpfreaks.com/topic/302056-scrolling-in-topics-referred-by-an-email/?do=findComment&comment=1536944 Arriving at the page using manual navigation allows for proper scrolling, even tho the address bar looks identical. To compound the issue, if I use the email link and then modify the address bar to remove the #... part and hit enter, the page reloads at the top of the topic and scrolling now works. No - I can't see any difference. And no - I am not doing anything out of the ordinary. I'm simply trying to do what I do everyday - until the last few days.
  4. IMPOSSIBLE! You have output a slew of html according to what you have posted. I believe you are NOT showing us all of your code to this point. That html can not possibly be heading to the browser and must be going to a php var or buffer at this point.
  5. Well - I clicked on your email link and here I am - unable to scroll the easy way. Yes - I have re-booted recently. Haven't noticed any other problems. The question is - why does it happen when I use the link in your emails but not when I open it up by clicking on a desktop icon pointing at the php forum?
  6. Something is wrong with the line you provide in emails re: any topic I am following. When I use the email link to get to the topic my scroll wheel on my mouse doesn't work, nor do the arrows on the window's scroll bar. I have to grab the moving part of the scroll bar to scroll. Yet when I open up the site manually I have no problems at all. This only started happening in the last few days. In fact it works right now as I am composing this note.
  7. It's a complete waste of time in your entire learning experience no matter where you go if YOU don't take the time to do some reading and research to advance your OWN knowledge. Have a good life.
  8. It doesn't matter. You just have to ensure that anything that is meant to be part of $message is included in the string you assign to it. If you can't handle a simple string assignment at this point you probably shouldn't be tackling this project. I'm not going to show you cause that's the kind of guy I am. Figure it out yourself and you will have learned; have me do it and you don't learn a thing.
  9. Do you not know anything about strings and quotes and single quotes? Your html is wrongly quoted. Look at it.
  10. Why do you keep mentioning FTP Server???? We don't care if it's an ftp server. We do care if it serves PHP otherwise your script won't run. How about showing us line 6 and the lines around it so we don't have to guess? Try and make it easier for use to help you! Also - do you have PHP error checking turned on???
  11. It is not just HTML being output that causes this. It is ANY character including a space. The real way to avoid this is to keep ALL of your php code blocks above ALL of your html output. Start in php mode and don't leave it until you are done with your php logic.
  12. Does your ftp server ALSO run php? As for sending an html email, you need to include some additional headers to make that happen. As for the template, you will have to work that out as I'm sure you must have some bits of data that you want to insert into the rest of that html, no? You need to setup your template to incluee the dynamic parts as PHP vars and then just read that in and output into your $message var.
  13. Not sure what you are looking for. What 'name' are you seeking? Are you looking for a server's domain name perhaps?
  14. the manual just points out that the behavior is to be expected. It's not the fault of the function. Did you check that the address you are providing is proper? It does mention invalid input being a problem in the examples.
  15. While this is not an answer your question is describing expected behavior or this function. Check the manual.
  16. start_date is apparently NOT an integer, ie, a time value. You need to do a strtotime() on it before trying to format it is a viewable date/time value.
  17. My hoster uses a similar structure - "/home/mydomainnameabbrev/php". Note the leading slash. I also can use $_SERVER['DOCUMENT_ROOT'] . '../php' to access my php folder. I can't believe that godaddy is removing access to the DOCUMENT_ROOT element so I'm guessing you simply miscoded it.
  18. Per the manual, this operates as written. Check it out.
  19. OP - if you think Barand 'flamed' you you haven't seen anything yet. Barand is one of the MOST helpful on here so if he took the time to do what he did he is TRYING to tell you something but you aren't getting it. You were told twice to stop doing the extra (first) fetch and you didn't get it. Hard to "not understand" something that direct so I don't blame Barand for his last response. Neither should you.
  20. IF you really must find out the number of results, have you tried odbc_num_rows function to see if it works with your driver?
  21. ginerjm

    Join

    And WHAT happens? BTW - is it 'teams_id' or 'team_id'?
  22. Sounds like a JS question.
  23. You're new to PHP? And YOU wrote this huge class yourself? Nah... you copied it from someone. Why not ask them how to do whatever it is you want to do. I don't understand your post's question so maybe you can explain it better to the author(s).
  24. Forgot to mention. If you turned on php error checking you would probably have received a hint as to what the problem was. See my signature.4
  25. From what I read it seems like you are changing your godaddy plan. I know that godaddy is not the best hosting company in the world, but shouldn't they be the ones 'moving' your 'site' from your old plan setup to the new one?
×
×
  • 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.