Jump to content

teng84

Members
  • Posts

    3,576
  • Joined

  • Last visited

Everything posted by teng84

  1. Sorry.. no matter how badly you want it to be legal, those copyright laws are there. Some sites go through greater lengths than others to warn against copyright infringment. But the bottom line is truly about using someone else's material without asking, which is a no-no. any other advice
  2. You're missing the point, Teng.. if you don't get persmission first, it is copyright infringement. Simple as that. Whether you declare where it came from is irrelevant. If I were you, I'd ask permission from the sources first before hand. I see this is also my thought about this just wanna be sure about this before putting up my website. so i should read the terms and condition and if it doesn't have that issue i can use the content? hehe?
  3. but i will put the link where i got that content? does that still illegal?
  4. I decided to make a site which will display contents from other site BUT i will put on the content that the content is from other site. is that legal?
  5. that doesnt make sense i guess because it will match the first and the last condition so it will always be the first.. correct me if i was wrong any way.. pre explain mo nag maiigi tapos add mo ko sa YM teng84 pre i think you need to add specific rule on each condition
  6. then if thats what you want to achieve ill use http://www.php.net/manual/en/function.filter-var.php rather that regex again much faster i guess
  7. try adding error_reporting(E_ALL); ini_set('display_errors',1); on top of your script im suspecting this is not sql problem but rather php issue
  8. $url ='www.phpfreaks.com/forums/index.php/board,1.0.html'; echo (substr($url,0,7) =='http://')?$url:'http://'.$url; i guess thats enough
  9. Assuming all his links are formatted the same. This is user input we're talking about. So many things can go wrong and so many things can be entered. what?
  10. not sure if putting the " () " on your DESC clause is right DESC() should be "SELECT pet_id from pets ORDER BY pet_id DESC LIMIT 1"
  11. simply use string function i think strrpos or strstr is enough and faster
  12. look here http://www.php.net/manual/en/function.mysql-connect.php select your DB this way http://www.php.net/manual/en/function.mysql-select-db.php
  13. http://www.php.net/manual/en/function.file.php refer to the manaul.. read the page as an array so you can manipulate the page easier
  14. use file function and get the desired array index you want
  15. str_replace needs atleast 3 parameters search key words /string replacement / the string
  16. but where is the function there. i think u dont get my point on the last post but here <?php function online($member){ $change = "UPDATE person SET online='1' WHERE uid='$member'"; $status = @mysql_query($change) or die("\n couldn't read if you are online <br/>\n "); } online($member); ?>
  17. "default.php?pageTitle=Home"; wheres this file located is this the same dir with index?
  18. http://www.php.net/manual/en/function.glob.php http://www.php.net/manual/en/function.readdir.php
  19. '$memeber'<----------------- is not set you are inside the function
  20. <?php function online(){ $change = "UPDATE person SET online='1' WHERE uid='$memeber'"; $status = @mysql_query($change) or die("\n couldn't read if you are online <br/>\n "); ?> }<------ the braise is out side of your php script
×
×
  • 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.