Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. show me the source code, I see if I can find out what's wrong, in order to get a page to link to the same page, you drop an anchor where you want it to, and call the anchor where you want the link to be, then it shouldjump to that part of the page, either show me the website, along with whatever php source code that is related, I will see if I can help.
  2. By waht I have studied all the superglobal variables, always hold the variables in them, You can probably change around variable information with basic string functions, and replace functions, but you would have to find the position of the variable first. what you could try is saving it as a function in an external php file, and then running the function on the page you want. [a href=\"http://www.hudzilla.org/phpbook/read.php/4_18_0\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/4_18_0[/a] on this site, it cuts down the informaiton on superglobals and there usage a lot better than www.w3schools.com and the manual at php.net so maybe you can find something there. [a href=\"http://www.hudzilla.org/phpbook/read.php/2_6_15\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/2_6_15[/a] also this page exactly gives detailed information on including files, and splicing up file information. Or you can take the top portion, put it in top.php, the bottom put it in bottom.php and call each one where they are needed in the main document. Or maybe storing the variable you are trying to carry over into a function in an external file like I stated earlier, but then use the function in the file you are wanting to carry if over for, or just reset the variable. some of this sounds wierd because I misunderstood your post at first but hopefully something here can help. I also notice a database insert error on the section [a href=\"http://www.bigornot.com/inc/bottom.php\" target=\"_blank\"]http://www.bigornot.com/inc/bottom.php[/a] near the bottom of the page, maybe that has something to do with it,. also the variable for username should be stored in one of the superglobals I am not sure which one it said, put that variable should be able to be moved throughout the same server seamlessly, by what I have read. hope some of this helps.
  3. it might help to look at [a href=\"http://simon.incutio.com/archive/2003/10/19/htmlifying\" target=\"_blank\"]http://simon.incutio.com/archive/2003/10/19/htmlifying[/a] let me know if it helps/.
  4. now by looking at this I have something to "play with" and learn off of, thanks.
  5. thanks that gives me some ideas on test programs to learn, I appreciate the "example" thanks.
  6. ok then let's say I pick mysql as my MAIN database that I use, what program can I get that is either free, or very cheap, but also usefull for ALL mysql needs, in this situation that I can use on linux, windows, or ANY server, which one should I go for.
  7. I looked into oracle, why is it 40,000 dollars, what I need is a cross database, something that can be used with any type of database. But something that doesn't cost 40,000 dollars, I called oracle, the company and asked them they said it costs 40,000 dollars. I need a good database, I want when a client comes to me and they ask for a database driven website, yes if I use mysql, that is great, but how do I get to where I can build my Sql databases. Can I open word and build a database from scratch, or do I HAVE to get ahold of some program or another, and if so are there any free that I can basically use for any purpose, so say I use mysql as a default, there might be a server that "only" supports sqlite for instance, then me knowing mysql and using it will be unaffective. So I would need a program for sqlite as well, or do they have a program that can run any type of databases, this is giving me a headache I think.
  8. How can I create a function within a function. For instance I want to set my own user function, but I had a program within that, and I used like 6 preset functions, and wanted it all to run together when I call my user function, how do I do that, I searched around and found out about user functions, but not functions of functions or functions inside of user functions.
  9. What are the purposes of the following< please note I have done extensive research, I found alot of tutorials telling me about them, how to utilize them, this is great, but what is the "purpose" of them, in general programming when will the "need" arise for me to have to use it preg_match() preg_matchall() and other things of those nature, if you have some ideas I would appreciate it, if I know there is a reason then we can work something.
  10. I have learnt a few new things about databasing but I had some questions. I have heard at www.w3schools.com that ms access was a database that should only used for small type databases, I have though talked to a few sql exprts, and they said they use data for everything, even huge massive databases with thousands and thousands of entrys. If there is a reason to not use msaccess for major databases what would those reasons be. And if I need another program for major databases, what is a good database program, that I can use that supports mysql, dbqwik, postgresql, and others as well, that is a best database program that is fairly easy to use, and can be used for all purposes big and small. I sort of want something that can work with all forms of database I want to use mysql with php, but I still want to know dbqwik, postgresql, and the other's out there in case if a client needs something done, or wants somethng done with a specific database type, or incase if the server I am working on, only supports a certain type.
  11. so I shoudl then learn xss, and start utlilizing it for the purposes, of preventing people from doing it, the best way to attack an enemy is to know them, so wouldn't I need to know there style in order to help prevent against it.
  12. I have done a lot of checking around about something called xss, where a malicious user tries to gain access to a database, by malicious means, but I have found nothing on how you can best prevent this, does anyone know, or has someone had an experience with a malicious attacker, using xss, and found a way around it or learnt from it.
  13. things are coming together now, is hashing one of the best ways to protect passwords, or is there a better way.
  14. How do I create a simple to advanced search function. like a major website, how do they set up a search for a forum, or for a website or something of that nature. What do I need to do, would it require a database, or wuold I try to store the whole website information into various variables, and pass it to one big function, with a form text area, and get it to search through all the variables. Or do I pick specific keywords, like what I think they would want to search for, and pass each to a variable in there location, and then create a function for a form text area, to where if they type in one of the words it somehow draws the page with that variable up There has to be some ways, Main thing is does it involve a database if not then how would I go about doing this.
  15. what does the needle, and haystack mean in this function prototype. string strstr ( string haystack, string needle) string stristr ( string haystack, string needle)
  16. right now I need to get to where I can create a database and link it with php.I need to make a www.autotrade.com www.gamezplay.com rough clone, I am trying to sell out these projects, but partially I still want to do them, I have 3 weeks before starting both of them.
  17. Ok I have a major question. I have been studying for a long time, I want to go slow, get the ideas, and move foward at a good steady, sound knowledge pace, I have went through hundreds of tutorials and finally found one that is teaching me literally teaching me php. ok I am running off of [a href=\"http://www.hudzilla.org/phpbook/index.php\" target=\"_blank\"]http://www.hudzilla.org/phpbook/index.php[/a] I have learnt a lot since I started, I have gotten down variables, setting variables, manipulating variables with operators, i have not yet mastered or memorized all operators just greater than, less than, equals, equal to or greater than, equal to or less than, or, not, things of that nature. I haven't memorized them all. I have learnt functions, roughly how to look at a prototype of a function from teh manual and be able to tell relatively what's going on, except for what's in parenthesys still confuses me, I have learnt functions, atleast the basics of concepts and ideas surrounding the greater theory of functions. Now I am wading throughs ome stuff that I don't understand, not only that I am disheartened by one fact. First of all I cut through a tutorial about MIND YOU-I have not done arrays and objects yet, I was trying to grasp earlier stuff before I move onto more advanced stuff. I also learnt how to do if, elseif, while, and some other statements liek that, I also understand the basic structure of dowhile, and for statements. I am having trouble with switch case statements, and a little clouded on some of the deeper aspects of typecasting. I just need someone who can point me in the right direction and HOW DO I PULL ALL THIS TOGETHER to make a program, how is the entire section on mathimatical functions going ot help me create a program, like send form information, and code forums, adn guest books, I need to do this, and I want to learn as fast as possible, so I can start coding then let the better aspects of the knowledge fall in through trial and error.
  18. here's the thing, I have been studying awhile now. I have been looking through functions, variables, and a host of other basic, and intermediate programming stuff, now I saw a look at a tutorial on math functions, please tell me I don't need all this to program, or should I take it slow on this part and pick it up as I work through the programming. I will download some scripts and play with them some and learn too taht way, I am about ready to move onto that step, the mathematical functions are on [a href=\"http://www.hudzilla.org/phpbook/read.php/4_0_0\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/4_0_0[/a] I will still study arrays, and objects, after that, I haven't gotten into these yet, so far what it looks liek I still have to go over is arrays and objects, then hopefully I can start getting the hang of messing around with forms and php together, I am following the tutorial in order, is there anything I can do, or do I need to go over the mathematical functions very very slowely, and master all aspects of that before I move onto the chapters after htat. Some of these got so deep so fast, I had to stop and turn around and just go over it without messing with it much, or will all of these "littler" aspects come into place once I get to the parts about pulling "all" the php programming concepts as a whole and start writing my own major scripts that actual do something. Also how much do I need ot learn before I can sit down, and create a fully function forum from scratch using php and sql, by the way I don't know sql, I still have to learn that and it's mysql variation, I did an 80 hour week last week, and start again this week, are there any basic concepts I don't already know that I need to lookinto now before I get too much deeper into the sections I am getting into, and in your opinion by the time I get to the end of the book, will I be able to start freewriting my own scripts(with)refrences to the manual and others of course.
  19. that made since, now I understand how I can use it when writing scripts, thanks you gave me a foot hold on how to develop new ideas, thanks again.
  20. ok what do I need to do to get something out of time and date functions. I know the purposes in javascript, I just need to understand, I have been using the manaul and www.hubzilla.com and multiples googles, but I still need to pull together, how can I effective utilize time stamp, date stampt, time and date functions for various purposes, other than throwing down a date for someone to see the current time and date.
×
×
  • 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.