Jump to content

-twenty

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Contact Methods

  • AIM
    CertisConsulting
  • MSN
    brody@certis.ca
  • Website URL
    http://www.brodybell.ca

Profile Information

  • Gender
    Male
  • Location
    Canada

-twenty's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I tried searching but came up empty handed, hoping you guys can give me some assistance. I have a login script that I would like to lock down a little from flooding. What is the easiest way to do this? Something that will restrict the IP if the script encounters x amount of failed attempts in x amount of minutes. Thanks!
  2. Are you referring to something similar to how Kijiji creates sub domains for certain cities? ie: http://toronto.kijiji.ca http://vancouver.kijii.ca Pointing them to the same location, but the output of the page is based upon the dns suffix currently being used? Ie: Toronto returns results from the Toronto database, etc.?
  3. Which one do you guys use and why? I'm looking at the pros and cons of both applications and just wondering if anyone has experience using both these applications.
  4. I've used dotProject many times and I love it, for the cost it's a great app.
  5. Microsoft has an AJAX Toolkit that includes a pretty snazzy little WYSIWYG editor, might want to check it out.
  6. What kind of detail are you looking for? If you wanted to echo it... <?php echo $_GET['varname']; ?>
  7. To pass variables in your URL, and then use them in the page can be done like so: URL with variable:http://www.yourdomain.com/index.php?title=texthere Echo on the page (as the title, in your case): <title><?php echo $_GET['title'] ?></title>
  8. Looks like a pretty robust little app. I entered "Test Test" as my firstname, and it said I cannot have numbers in my first name. Might want to check that out. Other then that, great job!
  9. I haven't tested your application as I don't readily have a .NET testbed outside of work, but I really like the appeal of your website; very professional and Web 2.0ish. Best of luck!
  10. Not sure if you need to do this with .htaccess, but you can setup a PHP page with a form allowing for input of your variables and would execute like so: [*]Post your variables, entering them into a database table [*]Upon sucessful post/validation of the text, redirect the user to the PDF via <? header(location: mypdf.pdf); ?> Hope this helps!
  11. Full blown Management Studio is available for you to use if you actually own the SQL Server license itself, otherwise you can download Management Studio Express from MSDN which is basically the same thing minus some functionality that may not be important to you as your webhost should be responsible for (maintenance plans, SQLMail, etc.)
  12. Same thing... *sigh* <?php $eventsquery = "SELECT * FROM events WHERE PO = $thispo"; $eventsqueryhandle = mysql_query($eventsquery) or die ("Events query failed: " .mysql_error()); for($count=0;$eventsrow = mysql_fetch_array($eventsqueryhandle);++count) { echo "<tr>"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['date']</td>\r\n"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['userid']</td>\r\n"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['details']</td>\r\n"; echo "</tr>"; } ?>
  13. Hi all, I'm having some problems with a simple query and can't quite figure out what the cause is.. I've searched the syntax error, but it doesn't appear like I am missing anything. Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM on line 74 <?php $eventsquery = "SELECT * FROM events WHERE PO = $thispo"; $eventsqueryhandle = mysql_query($eventsquery) or die ("Events query failed: " .mysql_error()); for($count=0;$eventsrow = mysql_fetch_array($eventsqueryhandle);++count) { echo "<tr>"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['date']</td>\r\n"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['userid']</td>\r\n"; echo "<td class=\"neworder2\" align=\"center\">$eventsrow['details']</td>\r\n"; echo "</tr>; } ?>
×
×
  • 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.