Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help to write a code....

    First of, I have totally no clue about php, however me and my friend want to do something for a GAME clan website....

    here is what we want to do:

    1. Somebody can buy an account to submit a photo and profile
    2. All people are able to view photos
    3. Only members are able to view profile
    4. A search for member, hieght, screenname and all that good stuff

    Is this possible, if so it would make me very happy if somebody could write this code for me.....

    Thanks alot

    I really hope somebody can help me ( I also hope that this somebody does not require money for this code, scince i hardly have any of it )

    thanks again
    Last edited by JAVAEOC; 04-16-2004 at 05:01 AM.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What I write will probably disappoint you, because I won't write the code for you. It's not that your request contains too many complicated tasks, but it'll take some time to finish the application which I don't have. Plus, your requirements are rather vague.

    However, I would recommend search on Hotscripts for premade app that fulfills your needs. What you want is a mixture between CMS and picture gallery, and for those exist countless premade scripts. A good picture gallery I can recommend is Gallery.

    BTW, if you want someone to write PHP code for you - always include the PHP version and the server type (module or CGI, Apache or IIS etc.) on which the code needs to run. It's always frustrating to see that fine code does not work because the server runs an ancient PHP version, and you have to backport countless standard functions.
    De gustibus non est disputandum.

  • #3
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks you for your link, it seems to give me everything i need, thanks alot

    Now I only have to find out how to get it running, i already made my pc a webserver so i thought i could test it, but i only see text

    Thanks again...
    Last edited by JAVAEOC; 04-16-2004 at 03:09 PM.

  • #4
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I downloaded it into my webdirectory, and now im completle lost, They talk about unix, php4, not php5, apach, and all that kind of crazy stuff which means nothing to me.....

    Is it possible that you give me a link to all the stuff i need to install on my PC/Server, for the php stuff to wrok, cause right now i only get TEXT,

    thanks for your help so far



  • #5
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Check the sticky about PHPDEV on top of this forum.

    Installing a ready made package like that is the easiest way to get started.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #6
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Now i installed it, but still all the php sites show up as text, what did i do wrong???

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Following rafs suggestion will yield results very fast; however, if you have already a web server installed on your PC, you only have to install and configure the PHP interpreter correctly. There is extensive documentation for doing this on php.net: http://www.php.net/manual/en/installation.php

    If you need further help, you must tell us which OS and web server you use in order to get qualified help. Good luck.

    EDIT: If your .php files show up as text, then the web server isn't configured properly to hand these files over to PHP before sending them back to the client. In Apache, you have have to add this line to your httpd.conf (the main configuration file):

    AddType application/x-httpd-php .php
    Last edited by mordred; 04-16-2004 at 04:12 PM. Reason: Posts crossed
    De gustibus non est disputandum.

  • #8
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Last time is installed one of the PHPDEV packages, it just installed and ran. No configuraion required at all. When the installation finished, you should get a parsed PHP page telling you all is fine.

    If you then wan't to run your own PHP files, then the easiest way is to find the www-directory (under directory phpdev, i believe, and paste your files to that location.

    To see the pages then, you then open a browserwindow and type in http://localhost/yourfilename.php

    (you need to browse them and not for instance doubleclick on them in your windows explorer or so)
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #9
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, thanks for the help so far, here is what i got:

    1. I downloaded and installed the phpdev packed
    2. I have this server on my pc http://www.aprelium.com/
    3. I downloaded and copeyd the gallery in the abyss folder

    thats all I did, but my php still wont show up ............


    thanks for any further help.....

  • #10
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I got my selve a real server, but now i need help with it

    I almost got the gallery script running, but now i have to make my folder for the gallery writable, how would i do this????


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •