- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 90
- Posts with Upvotes
- 79
- Upvoting Members
- 53
- Downvotes Received
- 8
- Posts with Downvotes
- 8
- Downvoting Members
- 7
389 Posted Topics
Re: you are making 2 calls to call.php first has post variables: `xhr.send("amount=" + transferTotal + "&name=" + name);` second does not: `window.open('https://mydomain.com/con.php', '_blank'); ` | |
Re: $_SESSION gets set by session_start() before that is empty So: <?php session_start(); header("Content-Type: application/json"); header("Access-Control-Allow-Credentials: true"); header("Access-Control-Allow-Origin: null"); if (isset($_SESSION)) { $_SESSION["time"] = time(); if (isset($_SESSION["time"])) echo json_encode("Session exists:" .$_SESSION["time"]); } else { echo json_encode("Session does not exist!"); } | |
Re: should line 25 not be `header('Content-type: application/pdf');` ? | |
Re: Why not use [explode](https://www.php.net/manual/en/function.explode.php) | |
Re: if you already have the info you need in $_POST there is no reson to put it in a $_SESSION. $_POST is usaly obtaind from a <FORM> on the first page or by an AJAX-request. if you just want to send the image name to the 2 page why not … | |
Re: take a look at this: [URL="http://nl3.php.net/manual/en/function.md5.php"]http://nl3.php.net/manual/en/function.md5.php[/URL] | |
Re: remove the `style="display:none;"` from <ul id="playlist1" style="display:none;"> <?=$output?> </ul> | |
Re: use [google.maps.marker()](https://developers.google.com/maps/documentation/javascript/markers) the deprecated object google.maps.MarkerImage only defines the image. (the also an example on the same page what to use now) | |
Re: use [IN](https://dev.mysql.com/doc/refman/5.0/en/any-in-some-subqueries.html) UPDATE sho_term_relationships SET term_taxonomy_id = 2 WHERE object_id IN (SELECT `id` FROM `1876522_shoping`.`sho_posts` WHERE CONVERT(`post_title` USING utf8) LIKE '%Audio CD%') | |
Re: 2e part: $output =""; while($record = mysqli_fetch_assoc($query_confirm)) { $output .= "<tr>"; $output .= "<td>" . $record["p_date"] . "</td>"; $output .= "<td>" . $record["p_day"] . "</td>"; $output .= "<td>" . $record["timein"] . "</td>"; $output .= "<td>" . $record["timeout"] . "</td>"; $output .= "<td>" . "06:25:22" . "</td>"; $output .= "<td>" . … | |
Re: if (isset($_POST['chkNumberck'])) $returnArray=$_POST['chkNumberck']; else $chkNumberck= array(); $count=5; echo"<form action='test.php' method='post'>"; for ($sub_id=0 ;$sub_id < $count;$sub_id+=1) { echo "<input type='checkbox' name='chkNumberck[]' value=$sub_id "; if (in_array($sub_id,$chkNumberck)) echo"checked='checked'";> } echo "<input type='submit' /></form>"; | |
Re: is this what you want: $sql = "SELECT * FROM misscall WHERE did_no = ". $didno; or did I not understand your question? ![]() | |
Re: also: echo "<td><a id='more' href='http://www.niloofar3D.ir' onClick='return popup(this, \"mypopup\")'><button>»</button></a></td>"; | |
Re: silly question: Are you actually using a Apache server? | |
Re: maybe if you tell what isn't working | |
Re: according to the manual: [operators precedence](http://php.net/manual/en/language.operators.precedence.php) it has an 'Undefined order of evaluation' and may 'change between versions of PHP or depending on the surrounding code' | |
Re: html line 9 <input type="submit" name="y" value="submit my data" /> Your submit-button is called 'y' not submit either change that line or your php_handler.php line 3: if (isset($_POST['y'])){ | |
Re: [get values after decimal](http://stackoverflow.com/questions/8095199/php-get-values-after-decimal) | |
Re: N is the number of levels of subdirectory used. `"N;/temp"` makes no sence. `3; /temp` does, but is not necessary and not recommended, so do you reley need it? see [php#ini.session.save-path](http://nl1.php.net/manual/en/session.configuration.php#ini.session.save-path) | |
Re: Your database login and password are showing Change them now!! | |
Re: At line 12 $path and $img are not known yet, you declare them later. So move the php part (line 14 -41) to the top of your script | |
Re: What is stored in $image['image_file']? is that the binary-image-data or just a filename? | |
Re: What exactly do you need to do? you need to be a [registrar](http://en.wikipedia.org/wiki/Domain_name_registrar) to create a new domain yourself. (and have an dns-server). But you can create subdomains like somebody.yoursite.com | |
Re: make sure your browser points to `http://localhost/yourfile.php` and NOT `file://c:/wamp/htdocs/yourfile.php` | |
Re: it must be `$d= $_GET["d"];` not `$d= $GET["d"];` | |
Re: <?php session_start(); must be the at the very top of youre script. no html before it, not even a white-line; for actual error message: if just you run session1.php, $_POST will be empty. test: `var_dump($_POST);` the $_POST is filled bij the form only after you submit it but `action="session2.php" ` … | |
Re: It looks to me that your database is not structured properly. Take a look at [database normalization](http://www.studytonight.com/dbms/database-normalization.php) | |
| |
Re: You don't do a [query](http://php.net/manual/en/function.mysql-query.php) checkout [www.tizag.com](http://www.tizag.com/mysqlTutorial/mysqlquery.php), [www.w3schools.com](http://www.w3schools.com/php/php_mysql_select.asp) ![]() | |
Re: have you checked out the php [mail](http://php.net/manual/en/function.mail.php) function? | |
| |
Re: have you checked out [move-uploaded-file](http://php.net/manual/en/function.move-uploaded-file.php)? take a look at the example | |
Re: quite te project but to start: http://codex.wordpress.org/Function_Reference/add_menu_page | |
Re: problably just a past error line 2: `<?phpforeach($row as $b):?>` must be `<?php foreach($row as $b):?>` but where is the `endforeach; ` | |
Re: to cover the basics: make sure `$_GET["clientid"]` is not empty add: `else echo "no clientid"; ` | |
Re: if(!empty($stu_fname) && !empty($stu_lname) && !empty($stu_email) && !empty($stu_telp) && !empty($stu_skype) ) { | |
Re: don't you mean : no DATAbase selected? mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("secure") or die (mysql_error()); also I don't see a `mysql_query();` also mysql is deprecated use [mysqli](http://www.phphaven.com/article.php?id=65%C2%A0) or [pdo](http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers) ![]() | |
Re: e.currentTarget.html() should work html() retuns the html inside of the <div> not the <div> itself | |
| |
Re: Why do you want to do this. To protect your server from mysql-injection? Than it's not save to rely upon javascript. Data can be sent directly to your server bypassing all your code. Javascript validation is only used to create a faster error message. It's the job of the server-site … | |
Re: You never execute the update query $s="UPDATE finance SET credit ='" . $r. "' WHERE payee = 'rw'"; $res = mysql_query($s) or die(mysql_error()); | |
Re: make sure your browser points to http://localhost/ not c:/wamp/www/yourefile.php | |
Re: if(isset( $_GET['Product_id'])) $product = $_GET['Product_id']; else echo " no product id"; | |
Re: All you need is to imbed a flash-video player and pass the video stream form your media server. that's all html here an example using the openscoure [StrobeMediaPlayback.swf](http://www.osmf.org/strobe_mediaplayback.html) <div> <object width="320" height="240"> <param name="movie" value="StrobeMediaPlayback.swf"></param> <param name="flashvars" value="src=rtmp://url_to_your_server_here"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="StrobeMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="470" … | |
Re: if $_GET['Id'] (line 1) is not set, $row['PageId'] (line 27) will no exist | |
Re: the same as this post [this post](http://www.daniweb.com/web-development/php/threads/476165/parse-error-syntax-error-unexpected-) See that you didn't change to if ($child->getName() == "URL") $url = (string) $child; have you done a `var_dump('$gateway_url');` yet? post the result |
The End.