- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 2
- Upvoting Members
- 5
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 2
38 Posted Topics
<?php $ip = '59.32.28.65'; $url = "http://www.ipmango.com/api.php?ip=".$ip; $xml = simplexml_load_file($url); echo "IP address : {$xml->ipaddress} <br />"; echo "City : {$xml->city} <br />"; echo "Region : {$xml->region} <br />"; echo "Country Name : {$xml->countryname} <br />"; echo "Latitude : {$xml->latitude} <br />"; echo "Longitude : {$xml->longitude} <br />"; ?> | |
Re: If you are getting error like "Warning: Cannot modify header information - headers already sent by (output started at /path/file.php:1)" it means you've got some output before your header() call or starting a session. *No* output can be sent. that includes whitespace (outside of <?php and ?>) and any (X)HTML. … | |
Re: your question makes no sense. tho if you are talking about storing data from a form into a DB(for example mysql) then just take the data from the form using $_POST form the sql query and perform an INSERT query. Piece of Cake DO NOT STORE ARRAYS IN THE DATABASE … | |
Re: your connection MAY not be proper, or else the sql query is returning some error for sure. | |
Re: why not simply check in php whether the radio button is clicked or not, if not clicked then do nothing and show an error msg, if clicked then do some processing/go to the next page. | |
Re: also use htmlentities | |
Re: As soon as the dropdown value/option is changed you will make an ajax request to fetch the data from the database and populate the form. you can then cache the data in JS itself. also you can simply load all the data from the DB when the page is loaded … | |
Re: i think everything out of those can be simply done with/in wordpress | |
Re: is there any database called MicrobloggingDatabase ? | |
Re: well, does this helps you ? -> [CODE]/** * Reads the directory path specified in the first parameter * and builds an array representation of it and all its * contained files. if $top_level_only is set to TRUE then the * sub-folders wont be mapped. if $hidden is set to … | |
Re: take the value from the dropdown and checkboxes and simply throw them into a SELECT query | |
Re: seems like theres no committee column in members table also why arnt you using aliases for tables? | |
Re: you can use mod_rewrite, also if you are generating the pages via a CMS or some backend/admin panel then store the slug(for ex - demo-page) in the DB and then when the user opens the page example.com/demo-page.html query the DB to find the row corresponding to "demo-page" under the slug … | |
Re: PHP is a programming language CakePHP is a MVC architecture based framework built in PHP only. Basically it will help you to develop websites/web applications faster instead of writing your single scripts. I aint a cakephp lover :P | |
Re: I could not really understand your question | |
For Mobile Applications carbide C++ is better or j2me is better? | |
Code to Execute an SQL Script in JDBC. The SQL Script should have comments starting with - or -- only on new lines and each command should end with a ; . Reading a sql file and putting all of it in a string variable and feeding to the execute … | |
I want to make sniffer in C++.So can anybody help me out by providing codes?? | |
This is the code to print the Permutations of a String. [CODE]#include<stdio.h> #include<conio.h> #include<string.h> void permute(char *str,int l,int pos,int r); void swap(char &a,char &b); void print_string(char *str,int r); int main() { char str[10]=""; int l,r; printf("Enter The String : "); gets(str); l=strlen(str); printf("Enter The Number Of Places To permute on … | |
[code=c] #include<stdio.h> #include<conio.h> #include<string.h> void permute(char *str,int l,int pos,int r); void swap(char &a,char &b); void print_string(char *str,int r); int main() { char str[10]=""; int l,r; printf("Enter The String : "); gets(str); l=strlen(str); printf("Enter The Number Of Places To permute on : "); scanf("%d",&r); printf("The Following Permuations are possible : \n\n"); … | |
Can anybody tell me the price of the surface computer of microsoft?? | |
Has windows xp sp3 been released?? | |
Its easier to make games for websites in javascript or in flash?? | |
| |
| |
The End.