Posts by BSants • 27 points
7 posts
-
0
votes2
answers3226
viewsA: Get PHP Array Value
You can use the function of parser and save each part of the array’s string into a variable, using the function: void parse_str ( string $encoded_string [, array &$result ] ) in your case:…
-
0
votes2
answers674
views -
1
votes2
answers4473
viewsA: Undefined variable: _SESSION
As you want to access the session variable, you also need to login both files: session_start(); $urlName = $_SESSION["urlName"]; //o valor não chega aqui no x.php, Pq?…
-
-1
votes1
answer177
viewsA: How to open a full screen size popup on extended displays?
You can try using the functions: screen.availWidth screen availHeight screen width. screen height. Example: function popitup(a) { window.open(a,'open_window','height=screen.height, left=1,…
javascriptanswered BSants 27 -
1
votes2
answers297
viewsA: Mysqli_fetch_array in Locaweb, error logging in!
Modify these lines: $email = $_POST['email']; $senha = sha1($_POST['senha']);
-
0
votes3
answers1700
viewsA: How to take the title of an HTML page and return its value in Javascript
You can use the DOM function: getelementsbytagname and access the internal content of this TAG. document.getElementsByTagName("title")[0].innerHTML The difference is that this function returns a…
-
0
votes2
answers347
viewsA: Calling a controller action for views
First import controller responsible for action. And try something like: Yii::$app->runAction('controller/action', ['primeiroParametro' => 'primeiroValor', 'segundoParametro' =>…