Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by 748323

  1. 748323

    Can cURL work off of the brower's cookies?

    I know how to use cURL, but I've always had to manually plug cookies into the script. Can cURL work off of the browsers cookies? This would probably be very dangerous, so I doubt it can, but its worth knowing. Thanks.
  2. 748323

    Sessions Question

    Maybe there is no more space on your server to keep Session information saved? I took a very quick look through the script, and couldn't find anything wrong.
  3. 748323

    Once per session

    How I would do it: -Use cookies to keep track of who has viewed a photo. Sure, they can be cleared, but its safer than nothing.
  4. 748323

    Form value problems

    Placing: foreach($_POST as $key => $value) { $$key = $value; } in the beginning may work. Try it.
  5. 748323

    Basic Question regarding PHP

    You are dealing with variables, and variable variables. All variable names in PHP start with $. Example: <? $name = 'scorpion'; echo $name; will display 'scorpion' ?> Variable variables are just what they sound like. They are variables, with a name that's also changeable. So... $name =...
  6. 748323

    Function to return prime factors

    I did it! Never give up.
  7. 748323

    Function to return prime factors

    I need to do this by myself. I'll keep trying. Its just going to click one day.
  8. 748323

    Function to return prime factors

    Err.. I can't do it. I tried, but can't. Help is welcomed. Thanks.
  9. 748323

    Function to return prime factors

    Wait. Let me try this. I know I can do it. I'll run back here if I can't do it by tonight.
  10. 748323

    Function to return prime factors

    Grr.. I've been trying to figure this out for a few days now, but I can't figure it out. I've been into PHP for about 6 months now, so I know the functions needed. I just can't convert it into code. Here is a function I made to return the first pair of factors that isn't 1 or the number. 20...
  11. 748323

    Searching a string for text

    strpos() is less of a memory hog than strstr(). Use the first.
  12. 748323

    Insert Data Form Trouble

    Umm... You really aren't using PHP to the fullest. Here is my mini-tutorial on how to use foreach statements: foreach() is a loop in PHP that will run through arrays. It only works on arrays. It is usually set up like this: foreach($Array_name as $key => $value) { block of statement; } That...
  13. 748323

    Creating an online proxy. Help with masking your IP?

    I figured it out. I have a question: What I did, was make a script on my server that uses my cookies to communicate with a separate forum. I used cURL to log in as me, and change my forum signature to anything the user wanted. If the admin looks at the logs of my username, he will notice...
  14. 748323

    Creating an online proxy. Help with masking your IP?

    Nothing shows up. Why is this the wrong place to do it? Its not illegal, is it? Its just for security.
  15. 748323

    Lengthening PHP sessions

    Why not use cookies? The third parameter of the setcookie function lets you determine when the cookie will expire.

Part and Inventory Search

Back
Top