Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. Why would you spam a forum in the first place. it's illegal, immoral, and stupid. Use web dev/app dev for the right purposes not the wrong purposes, and you'll live a happier life.
  2. CREATE TABLE tablename This is turning into a mysql post. Please mark as solved and open posts in mysql as needed.
  3. <?php session_start(); ?> <html> <head> </head> <body> <?php $_SESSION['test'] = 'hello'; echo $_SESSION['test']; ?> </body> </html> Try that and tell me what happens.
  4. A dangerous website isn't going to be "delayed" or "inhibited" by the use of hiding the ip.
  5. 1. What editor are you using. 2. Are there any spaces between the page start and <?php 3. Are there anythings above that. 4. What are the "session" related settings in your ini file.
  6. Then if you are doing a lot, get another host.
  7. No, but your programming "lifecycle" will be short without a database. Unless you are wanting to use flat files, or csv, or excel, or something else. Database of some form is normally needed after awhile to do anything semi-advanced. Anything that pertains to long term state saving.
  8. The thing I am confused about is this standard programming. I have seen lot's of perl scripts without the stuff in that. I think that's what is confusing me about perl.
  9. http://www.google.com/search?hl=en&q=see+online+users+in+php - I see 2 on that page alone. http://www.google.com/search?hl=en&q=php+online+users+list - I see atleast 3 there http://www.hotscripts.com/search?q=whos+online&cat=PHP - I think the top one is what your looking for (only glanced at it http://www.google.com/search?hl=en&q=php+see+online+users+script - ok there are so many here I can't even count them.
  10. http://www.google.com/search?hl=en&q=hiding+user%27s+ip+with+php
  11. That's what i reflected in the code I rewrote.
  12. Php has a very hard time doing that, but there are some decent ways to do it. Do some googling (php who's online list) and other similar searches.
  13. ah, there script would have to have some way to recieve what you are saying. IF there script was prepared it would be as simple as sending post/get data to tehre website for there script to pickup and utilize.
  14. <?php //********************************************************** // * // volumeforlife.com * // PHP mailer script created by versionthree * // * //********************************************************** if(isset($_POST['submit'])) { // basic mail variables $to = "jon@versionthree.ca"; //for multiple email addresses separate addresses with a comma $subject = "Website Comment"; $from = "This has just been sent from www.volumeforlife.com"; // other details $name_field = $_POST['thename']; $phone = $_POST['phone']; $email = $_POST['email']; $comment = $_POST['comment']; $date = date("D M d, Y H:i:s"); $message = "$date\n\nName: $thename\nPhone: $phone\nEmail: $email\n\nComment: $comment\n "; // Sends email and redirects if ($_POST['submit']=="send") { mail($to, $subject, $message, $from); header("Location: http://staging.volumeforlife.com/contact_success.html"); }else { header("Location: http://staging.volumeforlife.com/contact_deny.html");} } } ?>
  15. ... forget it. As I mentioned, use google. You had about 50 links there with examples.
  16. Can you rephrase that one more time. Something about what you are saying is not coming through to me.It sounds like you want to send data "to" there script to show something on there site?
  17. I wasn't referring to you specifically. More of just the 2 functions. They annoy me, I would rewrite them but I just don't feel like the effort right now.
  18. You also seem to be incorrectly referencing array's inside the echo statement. My point overall, this entire function is a mess and need an entire rewrite. Again, go to google and do some studying. Within a few hours you can rewrite it with new knowledge, and have a very good/usable function. If you have problems at that point feel free to repost.
  19. You don't seem to be getting it. Unless there is something I am unaware of here. function editrules($rules){ $rules=mysql_query("SELECT * FROM rules WHERE ladderid='{$rules['ladderid']}'"); $rules=mysql_fetch_array($rules); That is NOT usable. You PASS a parameter to the functionnamed rules. Then it's overwritten by the query and again by the array. Again, even if you have an array inside $rules the entire thing is overwritten with the first $rules= This function is not usable. IF someone knows otherwise please explain. On another note if you are echoing giant blocks of html consider EOD. (I think that's what it's called again).
  20. Oh, you have to have access to there server in order to do that.
  21. Because (as I have mentioned 2 seperate times) the function is done incorrectly. I do not feel like rewriting the whole thing. Go to www.google.com and do a search on "Creating functions in php". Spend a couple of hours studying about function creation in php and basic function rules. Then try to rewrite the function so it'll work and repost here when you have problems.
  22. Then just open the file, get it's contents, and display it on the page.
  23. Depends on what you want to do. Are you meaning to grab data from an external site and display there new's. Then again it depends on what format there data is coming in. Explain a little more detailed about what you are trying to do.
  24. ... Go to the page your form is present. COPY the code, and PASTE it here using code tags. Do the same for the page that is taking care of the form..
×
×
  • 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.