Search:

Type: Posts; User: chris.cavage

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: CMS: How to Keep A User Logged In

    Thanks for the insight. I have not used classes yet. I will take your advice and research it. I'll eventually redo my CMS since I've learned so much since I started it. And using classes seems...
  2. Re: Trying to add time to function

    Well, that was easy!

    Thanks a ton.
  3. [RESOLVED] Trying to add time to function

    I found a function that will find how long ago a date occurred:



    function get_time_ago($time_stamp)
    {
    $time_difference = strtotime("now") - $time_stamp;

    if ($time_difference >= 60...
  4. Re: CMS: How to Keep A User Logged In

    On my login page now, when a user logins, multiple session variables are created for: user_id, default_location, default_provider. This information is used to auto complete forms and for queries on...
  5. Re: CMS: How to Keep A User Logged In

    Thank you for the responses... I'll get to work on this.
  6. [RESOLVED] CMS: How to Keep A User Logged In

    I created a CMS using PHP/mySQL.

    My login page is a simple form: username and password.

    If a user is not logged in and tries to visit an admin page, then he/she is automatically directed to the...
  7. Replies
    17
    Views
    1,568

    Re: New laptop advice

    I bought the new macbook pro retina, 15 inch, 16 gm ram, 256 hdd. Also bought 2TB time capsule... LOVE IT.
  8. Replies
    17
    Views
    1,568

    Re: New laptop advice

    Good advice all around. Thanks.

    I was thinking of getting a good NAS drive to use as external storage instead of upgrading to 512 gb SSD (that is, if I ever need more storage). Do you use one?...
  9. Replies
    17
    Views
    1,568

    Re: New laptop advice

    I wanted to revive this thread. I never got a new laptop.

    However, I am on the verge of buying the newest Macbook Pro w/ Retina display.

    The one I am thinking of getting is this one:
    ...
  10. Re: Chrome Only Autosuggest Issue

    Thank you so so much. tr333, that solved my problem. I owe you.

    I will read more about your suggestions also.
  11. Re: How easy is it to learn how to play the guitar?

    I love playing guitar.

    One of my biggest regrets in life was stopping my guitar lessons when I was around the age of 9. I had a great teacher who showed me amazing things. He left and was...
  12. [RESOLVED] Chrome Only Autosuggest Issue

    I used php to create a CMS.

    I made an autosuggest text box that queries my db using ajax. The autosuggestions have been popping up perfectly for almost a year. And then suddenly something...
  13. Re: php move_uploaded_file without single quotes

    Thank you very much for that link. I couldn't find anything like that. It helped solve my problem.
  14. [RESOLVED] php move_uploaded_file without single quotes

    I'm trying to move a file to my server and restrict/remove apostrophes from it.

    Here's what I have now:



    move_uploaded_file(str_replace("'", "", $_FILES["File"]["tmp_name"]),...
  15. Replies
    4
    Views
    436

    Re: Print Array

    *phew*

    Glad to hear.

    Thanks penagate!!!!!
  16. Replies
    4
    Views
    436

    Re: Print Array

    Thanks penagate. I was researching arrays and the implode function prior to posting this.

    I didn't know you could implode an array by "\r\n". That solved my problem nicely.



    I query my db...
  17. Replies
    4
    Views
    436

    [RESOLVED] Print Array

    I am using Zend mail to send an email to people on their birthdays.

    On my php page, I query my mySQL database and form an array of information:



    mysql_select_db($database_connect,...
  18. Re: [RESOLVED] Javascript: Adding Month To Current Date

    Thanks. I did reference the script and used it, but for some reason I got the same issue. I can also use your suggested code above - as I see that works just fine. Thanks a lot!
  19. Re: Javascript: Adding Month To Current Date

    Thank you for taking the time to respond. I was messing around with that library. I like it a lot.

    It was giving me the same problem though.

    I figured out how to solve it actually...
  20. [RESOLVED] Javascript: Adding Month To Current Date

    Hello!

    Here's the code I am using to add 6 months to today's current date.

    It uses jQuery also. When the "6months" checkbox is checked, I want to have 6 months added to the current date and...
  21. Re: Login URL Redirect Not Working

    A-ha! I figured it out!

    Should end like this:




    if (isset($_SESSION['PrevUrl']) && true) {
    $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
    }
  22. Re: Best Practice: Multiselect List

    Thanks FunkyDexter!!
  23. [RESOLVED] Best Practice: Multiselect List

    Using php/mysql.

    I have a form to submit info to a table.

    On the form I have a multiselect list box. Is it better to store a comma delimited string to one single field in the table once the...
  24. [RESOLVED] Login URL Redirect Not Working

    Using php/mysql.

    Based on access levels, if someone tries to get to an admin page (if they are not logged in) then the user is directed to admin.php

    The URL of admin.php has a URL variable...
  25. Replies
    0
    Views
    808

    Using PHP/MySQL for Email Reminders

    Using php/mysql

    This is tricky! I am setting up a CRON job to run a php file daily.

    I have a record for customer information. The contacts table has the info for them with fields like:

    ...
  26. Replies
    17
    Views
    1,568

    Re: New laptop advice

    Lenovo, eh? I heard good things about them.

    Thanks.

    I will check into the Mac Pros for now.
  27. Replies
    17
    Views
    1,568

    Re: New laptop advice

    I am wondering if a mac is worth it.... do they last longer? Easier to use? Hmm...
  28. Replies
    17
    Views
    1,568

    Re: New laptop advice

    Oh, ok.


    *ten minutes later...*

    Wow, quad core with 8gb for around $2000!
  29. Replies
    17
    Views
    1,568

    Re: New laptop advice

    Rhino, did you buy the best mac pro they have and then added more ram?
  30. Replies
    17
    Views
    1,568

    Re: New laptop advice

    Thanks for the advice.

    Glad to hear others have the mac pro and it's recommended.

    I liked the portability of the air, that's the main reason I wanted it.

    I read that just maybe in a few...
  31. Replies
    17
    Views
    1,568

    [RESOLVED] New laptop advice

    I have been using a Dell Inspiron 14" 640m for over 5 years. Runs Windows Vista.

    I have been thinking of replacing it.

    I spend most of my time doing php development using Dreamweaver. I also...
  32. Replies
    7
    Views
    675

    Re: [RESOLVED] CRON: PHP Page

    Ok, I adjusted the .htaccess file to disable it.
  33. Replies
    7
    Views
    675

    Re: [RESOLVED] CRON: PHP Page

    I see!

    How do you turn off directory indexing so a list of all the files in a folder will not appear? I like that idea. Any downside to that? I think I could definitely do that instead.
  34. Replies
    7
    Views
    675

    Re: [RESOLVED] CRON: PHP Page

    Even though no one else should guess it, could someone find the file in my public directory anyway and open the page, thus running the query?

    I didn't know crawlers won't go to it if it isn't...
  35. Replies
    7
    Views
    675

    Re: CRON: PHP Page

    I didn't know that. Thanks. I'll make the changes.
  36. Replies
    7
    Views
    675

    [RESOLVED] CRON: PHP Page

    I created a CRON job that runs a .php page every day.

    The php page queries a mysql db to find all appointments from yesterday and then sends them a thank you email.

    It works just fine.

    I was...
  37. Re: Upload File: Reference in DB

    penagate, I see what I did there. No sure why I did that. I made the necessary changes.

    Feras - yes! I can't believe I did that too!!! That was a homerun for me, making that change.

    In...
  38. [RESOLVED] Upload File: Reference in DB

    Using php/mysql.

    I had this form working just fine and something happened!
    It's a simple upload file and information form to my db.
    The user can add upload a file to his directory (directory...
  39. Replies
    10
    Views
    634

    Re: Allowing Users to Delete?

    Thanks for the advice. I got this sorted now.

    Users can delete the records if they are not tied to anything else. Otherwise, they can make them inactive.

    Thanks!
  40. Replies
    10
    Views
    634

    Re: Allowing Users to Delete?

    Ok. I am going to allow them to delete if nothing is tied to it. Otherwise they could only disable the categories.

    I have a ton of work to do on that - I have multiple administration options...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4