Search results

  1. D

    Array sorting in php

    Thank you so much! You're a lifesaver!
  2. D

    Array sorting in php

    I'm trying to sort two arrays in php. One is full of strings and another integers. What I want to do is sort the integers by numeric order and then sort the strings the exact same way as integers. The reason it needs to be so perfect us because the first array is a set of usernames, the second...
  3. D

    Submitting a form without leaving a page

    Ok, well are there any other tags I should filter to avoid injection attacks (like in a feedback page)? I currently have meta, script and iframe. Would it be easier to just strip html tags?
  4. D

    Submitting a form without leaving a page

    Ok, I was just curious what to watch out for in the future.
  5. D

    Submitting a form without leaving a page

    thanks for the useful post. I had no idea iframes could be so helpful/harmful. Have you ever seen any severe iframe attacks?
  6. D

    Submitting a form without leaving a page

    I am trying to automatically submit a form without the user knowing. I want the form to run anonymously and not change the page. The issue I have is that I do not have access to the php page that is the action of the form. Is it possible to do this without changing anything in the action page...
  7. D

    Wtf facebook?!

    Its bad enough facebook blocks off using .x10hosting domains for development, but now they have to block them from chat too?! What is up with that? Now I can't even tell my friends about my website. Wtf facebook?! Is anybody else experiencing this issue?
  8. D

    Need experts' opinion

    There are MANY ways to create a login page that stores names and info of members. The most common way is using MySQL, as said above, but what I usually do is save all of the user's information to a text or XML file. Then, use php fread/fwrite to adjust the file as users are added or edited. This...
  9. D

    Help Me in Coding

    I see. Well I haven't had to unlearn much so far (I guess I got lucky) and I've been able to create some pretty elaborate sites so far. I see what you're talking about and why W3Schools isn't the best. As for you snshusat, I recommend the same as misson. Take your time with your sites and make...
  10. D

    Help Me in Coding

    Oh? I've used w3schools for most of my learning although I haven't completely relied on it.
  11. D

    Help Me in Coding

    Looks like you need to start learning. Try http://www.w3schools.com for great tutorials. Once you've done that and you still need help post your problem.
  12. D

    Controling time of user inaction

    If you are using cookies for your login sessions you can set the expiration time of each cookie.
  13. D

    CSS? - background color doesnt stay the same

    I think its a browser problem :O. It works fine for me. What browser are you using?
  14. D

    Finished site

    I recently finished this site for someone. This guy will make and design your own custom iPhone apps for you. Tips for the site are welcome and appreciated!
  15. D

    Run script in current document.

    First of all, ajax is NOT a separate language. It is a combination of javascript, php, and xml. It is really simple and you will NOT need to retype your entire page. Just save the php file that writes to the database into a separate file. Actually look at the tutorials and you will see :D.
  16. D

    Run script in current document.

    Just delete the function from the php file and it will run fine. You also do not need "include" if the user is submitting a form. If you are looking into recieving data from the php file without loading the php page or refreshing the page, I think you need to look into ajax. You can find a great...
  17. D

    Tell me what you think

    Thanks for your reviews :)
  18. D

    Tell me what you think

    My newest project is http://craigcaruso.com/redesign/ . Please help me making it better by posting your feedback. It can be through the feedback website or through the forum.
  19. D

    Deleting from data base using value from form.

    Just some advice: NEVER give out your SQL password. I am warning you edit your password out of the code ASAP. Anybody can access your databases with your password and username. Edit: Although SQL is good to learn, I usually store my comments in a text file and read and write off it for a...
Top