Jump to content

TheJoey

Members
  • Posts

    334
  • Joined

  • Last visited

    Never

Everything posted by TheJoey

  1. Is there a way to show the link of the previous page you were on. I tried using $_Server['HTTP_REFERER']; completly stuck at the moment
  2. I need to display the complete url , ill keep playing with it thanks
  3. is there a different way to do it without referer?
  4. Just want to show the link, thought this would work but its not displaying anything for me. <?php $show = $_SERVER['HTTP_REFERER']; echo "$show"; ?>
  5. Ended up using the enable (domainnames) thats what i was lacking for it to work it seemed thanks for the link thorpe
  6. So if i wanted www.google.com/~userdir i would just delcare in configration file userdir ("path")
  7. Thank you having a read of it now
  8. Umm.. im not sure how else to explain it. You know when you view a directory online and the website you see is www.google.com/~googledirectory where ~googledirectory is really some other link being hidden.
  9. Hello just wondering how you would configure a link like ~ link that would refer you to were ever you needed to go.
  10. Well say i had two tables parts & Customer names Would i use the alias's then so that i can join the 2 tables?
  11. i have a querry which is: select a.name, a.weight from part a where a.colour= 'blue' order by weight descending; Now what i dont understand is why is there a a infront of name weight and colour but then when you order by weight you dont put a "a"
  12. Is it essential for every XML file to have a DTD? What will happen if there is no DTD in an XML file?
  13. Thank you sir
  14. Mabye a stupid question just wondering what it does, and if it works if u only put | one of these.
  15. Well its a question i had trouble understanding.. for example how do you make your website loadup automatically for iphone users when they connect. And for those on slow connections would you still use Jpeg?
  16. Hello i have a question, if i was to make a website userfriendly and mobile friendly.. how would i go about doing so.. What are a few tips or guides i can follow For example if i was going to make it so dialup users would have close to no problems loading the website and people on iphones would be able to use it effieciently.
  17. try putting the code in some CODE tags. makes it easier to read
  18. the first code snippet is the code that wont work.. the second snippet is the code that does work.
  19. thanks man.
  20. Hi just wondering how i would alter this for loop to display total cost of all items foreach($_SESSION['itemname'] as $k=>$v) { echo "Item Name : ".$v . ': Item Price : ' . $_SESSION['itemprice'][$k] . ': QTY : ' . $_SESSION['itemqty'][$k] ."<br></br>"; }
  21. thats where im confused, my admin is working fine, its my registered users that cant login. And there using both very similar scripts and both are using sessions.
  22. works fine at home but when i take it to school theres issues
  23. Could it be a different version of php?
  24. ARGH thats frustrating thought i had it there
  25. <?php if ($login == true){ $_SESSION['login'] = true; # If successfull header("location: success.php"); # redirect to this page } else { # Else redirect to header("location: unsuccess.php"); # this page } fclose($file); ?> doesnt seem to be registering the session
×
×
  • 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.