my own drop downbox
Collapse
X
-
i have not coded this my self a diffrent way and works great thansk to all thos who tryed to help me
-
i am trying to get my page look like this

can any one please help me out
Leave a comment:
-
i have tryed that mate and its still not doing any thing any chance you can put it on the page i have uploaded on here please mateOriginally posted by subzero View PostAdd this before
</form>
like this
<input type=\"hidden\" name=\"sid\" value=\"$_GET[sid]\"/>
</form>
This will do this
domain.tld?sid=923w59382urjjsdycv88eyu13289ru&page =what?
But you now can edit this out
<form action=\"./droptest.php\" method=\"get\">
take sid out of that it will login still...
Leave a comment:
-
Add this before
</form>
like this
<input type=\"hidden\" name=\"sid\" value=\"$_GET[sid]\"/>
</form>
This will do this
domain.tld?sid=923w59382urjjsdycv88eyu13289ru&page =what?
But you now can edit this out
<form action=\"./droptest.php\" method=\"get\">
take sid out of that it will login still...
Leave a comment:
-
i have changed it to a page for a momentand every time i try it i get logged outCode:<?php define('WCS',true); include('./core/main.inc'); header_type(); cleardata(); if(ipbanned(ip(),browser())){ if(!shield(getuid_sid($sid))){ echo head_tag("Ip Blocked!!!",0,0); echo ipbanned_msg(); echo foot_tag(); exit(); } } if(!islogged($sid)){ echo head_tag("Error!!!",0,0); echo session_expired(); echo foot_tag(); exit(); } if(banned(getuid_sid($sid))){ echo head_tag("Error!!!",1,getnick_sid($sid)); echo banned_msg($sid); echo foot_tag(); exit(); } mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'"); /////////////////////////FIND FRIENDS///////////////////////// addonline(getuid_sid($sid),"testing page",""); $nick=getnick_sid($sid); echo head_tag($nick."@testing page",1,$nick); $title="<b>testing page</b>"; $main="<div class=".align()."> <form action=\"./droptest.php?sid=$sid\" method=\"get\"> <select> <option value=\"./main.php?sid=$sid\">main page</option> <option value=\"./forums/forums.php?sid=$sid\">forums</option> <option value=\"./inbox/inbox.php?sid=$sid\">inbox</option> </select><br/> <input type=\"submit\" value=\"go to page\"/> </form> </div>\n"; $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>"; $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>"; $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>"; $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>"; $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>"; echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main); echo foot_tag(); ?>Last edited by brand; 21.05.10, 01:19.
Leave a comment:
-
Change to POST to GET
<form action=\"./help.php?sid=$sid\" method=\"get\">
Then it will put &page=inbox
if this not movin its cuz you have a link in action
Try this
echo "<form method=\"get\">
<select>
<option name=\"p\" value=\"./main.php?sid=$sid\">mainpage</option>
<option name=\"p\" value=\"./forums/forums.php?sid=$sid\">forums</option>
<option name=\"p\" value=\"./inbox/inbox.php?sid=$sid\">inbox</option>
</select><br/>
<input type=\"submit\" value=\"go to page\"/>
</form>
</div>\n";
Leave a comment:
-
my own drop downbox
hi there good coder i am starting my own drop down box for my site and need a bit of help please
now every time i go to the page it dont change can some one help me please and yes i am trying to code it my self but having problems with it going to the pages can some one tell me where i am going wrong pleaseCode:$main="<div class=".align()."> <form action=\"./help.php?sid=$sid\" method=\"post\"> <select name=\"page\"> <option value=\"./main.php?sid=$sid\">mainpage</option> <option value=\"./forums/forums.php?sid=$sid\">forums</option> <option value=\"./inbox/inbox.php?sid=$sid\">inbox</option> </select><br/> <input type=\"submit\" value=\"go to page\"/> </form> </div>\n";
Tags: None
Leave a comment: