Jump to content

phpfreak101

Members
  • Posts

    19
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

phpfreak101's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. alright, i think that'll get me off to a good start. I'm trying to start a web design/development company so this information is very helpful.
  2. I'm currently a freshmen in college, majoring in Computer Science. We've been going over Object Oriented Programming in Java the last 2 semesters and I'd like to take take what I've learned and apply it to web programming (specifically php) that I learned on my own. I'm just a little confused as to when to use OOP. What situations or methods would be good to create as an object for web programming? What areas of dynamic websites (database driven) do you find most useful to build as objects, rather than building them as traditional functions/methods.
  3. Okay.. what do i do in a situation such as this.. Lets say you echo an HTML tag and inside the "onclick event, you want to call a javascript function and pass a variable to it. you end up like this [code] echo "<a href='blah.com' onclick = 'function( [/code] Now this is where i'm stuck if i use ' it closes my onclick block of code and if i use " it closes my echo block of code
  4. I'm not too good at web design either. To tell ya the truth i really haven't designed much on my own, but i occasionally check out this site to learn those photoshop tricks you were talking about. Glossy buttons, etc. They also have site layout tutorials and tons of other stuff. [a href=\"http://www.good-tutorials.com\" target=\"_blank\"]http://www.good-tutorials.com[/a]
  5. man, you got a great idea here, Open Source Comics Strips!!! make the strips public and people can add ideas until they get something really funny, and then you post the comics for the public to read. How cool would that be?
  6. [!--quoteo(post=383453:date=Jun 13 2006, 04:23 PM:name=joquius)--][div class=\'quotetop\']QUOTE(joquius @ Jun 13 2006, 04:23 PM) [snapback]383453[/snapback][/div][div class=\'quotemain\'][!--quotec--] as I said before, if you create a "master file" which deals with the basics: (design, user control and db use) in a method that has a wide compatability there should be no problem. what I would normally advise is to create the page down to what you could call the first cell of the second line (for instance the left sidebar on this website) and then to add you just add any code after that. you may want to create a file of "pre-html commands" for posting information that requires redirecting or setting cookies, etc. where people can add that kind of function. If this is the first time you have written such a thing, and you having been programming for a year, you wanna get some beta testers on the site before going too far with it. It'll stream line the process. Good luck in any case. [/quote] You can also check out phpNuke [a href=\"http://phpnuke.org/modules.php?name=Downloads&d_op=viewdownload&cid=1\" target=\"_blank\"]http://phpnuke.org/modules.php?name=Downlo...wdownload&cid=1[/a] This is a spectacularly coded CMS and its open source so you can backwards engineer it. I'm currently working on backwards engineering it and making a website to explain how it works.
  7. [!--quoteo(post=382269:date=Jun 10 2006, 01:38 PM:name=benwhitmore)--][div class=\'quotetop\']QUOTE(benwhitmore @ Jun 10 2006, 01:38 PM) [snapback]382269[/snapback][/div][div class=\'quotemain\'][!--quotec--] just to add, the email definitely does not go into the junk email box. any ideas still? Can i trace the message maybe? [/quote] It's could be because of AOL's new restrictions to supposedly fight spam. You have to pay to be on an AOL user's "White list" of acceptable email addresses. (from slashdot.org news site) tiltowait wrote to mention a report on MSNBC's site stating that AOL and Yahoo are both planning to introduce a for-pay way to circumvent their spam filters. From the article: "The fees, which would range from 1/4 cent to 1 cent per e-mail, are the latest attempts by the companies to weed out unsolicited ads, commonly called spam, and identity-theft scams. In exchange for paying, e-mail senders will be guaranteed their messages won't be filtered and will bear a seal alerting recipients they're legitimate."
  8. [!--quoteo(post=381714:date=Jun 8 2006, 10:54 PM:name=ShibSta)--][div class=\'quotetop\']QUOTE(ShibSta @ Jun 8 2006, 10:54 PM) [snapback]381714[/snapback][/div][div class=\'quotemain\'][!--quotec--] ^^Bump [/quote] I've found phpNuke to be a spectacular piece of opensource software. [a href=\"http://phpnuke.org/modules.php?name=Downloads&d_op=viewdownload&cid=1\" target=\"_blank\"]http://phpnuke.org/modules.php?name=Downlo...wdownload&cid=1[/a] Though it might be a bit more than you're looking for. Either way, check it out.
  9. [!--quoteo(post=382131:date=Jun 9 2006, 10:12 PM:name=legohead6)--][div class=\'quotetop\']QUOTE(legohead6 @ Jun 9 2006, 10:12 PM) [snapback]382131[/snapback][/div][div class=\'quotemain\'][!--quotec--] umm i like to have all php at the top of the page ...not scattered everywhere with millions of open and closem tags....theres not really any realy good/bad way to layout php..it all depends on the page! and what each page requires [/quote] Well again sorry to be vague, i can't really explain what i'm trying to do very well. An example would be modules with phpNuke, it checks the "module" folder for subfolders, these folders contain files for addon features for the site. And it dynamically updates the site depending on what modules exist. I'm trying to learn how to incorporate ideas such as these, to structure my future sites accordingly.
  10. Hey Everyone, I know this is a very vague and open ended question, i'm sorry. As the description says, i'm looking for a professional coding Template/structure/practice (what ever you want to call it) to adopt to learn good coding techniques and to learn about php security. I've been learning and using php for about a year now and i've never completed a php project in that time. I think its because my coding practices were bad and so as my projects got more complex, it got more confusing to understand and maintain all parts of the site. So i would like to adopt *something* so that i can learn php security, professional coding structures and techniques and so that its easy to maintain and update my sites in the future. I have looked at phpNuke (which looks very professional, correct me if i'm wrong) and I like the use of modules. Being able to add and remove feature for my clients in the future seems like a great practice to adopt, but its a very complicated system to reverse engineer; i'm having trouble doing so. Any advice on the topics mentioned above would be GREATLY appreciated.
  11. Site looks pretty slick, i like it. Didn't even know about the reverse engineering of MD5.
  12. Very true, i kind of forgot about the change in forum systems planned... I'm just saying that was a tool that should stay no matter what forum system is in use, so i hope it gets implemented when the site is switched in the future.
  13. I second that! The solved button was a great implementation that helped a lot of us out. I first started using it generally to give the forum helpers a break from sifting through already solved posts. After a while i started to use it just like Crayon Violent did, to learn, and search for help. It became a very valuable tool, and i think it would be in the community's best interest to re-implement it.
  14. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] just make sure you call session_start(); on all the scripts that are using the session variables and it should work. I had a similar problem when I started using sessions.[/quote] Also make sure you put session_start() on your page, before anything else. (HTML etc.) If not, you will get Session errors saying "cannot send header, header already sent" because you sent information to the browser before the session had a chance to start.
  15. I think you have to register the session variable first. Like: [code] session_register('first_name'); $_SESSION['first_name'] = $first_name; [/code]
×
×
  • 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.