Jump to content

allworknoplay

Members
  • Posts

    385
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

allworknoplay's Achievements

Newbie

Newbie (1/5)

0

Reputation

  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!!!
×
×
  • 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.