Jump to content

allworknoplay

Members
  • Posts

    385
  • Joined

  • Last visited

    Never

Everything posted by allworknoplay

  1. Agreed, and you should be able to do this too correct? $bank->user_setup();
  2. Can you use isSet() like that? Are the functions case-sensitive? I thought it was always just: isset()
  3. Ok I see what you're doing. Unfortunately this would be an absolutely insecure way to allow customers to let another domain have access to their systems...this is very dangerous IMO... The customer side would basically have a simple PHP script that allows you access to do arbitrary code, whatever it is that is typed on your edit field to send to the customer. But they still have to host some kind of PHP code..
  4. No seriously, I don't think you can....i've been proven wrong many time though!!!!
  5. I don't think you can nest forms....
  6. I'm not sure I understand the service then. If people want to change files on their domain, what does that have to do with you? I know I'm just not understanding what you are trying to accomplish..
  7. Right, the code on ABC.com would take care of all the tasks of creating whatever directory or file name. All you have to do is really provide it with a couple of POST or GET values from XYZ.com If you can make ABC.com check for a value to make sure that it's coming from XYZ.com then it's a lot safer... So if 123.com wants to make changes, they won't know what the $_POST['account'] value is so they won't be able to come in and make changes...your script on ABC.com would just exit...
  8. Well the account was just for security purposes. I mean for what you're doing, you can make it really simple just to test things out. So for ABC your code would have it check what GET data comes in like: $_GET['account']; Then say that 'account' needs to be: Prez123 in order to allow changes to be made. Then on XYZ, you pass it the account info and the file name or path...let's say file name. So XYZ would post to ABC with www.abc.com?account=Prez123&filename=myfilename This is REALLY a hack way of doing things and I really kinda regret even typing up this kind of method.... You should look into CURL, and have it post data to ABC.com
  9. Your SQL is wrong... INSERT INTO table() VALUES(); You are using INSERT with UPDATE commands...
  10. Yeah you can do this, you just need to provide an account for domain 1 to access the pages on domain 2 to make changes. It's really no different than giving a user access to make changes....
  11. Print out the colors to make sure you are getting the right colors. Also, you might have to trim the results, you could have whitespace maybe?
  12. Oh my bad, you introduced the single quotes that's why...you have to escape those too.. try: echo "<b><font color=\"$profile[\'ncolorid\']\">$profile[\'username\']</font></b>"; But seriously, it's a lot easier and cleaner to do it this way: $username = $profile['username']; $color = $profile['ncolorid']; echo "<b><font color=\"$color\">$username</font></b>";
  13. Agreed. Switch is faster than using If conditionals........
  14. Why should I do your homework for you!!!
  15. hmm...what if you tried it this way: echo "<b><font color=\"$profile['ncolorid']\">$profile['username']</font></b>";
  16. Go for it, I see no reason why not? Just make sure they don't change it to white when there's a white background. haha....
  17. No, but according to his code, I think he was saying that if you use this function, it will provide the DNS for the hosted mail... getmxrr()
  18. that seems to have fixed this problem... why exactly was it doing that? It wasn't doing anything, you're the one that escaped the wrong character...LOL.. Anyways, when you don't provide the font color what it's looking for, it just guesses the color... I like to used hex colors so I know exactly what the color will be. Also, font color is really the old way to do things. Look into using SPAN tags to change your font colors...
  19. You're escaping the tag, not the double quotes....try this... echo "<b><font color=\"" .$player->ncolorid. "\">".$player->username."</font></b>";
  20. You should use: strip_tags() function before inputting into the DB then......
  21. Right. Her/His best bet is to provide a registration link for the newly signed up individual to validate..... If after say 36 hours, you don't click on it, the account is invalid or gets deleted...whatever...
  22. I assume she's not working Yahoo.... =)
  23. THere's no such thing as checking if an email address is REAL.(like if someone is using it) You can only check if the syntax is correct.
×
×
  • 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.