hi Dormilich
im doing api for web and device.web side it gives different but works for device.
i know this $_SESSION['ID'] and session_id() is a different.
im say that one's i assign $_SESSION['ID'] to something as $_SESSION['ID']='123' then if i recheck that $_SESSION['ID'] from different response page it shows different value. i don't assign value here i just call $_SESSION['ID'] here.
when login i do this...
User Profile
Collapse
-
session variable is not updating with new one session variable
Hi
I have script where $_SESSION['ID'] is assigned while login or registeration when i echo it will have some value but when call other pages then $_SESSION['ID'] is changed to something else (or the assigned way back )
example while login "ssid":"70fa130 8537985b9ff46d5 65b89f480e",
even $_SESSION['ID'] is this
but
then call other file it has other $_SESSION['ID'] like ... -
hey Niheel use array variable like this $org_key[]= $row['org_id']; inside the loop and define it as $org_key=array( ); before starting the loop.
Check this link:http://in2.php.net/manual/en/book.array.phpLeave a comment:
-
hi johny assume that i have to upload screen-shot which may contain jpg or png file format only one screen-shoot is available to upload.First i upload file name pic.jpg my code stores it in the from of screen1.jpg now i think that image is wrong( or i want replace it) so i upload with another image say animate.png. Now my code should replace the screen1.jpg (i.e pic.jpg as uploaded name) with screen1.png (which is animate.png as uploaded name )this...Leave a comment:
-
how to overwrite upload image file (with same name but with diff extension)?
how can i let image overwriting when uploading? and if uploading an image say "logo.jpg" and if a file already existing say "logo.png" then, how can i replace the file logo.png to logo.jpg(which has same name but different extension)?
Ex: I want replace logo.jpg with logo.png or any image extension file.
In my code while uploading the image i rename the upload image name to "logo" and add... -
-
hey Arnold your CSS file named assignment20.cs s is notable to access. So its giving error message saying that file is Forbidden.Leave a comment:
-
sidhx started a topic how to inherit the height of a div tag to other 2 div tag height as (inherit) ?in HTML CSShow to inherit the height of a div tag to other 2 div tag height as (inherit) ?
hey i am just beginner in CSS.I have attached the screen shoot. In this the Left-side inherit height of the main content but when i try to inherit for Right-side it don't work help me.
This is the HTML code inside body tag.
Code:<div id="container"> <div id="header"><form action="logout.php" method="post"><p align="right"><input type="submit"
-
hey Sajad u cann't redirect if use echo in the same file.
show the code where u got the problem.Leave a comment:
-
i know to use foreach loop but its not the efficient(mean its takes more time) way to do query so i ask other way roundLeave a comment:
-
hi johny i got sorted out.
Can help me in this,Can i send array value like
$lang=array('Pr ogrammer', 'Senior Programmer', and so on...)
to this
SELECT f_name, l_name, title from
employee_data where title IN
(___________Som e what here $lang__________ ___);
instead of this way
SELECT f_name, l_name, title from
employee_data where title IN
('Programmer',...Leave a comment:
-
hey johny i just want to remove excess value from this $highscore_user .Leave a comment:
-
how to limit the values in array variable?
hi
In my code i have sorted the high_score
through this
arsort($highsco re_user);
// $highscore_user is associated array(i.e. id=>score)
Now i want limit it ,say 10 sorted array value of it.
How to do it
Regards
Sid -
-
i would like check the php files by sending details to respective file like post and get method type with only one click associated to that files.
ex:
authenticate.ph p----TEST
gameStatus.php----TEST and soonLeave a comment:
-
hey look on this line
VALUES (`".$_POST['nickas']."`, '"$_POST['e-mail']."', '$pass'", '$data'")"); change this to
VALUES ('".$_POST['nickas']."', '".$_POST['e-mail']."', "'.$pass.'" , "'.$data.'" )");Leave a comment:
-
-
OK but is it possible to get xml content from the php file which has xml inside the php, while testingLeave a comment:
-
Is there script for testing any kind of a php file?
hi
I wanted to develop php unit file testing. Like showing each php file with "test" link (or button).When we click the "test" associated to that file it dispay the output. plz help -
No activity results to display
Show More
Leave a comment: