i need to get the url of the page that referred the web browser to the current page. (the page the user clicked from to get here)
i used to know how to do this in vbscript / asp - however, i have looked and looked in the php reference and cannot figure out / remember how to do this.
can anyone...
in the interest of good web design - a warning should be displayed for the user before the shell_exec call. if it is the first page on the site, then it should be simple to write a bit of html that tells the user to be patient, if it is not the default page, a note by the link the that the user...
your question is not very clear - but you can use the code below for writing a random text string to the html code using php.
--------------
$anames = array('answer1', 'answer2', 'answer3', 'answer4');
srand ( (double) microtime() * 1000000);
// when generating a random number, be sure to use...
hello, i have a question regarding the look of combo boxes being changed by cascading style sheets.
i have successfully used style sheets to alter the look of text boxes, submit buttons, and list boxes - does anyone know where to find info about changing the look of combo/drop-down boxes or...
OOPS nevermind, figured it out... ;)
I just had to make the window an object:
popupwin = window.open(...);
and also:
onFocus = "popwin.close()";
I tried using <body onBlur="window.close();"> in a pop-up window created by window.open() but but the onBlur does not always activate immediately - can I use onFocus in the parent window? How do I close a window that is not the window that the window.close command is coming from...
does anyone know how to trap error messages that mysql generates, when coding with php? i want to stop mysql from printing to a page its error messages (like the "0 is not an index" error for a bad database connection attempt), and instead create user friendly messages and options.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.