Php Gallery in 15 Minutes

Php Gallery in 15 Minutes

So, you would like to represent your photo gallery, or portfolio, or shopping cart – any kind of images catalogue,

but do not have a time to develop.

With this article I will show you how to save you time.

First, download EncapsGallery – a set of php scripts, that represent a catalogue of your images (items), with an
/>

admin backend to manage your photos, upload, delete, assign to categories.

Next, unzip donloaded archive encapsgallery.zip, and upload files to your web-server (web-server requirements: php, mysql).

Next, change permissions for the directory “rwx_gallery”, and for the file “config.ini.php”

permissions:

“777″ (Unix)

or “rwx rwx rwx” (Windows)

Next, run your web-browser and open “admin/catalog_install.php”, fill in database connection parameters and click “Submit”

- it will install the database tables, if parameters you provided are valid, otherwise you will need to enter valid parameters

again.

Next, after the database tables will be installed, run catalog_config.php and configure your gallery (admin auth parameters,

thumbnails, optional payment gateway integration)

Finaly, you are ready to publish your images. There are two ways to do this:

1) you may upload your images via upload web-form

2) you may upload a bunch of images via ftp into “rwx_gallery” directory, and run “admin/catalog_scan_rwx.php” for assign

new images with gallery categories.

Well, your catalogue is published.

Watch the video related to Php Scripts

Help answer the question about Php Scripts

Can I make php scripts using Wamp to later send to my browser anyone?

About Author


5 years php developer

18 Responses to “Php Gallery in 15 Minutes”

  1. monkeymanbob says:

    Nice work, you did pretty good.

  2. champ0y says:

    You’re really good man. You’ve got excellent talent.

  3. warah110 says:

    Perfect.

  4. Atticus says:

    You can use a menu maker if you're not sure how to code something on your own. There are a gazillion of them out there and many are even free. Pick one that suits you…

    http://www.google.com/search?source=ig&hl=en&rlz=&q=web+menu+maker&btnG=Google+Search

  5. relientkfan153 says:

    The "something" can be accessed very easily with PHP. If you have a web page address that looks like this:

    index.php? month=september&name=smith&age=24

    Then you can access those values in PHP like this:

    <?php
    echo $_GET('month');
    echo $_GET('name');
    echo $_GET('age');
    ?>

    This will print septembersmith24.

    As for accessing a text file, that's easy too:

    <?php
    $text = file_get_contents( 'textfile.txt' );
    echo $text;
    ?>

    This will read the entire contents of the file textfile.txt into the variable $text, and then print it out for you.

    You can also access many databases with PHP, I highly recommend you use MySQL. It's a bit too complicated to describe here, though. There are some good references made to good books by folks above. The "Teach Yourself" series is great.

  6. lidiabarbarita says:

    Very nice!!

  7. superchode20164 says:

    amazing! Willy teach me how to paint like you!

  8. Forbidia says:

    Brilliant Willy, Just Brilliant =D

  9. Sameer A says:

    http://www.elite.ro/free-hosting-php/
    http://www.awardspace.com/
    http://www.free-phphosts.com/
    http://www.freehostia.com/free_hosting.html

    Really what you need to run php is some one who also offers a sql database these do but I dont get the website builder thing?
    if your messing around with php why would you need a WYSIWYG builder?

  10. Faithless863 says:

    hm i couldn’t tell the difference between photograph and painting comparing the final resault.

    This is sick

  11. Mike says:

    Hi,

    Best Site to Learn PHP http://www.w3schools.com/php/default.asp

    I know this Answer Will solve your problem. Do one thing visit http://www.zakhas.com/Forum be a member first and Download 1800 Industry standard PHP Projects and source codes. Directly without any interrupting. Follow below link for direct access to the download link.http://www.zakhas.com/Forum/ViewThread.asp?Thread=161&Forum=26
    Definitly it will solve your problem. Download it BE Quick.

    Or you can try this sites below

    http://www.planetsourcecodes.com

    or

    http://www.scriptswave.com/free/scripts/php_scripts/9.html

    If you find this answer is best then you can choose it as best answer.

  12. Simplicated says:

    If you have sensitive files that should be accessible only by scripts, put them somewhere on the server other than the web root. Your scripts will still be able to access them, but nobody can pull them off the web.

    /
    – /htdocs
    – — /www.site.com
    – /securedocs

  13. TheTroubadourMusic says:

    :O

    :O

    :O

    how is this not a real photo?

  14. Jeremy H says:

    I don't think there is such a thing as a PHP emulator, and I don't know why you'd need one. It's likely that you either didn't install PHP and apache correctly or you aren't using it right.

    Use XAMPP to install PHP and apache. It will also include MySQL and phpMyAdmin (which you will need sooner or later) and some other good stuff too. It's much easier than trying to configure PHP and apache by hand. Best of all, it's all configured to run together immediately. XAMPP and all of its components are free and open source.
    http://www.apachefriends.org/en/xampp.html

    Once you've got a web server, you need to turn it on (that's not automatic.) There's a nice control panel that makes this easy with XAMPP. PHP files will only work if they're in a specific subdirectory (usually htdocs in the apache directory structure) Also, you can't just load a PHP file into the browser the same way you do an HTML file. Instead, you need to point the browser to
    http://localhost/yourFileName.php

    PHP is called by the server, so if you use a mechanism (like the file:// directive) that bypasses the server, your PHP programs won't run.

  15. virgocrabtiger373 says:

    http://www.phpfreaks.com/tutorial_cat/8/Basics-&-Beginner-Tutorials.php

  16. ampersand1 says:

    http://www.phpfreaks.com

    If you are ready invest: Get Larry Ullman: 'PHP …" Nice book

  17. Ars Magicana Arcanum says:

    Windows XP PRO has functionality for running a web server built in

    IIS is an option, however, under a "Default" installation of XP Pro, it might not be installed

    Control panel – > add / remove programs -> Add Remove Windows COmponents – Check "Internet Information Services"

    You could also look @ apache as has been mentioned, however, IIS is PART of windows.

  18. avb17018411 says:

    woww that’s really relax and beatiful soung .good picture of jhony depp !

Leave a Reply