Loading

Simple PHP & MYSQL Photo Gallery

Submitted by: 
Language: 
Visitors have accessed this post 5742 times.


(Help: Please help me solve the bug and contact me.)

This program is made of php and mysql. This is a simple Photo Gallery, photos will be uploaded in a directory folder called photos. This code was developed by Mayank Gandhi. You can view his article here: http://www.sitepoint.com/php-gallery-system-minutes/ .But when i run the php files, all the executions has an error, which i don't know how to debug. though the photos i uploaded and view the images was successful. I'm a beginner for php language programmer. Please contact at juan.delacruz25@ymail.com. or you can write me a comment for this article. Thanks in advance.




Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

hello there, your code seems to have uninitialized variables, some of the uri parameters are not even referenced properly. to solve this, you must take in to consideration the scope and declaration of your variables.

sure the code has some bit of glitches but its a good one to start with. check out a similar implementation of the same at http://goo.gl/VP4PA

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.