mykroWAP

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

#autoindex #basic-script #mykrowap

15 replies · 2,485 views · started 15 years ago · 1 min read

10 participants
pmbguy Senior · 344 posts #1

ok, started coding another little script... basic login system, and forums, message box, shoutbox n chatroom... (so far)

dunno what else to add actually...

oh, and i almost forgot, it's got an autoindex script built in, so users can browse through files n download them...

mp3's can be previewed on pc, text files can be read pics can be previewed n jar files i added a extra dl option that adds an extra r to make ext jarr so OM lets you download in Opera...

Ok, zipping script quick n post in a few seconds

Added after 9 minutes:

ok, here's the script... n before you peoples start freaking out cause there's no sql file, fill in database info in daish.inc and upload to server... it'll set up db automatically...

i think i might have forgotten the chat table n shoutbox table, but i'll fix that before i upload...

and it's sorted...

enjoy n thanks appreciated

Also if anyone keen to team up on making something out of this base script, inbox me

ok, and demo: MikroWAP

Attachments: mykroWAP.zip
kei_ki7 Senior · 431 posts #2

Table base. But its nice 🙂 Thanks for sharing. Also keep on sharing

Did I help you? You can help me too Your donations will help me finance my studies.

arnage Lead · 811 posts #3

Bro maybe u can rewrite bb codes for $text = str_replace("\n"," ",$text); in nl2br() for all new lines, abowe is possible \r\n also, for sanitizing input needs to convert quotes also with ENT_QUOTES.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
pmbguy Senior · 344 posts #4

Ok, so here we go, the next update of this little script...

Things Updated:

Modified The Security Code So You Can Now Post HTML TAGS, ie: source

examples... (Many thanks 2 arnage on coding-talk.com for the ideas n coding

tips...)

Added a basic profile picture system, one image per user, dunno how secure it

will work out... Anyone who can tell me if it's actually safe the way i've

done it, please do...)

Updated The Admin (Owner/ 1st users tools)

And provided the updated database via php... just be careful to backup cause

it's gonna wipe your existing db...

Cheers...

(comments n feedback welcome - alasdair.knox@gmail.com)

Attachments: mykroWAP_v2.zip
CreativityKills Lead · 833 posts #5

Ur register page is simple enuf. You shud use the same form for login n sign up. I.e if nt user ask if user wants to sign up.

Added after 6 minutes:

no utf8 support.

ashik72 Junior · 14 posts #8

I know the thread is very old. But badly I've to know about database setup for this script. Can you guys please help me by giving some information for setting up database for this script? I'd be thankful to you.

mobidev Senior · 312 posts #9

ashik72 wrote: I know the thread is very old. But badly I've to know about database setup for this script. Can you guys please help me by giving some information for setting up database for this script? I'd be thankful to you.

Have u read the very first post by pmb guy or dit u just download it and now ur stuck..... Cos he did mention in his first post how to setup the db don't be so lazy man its exactly what he asked u guys not to do freak about the db.... Here's his input!

ok, here's the script... n before you peoples start freaking out cause there's no sql file, fill in database info in daish.inc and upload to server... it'll set up db automatically...

Plz read all posts in threads coz it might have explained what u want to know and keeps ppl from repeating themselves

ashik72 Junior · 14 posts #10

Thank you so much for showing my misunderstandin. 🙂

Warning : Unknown: It is not safeto rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/scpsc/public_html/wap/mwap2/index.php on line 741
Parse error : syntax error, unexpected $end in /home/scpsc/public_html/wap/mwap2/index.php on line 741

Would you please help me that where I should correct this timezone problem?

ashik72 Junior · 14 posts #13

doriann wrote: tanks nice share Hey doriann, can you use it? If you can, will you please share a demo made by you?

ranjuck Developer · 68 posts #14

Got this error bro: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/filmax/ public_html/chat/index.php on line 10 help me......

__latin__ Newbie · 3 posts #15

what is the file dbsetup.inc ???

not existe in the directory

ewanz Developer · 187 posts #16

nice share.. i will try expand this script... =)

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close