Jump to content

ixcese

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Everything posted by ixcese

  1. it's quiet a large project and i don't want to mess up this one.. i was looking for something "heavy" in some way , yeah you can laugh I've tried the code you gave me but it gives me errors.. -Code: $url = 'http//google.com/'; if(preg_match("\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|$!:,.;]*[A-Z0-9+&@#/%=~_|$]", $url)){ echo '1'; } -Error:
  2. may you can help me with that and give me some tutorial for high level regex syntax? or since i need only this one regex for my whole program you may help me and write something special for me? regards ,
  3. hi , i have this regex which check for valid URL = web address "/^(http|https|ftp):\/\/(www\.)?([A-Z0-9][A-Z0-9_-]*\.)?[A-Z0-9][A-Z0-9_-]*\.[A-Z]{2,3}(\.[A-Z]{2,3}){0,1}(\/){0,1}(.+)?$/i" my question is , is this regex good enough? what about the performance? and the security , is this regex doing good for it's goal? checking for valid url.. thank you..
  4. hi , is there any software that i can use to run my php script on my windows 7? i had wamp2 but it seems to not work any more , so , is there any more software i can use?
  5. Hi , I want to pop up alert when the user browse file into input for example i have this input <input type="file" name="myfiles[]" /> now , when the user finish to browse an file i want a function to start working , what i mean by finish browse file is when the user select file and than click on the file he selected twice and than when the browsing files windows close i want this function to start how to do that?
  6. ok but still , how to get it done? what is it called? what to search?
  7. hello , When i upload image on imageshack it let me select only image type file to upload but on my website when i upload image it let me select all type of files how can i do just like imagehack ? thanks.
  8. can you suggest on one easy to use ajax frame work to upload files ?
  9. hello , i was wondering if there is the only Ajax code part of the whole jquery library? is there something like that?
  10. Hello everyone! I need a little help to get functions names from the GD library. first i want to say i have a little knowledge with GD library like create image with words and etc. So , what i'm trying to do is to take image and than take the color of the first pixel on the top left than do some function work and than set this pixel on the top left to another color. now , i know how the algorithm should look like , i just don't know what function i need to use to: take specific pixel color from the image set new color for pixel on specific place i'll be glad if you could help me with that , regards , Mor.
  11. the shorter video : http://www.youtube.com/watch?v=MikXCLWkSPs
  12. Hello guys I've made javascript tutorial for those who want to learn more here's the tutorial on my front page : http://www.youtube.com/user/morplug or direct link : http://www.youtube.com/watch?v=4_eel7EFsRQ I'll be happy to continue making more tutorials , To show me you want more please Like the video and subscribe if you want! regards , Mor.
  13. hey , i got 2 function , the one working and the other one isn't here's the functions : var toDisplay = "f"; function human(){ var toAdd = toDisplay.substring(0,1); setTimeout(human , 500); document.getElementById('box').innerHTML += toAdd; } human(); // works (display "f" every half a sec) function human2(toDisplay2){ var toAdd = toDisplay2.substring(0,1); var t = setTimeout("human2(toDisplay2)" , 500); document.getElementById('box').innerHTML += toAdd; } human2("dsd"); // not working (only display "d" and stop) the first function works ( keep printing "f" every 0.5 sec ) the second function only work once and than stop ( print "d" and than stop ) what's the problem with the second function? thanks , Mor.
  14. hello , im building right now an replay box which is suppose to serve the user to write a post. now , i have one question , i want to make buttons for smiley's so the poster can add smiley's where ever he want in hes post , so i created an function what suppose to add smiley and here is the code: function addSmiley(){ document.getElementById('ID').value = document.getElementById('ID').value+""; } the problem is , if the poster want to add the smiley in the middle of the post it can't be. so my question is how i can get the position of the pointer so i can add the smiley in it's place. regards , Mor.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.