17 Topics

Member Avatar for old_apache

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 …

Member Avatar for bnmng
0
213
Member Avatar for old_apache

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 …

0
113
Member Avatar for old_apache

<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\\", "");; …

Member Avatar for old_apache
0
793
Member Avatar for old_apache

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, …

Member Avatar for ebutin
0
122
Member Avatar for old_apache

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?

Member Avatar for old_apache
0
280
Member Avatar for old_apache

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 …

Member Avatar for mwedberg
0
117
Member Avatar for old_apache

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?

Member Avatar for old_apache
0
234
Member Avatar for old_apache

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.

Member Avatar for rch1231
0
220
Member Avatar for old_apache

for example: current url : localhost/website becoming : localhost/website/product without refreshing. Thanks in advance

Member Avatar for harsh9
0
336
Member Avatar for old_apache

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)?

Member Avatar for pitic
0
169
Member Avatar for old_apache

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

Member Avatar for pritaeas
0
88
Member Avatar for old_apache

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 …

Member Avatar for old_apache
0
206
Member Avatar for old_apache

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?

Member Avatar for old_apache
0
245
Member Avatar for old_apache
Member Avatar for old_apache

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.

Member Avatar for old_apache
0
192
Member Avatar for old_apache

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?

Member Avatar for old_apache
0
186
Member Avatar for old_apache

The End.