dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: ginerjm

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds; generated 27 minute(s) ago.

  1. destroy? As in 'session_destroy'? Of course it...

    destroy? As in 'session_destroy'? Of course it will remove your session vars!!!!

    As V says above - use a db to store all that registration stuff.
  2. I don't see ANY Session usage in this script at...

    I don't see ANY Session usage in this script at all. What is the problem here?
  3. Replies
    5
    Views
    254

    I'm confused by your code. Could you post it...

    I'm confused by your code. Could you post it with simply one comment on the 'bad' lines so we can see the true code?
  4. Show us the Other script that doesn't work.

    Show us the Other script that doesn't work.
  5. Replies
    13
    Views
    491

    At the top of every script (that doesn't use...

    At the top of every script (that doesn't use classes) you do a session start so that you always have it ready when you need it. You don't put it in the included files, just the main script that gets...
  6. Replies
    13
    Views
    491

    What you do is log them in and create a session...

    What you do is log them in and create a session var ($_SESSION['is_logged_in'] perhaps) with a value of their user id. Then whenever they use the system, they first login, the session var gets...
  7. Replies
    5
    Views
    315

    Have you ever read the manual? Ever looked up...

    Have you ever read the manual? Ever looked up any MySQL function to learn how it is to be used? You'll the warnings.

    Try it. You'll like it.
    ...
  8. Replies
    5
    Views
    315

    You have to completely switch away from using...

    You have to completely switch away from using MySQL functions as nogdog says. You can't establish a db connection in one interface and then try to use mysqli (a different interface) with it.
  9. Replies
    47
    Views
    1,914

    1 - still have that stupid @ on the mail call I...

    1 - still have that stupid @ on the mail call I see...

    2 - Is this how the code looks in your editor? (not on your server)

    Here is my re-working of your posted code. Let's see what shows up...
  10. Replies
    13
    Views
    491

    To add to nogdog's posts: You don't need to...

    To add to nogdog's posts:

    You don't need to have the user and password values in SESSION vars. You simply retrieve them from the POST array in your script and save them in local vars, sanitize...
  11. Replies
    47
    Views
    1,914

    As I said - try removing those lines in your...

    As I said - try removing those lines in your EDITOR and see what happens when you post it here. You probably have lines with invalid chars in them and they are being translated.
  12. Replies
    3
    Views
    271

    I think there is a random function in sql syntax....

    I think there is a random function in sql syntax. You'll have to do some research in an sql reference.
  13. So? Same thing - you just have to write some...

    So? Same thing - you just have to write some code to do whatever you want to be done.
  14. Not sure what you are trying to do. Do you have...

    Not sure what you are trying to do. Do you have remote users with access to your system, ie, database privileges, and not just access to your application? Are you trying to remove those privileges?...
  15. Replies
    47
    Views
    1,914

    Just remove all those * lines and replace them...

    Just remove all those * lines and replace them with comments lines or whatever you want there/.
  16. Replies
    5
    Views
    337

    Why don't you simply start your session and check...

    Why don't you simply start your session and check for specific values in it to see if logon has occurred?
  17. Replies
    47
    Views
    1,914

    There is nothing wrong with the line you just...

    There is nothing wrong with the line you just posted. Try showing us some lines above that too. and the exact exact exact error message.
  18. Replies
    47
    Views
    1,914

    I don't think I am offended. Not yet at least....

    I don't think I am offended. Not yet at least. :)

    All I'm asking is that you post according to the forum rules to make the code a bit easier to read. And that when pointing out errors that you...
  19. Interesting reply since the user did not mention...

    Interesting reply since the user did not mention real-time needs. His statement merely suggests that he doesn't know how to get the dropdown selection into a php var. He also misuses so many terms...
  20. The value of the dropdown will be available in...

    The value of the dropdown will be available in the php script that gets called by your webpage in either the POST or GET array, depending upon your submit. Look for $_POST['payflag'] or...
  21. Replies
    47
    Views
    1,914

    1 - please use the appropriate tags when posting...

    1 - please use the appropriate tags when posting code here. That would be php and /php in square brackets I believe.
    2 - please show us the exact line that is getting the error so that we can focus...
  22. Replies
    2
    Views
    325

    Show us.

    Show us.
  23. Show us the code and indicate the line giving the...

    Show us the code and indicate the line giving the error based upon the number in the error message
  24. Replies
    47
    Views
    1,914

    Drop the @ sign on the mail call. A silly...

    Drop the @ sign on the mail call. A silly feature of php that really has no use. If there's an error, shouldn't you be informed of it and correct it before going live or at least attempt to handle...
  25. You could still make this code easier to read by...

    You could still make this code easier to read by using css instead of all that inline styling. You could use better tabbing of your code to make it more readable. You could split out your logic...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles