Webmaster Forum - SEO and Internet Marketing Forum - A Webmaster Community for better Web
Invite Your Friends
Go Back   Webmaster Forum - SEO and Internet Marketing Forum - A Webmaster Community for better Web > Design and Development > Programming > PHP
Reload this Page MySQL rows
PHP Discussions related to PHP, the most evolved programming language of the web.

PHP Thread, MySQL rows in Programming; Hi all! I'm at the moment testing iono (license system). I think it seems great, especially for the things im ...
Reply
 
LinkBack Thread Tools Display Modes
(#1)
Old
WH Member
WH Tranee
Smilie is on a distinguished road
 
Posts: 83
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Join Date: Jul 2008
Default MySQL rows - 08-30-2008, 06:59 AM

Hi all!
I'm at the moment testing iono (license system).
I think it seems great, especially for the things im going to use it for.
So im very noob at this, but i would it be possible if a visitor visits a page eg: download.php
then he should enter the license number he purchased at the iono.
Can any one help/guiding me through this? It would be very great
Reply With Quote
(#2)
Old
Dangys's Avatar
WH Member
WH Watcher
Dangys is an unknown quantity at this point
 
Posts: 234
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Join Date: Jul 2008
Location: Maine
Send a message via MSN to Dangys Send a message via Yahoo to Dangys Send a message via Skype™ to Dangys
Default 09-01-2008, 01:29 PM

Quote:
Originally Posted by Smilie View Post
Hi all!
I'm at the moment testing iono (license system).
I think it seems great, especially for the things im going to use it for.
So im very noob at this, but i would it be possible if a visitor visits a page eg: download.php
then he should enter the license number he purchased at the iono.
Can any one help/guiding me through this? It would be very great
It's possible but it would involve a lot of work. Just attach the license to your scripts.

Last edited by Dangys; 09-01-2008 at 01:41 PM..
Reply With Quote
(#3)
Old
Krish's Avatar
Super Moderator
WH Watcher
Krish is on a distinguished road
 
Posts: 434
Nominated 1 Time in 1 Post
Nominated TOTW/F/M Award(s): 1
Join Date: Nov 2007
Location: Webmastersheart.com
Default 09-01-2008, 02:00 PM

Quote:
Originally Posted by Smilie View Post
Hi all!
I'm at the moment testing iono (license system).
I think it seems great, especially for the things im going to use it for.
So im very noob at this, but i would it be possible if a visitor visits a page eg: download.php
then he should enter the license number he purchased at the iono.
Can any one help/guiding me through this? It would be very great
Since I have phpaudit, and the same company now owns iono, it should be having a member/client area, from where they can down the license and software you upload. It should be there by default, otherwise its a kind of useless system. Just check out the member area of iono.


Welcome to Webmasters Heart. We are glad to have you and we hope that you enjoy your stay.
Reply With Quote
(#4)
Old
WH Member
WH Tranee
Smilie is on a distinguished road
 
Posts: 83
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Join Date: Jul 2008
Default 09-02-2008, 10:41 AM

Yes i know this, but what i'm going to place on the page aint downloads, its some information, that i only want licensed people to enter.. eg: support forum or so..
Reply With Quote
(#5)
Old
Krish's Avatar
Super Moderator
WH Watcher
Krish is on a distinguished road
 
Posts: 434
Nominated 1 Time in 1 Post
Nominated TOTW/F/M Award(s): 1
Join Date: Nov 2007
Location: Webmastersheart.com
Default 09-02-2008, 11:27 AM

Quote:
Originally Posted by Smilie View Post
Yes i know this, but what i'm going to place on the page aint downloads, its some information, that i only want licensed people to enter.. eg: support forum or so..
You better consult their API docs or developer docs for session/login sharing info..if thats allowed.

Otherwise...

1. create a login form and collect data and get it posted say authenticate.php

2. In authenticate.php filter posted values, then compare them with user database like :

PHP Code:
$user_result mysql_query("SELECT * FROM `user_table` WHERE username='".mysql_real_escape_string($_POST['username'])."' AND password='".mysql_real_escape_string($_POST[password'])."' LIMIT 1");

if(mysql_num_rows($user_result) == 1){

...grant access
}
else{

...redirect to login form


But you need to know how they are storing password..is it md5 encrypted or sha1 or is it just plain password. Accordingly the above code will change to match the password.


Welcome to Webmasters Heart. We are glad to have you and we hope that you enjoy your stay.
Reply With Quote
(#6)
Old
WH Member
WH Tranee
Smilie is on a distinguished road
 
Posts: 83
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Join Date: Jul 2008
Default 09-02-2008, 02:12 PM

ah yea.. get it, thanks for the info
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between MYSQL and SQL? sreeja Databases 3 02-19-2009 02:14 AM
Locking MySQL table. luckygal Databases 0 02-13-2009 12:29 AM
MYSql issue davidross Databases 1 11-27-2008 06:00 AM
Need a macro to print certain rows techstatus Designing 0 10-21-2008 07:25 AM
Want to learn MYSQL? Find out where! Dangys Databases 4 09-25-2008 06:16 AM



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright ©2007 - 2008, WebmastersHeart.com, A Webmaster forum, is a division of Intelliron