Hi,
I'm having a problem with session variables that I think you guys can help me with.
I forward the requests to www.address1.com to my webspace, which is in www.address2.com
I use stealth mode in forwarding.
So far, so good.
However, when I try to use sessions under the directories of...
Hi all,
I have res files included in my exe, and i want to modify the resource strings in them on run-time, like joining two res files or extracting some string from one of them adding to one other.
is it possible?
thanks,
Hi,
I need to redirect my page to itself on th onChange event of the select box with the value selected.I am using:
<script language="javascript" type="text/javascript">
function redirect(URLStr) { location = URLStr; }
</script>
....
<select name="select_project" id="select_project"...
Hi,
I am posting variables to a new page,i have n variables
like $_POST[s1],$_POST[s2],....
i want to update my database but i could not write the variable names in a for loop
for ($i=1;$i<=;$count){
$startDate=$_POST["s".$i];
}
but did not work:)
in fact i dont know how to write variable...
Sorry, i have changed the function to this:
function checkSel(n){
if(document.form1.n.selectedIndex=='0')
{
for (i=2;i<7;i++){
name=i + "_" + n;
document.form1.name.disabled = true;
}
}
else
{
for (i=2;i<7;i++){
name=i + "_" + n;
document.form1.name.disabled = false;
}
}
}...
Hi,
I have changed the code as you said.
But now i have a problem with transferring var php to jscript:
<select name="<?php echo($s); ?>" onChange="javascript:checkSel($s);">
<?php if ($row["workDef"]==3) {
?>
<option selected>Never worked</option>
<option>Worked before</option>...
Hi,
I have a p2 with Asus P2B 440BX motherboard. I bougth 2x256MB SD 100Mhz ram and tried them. (removing old ones)
They worked as 128 both separately. Then i tried other rams,they all showed the half value.
Then i updated the BIOS, but could not solve the problem.
Can anyone help me about...
my code is like this:
<body>
<?php
session_start();
session_register("sUserName");
if ((!$_POST[user_id]) OR (!$_POST[pass]) )
{
echo "Error";
$error=1;
?>
<a href="pm.htm">Back</a>
<?php
}
?>
...
..
<?PHP $sUserName = $HTTP_POST_VARS['pass'];?>
still gives the same error but this...
Hi all,
I am trying to pass some variables across pages by session method.like:
session_start();
..
session_register("sUserName");
...
it gives these errors:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domains/web-
Warning...
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.