Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Gallery Script With Registration/view Pic Function?


I’m looking for a gallery script similar to the one on the sites listed that I can incorporate into my own site setup. I want a gallery with numerous albums, when the user clicks an album they can view the thumbnails but when they click on the thumbnails they cannot view the large size picture unless they are logged in using their email address as their username, and a password that they chose in the registration process.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
PHP On Command Line Issues: Function Registration Failed - Duplicate Name
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And
Apache/mySQL/PHP all work great through a browser. No errors.
But when I try to run a PHP script through the command line, which I
need to do, I get blocks of errors like:

root@slackserve:/var/www/htdocs# php ./phptest.php
PHP Warning: Unknown(): Unable to load dynamic library.....

Registration
when somebody want to order something in my e-shop it is necassary to
have a registration before so I have to check if the user is already
record or not.
What is an ordinary way to realize it.
Another question, until yet I work with a frameset so I have in a form
all variable values compendious. Is this a usually way or should I try
to realize it with strictly php.

User Registration In A DB
I am creating a web application which involves users registering
details in a DB. Obviously this is a very common thing to do and there
seem to be many different ways to solve this problem.

1. Is there a way to do this without needing to hard code DB login
details into the source?
2. Is it better practice to create individual DB users for new members
when they register and use DB authentication, or should the DB
connections all be through a single user and use code to check a table
containing user name and password hash?
3. Is there a way to create a connection pool in PHP?

Registration Script
The script is for a page that has a short summary of an article, when the article is clicked on if the user hasn't already registered it will bring them to a registration page *KEY*... and once they register they will automatically be brought to the full articles page. Not sure if this is relevent but both the summary and full article pages are *.html pages.

Is there any premade solutions that can do this?

User Registration
I am trying to make a user registration for one of my sites. It works fine, but I am trying to get it to not register the same username twice. PHP Code:

Registration System
I have a registration system, that gets info form a user sticks it into mysql and sends him/her confrmation email. It works, except the email confirmation.
When I enter a hotmail, gmail, yahoo... email I do not get the confirmation email.
But when I enter an email account from my website (admin@_____.org ), where the registration script is. I get the confirmation email. Code:

User Registration
i'm having a problem getting my form to check if user exists in database my problem is the part in red all the other parts work except the checking of the user please help if able. Code:

Registration Script
I am using a registration script for my website, but when the register button is pressed, the information doesn't get inserted into the database. No error messages are displayed. This is my code:

3rd Party Registration Prevention
I am interested in incorperating one of those 3rd party registration prevention images some registration systems use.
Its a image of some jagged letters and numbers. You type the string into a feild as part of the registration process.

User Registration Using Flatfiles
I was looking for a script that would let users sign up and gain acess to a members only section of my site. The only catch is that i would like it to store the data in a text file or something of the sort.

Registration Of User Details In A DB
I am creating a web application which involves users registering
details in a DB. Obviously this is a very common thing to do and there
seem to be many different ways to solve this problem.

1. Is there a way to do this without needing to hard code DB login
details into the source?

2. Is it better practice to create individual DB users for new members
when they register and use DB authentication, or should the DB
connections all be through a single user and use code to check a table
containing user name and password hash?

3. Is there a way to create a connection pool in PHP?

Sending Email From My Php Registration
Can anyone tell me how to create a php script that when the user click
the Submit button, a message will be sent to friends email add stored
in mysql table?

I created this ff table structure using mysql ?

Field Type Size Description

Name Text 30 Your name
Email_add Text 30 Your Email
F_name Text 30 Your Friend’s Name 1
F_name2 Text 30 Your Friend’s Name 2
F_name3 Text 30 Your Friend’s Name 3
F_Email Text 30 Your friend’s Email 1
F_Email2 Text 30 Your Friend’s Email 2
F_Email3 Text 30 Your Friend’s Email3


Note: After clicking Submit Button of the Registration.Php
a message will be send directly to the email add stored in
F_Email,
F_Email2, and F_Email3 fields.

Site Registration Script
Does anyone know of a script that will allow people to register for a website and then automactly email them a unique registration number?

Advanced Registration Forms
I'm trying to design a registration form so that when the user fills the form fields if he made a mistake i.e (forgot to fill the last name field)
and then returned back to the form page he finds all the fields he has filled existing only the one with the mistake highlighted. So is there a way to design such a form using php?

Registration Page & Redirect
I would like to put a redirect on the following line shown below in the code if registration is successful: Code:

Own Registration Image Verification
Im thinking of writting my own Text(picture) verification I know there are methods out there, but I dont want to use standards (since i know the common ones always get hacked eventualy).

Im thinking of writting this in php, where the php gets a image number (say from the milliesecond that the user has gone to the registration of this page) eg, 01 millseconds = pic 1 (an algorithum will modify this, but you get the idea)But I have then run into security problems, with various approaches:

1. onSend the javaScript can verify that the image the same as the input eg 01img = Myinput
- security problem, javascript can be searched

2. imageNumber can be varified by php that imageNumber corresponds to Myinput
- cant see anyproblems with this so far.

Combining PHP Scripts Into 1 Registration
Is it possible to somehow link these scripts so that when a user registers with the site, their username and password work in all the scripts (ie, to create a seamless experience for the user):

1. http://www.vbulletin.com/ (or http://www.vbadvanced.com/)
2. http://www.realtysoft.pro/roommate/
3. http://www.jamit.com/live-job-board-sites.htm

Is it easy to do?

Php Registration Script Tutorial
can someone just point me in the general direction of a php registration tutorial, where registration means the new member gets their own page which no other member can access....?

How To Update Registration Information
I am a very very new learner of php and MySQL, Would you please give me some advice on how to do the follows: Basically, I developed a registration and log in system, but I would like to have the functionalities that after a user logged in, he/she can send articles or update their registration information if they want to change any personal details.

User Registration Script
I'm in the process of building a user registration script. I would like the script to check the database if the username already exists:

$query  = "select * from users where username='$username'";
$result = mysql_query($query);
if ($result->num_rows>0)
 {echo 'That username is taken';
   exit;}

Unfortunately this does not seem to be working. When I submit a duplicate user, I get a MySQL error rather than getting "That username is taken"

My guess is it has to do with:

$result->num_rows>0)

As my book is based on PHP 5 but PHP 4 is running on my server.

User Registration/ Email
I am building a php site that requires the user's to register.  Each user has his own name and password.

I already have it coded where the user can register and his info gets stored in appropriate DB tables.

I also have the login coded so my users could log in.

I want to alter the site so when a user registers, it sends him an email, and then he clicks on the link in the mail before proceeding.

Anyone have a code sample of this? or how it should be done?

Serial Number Like Registration?
Everyone knows how computer software uses serial numbers. I'm wanting to do something like this. I have addons for the site system thing I have been working on.

And when someone purchases an addon I want them to be able to go into the configuration and input a serial number, it will then check that serial number and if it is valid it will go ahead and activate the addon. I know how to everything except how to script a generator and a checker for the serial numbers...not sure where to start.

PHP Registration Emails Marked As Spam
I have a "friendster" type website that sends out an email notification after a visitor has signed up. Visitors have to click on the link in the email notification in order to verify the membership. Unfortunately, most of my visitors aren't getting those emails because they end up in their spam folder.

Competitors, such as Myspace, Friendster, Hi5, etc. are able to avoid the spam problem. What are they doing differently? My site is built in PHP. So are my competitors' websites. Can someone offer a solution?

Parse Error In Phpbb Registration
I keep getting this error:

Parse error: parse error, unexpected $ in /........./phpBB2/includes/usercp_register.php on line 1401

Here is around the lines (1401) in question, I'm pretty new to all this so I'm not sure what to look at or do, any help would be appreciated, considering I can't register any new users until I get this figured out. Here is the lines in question:

Voting Mechanism (think Digg) Without Registration
Is it possible to implement an accurate voting mechanism (think
digg.com) that does not require users to sign in before voting?

I think for many people registering is pain and thus they rarely give
their votes online. Just look at digg and compare the number of votes to
the number of people visiting their website.
IOW what if somebody needs votes but cannot afford to bother users with
registration process?

I understand that just leaving it open for anybody is not really an
option since any jerk can ruin other users' votes just by clicking like
crazy with his mouse, but on the other hand somebody can register with
100 different names and cause identical damage.

- Limiting votes to an IP is also not perfect, since people are behind
NATs quite often (or maybe your opinion is different?).
- I was thinking about email-based authentication (when you want to
vote, system sends email which you have to confirm), where you would
need to have many email accounts to manipulate votes, but isnt' it even
bigger pain than registering?
- Maybe very long captchas? (that would require jerks to type a lot, but
still...)
- Some weird JavaScript setup that requires you to leave the site open
for a while for the vote to become active? (nah)

So (and I don't need it to be perfect every time), do you have any idea
on how to make it complicated enough that most of the jerks stay off and
it's simpler/better than registering for the good users?

Registration And Tracking Click-thru's
My problem:
I have a form that captures information about our corporate site and then I insert it into a MySQL DB. The problem starts when I need to track how many users have come back after registering to view a demo we put up.

Having searched on google I saw that this thread had somethign similar to what I need, so I decided to post to this group. Can somebody please help me out here.... Am fighting a losing battle with my deadline..

LF: PHP Coder For Registration And Admin Project
Iregistration/login and admin panel..
email me if you can help me out on this.. I like to get this site up
and going and see where it goes. If I can get a reliable coder and fair
priced one then the will be a significant bonus to follow down the
road..

|OT| Recommendation On Membership Registration System ?
My sourceforge search isn't turning up much that looks appropriate, or has not
been abandoned. Does anyone have a recommendation based on experience for a PHP
/ MySQL site membership management system ?

Requirements are fairly basic:
- After the existing credit card processing system approves membership purchase,
info will be fed to this system.
- Multiple (two, perhaps more) site user accounts per registration
- Restricted access to certain membership pages
- Ability for logged in members to view membership list
- Automatic renewal notification via e-mail; I imagine a cron job will handle
this
- Forgotten password reminders

Nothing unusual is needed, so I figure there's no point in rolling our own. And
a full-fledged system like postnuke feels like overkill.

Registration Script With Photo Upload
I have a user registration script that allows the user to upload a photo.  My problem is that I need the photo to be either a JPG, a GIF, or a PNG.  I think I have the right idea of how to do this, but I can't get my syntax to work.  This is my code for the if statement if its in the correct file format: Code:

Secure Login And User Registration
I have 2 problems.

1. how am I going to get the unencrypted password when a user is registering to store in the db.
2. how am I going to get the unencrypted password to use with crypt so i can compare it with the crypted password in the database..like this

crypt($pass_entered_from_login,$crypted_pass)) == $crypted_pass

How-to Realtime Username Check During Registration?
anyone have an idea on how to query a username table while a user is inputting in a text box? i'd like for the user to check to see if the user name is valid.

Url View
Is there a way using php to check what php script the user is viewing? If so how is it done?

Gallery Thumbnails
Ok, i want to create a picture gallery but i thought that instead of creating a thumbnail out of every image there might be a way to have the server create one when the page is loaded.

So is there a way this could be done? My images are all different sizes and i want all the thumbnails to be 100x100. Perhaps one of the image functions?

Image Gallery
Greetings all if this is to much I understand, but I've been going around in circles for several weeks, and I'm just not getting it. Let me explain what I'm going for first before I completely keep on blabbing.

My Goal:

I want to create a image gallery site that people can sign up to and upload some of there things to. Sounds simple to some but not to me. I understand to complete this I have many sections to look at. I've been running around google looking for examples and reading about this function and that but still am not getting it completely. Ok so let me try and explain it this way.

I want to create categories for images to be uploaded to. I don't want the images to be uploaded in a database just the folder/file locations. The file I want to stay on the server in a folder. I want to be able to have people sign up and upload to these folders, but lets say someone just wants to see some users stuff then they can pick that user and it would show their images. I also would like to have it to where you have to register to download any images from the site. I bet most are saying this is a big project, I agree...lol! Here is some of the problems I'm not getting.

1. How to do the categories and upload images to folders and store path in a database.

2. How to allow people to upload to those folders.

3. The downloading part.

4. of course have an administration backend for this as well.

The biggest problem I'm having is trying to understand some of the examples out their, and some tutorials don't even help out. If anyone could me some pointers on how I can do this, or some places I can learn how to do this would be appreciated.

Photo Gallery
I have simple script that selects all the photos out of a folder that i direct it to and displays them in a simple galley, I want to be able to have comments displayed for each photo which are in a database..
I have the following code at the moment where $PhotoName is out of the database from a select * from Table WHERE photo group (linked to photo) is equal to the one selected...

The problem is this is displaying comments for images on every one and for some reason the if ($images[$i] = $PhotoName) is not working. PHP Code:

Html And Wml Gallery
i have a gallery that i have thrown together using HTML so really its just a series of links, when i tried to do the same in wml the images wont show, jpg and gif, any suggestions as to how i could get the images to show?? I've even tried adding:

AddType image/gif gif into a .HTACCESS file in my gallery directory but it still wont show the files on a wap device/emulator.

Picture Gallery
I don't know if my question is out of topic...so I apologize if I am.

I use the coppermine picture gallery for my web (actually I want to use it
but the server doesn't seem to have GD running but I will beg them to
activate it). How can I actually find out if GD is installed? I tried to use
phpinfo() and I searched for a GD entry, but no one was there, so can I be
sure, that GD isn't installed? (Because the admins of the webhosting told me
that it IS installed.)

But the actual question is:
I've got an old web gallery with descriptions of the pictures. I'd now like
to transform this into the new gallery - I don't mind uploading the pictures
again, but I am really horrified by the idea of entering all that
description text again for all those pictures. So I was asking myself, if it
was possible to take the descriptions somehow out of all those html-files
and insert them automatically as comments (the coppermine gallery is able to
receive comments to the pictures) to the coppermine picture gallery. Do you
know if there's a way to do this or is it just impossible? The text could,
instead of as a comment, also just be added as text below the picture (I'd
even prefer this solution).

The original html-files are just very simple (some thumbnails, then the
picture, below the text...).

Php Image Gallery
I use the Micro Photo Gallery the script finds all .jpg files and creates thumbnails if there isn't one and links the thumbnail with the jpg file.

I will use this script on a site, and I don't want to upload the same gallery on the other site, I just want the script to read from the folder of my first site the files. The original script only reads from the folder that is in. Code:

Image Gallery
I have set up a new website for my son and want to include a gallery however the gallery I want to have it so that there are a collection of thumbnails and when you hover over a thumbnail a large version of the image appears on the left of the screen.

To explain the thumbnails would appear where the blue box is at the right and the large image would appear where the picture is at present.

Can anyone recommend the best way to do this as I know I can do it in Flash but dont really want to use Flash if I can do it in PHP.

Picture Gallery
I am looking for the code that will allow me to create large picture galleries where if the thumbnail is clicked it will open on the site on a page by itself. Since I have thousands of pictures it would really be a pain to have to create thousands of pages and then put the picture on each one with html. Is there a way to do this with PHP?

Photo Gallery
i am trying to start a photography business, and what i want to accomplish is to be able to dynamically create a gallery. the script will simply look in the folder i specify, display 20 photos per page, and allow the user to click each photo to enlarge it.
 
what i want to know is what function is necessary in order to create the array of images?

any other information/snippets which pertain to my goal would be appreciated. i've been searching the forum but have yet to find a similar post in relation to what i am trying to obtain.

Image Gallery
I want my users to be able to upload images where path will be saved to database with a description so I can have a gallery, then members can rate the images. I would like to know what fields im going to need on my table?

Adding A Mailing List To Vbulletin Registration
I have added yes and no buttons to an option called bsmailinglist in the form for registration on my forums. Now I want to have that answer handled according to the following code. I have the yes button set to TRUE and the no button set to FALSE. After adding the folloing code to the script that handles the form (register.php), I get a parse error on the last line of php, the closing php flag. Code:

function BSwrite ($email) {
$BSfile = "bsmailinglist.txt";
$BSopen = fopen ($BSfile, "a");
if ($BSopen) {
fwrite ($BSopen, "$bsmailinglist, ");
fclose ($BSopen);
} // end BSwrite Function
if ($bsmailinglist) {
BSwrite();
}

Check Whether The Username Exists, Registration Authentication.
Below is my coding, I don't know what's wrong with this, the output is a blank page. Is it any syntax error or I miss something else? Code:

Getting Name Of New Of View From MySQL 5.0+
We are using MySQL 5.0+ because it now supports views. However it
appears that the PHP's(4.3) mysql_field_table() is returning a
temporary name table name rather than the actual table (view) name.

For instance we have a view defined as "open_meeetings_view", yet when
we do a mysql_field_table() the name retrieved is "#sql_7a3a_1". The
same call correctly retrieves all static tables and even aliases
correctly.

It does not appear that PHP has the ability to dig any deeper (maybe in
PHP 5.0?), but does anyone know how to query MySQL for this information
directly? A "show tables" does show the view names correctly. So we
just need a way to correlate the temporary table "#sql_7a3a_1" back to
the real view name "open_meeetings_view".

View Source
I was at amazon.com and clicked on View/Source, and I got a blank page. How did they do that?

Directory-View With PHP
I've programmed an access-control via header()-function. It
checks an username and password in database ... nothing special.

Currently, the control gives access to a download, but I would
like to allow special users to view the complete directory.

AFAIK this is only possibly through ".htaccess" (Apache webserver).
But then, I need to create an entry for each user in the database
in the file :-(

Would it be possible to allow this direclty through PHP?
Of course, I could write dynamically into htaccess, but if
several users would access the file at the same time ... URGHS :-)

SQL VIEW Table
When I make a view table in mysql for as pre request from a client, does this table belongs to the this client only or all the clients who uses the server. My intension, i want to create exclusive "temp" tables for clients, where no other clients will be able to go into it.

View All Plus Pagination?
i have a online store that has about 2800+ products  - on my productList.php pages I have a few variables to display the number of products per page:

<?php
$productsPerRow = 3;
$productsPerPage = 27;my boss would like a view all button that sets $productsPerPage to the total number of products  - and is active for as long as the SESSION (Perhaps unless the button is clicked again?)

Any Ideas on the best approach to accomplish this??


Copyright © 2005-08 www.BigResource.com, All rights reserved