| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #3 (permalink) |
| Senior Member Join Date: May 2005 Location: I'm right here
Posts: 3,526
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Let me see the structure of this.. ![]() Just read through it..nice, i like the coding style..not complicated and easy.
__________________ WP Theme Developer Your One-stop for Premium Magazine/CMS WordPress Themes Deluxe Themes |
| |
| | THREAD STARTER #4 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Thanks! I didn't modulate very much, using an fns.inc file, since this isn't a large-scale project. My goal with this is to get beginners in this field started and learn how to do their work with a practicle foundation. |
| |
| | #6 (permalink) |
| NamePros Regular Join Date: Aug 2004
Posts: 363
![]() | I might look at this later tonight. Good work ![]() PJ
__________________ L33TSig.net |
| |
| | #8 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Actually adding features to other scripts is how I learn php. Some features which could be added are. How many users there are stats (simple mysql_num_row code addtion) Forget Password (Another file.. Not so simple) Activation required email (Simple email and updating mysql db, New row) There are many more functions which can be added. Regards,
__________________ I feel old. |
| |
| | #10 (permalink) |
| Senior Member Join Date: Jun 2005 Location: Planet Mars
Posts: 1,400
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Hurra ! Thanks Bro this is AWESOME i just want to say Thank you For Sharing with Us ! So nice of you !
__________________ Solution to Google's Panda Update? - Click here |
| |
| | #12 (permalink) | ||||
| Senior Member Join Date: Jun 2005 Location: Planet Mars
Posts: 1,400
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
__________________ Solution to Google's Panda Update? - Click here | ||||
| |
| | #14 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 912
![]() ![]() ![]() ![]() ![]() | hey thanks, its really nice but i think if you'd make it support to put all the sessions in the database, it'd be more secure i know you didn't had any intentions of securing this script, which you clearly explained above, but i think if you do that it'd be much better Well, i was working on making some thing like that though i got stuck on a part, which was detecting sessions when there browsers got closed this is the most painful part for me in the script, every thing is cleared out but just stuck on this part if any one has some solutions for this please do tell me, you script is still nice for a basic page though ![]() i dont know why but when i am trying to register with this script its giving me this error, ERROR > Could not insert into database. Error returned is Column count doesn't match value count at row 1
__________________ Live Support : Zubair11 [at] hotmail.com Free SEO Directory! || Free Online TV || Tech Blog Web Design & Web Development Services || Reliable Web Hosting |
| |
| | #15 (permalink) |
| NamePros Regular Join Date: Aug 2005
Posts: 727
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Thanks alot. I dont need it currently, but would definitely look forward to it for next version of my website. very well done.
__________________ :laugh:...::::Pakisp.net::::...-The Entertainment Pack Pakisp.net :wave: Free Web Directory |
| |
| | THREAD STARTER #16 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Zubair1 - Hmm... that may be the reason nobody has registered O.o ... but it worked for me... gosh thanks for reporting. That probably hurt my script's reputation. Fixed. ![]() I've also updated the download file. Version 1.0.1 now released lol. EDIT: Zubair1, this was taken from PHP.net: PHP Code:
Last edited by compuXP; 08-18-2005 at 04:16 PM.
|
| |
| | #17 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 912
![]() ![]() ![]() ![]() ![]() | lol, nps man but i think every one above didn't check weather it was fully functional well nice job its working fine now the php snippet which you took from php.netdo we have to put this on every page of our script to detect weather cookies were set or not, and though the sessions are still not secure that way it'd be better if they were put on database, may i ask you a question? Q-) Do you know how i can know when a user closes their browser as i am having a lot of trouble with and also researched on it alot too, though i still didn't get any good results, what i am wanting to do is put the sessions data on the database i check for and retrieve all the session information from the database ????: NamePros.com http://www.namepros.com/showthread.php?t=113786 like when a person clicks the logout link, they logout their sessions are ended, (destroyed) but what if the user never logs out, they're sessions are lost some where in the database, so i want to know when that happens (I.E When the user closes their browser), so i can tell the database to delete all the session information about that person, (got any solutiions for this bro)? thanks in advance :d
__________________ Live Support : Zubair11 [at] hotmail.com Free SEO Directory! || Free Online TV || Tech Blog Web Design & Web Development Services || Reliable Web Hosting |
| |
| | THREAD STARTER #18 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I'm sorry, I don't know... I'm not familliar with that type of sessions usage (with sessions + cookies), and I've wondered myself how to know whether a user is online or not.Although... http://www.cj-design.com - they have a VERY simple users online script for free download, which tells you the NUMBER of people online. You might play with that a bit. Cheers, -Matt |
| |
| | #21 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Leeds, UK
Posts: 263
![]() | This looks good but when I hit install I get... Could not connect to database. Either the DB doesn't exist, or the username/pwd combo supplied was invalid. Do I have to make my own MySQL database cos I dont have a clue how to do this lol
__________________ Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre |
| |
| | #22 (permalink) | ||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #23 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Leeds, UK
Posts: 263
![]() | Yeah I have cpanel Any hints tips before I give it a go?
__________________ Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre |
| |
| | #24 (permalink) | ||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=113786 | ||||
| |
| | #25 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: Leeds, UK
Posts: 263
![]() | I just keep getting..... Could not connect to database. Either the DB doesn't exist, or the username/pwd combo supplied was invalid. Back I dont know what I have done wrong!
__________________ Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre
Last edited by noswad; 08-29-2005 at 02:45 PM.
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| May Script Installation Special--Chance for free webhosting | iidavidii | Scripts For Sale | 0 | 05-04-2004 01:44 PM |
| PPC scripts for sale | morpheus666 | Scripts For Sale | 1 | 03-20-2004 12:15 PM |
| 2 PPC sites with design | morpheus666 | Web Development Wanted | 1 | 02-28-2004 05:40 AM |
| 2 PPC scripts for sale | morpheus666 | Scripts For Sale | 2 | 02-28-2004 05:39 AM |