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 Chriss Miller 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 WoodyRoundUp

  1. WoodyRoundUp

    How to kill sessions?

    it depends on you call your code. You can post your code here, so we can help to see.
  2. WoodyRoundUp

    possible to get the fieldname past to a function...

    It's the Global Problem that was not working, not the part where we use "text" as a variable.
  3. WoodyRoundUp

    possible to get the fieldname past to a function...

    Ok. So, what do you have in filledin function?
  4. WoodyRoundUp

    possible to get the fieldname past to a function...

    I don't understand what you mean. What do you want to achive? if let's say: $test="BIG TEST"; $abc="test"; echo $abc."<BR>"; //return test echo $$abc."<BR>"; // return BIG TEST You can't combine it like this: echo $abc.$$abc;
  5. WoodyRoundUp

    possible to get the fieldname past to a function...

    That's what I was suggesting. Did you see the difference there?
  6. WoodyRoundUp

    possible to get the fieldname past to a function...

    Why don't you modify your application a bit. Pass in this: filledin("name1"); filledin("name2"); filledin("name3"); And change your function to: function filledin($naam){ if ($$naam <> "") {return 0;} else {return 1;} }
  7. WoodyRoundUp

    Email Injection (hacking forms) How to stop it?!

    A star from me for both of you.
  8. WoodyRoundUp

    help wanted with a php script

    What do you have in db-config.php? It seems that you are using Windows. Enable this line in php.ini: ;extension=php_mysql.dll Becomes: extension=php_mysql.dll And copy php_mysql.dll from ext folder of your PHP folder to the ext folder.
  9. WoodyRoundUp

    Email Injection (hacking forms) How to stop it?!

    Thanks for the post as well. I got this a couple of times now. What I did was actually block the IP. And they never return anymore. Hopefully this will keep them away forever.
  10. WoodyRoundUp

    Lists from DB

    Can you show me what is the output for this? And also, you have: foreach(explode("\n", $editRS['internallinks']) as $intlinks) This can cause the duplication in listing. However, please let me know your current output, and the expected output. Thanks.
  11. WoodyRoundUp

    Dynamically Writing Javascript Function

    code please?
  12. WoodyRoundUp

    pull from mysql into drop down menu, keep state...

    I still don't understand. What's the first screen for? And what is the second screen for? How come the second screen has got the assigned to field as well? Sorry, I need to understand first before I will write the code. Thanks.
  13. WoodyRoundUp

    Prevent multiple client inserts

    yenping, your post is not different with the combination of his original POST and my suggestion. It's also wrong. How could this run? $query = mysql_query("SELECT count(*) FROM submissions WHERE NameInsured = '" . $NameInsured . "')"; $result=mysql_query($query,$db); I think you probably...
  14. WoodyRoundUp

    Black block after image resize?

    Check my post here for a better solution: http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21490599.html
  15. WoodyRoundUp

    Black block after image resize?

    Firstly, you can't resize the BMP. Secondly, resizing is more complicated that how it looks like. You can try this, but this does not solve the entire problem. $resized = ImageCreateTrueColor($newwidth,$newheight); switch ($file_type) { case 1: case 2: $original = imagecreatefromjpeg...

Part and Inventory Search

Back
Top