Jump to content

jurass1c

Members
  • Posts

    57
  • Joined

  • Last visited

    Never

Everything posted by jurass1c

  1. I see, could i maybe just get a rough example i'm still a little lost. Thanks heaps for taking the time to help me out, ive been stuck on this for a while.
  2. Heja I have a MySQL database which contains information of members and the current balance of there accounts (eg: $1000) it also shows there current gain (eg: 1.2%) what i have been doing is individually updating each clients percent and balance. What i'm trying to work out is how to add a percent gain for the week and both the percent and balance of the clients are updated according to the submitted gain for example: Client 1 has $1,000 and has a current gain of 1.5% Client 2 has $,2000 and has a current gain of 2.5% I want to update both clients by 1.5% and then both clients be updated like so: Client 1 would now have $1,010.50 and now has a gain of 3.0% Client 2 would now have $2,020.50 and now has a gain of 4.0% I was looking around and could find much information on the internet or exactly has this can be achieved so i started to work on a addition and try atleast add the % however it dont go accordingly, i suppose im very rusty at my php. I started working around something like this: mysql_select_db('mem') or trigger_error("SQL", E_USER_ERROR); $a1 = mysql_query("SELECT profits FROM account"); $a= $a1; $b=$b1; /* html <input type="text" name="b1" id="b1"> the % i want to update*/ $add=($a+$b); $sql = "UPDATE mem SET balance = balance +'$add'"; if (!mysql_query($sql)) { die('Error: ' . mysql_error()); } This obviously does not work but it could possibly give you a better understanding of maybe what im trying to do here. Any help would be appreciated. Thanks
  3. I have a reseller, and would be happy to provide you with cPanel hosting free, cause u mentioned u want to cover the costs.
  4. ^^ - Exactly Ignace just likes to make judgment on something he literally knows nothing about. Im sure you have used torrent and p2p sharing software ignace and what whiteshabu does is provide an alternative to this method of sharing, doing so via "HTTP" none of the content provided on the website is hosted it's all indexed hyperlink from other websites and shared information that is user submitted. Its a FREE service so where did you get "buy?" from ? Lastly take a visit to website like tvshack.net, movielinks.tv, epirate.net, katz.cd........ visit loombo.com, videoweed.com, movshare.net, hotfile.com, rapidshare.com (i could keep going on) you will notice those services harbor such content and all whiteshabu does is index this content. Next time you want to make "Quotes" ignace have an understanding of what you are talking about....dickhead.
  5. read the full thread, index hyperlink is not illegal f*ckwit. If your going to have an input Ignace do so with some intellect.
  6. It clearly states what it's about. As for the douche bag call, not funny.
  7. i can host you. contact me if you want cpanel.
  8. i guess your just a little dumb.
  9. Javascript.... if someone doesn't use javascript they should be slapped in face and a potential visitor has JS disabled well bad f*cking luck if you ask me. As for the website i think its got some great potential as when trying to find a good source of tutorials is harder then it seems. I use the site's content and i like the concept and navigation. However the design needs some kick to it (in my opinion)
  10. yeah, deff not a fan of divx. The whole movie stream section is just an idea seeing where it can go. I was considering the idea to just provide links to the movies and not the actual Embed code, this will allow an easier method, i could use a nice Ajax/jQuery add on (tweak it up) and direct the users to the actual source of the Movies but without the need to leave the website (using shadowbox etc etc) Really do appreciate the feedback and i hope people find it useful. Any other idea's would be great.
  11. its well composed, but its need more color.
  12. loopholes..... See none of the content provided is hosted on the server, its all just indexed hyper-linking. Hyper-linking is completely legal in the country where the website is located and the host has approved this type of website. Much like p2p and torrent software "http" when "indexing" is classified as "Shared information" thus if any anti piracy corporation will have to contact the service which contains the provided content whiteshabu links to as the website does not control what is made available from services such as rapidshare, hotfile etc etc its all user submitted. I have a pretty well written disclaimer and terms of use which i was using but for now have disabled just to generate more traffic, in 2 months the site has reached over 200 members so its going well. Any anti piracy corporation would have to go after software giants like Limewire before they come after me, key to making these "type" of sites work is pretty much treating the service as you would any service and not hosting or pirating yourself. I get what you are saying about the images and im working on that right now... The only browsers that wont output correctly are older browsers and ofcourse pathetic Internet Explorer (the developers of IE should be shot)
  13. thanks man, exactly what i was looking for !!
  14. I have been searching for a straight forward script that will allow me to resize images from a URL. The images are hosted on various websites and the link to this images are stored in my database.I dont have the images stored or located in my directory so most script i have found are pretty much useless. What would be the best method to resize from a indexed URL without using the HTML method. Also Exactly how hard is it to resize and save an image to a folder in my directory from a URL in my database?
  15. the images are indexed. I have viewed the site on a few different browsers and they all seem to work fine, maybe a screen ?
  16. i will have a stalk. I was considering building a application that takes the hyperlinked Image of the covers, resizes and uploads it to the database. Will see how i go - Thanks
  17. yeah chrome works perfect aswell actually using chrome right now lol. Framework ? im intrigued. o built it from scratch aswell
  18. http://whiteshabu.com BETA version for a project i have been working on. I still learning PHP/MySQL and this website wouldn't be where it is today without the help of PHP Freaks members. I have had allot of help here and very thankful to all. Best viewed in ofcourse Firefox and on a Mac heh. The site still has bugs and is under development (when i find the time) but has allot of potential, . Critique Me !! Also feel free to sign up, download or stream the small selection (but growing) database of albums and movies. Also for the members who like to b1tch about the "type" of website it is, you can polish a shaft.
  19. its 2010 not 1995. the website looks like it was built 15 years ago. 2/10
  20. $title = 'Titlename'; include('title.php'); Title.php file - echo '<title>'; if(isset($title)) echo $title; echo '</title>'; Work it out.
  21. http://www.phpfreaks.com/tutorial/simple-sql-search Read this tutorial by Brad Jacobs. It can do what your asking, you just need to make some minor edits to the code.
  22. echo "<ol><li>$x_NAME</li></ol>"; Try that.
×
×
  • 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.