17 Discussion / Question Topics
Remove Filter I'm trying to convert this xml to json or array. first this is what i did: $response = simplexml_load_string($xml_test); and i got error: < not found, anyone can help me? HTTP/1.1 200 OK Date: Wed, 03 Jun 2015 10:19:38 GMT Server: Apache-Coyote/1.1 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Jan … | |
hi guys i just found wierd thing, my cookies work in local(Windows) but, after i pushed to server (Ubuntu), the cookies null (empty). this the code to set cookies: set: function(name, value, duration, domain, path, secure) { name = this.prefix + name; if (duration == null) duration = this.duration; if … | |
<div class="form-group"> <label for='image' class="col-sm-2 control-label">Leader Board</label> <div class="col-sm-10"> <input id= "txt_lead" type = "text" name="image_lead" class="form-control input-sm" onclick ="javascript:document.getElementById('file_lead').click();"> <input id = "file_lead" type= "file" accept="image/*" name="file_ads_lead" style='visibility: hidden;' onchange="ChangeText(this, 'txt_lead');"/> <?php echo form_error('image_lead', '<small class="pull-right req">', '</small>');?> </div> </div> <script> function ChangeText(oFileInput, sTargetID) { document.getElementById(sTargetID).value = oFileInput.value.replace("C:\\fakepath\\", "");; … | |
Hi I once hosted a website, using wordpress framework but after a month, my webstsite hacked and after digging on my website there is so much scripts added to the file (i did not remember exactly how the scripts, but it was so longgg script). I deleted all that scripts, … | |
I have Skype installed on my PC, as i knew using port 80 as default. Then, i changed httpd.config to 8080, but my apache not starting After did a little googling, i have to uncheck 443 on Skype setting. My question: is the apache uses 2 ports? And why? | |
Hi i'm trying to raise an event when user ticks checkbox in gridview silverlight. so far, i was trying event handler Click , it only handles checkbox in the gridview, while i also wanna raise an event when user ticks checkbox at header of the grid. Any idea how i … | |
hi fellas As I remember, I watched video on YouTube, I couldn't watch directly on the middle of the video without loading from the beginning (am i correct?), but nowadays we can and it's really great. How that thing works? Maybe i'm wrong, anyone can verify that? | |
i have 1000 clients(host) spreadly in my country and for some reasons i want to know their connection speed. how do i can get it? All of my clients are using Windows. | |
for example: current url : localhost/website becoming : localhost/website/product without refreshing. Thanks in advance | |
Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)? | |
i have database with tables like these: t_09_students t_10_students t_11_students where 09, 10, 11 show year and this table will increase over the year. how do i select all the data from the tables (using union) with flexible table name? ask me, if it is not clear yet | |
hello fellas i'm stuck in this function: function getDataForPagination() { $sql = "select * from t_book limit 1, 15; $result = mysql_query($sql); if (!$result) return false; $num_rows = mysql_num_rows($result); if ($num_rows == 0) return false; $result = dbResultToArray2($result); return $result; } i want to make the above function more flexible … | |
i developed a system in xampp 1.7.2, and now i run it in xampp 1.8.2 (lastest version) i got this error Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\ hint: in xampp 1.7.2 no error anybody can tell me why? | |
where should I put it, if I want to add an image, css or html? | |
this is my code: switch(a){ case 1: case 2: case 3: case 4: printf("4\n"); break; default: break; } i need the nodes to make control flow graph for testing purposes. | |
i have 2 files, one file created on Windows and another was made on Ubuntu, i want to use this command: comm -12 file1 file2 how do i do that? | |
i got a string var=96.33% from 120 how do i get 96.33 from $var? |
The End.