Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. I didn't want to test it out, but I believe the bcc field allows you to add more recipients. It should be turned off as well.
  2. I think that since this is a PHP forum/website we should make a competition in PHP and not webdesign, then the application should be judged on the coding and not the design.
  3. Try using the one I gave on page 1, it should work if sessions work on your server.
  4. Would something like this do what you want? [code]<?php $result = mysql_query("SELECT * FROM users"); while($user = mysql_fetch_assoc($result) { echo "<a href='index.php?profile={$user['id']}' title='{$user['real_name']}'>{$user['username']}</a><br />"; } ?>[/code]
  5. Use output control: http://php.net/outcontrol The reason of the error is that you output something before sending a header, and you can't do that since headers are the very top of the HTTP request.
  6. It's too wide and white.
  7. But it helps against dictionary attacks, but then there is of course rainbow tables.
  8. An easy version could be: [code]<?php function random_password($length=8) { return substr(md5(microtime()),0,$length); } ?>[/code]
  9. As printf said, you can't output and then send headers, you do not need to use output buffering though, just move the doctype declaration below your PHP code block.
  10. I personally like TinyMCE that mwmobley suggested. I found another this directory on Google: http://www.htmlarea.com/ It might help you to find one you like. An alternative is of course to code your own.
  11. Could you display the entire code? It could be your webmail interface/email program that causes the problem, try with multiple clients.
  12. Make sure you use a totally random password - something like: F8hkh8y3ha (even better if there are special characters like !,.-$ etc. in it). Nothing may be a word in any dictionary forward or backwards. Nothing may be ralted to you (birthday etc.).
  13. I don't get what you mean? Do you mean bread crumbs or do you mean how to dynamically create a menu?
  14. [quote author=neylitalo link=topic=110379.msg446159#msg446159 date=1159898055] Yes, the sandbox does fix that. You just have to change the action="" attribute of your PayPal form. It normally points to https://www.paypal.com/something, but you need to change it to point to https://sandbox.paypal.com/something. I believe that's the URL, anyway - look around and you'll find it. [/quote] You just need www. in front of it, so it is: https://www.sandbox.paypal.com/
  15. [quote author=paul2463 link=topic=110380.msg446088#msg446088 date=1159892641] and change the first $num line to [code] $num = rand() % 56; [/code] [/quote] What would that help?
  16. Name your fields like this: [code]<input type='file' name='the_name[]' /> <input type='file' name='the_name[]' />[/code] and then do something like what michaellunsford showed you.
  17. [quote author=shivabharat link=topic=110385.msg446098#msg446098 date=1159893099] Hi, If you are using MySQL refer DATE_FORMAT(date,format)  function. [/quote] I would suggest to store a UNIX timestamp instead, that makes it easier to sort dates, format it different formats using date() etc.
  18. Chances are somebody got your password so you better change it.
  19. Apparently ODBC do not contain a ping function like MySQL does, but try running the ping command using [url=http://php.net/system]system()[/url].
  20. PayPal has a developer center that contains some information about this topic: https://developer.paypal.com/
  21. Try the SDK here: https://www.paypal.com/IntegrationCenter/ic_sdk-resource.html
  22. That is an excellent way to explain it.
  23. The way it is going to be depends on if it's a multiple-choice quiz/test or if the user has to actually enter something.
  24. I don't get the point in it. And Turbowaffle, the link you were shown is PHP5 and upwards code, so make sure your host has that if you're going to use it.
  25. [quote author=roopurt18 link=topic=109742.msg445495#msg445495 date=1159815079] You're not seriously going to stick 100 extra columns into your [b]test_questions[/b] table, are you? You're also not going to stick 500 extra columns into your [b]test_options[/b] table? [/quote] Do you mean me? Because there is only 4 fields in my options table. And for each option there is inserted another row.
×
×
  • 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.