Jump to content

Sorthy359

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Everything posted by Sorthy359

  1. ive never played risk but keep in mind, the game doesnt need to be exactly based off risk. u can make ur own ideas and change the rules around to be fit. i say go for it. one thing that turns alot of people away from web based games are limited turns per day or paying money to get an advantage. i say ads should be a factor on your site but dont make them annoying
  2. in php, whenever you put ../directory, it outputs differently then "../directory" in html. go to the page that has the link, right click, and view source. it has the full url in it. "../" is just a php command for 'up one directory'
  3. Sorthy359

    URL

    verbally when you say it out loud it sounds smoother to say site.com/fred .. also, when someone mispells a real directory name, it might say "user not found" instead of page not found. keep that in mind ..i would personally put "page not found"
  4. if you live near any good big book stores i would go and pick up a book or 2 on php/mysql. they really help. there are of course many great online guides. when you understand how the syntax works, study up on the functions over at php.net
  5. hotscripts.com has tons of chat scripts. personlly(i know this isnt php), i like pjirc. cgi irc is another good one.
  6. wtf.johnson no..little wrong buddy. echo "http://yoursite.com/users/".$username."/"; or in most cases you can echo "http://yoursite.com/users/$username/";
  7. you can try using an html iframe with no borders to a seperate .php file but that might be dumb. also make sure your hosting supports php.
  8. im sorry im not quite sure i understand what your trying to do. how would your sql password be displayed to the public? im advanced intermediate with php..not so much with ajax. so it might just be me. lol
  9. yeah thats what my impression was when i joined a long time ago. i suggest studying up on php.net.. thinks like fwrite,fsockopen,and etc. are used alot in php. also, i learned alot from reading books on php. i went from beginner to intermediate because i bought a couple books on php&mysql from a book store. you learn more out of those books in 2 days then you can in weeks learning on your own just trying to understand tutorials(not to put down phpfreaks' tutorials they are great but mostly when you understand them). phpfreaks community is almost like your personal debugger when something has gone wrong. i used to IM all my contacts every time i had a problem and half the time they didnt know. lol
  10. i would also like to know this.i have come acrossed this problem before but what i did was make everybody who was working on it go into an IRC channel while they work,and give constant updates as to what they are working on if there was more then one person working at a time. our website was big enough to have several people work on it at once without conflict
  11. i like the third suggestion..writing code that produces no errors.
  12. gerk i disagree. there is a class that determines if they are logged in or not. i suggest looking around for the file with the logout link and see how it works.
  13. yeah i love php designer as well. for small tweaks and things i use notepad but for actual coding, i use php designer pro. i use the debugger on it as well..i dont get how people write entire scripts in notepad and not use this. i understand that they think they are 'too pro' for it, but it makes getting things done faster and easier on the eyes. its bulky kind of like dreamweaver but not too much to make me not like it. it still leaves a big text box,which i love. anybody know of anything better?
  14. narcotic, i too was going to suggest php designer 2007 but i dont know if it will work under vista and even if it does,i have no idea how the debugger will work.
  15. i dont beleive php gd supports gif because of licensing issues. im not 100% sure but thats what i remember
  16. a database would be much easier. you can use multiple tables for each kind of part and store different models in them. then you can make a page to add,edit,or delete parts. its more professional and wastes less time. even if i didnt have access or knowledge of databases,i would still use a flat file db.but i dont recommend that.i would use mysql.the commands are very simple and its a great db.
  17. yeah.basically only let people enter text and numbers in the fields..and things like semicollon,forward slash,etc. i would look up guides on sql injection and php security. if your iffy on how secure it is,chances are its not secure.once u read up on it and fix some things, i would still keep a back up of all the files and get a backup of ur db(assuming ur using one) once every while.
  18. i think in the future u should let users have a paid option.more upload space for images,flash,maybe files,etc, and more users they can have on their cms(e.g.,if they plan to have more then 600 users),the ability to automatically tie in their own domain(if u know how anyways),no ads,etc. for about $5/month. not to limit the free users really(that would be stupid. especially if your trying to gain popularity), but for hardcore users..
  19. i love your idea on allowing newbies create their own cms.it seems if your only planning for a few hundred cms's,its more of a test to experiment with(that and giving people a new way of doing something). im kind of a newbie but based off what i seen with other major scripts,this is how i would do it. store everything in one database. each time a user creates a cms, they would get a few db tables made with their own prefixes(while at the same time adding their user info to the main user table). you can allow them to edit their cms up to a certain point? like,html and css only..and let them choose&re-arrange features in their admin page.then all the small details. each user gets their own folder. each user gets a copy of any template they decide to use and edit and will is able to edit it in a text box? you could use version control. i would have php generated for each template for that.if a new version for a template comes out,they would be notified and can upgrade.
  20. ive had alot of experience with all 3 scripts and i dont have a favorite.i choose based on how many people will be using the forums. if u plan on 800 people and below, i would pick phpbb2. if u plan on 800-2000 users,IPB(its a step up in features,and you need enough people on the site to fully take control of these features),over 2000 users i would easily pick vbulletin(big step up in admin features to control such a large community).
  21. for those of you who are talking about php's default php debugger,thats not always the best.pretty much all debuggers use php.exe anyways.but you cant debug your entire script with only php's default debugger based off of executing one file.a problem may start on a file when u modify a different file.see my point?
  22. i see your problem with wanting to be a perfectionist. i think thats only because you want your work to be the best as you can get it. heres how to fix the problem. work on prioritizing what is on your to-do list. re-arrange your to-do list with the most important things at the top.work your way down it.after making each thing,do a security check.when ur close to ur deadline,stop adding things and bug test and do security fixes.if your able to, add in the small details later(such as a new template for the website,better version of your poll system,more user features,etc).stick to the basics at first.its best to have a basic system at first because any last minute decisions to make big changes would possibly be easier. also i like the idea of saving classes to your computer,but each time you put one on your site,you may want to check your class carefully and edit it for your site depending on how complex the class.
  23. well yes php can be for amateurs..granted they have free php hosting and want to install a phpbb2 forum or a simple premade poll. it is easy to work with. however, i dont think it should be compared to J2EE. People generally use flash as a hobby but take on java for more advanced calculations&physics&etc...large websites such as(and yes im positive,confirmed by employees and documentaries over the years) yahoo,amazon(their primary language),google(they use mostly C and 2 dozen other languages),wikipedia,and most other advanced websites on the internet. i dont know much about coldfusion or RoR but i know that these all have their own purposes.php is used mainly as the base server-side website programming language because it is the most flexible,easiest,complex,secure(if your smart enough). its an obsession because once you learn it,you feel like you can do alot with it. so its used on so many levels..
  24. ahh ok. =D i did a big google search and looked everywhere and saw a couple of answers but didnt quite catch what they meant, or understand the examples.. because most of the time it was someone helping someone else out with a big script. Anyways.. thanks lotss
  25. how would i select that from the db and echo it? im using this on the menu as an example but i plan to use this for userinfo.php for admins ;) this below outputs [code] Admin   Admin Center   (test) Your IP: Resource id #15[/code] here is the code. [code]    if($session->isAdmin()){       $q2 = "SELECT ip FROM users WHERE username = '$session->username'";       $result2 = mysql_query($q2);       echo "<br><b>&nbsp;&nbsp;<u>Admin</u></b><br>&nbsp;&nbsp;<a href=\"admin/admin.php\">Admin Center</a> &nbsp;&nbsp;";       echo "<br>(test) Your IP: $result2";    } [/code] ..what did i do wrong with that SELECT line? :(
×
×
  • 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.