Help With Coding A New Site
Started on the old forum in June 2008 · view the original in the archive · old links redirect here
well wen i first joined this site, they all told me to learn..... and so i did and im still learning.....
best place to start learning is www.w3schools.com. Then use some of these scripts on this site as reference when you start your own script from scratch
thanks synergy yea i know about w3schools i see what ya saying use some script off here as a base and learn off it External image (may be gone) guess i got alot of reading to do i just need alot of help i aint a coder and i should learn instead of using other ppls creations
I also learnt php through w3schools.com And coded my own script
thanks guys well im getting stuck into it gonna work on a login system and build up from there do you think thats wrong of how to start?
You can start how ever you feels best... when i code i start from finish to start that way i'm not back tracking myself but if your going to test as you go then yeah its best to start from the index page, that way as the site gets bigger, you can login and test the features etc..
This is really a nice step all of u helping a new member about login form i also want to ask a question tht if i do not wish to use Global function in login form nd not anywhere in script how tht can be done ?? thnx
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
I would start with a config file lol cause you have to connect to a database right? Then index.php
Best thing to do is to first have login form, and register, then you can go from there....
thanks everyone External image (may be gone) ive got me login and register form and database all connected im just using a php login and register script to start with till i know wot im doing then il just recode the whole lot by my self im just working out how to code forums now like i said its prob gonna be crap at first lol
global function ????
yes the Global variables u declare .....for login .....nd tht needs the register globals on
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
yes the Global variables u declare .....for login .....nd tht needs the register globals on
use superglobals which also works in register globals off
yes the Global variables u declare .....for login .....nd tht needs the register globals on
try this
IN ur site ini.php Add this
$register_glob = 1; //register_globals 1=on 0=off
and
////////////////////Register Globals//////////////////////////////////////
if ($register_glob == 1){ if (!ini_get('register_globals')) { $superglobals = array($_SERVER, $_ENV, $_FILES, $_COOKIE, $_POST, $_GET);
if (isset($_SESSION)) { array_unshift($superglobals, $_SESSION); }
foreach ($superglobals as $superglobal) { extract($superglobal, EXTR_SKIP); } } } /////////////
if this nt work then let me know External image (may be gone)