Jump to content

MasterACE14

Members
  • Posts

    2,687
  • Joined

  • Last visited

Everything posted by MasterACE14

  1. MasterACE14

    hmm

    do you want to use a MySQL Database for this as well? or pure PHP? Regards ACE
  2. I'm not trying to do anything lol, I'm just wondering if this is possible? Regards ACE
  3. is it possible to put if, if else and else statements in a variable? example: <?php $statement = 'if(1 = 1) { echo("1 does equal 1"); }'; ?> Regards ACE
  4. ok, thankyou. How can I check what webpage they were just on, and if it was the one It should be it executes some code? here's an example, but it doesn't work. <?php if($_SERVER['HTTP_REFERER'] == header("Location: http://www.google.com/") { echo("You were just at google!"); } ?> Regards ACE
  5. Is their a function to check what webpage a user came from to get to your webpage? Regards ACE
  6. I want to encrypt the URL of my page, which I have worked out how to do. but if I use header() it doesn't set that pages URL, it sends me to the page I put in the header() . Is it possible that you can stop header() from redirecting? Regards ACE
  7. Are their any Alternatives to header() , I need something the same as header() but one that doesn't redirect. Regards ACE
  8. Read some of these tutorials. That'll atleast get you a start on all this. http://www.w3schools.com/php/default.asp http://www.tizag.com/phpT/ and of course. http://www.phpfreaks.com/tutorials.php also, I noticed PHP Freaks came up 5th on Google when you search "PHP Tutorials" . Nice work Regards ACE
  9. hmmm, I've been thinking about alternatives like AJAX, but I just want something basic, and don't really want to have to learn another Language to do 1 task. I have thought of Encrypting the URL, the other thing I thought that might work for security would be make a if statement that checks if a person got to my page from the right website, and if not it would redirect them to another page. Is that possible? and is it safe and secure? Regards ACE
  10. thats a start. Thanks I've been playing around with urlencode() and header() and I don't think its going to work. It does encrypt the URL, but it can be easily reversed, and its just not secure enough. also, is their an alternative to using header("Location: http://www.example.com/") I need to be able to change the current pages URL without redirecting. Thanks, Regards ACE
  11. let me get this straight. it is a webpage notepad for users of your website. and they just out in notes and stuff and press a button which puts it in your database? and you can't get it to display the data that has been updated?? Regards ACE
  12. I have been looking at different Methods of Encryption in PHP, but I still haven't found anything nice and basic to encrypt the URL of 1 page. I was thinking that maybe you could do something like. header(encrypted()) I dunno, just need something to encrypt the URL of this 1 page. Note: their is no form on the page. Otherwise this would be a much simplier task lol. But I don't need a form. Just need to encrypt the URL. The faster you reply the better thanks, Regards ACE
  13. What is the simplest way to Encrypt 1 php page's URL so people can't get it by putting in the actual page name? I need it to be very secure. Thanks Regards ACE
  14. depends on what that does lol, I'm not too familar with the while statement sorry.
  15. Take a look at this. http://au2.php.net/time Regards ACE
  16. Question 1) Is it possible make some coding run/execute for a certain amount of time. eg, make the message "Good Morning" display for 3 hours. Question 2) Is it possible to make some coding run at set intervals without using cron jobs? eg, making the word "Hello" come up every 10 minutes. are these 2 tasks possible? Regards ACE
  17. you could display it like a HTML page, when it is actually a PHP page making the page more flexible. like so... <?php //Processed Page - if $AutoSend == 1 then display $ifstatement1 $ifstatement1 = '<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> A confirmation email was sent to the email address you specified. <br> Please confirm your membership as soon as you receive the email. </font></p> <p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Please click <a href=\"$RelLogin\">here</a> to go back to the login area </font></p>'; if ($AutoSend == 1) { echo("$ifstatement1"); } ?> hope that helps. Regards ACE
  18. I'm guessing what you mean is, "How can you put 'graphic' smilies in a text area". I have no idea lol, pocobueno1388 might be able to help now. Regards ACE
  19. Thankyou for the speedy replies, I've found mmarif4u to be very useful, jitesh one is abit more confusing lol. Thanks again guys
  20. How could I make a form, that when a user type's in a certain word or phrase it executes some code. example <?php $word = "correct"; if ( $word == form input ) { echo "The right word was entered in the form"; } else if( $word != form input ) { echo "The right word was not entered in the form"; } ?> So, all I want to do, is have a Text box, a user enters a set word, in this example the word is "correct", and if they enter that word it displays the message in the if statement, and if the right word isn't entered it displays the alternative message. in the if statements where I have put the words "form input" what would I put instead so the statements are working with the form? Regards ACE
  21. don't even need PHP for that task HTML will do fine. But if its for selling Lures and buying, then PHP can help. otherwise I would just go find yourself a HTML tutorial and an hour later you'll be ready to make your site Regards ACE
×
×
  • 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.