Results 1 to 7 of 7
Threaded View
-
18th May 2011, 03:24 AM #1OPMember
[SOLVED]in need of simple php code.
I need just a simple php code, its probly only a few lines of code.
anyways, here's what i need.
i need a php script in which i visit and it will INCREASE or DECREASE 1 number.
example URL would be.
site.com/example.php?type=inc
^^ that would increase my number by one
site.com/example.php?type=dec
^^ that would decrease my number by one.
i would prefer it be a POST instead of a GET request so this cannot be abused as much.
by default the number would be 0 of course.
i would like to be able to use this file so i can use it on a webpage to display the number.
so i could do something like
The number is: <? include(example.php) ?>
and would would display something like
The number is: 9
hopefully you understand what im saying.DeJay Reviewed by DeJay on . in need of simple php code. I need just a simple php code, its probly only a few lines of code. anyways, here's what i need. i need a php script in which i visit and it will INCREASE or DECREASE 1 number. example URL would be. site.com/example.php?type=inc ^^ that would increase my number by one Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help With Letitbit Js To BB Code aka Embedding streaming code in forums
By JoomlaZ in forum Web Development AreaReplies: 1Last Post: 3rd Apr 2012, 09:50 AM -
[Hiring] Somenone to code simple batch script
By STiNKY in forum Completed TransactionsReplies: 0Last Post: 8th May 2011, 12:42 PM -
[Hiring] $10 for a simple piece of code [URGENT]
By kohkindachi in forum Completed TransactionsReplies: 1Last Post: 19th Nov 2010, 01:30 PM -
[vBulletin BB Code] Moderated Message: (Like W-BB's Staff BB Code!)
By Ghost Dog 13 in forum Webmaster ResourcesReplies: 13Last Post: 26th Sep 2009, 06:19 PM -
PHP/HTML : Simple Ad Poll Code
By Pyro in forum Tutorials and GuidesReplies: 4Last Post: 11th Aug 2009, 05:50 AM
themaManager - edit and manage...
Version 4.21 released. Open older version (or...