Nov 26, 2009
Pages: 1, 2

Wappy's Php Snippets - I will place here usefull php snippets and functions that i learn/use

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > PHP Programming

Wappy's Php Snippets - I will place here usefull php snippets and functions that i learn/use

wappy
yeah true but it would save me alot of hassle lol, i have been running wap sites for a couple of years now and have had more hassle of sa people than any other country dude. Yes i would lose about 10 friends, but would also lose almost all trouble on my site. I won't do it, but anyway as i stated above i don't want to talk about this wap war style stuff here. This is my escape from all that, this forum has nice helpfull people. Not like certain other forums i won't mention.

Comment/Reply (w/o sign-up)

juice
Yes wappy but banning the SA networks will just make things worse, I'm in SA so please don't ban the SA networks sad.gif FACT: The people from SA are some of the most addicted wappers around! laugh.gif

Comment/Reply (w/o sign-up)

wappy
i already said i won't ban the networks but as i said had been very tempted in the past. And yes there is alot of za people on wap bro.

Comment/Reply (w/o sign-up)

FeedBacker
WAP forum
Wappy\'s Php Snippets

H0w can I make my own wap forum on my wapsite using php/mySQL?
Thank's... -=d(~_^)b=-

-question by Mark Anthony Gapoy

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : wappys, php, snippets, place, usefull, php, snippets, functions, learn

  1. Functions
    ??? (9)
  2. Php Email Validation
    A PHP data validation class with many functions (1)
    I've been reading through my old php book (PHP 4.1) and came across this data validation class.
    It can check a number of things ranging from telephone numbers , credit card number formats, email
    address and some others. I checked out some of the methods although I didnt expect it to work 100%
    because I've found source code errors thoughout the book and CD. I tested out a few of the
    methods to check and some of them did return expected results but some didnt either so the data
    validation class was not perfect and it didnt really bother me. The cool thing I found....
  3. Php Functions To Send Mail
    (9)
    Which other methods to send mail from a form? I just know mail function, like: mail(string to,
    string subject, string message) Has anyother?....
  4. Arrays Outside A Function
    Need to have arrays available to all functions. (3)
    I've got a bunch of arrays that i want to use for more then 1 function. when i declear the
    arrays outside a function i cant use it in a function. This code was originally written in
    javascript by another person but since I plan to use it and extend it with php I had to change it
    from javascript to php code. In the javascript code the arrays were decleared outside the functions
    with 'var arrayname' I read somewhere that declearing javascript variables with
    'var' gives it global access. Any ideas on how I can go about declearing 1 set of these
    arrays t....
  5. Encrypt Functions
    (0)
    Here is my 3rd Code: By this code you can encrypt your text: CODE $a = md5("hello"); $b =
    base64_encode("hello"); $c = base64_decode("hello"); print "md5 = ".$a." base64_encode = ".$b."
    base64_decode = ".$c; ?> EASY!....
  6. Some Basic Php Code Snippets For All Levels Of Experience
    (3)
    Most of the code snippets are usually used for community driven sites but they do give some general
    idea on how php works. Don't forget if your starting out php for the first time that when
    saving php files that you need to have the .php extension on your files or they will not work.
    Display Browser info This piece of code displays a user's browser info on how they are seeing
    the website CODE Actual Display- QUOTE Firefox - Mozilla/5.0 (Windows; U;
    Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Internet Explorer ....
  7. [php](simple) Using Functions To Combine Values In A Form
    Really simple example on how to combine values with function (2)
    I just learned this simple method on how to use functions to combine two values from a form. First
    we create ourselves a simple POST form CODE Name: Location: Now we add this php
    to that same file CODE $nick = $_POST ; $location = $_POST ; function information($nick,
    $location){     echo 'My nick is '.ucfirst($nick).' My location is '.$location;
         } information($nick, $location); ?> that code is similar to this one CODE $nick =
    $_POST ; $location = $_POST ; function information($nick, $location){     return ....
  8. Gd Functions
    Questions (2)
    Hi all I want begin a new project , my new project is Photo blog ( weblog and image album ) in one
    script for example you can post many image in one post at once case . so its very good and very easy
    but we have some problems . if you can plz help me to fix this problems for example : we need
    change image size for page speed ( we dont want show 16 image in one page ) * we need GD functions
    to change image size to smaller and then show smaller image at page if you know source or tutorial
    about change image size plz post here . thankx we know we can change image size (w....
  9. Wap Redirection
    Usefull code that all wap site owners should use! (12)
    Use this code to redirect pc users from your wap site to web site: include above page header this
    code: CODE $mywebsite = "forum/index.php"; $browser = explode ('/', $HTTP_USER_AGENT);
    if($browser =="IE"){ header ('Location: $mywebsite');} ?> ....
  10. Some Php Functions Explaination Required
    (2)
    Can some one please tell me what is the purpose of the following functions , although there's a
    little explaination with everyline but i cant understand, can some one exaplin it bit clearly and
    tell me that why it is needed in config.inc.php.. what is its purpose and will it work if i dont
    include these files in config.inc.php thanks QUOTE ### Url were Website has been installed, not
    '/' in end! define('C_URL','http://www.test.com/Website'); ### Internal
    path to Website directory define('C_PATH','Z:/home/www.test.com/www/Webs....
  11. Globals Inside Functions
    (4)
    I've got the following function, that has a function inside of it, when I run it I get the
    followin error: PHP Code: CODE Fatal error: Call to a member function on a non-object in
    See the code below where I get the error message. I'm guessing the scope of my varaibles is
    messed up, but I'm not sure how to fix it. I've abbreviated the code so as to make it easier
    to read. PHP Code: CODE function getMemberRegistrationForm( &$tpl, &$db ) {    function
    displayRegistrationForm( $action, &$db, $defaults = NULL, $id = NULL )    {        global ....
  12. Using The Image Editing Functions Of Php
    Specifically, lines or regular polygons. (4)
    I've been experimenting a little with PHP's image functions and I was trying to see if I
    could make something that looked 3D, so I started with a cube because it's simple. To make an
    isometric picture of a cube, you need to start with a regular hexagon. However, making a regular
    hexagon isn't the easiest thing. Is there a function to create a regular polygon, or specify an
    angle and magnitude for a vector?....
  13. Writing Your Own Functions In Php
    how do i write php functions that takes arguments in php? (2)
    I'll set up the background for the question: I have a separate file that I include on all the
    webpages on my site which I call with PHP using the include() function, so everything will be much
    easier to maintain and update. Well, I have three include files for each page: header.php (includes
    stuff like meta tags, googlebot/spider info), footer.php (the footer/copyright thing), leftnav.php
    (includes the navigation bar). I also like the titles of my pages to be as descriptive as possible
    so I try to include the path of a page (how the user got to that page: "Excite Y....
  14. Confused...
    some php functions that i am confused (5)
    First of all, if you have answers to the following QUOTE
    http://www.trap17.com/forums/A-Lot-Of-Php-...ions-t7653.html
    http://www.trap17.com/forums/A-Lot-Of-Html...ions-t7651.html Feel free to answer them all. Now,
    in PHP i know there's microtime, srand, float, array_rand, arrays, foreach, or any other loop
    functions. i'm really confused . Please help me!....
  15. Links To Lots Of Usefull Website
    I AM NOT SPAMING THIS TOOK ME 15 MINUTES (2)
    HELLO HERES A LIST OF LOTS OF USEFULL SITES I FOUND: || Codecs || http://www.free-codecs.com
    http://www.codecsdownload.com http://www.freecodecs.net http://www.click-now.net
    http://www.click-now.org || Search Engines || www.google.com www.search.com www.altalavista.com
    www.AllSearchEngines.com www.mamma.com || Programming Help Sites || www.patorjk.com
    www.planet-source-code.com www.freevbcode.com www.codearchive.com www.vbaccelerator.com
    www.vbcode.com www.abstractvb.com www.developerfusion.com www.codeproject.com www.extreme-vb.net ||
    Free Online Game Play || ....

    1. Looking for wappys, php, snippets, place, usefull, php, snippets, functions, learn

Searching Video's for wappys, php, snippets, place, usefull, php, snippets, functions, learn
See Also,
advertisement


Wappy's Php Snippets - I will place here usefull php snippets and functions that i learn/use

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com