|
|
|
|
![]() ![]() |
Mar 20 2005, 10:18 AM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 139 Joined: 25-February 05 From: England Member No.: 3,991 |
Well I'm looking for some cool php scirpts to spruce up my website a little and make it more interactive. Does anyone have some scripts that are easy to apply and customise? I would be enternally greatful, since all the pre-installed scipts on the trap17 cpanel take up loads and loads of webspace. Thanks.
|
|
|
|
Mar 21 2005, 02:06 AM
Post
#2
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 217 Joined: 2-January 05 Member No.: 3,084 |
Well, look at my tutorials on php and tutorials forums, I have posted alot of them... or just go to www.hotscripts.com, there are many script of php, perl, asp, java and many other stuff... =)
|
|
|
|
Mar 21 2005, 09:46 AM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 113 Joined: 14-January 05 From: Philippines Member No.: 3,271 |
why not add a shoutbox? it's really simple yet makes your site interactive.
|
|
|
|
Mar 23 2005, 04:41 PM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 139 Joined: 25-February 05 From: England Member No.: 3,991 |
Yeha I will add a shoutox. Thanks for the link FaLgoR. I had forgotten what that site was, I know it's got a load of sweet scripts on. I'll check it out. Thanks,
|
|
|
|
Mar 23 2005, 09:10 PM
Post
#5
|
|
|
Owner of Sub-Zero ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 159 Joined: 17-November 04 Member No.: 2,325 |
What kind of scripts are you looking for. I'm a programmer and I create tons of scripts.
|
|
|
|
Mar 23 2005, 09:42 PM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 661 Joined: 10-January 05 Member No.: 3,189 |
Hotscripts is a great place for ALL kinds of free PHP scripts.
http://www.hotscripts.com/PHP/Scripts_and_...rams/index.html Here are some ideas on what you can put on your site - Guestbook - Contact Form - Random Quotes - Forums - Polls - Quizes - Random Pictures - A blog Fidn it all at hostscripts |
|
|
|
Mar 23 2005, 10:39 PM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 217 Joined: 2-January 05 Member No.: 3,084 |
Here a little code, but cool
<? if(!$area) $area = 'main'; if(file_exists("$area.htm")) include("$area.htm"); else die("Area not found."); ?> with this code, you can make something like this: link.php?area=downloads so, by this link, you will be redirected to downloads.htm, its dinamic, I really love it ×D |
|
|
|
Mar 24 2005, 01:13 AM
Post
#8
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 113 Joined: 14-January 05 From: Philippines Member No.: 3,271 |
QUOTE(FaLgoR @ Mar 24 2005, 06:39 AM) Here a little code, but cool <? if(!$area) $area = 'main'; if(file_exists("$area.htm")) include("$area.htm"); else die("Area not found."); ?> with this code, you can make something like this: link.php?area=downloads so, by this link, you will be redirected to downloads.htm, its dinamic, I really love it ×D you miss the point of that script. the purpose of that method of linking is that you can add a function that will called before all pages will be parsed and sent to the output buffer. |
|
|
|
Mar 24 2005, 08:49 PM
Post
#9
|
|
|
Owner of Sub-Zero ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 159 Joined: 17-November 04 Member No.: 2,325 |
I like that site that you posted, whyme. Except, some of those things can be easily created by yourself. A quiz, for example, is extremely easy to create by yourself. Also, I've never seen that small script before, whoever posted it (FaLgOr?). If I want to do something like that, (I did this on my site) I'd make a page with an index to all of the things. Say it was named 'games.php'. Then it would change to view_game.php?id=GAMEID. On view_game.php would be this:
CODE $game = $_GET['game']; $query=mysql_query("SELECT title,link FROM games WHERE id='$game'"); while($row=mysql_fetch_row($query)) echo '<h2>'.$row[0].'</h2><br /><br /><embed src="'.$row[1].'" heigh="600" width="340"></embed>'; |
|
|
|
![]() |