Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
61% Quality Score
Upvotes Received
5
Posts with Upvotes
2
Upvoting Members
5
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #2K
~28.8K People Reached
Favorite Tags

38 Posted Topics

Member Avatar for theausum

<?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 />"; ?>

Member Avatar for Pramod_7
0
3K
Member Avatar for dudegio

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

Member Avatar for nicheteam
0
14K
Member Avatar for JoeyWong

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 …

Member Avatar for JoeyWong
0
1K
Member Avatar for ivan3510
Member Avatar for mattyd
Member Avatar for richieking
0
144
Member Avatar for gchurch

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.

Member Avatar for gchurch
0
4K
Member Avatar for SunnySideUp
Member Avatar for suhnako
Member Avatar for trilithon

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 …

Member Avatar for trilithon
0
139
Member Avatar for vartol
Member Avatar for benhowdle89
Member Avatar for ultimatebuster
Member Avatar for ultimatebuster
0
164
Member Avatar for lsmith93
Member Avatar for sundeep_g
Member Avatar for yuryla

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 …

Member Avatar for theausum
0
77
Member Avatar for star_lavender

take the value from the dropdown and checkboxes and simply throw them into a SELECT query

Member Avatar for theausum
0
189
Member Avatar for floatingDivs
Member Avatar for xabi

seems like theres no committee column in members table also why arnt you using aliases for tables?

Member Avatar for theausum
0
110
Member Avatar for ahmedeqbal

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 …

Member Avatar for theausum
0
129
Member Avatar for mithesh

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

Member Avatar for theausum
0
94
Member Avatar for nsam
Member Avatar for theausum
Member Avatar for theausum
0
118
Member Avatar for theausum

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 …

Member Avatar for fatso83
2
3K
Member Avatar for theausum

I want to make sniffer in C++.So can anybody help me out by providing codes??

Member Avatar for suvirj
0
150
Member Avatar for theausum

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 …

Member Avatar for Salem
0
137
Member Avatar for theausum

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

-1
43
Member Avatar for theausum
Member Avatar for Merlin33069
0
43
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for peter_budo
0
75
Member Avatar for rikkie
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for theausum
Member Avatar for Laiq Ahmed
0
138
Member Avatar for theausum
Member Avatar for theausum

The End.