Description:
PHP, server side scripting.
|
|
|
sessions causing refreshing not to work
|
| |
I have page data being sent through a php script that uses sessions to pass along variables. These vars are used to load data.
If a user opens a page, everything works fine.
If they open another in a new window it works fine.
If they tab back over to the original browser window and hit refresh it... more »
|
|
CFP - DEIS2012 - Czech Republic - SDIWC
|
| |
Dear Colleagues,
We are inviting you to join and participate in the upcoming conference
that will be held in Czech Republic. This will able to build
connections among researchers in the field of digital applications.
Please spend some time to overview the research topics.
Below are the conference information. If you have any questions, you... more »
|
|
implode/explode vs serialize/unserialize
|
| |
Would one of the more knowledgeable folk discuss when it is appropriate to use implode/explode and when it is appropriate to use serialize/unserialize.
It seems that for 1D arrays implode is better in that is only adds 1 character per array element and serialize adds many.
For objects, serialze is the only way to go.... more »
|
|
Overriding PHP INI Setting session.use_trans_sid=0
|
| |
My Hosting Service has the following PHP settings [per phpinfo():]
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
This means that while my Session ID is stored in a cookie it will not be
automatically appended to my "a href" URLs when clicked. I am dealing with... more »
|
|
Problem setting Date field in MySQL
|
| |
Hello,
I am having an issue with creating a database record and saving dates into the record. I have a form the user enter's dates. That form calls the 'updateArticle.php' file and to update or create a new recod. Currently I'm only working on the create record side of the program right now. All of the field's are passed from the form to... more »
|
|
How to construct an associative and numeric indexable array
|
| |
Hi,
The docs for MS's SQLSRV PHP interface sayes:
"Based on the value of the $fetchType parameter, the returned array can be a numerically indexed array, an associative array, or both."
It might be helpful to have such an array in some other places.
How is it done?
--
|
|
forcing double quotes
|
| |
echo "<a href='#'>"
how do you make it so that the output will show "#"?
" in place of the ' does not work.
|
|
How best to print an array to table?
|
| |
Ok so here's the quick and dirt simple code:
<?php
$Alist=array (
"cover"=>"images/A/A001.jpg",
"aname"=>"The A Team",
"bname"=>"An Empty Glass",
"artist"=>"SSgt Barry Sadler",
"avideo"=>"A",
"bvideo"=>"b",
"label1"=>"[US] RCA Victor",
"label2"=>"UK] RCA",
"adate"=>"4-23-66"... more »
|
|
What is this attack trying to do?
|
| |
GET mycode.php?param=-24+UNION+SEL ECT+0x6d6567613164756d706572,0 x6d6567613264756d706572,0x6d65 67613364756d706572,0x6d6567613 464756d706572,0x6d656761356475 6d706572,0x6d6567613664756d706 572,0x6d6567613764756d706572,0 x6d6567613864756d706572,0x6d65 67613964756d706572,0x6d6567613 1064756d706572
???... more »
|
|
|