teng84
Members-
Posts
3,576 -
Joined
-
Last visited
Everything posted by teng84
-
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
-
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?
-
but i will put the link where i got that content? does that still illegal?
-
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?
-
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
-
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
-
Problem retrieving from database (getting a blank page) / php mysql
teng84 replied to gregory0013's topic in MySQL Help
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 -
$url ='www.phpfreaks.com/forums/index.php/board,1.0.html'; echo (substr($url,0,7) =='http://')?$url:'http://'.$url; i guess thats enough
-
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?
-
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"
-
simply use string function i think strrpos or strstr is enough and faster
-
can connect to DB via PHP, but MySQL data won't display
teng84 replied to pi865's topic in PHP Coding Help
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 -
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
-
use file function and get the desired array index you want
-
str_replace needs atleast 3 parameters search key words /string replacement / the string
-
welcome
-
my bad didn't see that part
-
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); ?>
-
"default.php?pageTitle=Home"; wheres this file located is this the same dir with index?
-
http://www.php.net/manual/en/function.glob.php http://www.php.net/manual/en/function.readdir.php
-
'$memeber'<----------------- is not set you are inside the function
-
[SOLVED] Suppressing empty input fields in email forms
teng84 replied to clbenedict's topic in PHP Coding Help
use isset or empty instead of using > 0 -
<?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
-
use get_meta_tags()