Likes Received By jscg
-
sarahk liked jscg's post in the thread PHP/MYSQL: How to create image galleries that rotate/change during each page refresh/load.
Set limit 300 if you want 300 images on your page: $result = mysql_query("SELECT * FROM affiliates ORDER BY RAND() limit 300",...
Nov 14, 2013 -
Masterful liked jscg's post in the thread How Do You Protect Your Database?.
Take your time and read this one: http://simon.net.nz/articles/protecting-mysql-sql-injection-attacks-using-php/
Oct 29, 2013 -
basketmen liked jscg's post in the thread php script to search/scan all folders & files with chmod 777.
Maybe you should try like this: find /home/username/public_html/domain.com/* -perm 0777
Oct 26, 2013 -
qwikad.com liked jscg's post in the thread How can I specify the length of the string more precisely?.
Try this: $title = $row['adtitle']; if (strlen($title) > 50) { $title = preg_replace('~\s+\S+$~', '', $title); $title =...
Oct 24, 2013 -
basketmen liked jscg's post in the thread Only need a printed value from included.php file.
remove "echo" from $name variable and on your index.php use: echo $name; Anyway maybe i missunderstand this :) if yes than make better...
Oct 18, 2013