39,392 Topics

Member Avatar for
Member Avatar for davy_yg

Hallo, Does anyone knows how to secure xampp - I mean for web server ? How to place password on it ? I am just want to secure my database. Thanks before.

Member Avatar for davy_yg
0
150
Member Avatar for arafath077

Im using wunderground.com weather API. I got JSON to an array.buy i coudlnt echo arrray one by one. these the sample code to i used in my site `$json = file_get_contents("http://api.wunderground.com/api/ab3f1aefcf4033d4/forecast10day/q/CA/San_Francisco.json"); //$phparrya = json_decode($jsonstring); $array_json=json_decode($json, true); print_r($obj);`

Member Avatar for arafath077
0
224
Member Avatar for Pravesh_1

I developed a shopping cart using jquery, ajax and json. It is working fine on local server in chrome. But when I run on server using chrome it is not doing anything; but running on firefox. It is not running first time, but when I came back from another page …

Member Avatar for diafol
0
2K
Member Avatar for extjac

Hello! I have a table called Events and one of the colums is called "country". I want to be able to query events based on the user country. So eventID #1 might have "country" = US, CA, MX (multiple values), so if a user is from the US logs-in will …

Member Avatar for diafol
0
513
Member Avatar for surferbloggy

Hi, i need a quick help to configure a Facebook app when i go to the Facebook address it is this in the screenshot a gray page everythig seems right but the game is not shown i’ve added this code to the index.php with the right ids but nothing if …

Member Avatar for Hemendra_1
0
320
Member Avatar for mpike

Alright I apologize for the completely uninformative title but i had no idea what to call it. Basically I have an array with multiple values and I only want information to be sent from certain forms if a certain value is met in the array. <?php if(isset($_POST['cb1'])) { $cb1 = …

Member Avatar for world_weapon
0
383
Member Avatar for nadiam

hey guys so im trying to insert data from my contact form into database depending on radio button. as u can c i have 2 radio button both under "spouse ?" and another under "child ?" now when user clicks on "yes" another form pops up for each title respectively(form …

Member Avatar for pzuurveen
0
600
Member Avatar for tronghiep92

I problem AJAX jquery. How block run AJAX from console.log EX test on localhost: **file index.html:** <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script> $(document).ready(function(){ var btn = $('button'); btn.on('click', function(){ $.ajax({ url : 'process.php', type : 'post', data : {id : 1}, success: function(data){ console.log(data); } }); }); }); </script> </head> <body> <button>CLick</button> </body> …

0
70
Member Avatar for smutolo

I found a php class that seems to help me achieve my objective of doing an advanced search of my database <?php class search { var $table; var $field1; var $field2; function queryRow($query){ //define database settings define("host", "xxxxxxxx"); define("login", "xxxxxx"); define("senha", "xxxxxxx"); //define database name define("data", "xxxxx"); //conection routine try{ …

Member Avatar for diafol
0
2K
Member Avatar for hsakapandit

I have arrays and variables in JQuery and I want to know that Can I POST both arrays and variables from single $ajax jquery request to my php page. If yes then How will I post data from Jquery and how will i handle in PHP page. var get_id = …

Member Avatar for hsakapandit
0
792
Member Avatar for surferbloggy

Hi, i have done a wordpress plugin i'd like to localize so i've foun this useful link about it [Click Here](http://premium.wpmudev.org/blog/localize-a-wordpress-plugin-and-make-it-translation-ready/) it explain about localize the static txt of the plugin but my plugin manage contents stored in 2 db tables if the user would save this content in 2-3 …

0
133
Member Avatar for chaitu11

<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last Week</option> <option value="3">2 Weeks back</option> </select> </form> <script type="text/javascript" src="js/jquery-latest.js"></script> <script> function showValues() { var str = $( "form" ).serialize(); …

Member Avatar for pzuurveen
0
356
Member Avatar for MICHAEL DENNIS

**Need assistance in using PHP to connect to webservice using SoapClient (I am kinda new to SOAP)** Here is the WSDL URL: https://uat.fiadmin.com/scs.webservice/ScsAutoService.asmx Here is the SOAP request from SoapUI with correct data in the fields: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:scs="http://www.natinc.com/SCSAutoService/"> <soapenv:Header/> <soapenv:Body> <scs:GetRates> <scs:objGetRatesRequest> <scs:UserId>VPP</scs:UserId> <scs:Password>jBH5Mspc</scs:Password> <scs:TpaCode>DEMO</scs:TpaCode> <scs:ErrorMessage>0</scs:ErrorMessage> <scs:ErrorCode>0</scs:ErrorCode> <scs:RequestGroup>0</scs:RequestGroup> <scs:Trim>0</scs:Trim> …

Member Avatar for pritaeas
0
284
Member Avatar for Maideen

Hi I have one issue. I do not know how to solve and also no idea. It is my scenario. I have Product table with details,selling price, purchase price and so on. I want to invoice to clients. Clients can buy lots of item in single invoice. If I select …

Member Avatar for diafol
0
301
Member Avatar for Tallapalli

i have database with catogiries like education,food,health how can i describe fields and inter connect the tables

Member Avatar for pzuurveen
0
110
Member Avatar for diafol

Hi all. Have been racking my brains about how to go about creating a multidimensional array dynamically from an array of keys. Something like... $keys = array('key1', 'key2', 'key3'); $value = 'some value'; // $md = ...???!!!... I need the $md multidimensional array to have the keys thus... $md['key1']['key2']['key3'] = …

Member Avatar for Webville312
0
9K
Member Avatar for Webville312

Dear all, I have been thinking of this task, but I have no idea where to start from. I am retrieving login logs from the database, which is cool. Now, the challenge is that in case a user has logged in more than once in the same day, I want …

Member Avatar for Webville312
0
5K
Member Avatar for davy_yg

Hello, I am assign to create an SMS Gateway webbased. Any idea how to do so? I only find this typology for an SMS Gateway: [SMS Gateway](http://www.ozekisms.com/index.php?owpn=510) Yet, still do not have any clue how to create the web based script for it in order to work.

Member Avatar for szurcsii
1
244
Member Avatar for nadiam

i have a contact form. html is done. php is done as well. but the submit button doesnt seem to read my php code. sorry if my coding is too long but i just had to post the whole thing incase i missed something. any help is very much appreciated. …

Member Avatar for nadiam
0
395
Member Avatar for seotheo

Hi, I am trying to get a form to redirect to a thank you page but after several attempts I am still no closer to achieving this. Below is the php code form the sendemail script: <?php $name = trim($_POST['name']); $email = $_POST['email']; $comments = $_POST['comments']; $site_owners_email = '**************'; // …

Member Avatar for ehpratah
0
3K
Member Avatar for geobett

anybody to help me query two database tables containing different data between two dates and results given sequencially dependending on this dates on either of the two said tables

Member Avatar for diafol
0
40
Member Avatar for Ole Raptor

I am having a small issue with displaying text that has been converted with htmlspecialchars. In the db I have this: &amp;lt;b&amp;gt;Testing:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;it&#039;s a test&amp;lt;br&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; When I use: echo htmlspecialchars_decode($variable); The page displays: <b>Testing:</b><br><ol><li>it's a test<br></li></ol> I am not sure why this is happening. Any help is appreciated. Thank you

Member Avatar for Ole Raptor
0
238
Member Avatar for junaid_5

Hello i am creating a small project. is there any tutorial that could help me . i have image gallery. it has main categories and then sub categories , i want to upload the images to respective sub category under main category after choosing categ and sub categ from list …

Member Avatar for junaid_5
0
200
Member Avatar for extjac

Hello. I am trying to implement a Laravel API that will be consumed by different clients (domains). The API basically, sends json response to the clients. For instance, when the client app.anyclient.com sends a AJAX/post request to api.myapi.com/login …the API is able to validate and login the user; however, the …

0
114
Member Avatar for net4earning

i using this code to display radio buttons for selection. somehow the its not working correctly, plz guide on this issue. thanks in advance. <div class="register-section" id="user-role-section"> <label for="wp_rar_user_role"><?php echo $this->wp_rar_role_label; ?></label> <?php foreach($this->wp_selected_rar_roles as $role) { ?> <input type="radio" name="wp_rar_user_role" id="wp_rar_user_role" class="input select" value="<?php echo $role; ?>" /> <label> …

Member Avatar for net4earning
0
641
Member Avatar for stokie-rich

Hi guys I know this might be a repeated post, someone has looked at the code and they seem to think that it all look fine, but I'm getting this following message again Warning: mysqli_query(): Couldn't fetch mysqli in C:\xampp\htdocs\submit-form.php on line 19 The following SQL Failed INSERT INTO 'users' …

Member Avatar for pritaeas
-1
658
Member Avatar for rpv_sen

Hi I am trying to display the server(system) status ON/OFF with php script. can anyone please help me how we can find the status. for example we are having 3 machine. SRVR01 ON SRVR02 OFF SRVR03 ON

Member Avatar for rpv_sen
0
124
Member Avatar for Pravesh_1

I am developing shopping cart using jquery, json and ajax. What kinda of security should keep in mind while developing ?

Member Avatar for iamthwee
0
70
Member Avatar for ehpratah

Good day everyone Not sure if this is the right place to ask this but im trying to connect to my database online "Control Panel of my hosting site" from my local machine basically the webpage is running locally. but i want the data to be fetch online. my question …

Member Avatar for ehpratah
0
3K
Member Avatar for Moderns

I decided to use the stored procedures in MySQL. I am able to retrieve only one row value in OUT paramater, but when the returned result contains more than one row, I get nothing! Please see the simple code below for stored procedure which I add it to phpmyadmin direct: …

Member Avatar for diafol
0
1K

The End.