
TheJoey
Members-
Posts
334 -
Joined
-
Last visited
Never
Everything posted by TheJoey
-
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
-
I need to display the complete url , ill keep playing with it thanks
-
is there a different way to do it without referer?
-
Just want to show the link, thought this would work but its not displaying anything for me. <?php $show = $_SERVER['HTTP_REFERER']; echo "$show"; ?>
-
Ended up using the enable (domainnames) thats what i was lacking for it to work it seemed thanks for the link thorpe
-
So if i wanted www.google.com/~userdir i would just delcare in configration file userdir ("path")
-
Thank you having a read of it now
-
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.
-
Hello just wondering how you would configure a link like ~ link that would refer you to were ever you needed to go.
-
Well say i had two tables parts & Customer names Would i use the alias's then so that i can join the 2 tables?
-
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"
-
Is it essential for every XML file to have a DTD? What will happen if there is no DTD in an XML file?
-
Thank you sir
-
Mabye a stupid question just wondering what it does, and if it works if u only put | one of these.
-
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?
-
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.
-
try putting the code in some CODE tags. makes it easier to read
-
Help with login.. works at home but not at school
TheJoey replied to TheJoey's topic in PHP Coding Help
the first code snippet is the code that wont work.. the second snippet is the code that does work. -
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>"; }
-
Help with login.. works at home but not at school
TheJoey replied to TheJoey's topic in PHP Coding Help
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. -
Help with login.. works at home but not at school
TheJoey replied to TheJoey's topic in PHP Coding Help
works fine at home but when i take it to school theres issues -
Help with login.. works at home but not at school
TheJoey replied to TheJoey's topic in PHP Coding Help
Could it be a different version of php? -
ARGH thats frustrating thought i had it there
-
<?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