Jump to content

anonymous75178

New Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

anonymous75178's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm creating a registration form using AJAX. My question is, if I'm dealing with passwords, when is the best time to encrypt? 1. Do I send the password without encryption to the php file then encrypt it? 2. Do I encrypt the password using JS then submit to the php file? 3. Should I do something else?
  2. I don't know what you mean by that in this instance. I've tried creating some basic xml document but didn't have much luck, but that could be because I don't know much about it
  3. http://www.sec.gov/Archives/edgar/data/1288776/000119312510030774/0001193125-10-030774-index.htm I'm looking at the xbrl files at the bottom of the page. I'm wondering if its possible to capture this data and use it in php. I don't know much about xml/xbrl and it seems to be different than xml
  4. Fixed it with mysql_query("SELECT * FROM `{$symbol}`")
  5. I've written this simple function that is taking array values and searching two tables to see if they exist. The first one is having the issue, "SHOW TABLES LIKE" None of the values exist in the database except apple, yet they are all coming back true. The second query "SELECT * FROM stocknames is working correctly. $symbols = array('apple','joe','steve','adsffds'); function checkStockNames($symbols) { if(is_array($symbols)) { echo "<p>This is an array</p>"; foreach($symbols as $symbol) { if(mysql_query("SHOW TABLES LIKE '".$symbol."'")) { $query = mysql_query("SELECT * FROM stocknames WHERE symbol = '{$symbol}'"); if($data = mysql_fetch_assoc($query)) { echo "<p>{$symbol} is {$data['name']}</p>"; } else { echo "<p>{$symbol} does not have name information.</p>"; } } else { echo "<p>{$symbol} does not have a table in the database.</p>"; } } } else { echo "<p>This is not an array</p>"; } } checkStockNames($symbols);
  6. Yea there is.. i deleted it and it showed up. However I'm still having an issue with WAMP.. I'n my hosts file I have 127.0.0.1 local.whatever.dev which is located under 127.0.0.1 localhost my vhost file looks like this: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/html/whatever/trunk/" ServerName local.whatever.dev ServerAlias www.whatever.localhost ErrorLog "logs/local.whatever.dev-error.log" CustomLog "logs/local.whatever.dev-access.log" common <Directory "C:/html/whatever/trunk/"> Options Indexes FollowSymlinks AllowOverride all Order allow,deny Allow from all </Directory> everytime i type local.whatever.dev it kicks me to the root instead of /whatever/trunk/
  7. I'm working with beanstalk SVN and tortoise.. basically the problem is the server isnt reading the specific "trunk" folder as you can see here http://www.davidsheeley.com/postedpics/trunkproblem.jpg any ideas on how I can get this folder to work? I'm using WAMP.
×
×
  • 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.