Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Everything posted by ober

  1. I'm almost 100% sure you cannot "exec" a file on a remote server.  You would have to include the file.
  2. 2) Right... but it's the same code.  You could put that into a function.  Repeating giant chunks of code like that is inefficient.  If you have to change something in one, you have to change it in the other.  What's the point in that?
  3. You're going to have to setup a script on your friends server that calls the script on your server.  You can't call your script directly.
  4. Your server or hosting by someone else?  Is the mail server installed and working? Is that an exact copy of your code?  I think you may have the email address spelled wrong.
  5. Ok a few things: 1) I don't totally understand what is going wrong.  Can you describe it better? 2) Your 2 giant if/else blocks... those are identical.  I think you can minimize some of that code quite a bit. 3)    $standings .=                 print "<tr bgcolor=\"#FFFFFF\" align=\"left\" valign=\"middle\">                   <td class=\"table_text\" align=center>".$value["gp"]."</td>                   <td class=\"table_text\" align=center>".$value["w"]."</td> You don't "print" stuff to a variable.  You just set the variable equal to the text.
  6. Please.... for our own sanity... if you're going to ramble for that long, break it up with a few presses of the "Enter" key from time to time.  No one wants to read a giant hunk of text like that.
  7. Can you explain a little better... when you say "the user goes back to the page"... using the back button or your navigation?
  8. You'd almost have to show us the class since that isn't standard PHP.  Normally that should work fine.
  9. Can you clarify what you mean?
  10. But you've proved yourself that it doesn't work.
  11. I'm not 100% sure on this... but I don't think you can update a session using AJAX and have that stick after a page refresh.  The whole point of using AJAX is to refresh the page without moving away from it or refreshing the page.  You may consider writing to a file in the background on the server and storing your information there.  Otherwise, I don't really know of a way around this. You could tie the file name to the session id and just keep a script in one of your pages that deletes any files older than maybe 24 hours.  You could also delete these files when the person leaves the page or logs out.  Not sure what your setup is. Does that help?
  12. It's nothing more than an upload script that parses the format of the specific contact client.  Most of these contact lists are nothing more than CSV-type files.  It wouldn't be hard to write your own and I'm sure you could search the net and find out exactly what formats those programs export to.  And to truly answer your question, you still have to force the user to upload their listing... which may not be easy for some.  The only way to get around that is to use an ActiveX control, which forces your users to use IE and forces them to trust you and install your ActiveX control. But to truly answer your question, I'm not aware of any OTS scripts that exist, but you may want to check out hotscripts.com or somewhere like that.
  13. pstpixplzkthxbai ;) Or you can just send me an emailed zip copy ;)
  14. Yeaaah.... it's kind of hard for me to tell that.  You shouldn't have to do anything special for this site.
  15. It is a security issue (someone decided to exploit it) and that's what happened.  This has been discussed before.
  16. We just hacked the index template for now.  We didn't create an entire theme.
  17. [quote author=businessman332211 link=topic=107342.msg430538#msg430538 date=1157722164] I know how to do it in javascript/ajax, it's just these people said the browsers tehy use/plus other users of the site, are going to have javascript enabled[/quote] .... so I don't see the problem here? 
  18. Actually, for what he's talking about, you can't do it in CSS.  For a tree like that, you're going to have to use JS or flash. But then again, you should have known that with all of your experience.
  19. I'm with C_V on this one... I don't see the connection.
  20. It's actually less than the old one.... and it's really not that bad, TBH.
  21. I'll post my home office later.  I'll have to bring my camera in tomorrow and get the work setup.  My work setup isn't nearly as good as yours.  I'd kill for a second monitor.  :(
  22. Doing this doesn't do ANYTHING. <?php session_start(); $_SESSION['empcode']; $_SESSION['NAMEL']; ?> You only need session_start() at the top of the 3rd page.  The session variables (if set previously) are already there. You can also take those 2 lines out further down. The rest should work if you've got all your capitalization correctly.  Also, throw in "print_r($_SESSION);" to make sure all your variables are making it into the session.
×
×
  • 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.