Jump to content

codeminer

Members
  • Content Count

    34
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About codeminer

  • Rank
    Newbie

Previous Fields

  • Languages
    php,css,html,sql,xampp set-up

Profile Information

  • Gender
    Male
  • Location
    earth
  • Interests
    php,css,html,sql,xampp set-up

Recent Profile Visitors

4,874 profile views
  1. Thank you man it motivates me to learn. i appreciate correction im not all that im just trying to learn. just thought this might help somebody i used that proxy dns it works great i have access to every folder just by typing in folder name and the tld and i don' have to add anything to the host file it done dynamicly
  2. This is true. What they do have in common is you still have to add the ip address to your host file in order to access them by there name with out having to add 127.0.0.1/bla/bla/bla. Thats what i was trying to address in most cases it has to be done manually and then theres daemon the dynamic link the owner sorry if i offend you
  3. codeminer

    Virtual Host

    Just messing around with apache config file, if you look in dashboard you can find a link called How To ,If you click it will it will bring you to a menu with a list of topics with step by step instruction on how to set up different browser functions. For instance setting up sub-domains ,virtual-host,alias which to me are very much the same thing and use the same directives . I followed all the instruction to create sub-domains everything went very easy and smooth . The only thing i don't like about it is that every time you create a sub-domain you have to manually add the ip
  4. i also agree with you the .htacess should go in the main conf file not only is it recomended its also easier to keep trac of
  5. Merry Christmas i hope your doing well . I m try to create a per user dir so each user will be able to create there own music projects. in order to make it work i need to give each member their own directory i have everything built at this point but its all worthless with out each project having there own directories . i been trying to get a grip on its pretty slippery to grasp i have crashed apache so many times . if you have any input on this i would be greatful im not exactly sure where to start i created the virtual host need to understand how to set the user dir = path do
  6. i need help with this also this is the structure apache reads the config file so i read this is the order the directives should be in everything should go between the vitual host tags <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/example ServerName example.com <Directory /srv/www/example.com/public_html/images> Order Allow,Deny Allow from all Deny 55.1 </Directory> the .htacess is read at the same time as the directory <DirectoryMatch> <Directory ~> <Files> <FilesMatch> <
  7. I had a site not to long ago, I use to press the lock button on browser . the browser i would be using would warn me that my site wasn't safe. i didn't want people feeling insecure or feel like they shouldn't visit the site because of the browser warning , so I sprang the $70.00 bucks and encrypted it .As far as my passwords my passwords are so long i get time out by the time i get done filling out the password field. , just kidding. i think this site is GRATE .its something that is really needed for young developers and veterans. i have studied constantly for yrs , i still don't know any
  8. I tack it back something is wrong with w3scools its like its not being maintained i also noticed that this site is not encrypted according to firefox it kind scares me a little
  9. i like the place no matter how it looks one possible reason might be relate to the latest php update a lot of sites had troubles
  10. I agree my problem is that I started with mysqli I can due basic function like connect select insert I wanted to try to finish what I started once I get a grip on some of these basics I might have enough understanding to take the plunge with pdo I appreciate your input
  11. I think if im getting it your looking for something like this <a title="HOWDY, YOU CAN PUT WHATEVER YOU WANT HERE MAKE SURE TO CHANGE THE LINK TO THE PAGE YOU WANT IT TO WORK ON." href="HTTP://127.0.0.1/SOMEWHEREONTHEPLANET/"><code>HOWDY</code></a> OR YOU MIGHT WANT SOMETHING LIKE THIS YOU NEED TO CREATE MORE FILE TO MAKE IT WORK //put this in your index.php in any kind of tag that works <form action ="createFile.php" method ="POST"> <input type = "hidden" name ="MAX_FILE_SIZE" value ="10000000"/> <input type = "text" name = "name
  12. ok change the whole file around ,found better idea .This hashes the password ,check the db if the username is available, checks that the im format is true and checks the firstname against RE rules .returns error messages in the browser, i learned this from a video on youtube <?php //This is the insert.php file if (isset($_POST['submit'])){ include_once 'db.php'; $firstname = mysqli_real_escape_string($conn, $_POST['firstname']); $email = mysqli_real_escape_string($conn, $_POST['email']); $username = mysqli_real_escape_string($conn, $_POST['username']); $password = mysq
  13. I thought this worked ,it doesn/'t hash the pass, It puts the hash in the data base but it fires prematurely it causes the input field to be fill before the user input is served . just need to keep pounding .hopefully ill get a break through, trial an error unfortunately mostly error
  14. thank you for your expert advise. I managed to convert the password into the options array prior to inserting in to db using this code. It works!!!YA.THANK YOU //password if (empty($_POST["password"])) { $passwordErr = "password word is required"; } else { $password = test_input($_POST["password"]); //changed the regular expression you can add up to 60 charecters if (!preg_match("/^(?=[-_a-zA-Z0-9]*?[A-Z])(?=[-_a-zA-Z0-9]*?[a-z])(?=[-_a-zA-Z0-9]*?[0-9])\S{0,60}/",$password)) { $password_Err = "<br><P>Password must be a mixure of no# and letters co
  15. I read your article that you put up a while back on form page mode very helpful and in depth in fact if I would have discovered sooner I wouldn't have post this I know im just printing the hash out on the page .I Relies that it needs to be defined in the insert statement .what im trying to learn is how to put it in the insert statement so that hashing of the password is accomplished in db . as far as the specialchars i never used them before i 'm trying to learn security . here is my insert file <?php $servername = ""; $username = ""; $password = ""; $dbname = ""; // Create con
×
×
  • Create New...