Jump to content

dcole.ath.cx

Members
  • Posts

    430
  • Joined

  • Last visited

Everything posted by dcole.ath.cx

  1. This sould be at the top of the list, some time I just don't go to w3schools because of it!http://domain.top-lvl-domain is the base URL, make people put in the www. is just adding a subdomain that was cool back in the internet boom but as really lost it's touch. Alot of people get http:// and www. mixed up because of it and they are 2 different things all together.On my site and subdomain that doesn't exist get redirect to my main website. This helps with dead ends.
  2. Just to say some stuff...A signup loagin would work like this:form to sign up, asks all dynamic information (username, password...)that will be send to php script to write all the data to files.If you have 2 databases, you will open one and write the data to the end (or open it and extract the data, then add the new data to the old, then truncate and write over the file)do that to both...The data is virtually in rows and columns.Then when your loging form send data to the login php script, the php login script will take the data and try to make username to one columns and if that works, it will see if the next column over is the correct password.basicly it!to keep it safe... well you do have it in mysql, people can`t read it like a txt, But you could encode the data and write the encoded password and other data. use sessions... My friend hacker broke my cookies... Also delete the session when the browser closes. Don`t have session cookies at all possible, people can steal the content from that and paste it in there own (My friend hacker got that info then became me and it was hard to undo that... )Also you may want to block usernames if they are used in opening dir. I have to block characters because they could go backwards and junk and access other peoples files but I guess you will not have this problem if data is kept in a 2nd database. hope that helps alittle
  3. I'm going crazy over here...Well now, there are 4 files that can access this one txt fileThe scripts that only read can access that script and read itThe scripts that write to it don't work any more (some of them did work)The locations are correct! I guess I will just rewrite the 4 files into one big one or something...
  4. The permissions are set to 777 on all files and the owners are apache on all files... The files use r(read) and a (write)..What could be the problem.
  5. I can open and edit file a.txt with script /folder/b.php but I can't access the file with /c.php!How can I fix this/var/www/a.txt/var/www/html/c.php/var/www/html/fm/b.phpand c.php can't access a.txt but b.php can
  6. Do not Workcreate filerenamedup.deletecreate folder (did work... umm)Do Workuploadedit
  7. SFB, I'm using a OS as you are using a fake thing... When files are made, they are made as Nobody and they need to be apache.I guess I could add text..The folder was owner and group Apache so it should have worked
  8. I have thing script that I was using on IIS, then I moved to Apache and it doesn't work. I don't think I have permission, how do I asign permission with PHP or change Apache to allow me to create files though a File Manager (php script)
  9. Could W3Schools make tutorials on the canvas tag? This tag is not yet a standard but it can be installed to work with all major browsers.The tag can be used to make images (including dynamic) and it can also be used to make 2D and fake 3D games.
  10. Well I have something call settings and it allow people to change the colors of my site to any color they want...Most keep it the default color but some change it to white on black because they are viewing my site at late hours and others change it to be more culming (shades of blue...) I could go with a Canvas images, but I can't seem to get it to work. Could someone show me how to use the Canvas tag?
  11. For my site logo I use a greek D and C but I have found out that it is not understood by some Operating Systems. It turns out that Fedora doesn't like part of this: "~~916;" and in return doesn't inlarge the text to the size I want it.On Windows IE and FF both accept the ~~916; and make it look how I want it to but on Fedora Core 5 (linux) FF does not accept ~~916; and make the text very small (like point 4)so how would you print out the greek D (Delta)... ΔI added ~~ so it wouldn't be changed..---When I edit the file in the Fedora Text editor that highlights HTML it gets messed up after that symbol too, so something is wrong that I need to fix!
  12. I just switched to a Fedora Core 5 Server with Apache (httpd) and I can't view files out site the base directory (EX: www.example.com/blah/index.php but I can view www.example.com/index.php)How do I change settings so I can view files deeper into the base dir.??Also, this is my own server... I am root, The server is in my house..
  13. I guess I'll add my self..Full name: Dan ColeAlternative name(s): DColeBirth date(dd/mm/yyyy): March of 1989Gender: MaleCountry of residance: USAHeight: ~6'Weight: (hint: people also call me 2D)Eyes: BrownHair: Brown/Black (depends on the season)Smoking/Drinking/Drugs: NO/NO/NOFavourite Music: anything but rapInterest: Programming, Skiing, PuzzlesWIK: html, xhtml, php, perl, xml, css, js, (learning: ASP, SQL, Python)Additional comments:Just made a new server that has twice as much space and is three times faster than my old server. I'm now run on Fedora Core 5 with Apache!! I host websites and it will soon be 100% automated now that I have apache which is more editable though scripts than IIS. Side note:msn.com is not the whole internetIE is not the old internetFireFox is not the new internetMicrosoft did not invent Google or Firefox...My Server is also not a router or the internet but one piece of itApple is not an old verson of Windowsand finalyYes, that was me on my computer on a laptop on my server on Mitch's computer on Your computer messing with your mouse.
  14. My School just god firefox and people in my class were like "Hey, they have a new internet out... this one is much better..."I tried to tell them it was a browser used for surfing the internet but they said I was stupid and didn't know what I was talking about..I'm sorry, I don't know what I was thinking... Man, Microsoft just comes out with great things like Google and now Firefox... what will they think of next (I guess were lucky they found the ON button. Anyone of them would make a good President! ) Did you just say IE and Mac in the same sentience??
  15. here is something everyone needs to see:http://firefoxflicks.com/
  16. What is a function that will get the whole URL like get http://w3schools.com/folder/file.phpI have found a function to get /folder/file.php but I need the first part with subdomains and domains.
  17. that PHP function doesn't work...as for FC5 or IIS I was looking for a program that could create the website for people... like a bat file or C++ or something... how do real hosting companies do it??
  18. I use php so I put it here (php will need to activate a appilation or something)How can I have subdomains automatically added to IIS??or how is there a way with Fedora Core 5??I need a way so people can get a subdomain off my URL without me doing it by hand
  19. dcole.ath.cx

    ordering data

    what script would I use to orgainize data from smallest number to largest numberlike:7 -- DCole3 -- SFB5 -- Justsomeguy1 -- Bob9 -- fredinto1 -- Bob3 -- SFB5 -- Justsomeguy7 -- DCole9 -- fredeach line can be a variable and each number can be var[0]
  20. that's what I'm looking for, I don't know how to do the case-insensitive partwould I just do [Mm] or something, then [Ee] or is there an easier way, if this [Mm] way would even work.
  21. I want someone to write me a pattern to find any meta tag.and I only want one because it's a pattern..
  22. Please read all of this before responding!How would you write a needle for finding the following<meta name="Robots" content="index,follow" /><meta name="Keywords" content="blah blah blah"><meta name='description' CONTENT='lalalala'><meta name='ROBOTS' CONTENT='ALL'><META NAME='ROBOTS' CONTENT='ALL'>I'm searching a script and I don't know if there using HTML or XHTML so I need to account for bothThey may or may not be using capsThey may be using single or double quotesthe name and content could equal anythingThis may only be one needle (search string)so it needs to use metacharacters, quantifers, and character classes!
  23. nvm, I was coming to say I got it...I was wanting the cache of pages for backup and other purposes...Like having an over flow server but only DHTML or the output of php...or having history for simple people I host, some new people write over there HTML with out thinking...any way I used: <?php$read = fopen("http://dcole.ath.cx/index.php", "r");while ($line = fgets ( $read , 999999 )) {print $line; }fclose($read);?>that was the basic test script... thanks for the help though
  24. Is there a way to get the scource of a webpage with a script? Like google has "snapshots" of pages...
  25. Good php has ' ' and " " and \' \' and \" \"... one time I like need 4 different quotes because I had a dynamic button input code thing, with php writing html with js links writing html that had php variables in it...
×
×
  • Create New...