Jump to content

pkirsch

Members
  • Posts

    59
  • Joined

  • Last visited

    Never

Everything posted by pkirsch

  1. Hello Everybody! Ok I have a few questions: 1: what can I do to hide my php.inf file (do I need to?) Today I typed "http://www.mydomain.com/php.inf" in Firefox and wallah there it was! I saw everything in it! That does not seem to be ok!? My webhost put's it in the "public_html" folder! Is that normal? Where should it go? How can I hide it? ---------------------------------------------------------------------- 2: I am trying to use a include() tag and it's not working! <?php include('http://www.mydomain.com/included/header.php'); ?> The error im getting is: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/mydomain/public_html/myfolder/index.php on line 9 Warning: include(http://www.mydomain.com/included/header.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/mydomain/public_html/myfolder/index.php on line 9 Warning: include() [function.include]: Failed opening 'http://www.mydomain.com/included/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/myfolder/index.php on line 9 Do i need to configure my "php.inf" a certain way? If so how? ---------------------------------------------------------------------- Thanks so much for your valuable time!
  2. Like?... What could I do to prevent this? Here's what I came up with! 1. Rename the file. 2. Change the CHMOD to something more appropriate! 3. Clean the file of <Script> tags! What more could i do?
  3. Thank You Very Much "Fert"! Is It safe to allow the users to upload their own CSS file (I will rename it, and put it into their directory?)
  4. Hello! I am trying to (on my site) make a part in which (after the user logs in) they can (under their settings page) choose from a dropdown a list of CSS templates I've made (so whenever they login it changes to their chosen template) and i would even like to have the option to upload their own CSS file and apply it! This is really being stupid and annoying! So i would like to know what "You" think is the best Method for achieving this?? Thanks so Much and Have a Great Day! pkirsch
  5. Yes indeed it does! Thank You very Much! Have A Great Day! :D
  6. Hello! Really easy question! I need help finding the best way to check a Value (Eg. "14") in a MySQL Database and + or - from that number! I'm hoping this is pretty easy, but i couldn't find documentation for this! Thanks pkirsch
  7. I suggest you use an editor like "Notepad ++"! Considering that the default windows note pad wont let you make files with the name ".htaccess"! --------------------------------------------------------- You can get it here! http://notepad-plus.sourceforge.net/uk/site.htm --------------------------------------------------------- If you get it; 1. Open Notepad++ 2. insert whatever you need 3. save as .htaccess --------------------------------------------------------- Sorry i don't know where to put it on your local computer but i hope this helps! pkirsch --------------------------------------------------------- P.s I've found a cool little freeware utility for creating (all the basic features of an .htaccess file!) http://www.download.com/HTAccessible/3000-2181_4-10401124.html
  8. Good Day! Hello Friends! I have a Web-Host to suggest! Currently i am using "Lunarpages"! I really like them and highly recommend them! I have had my share of hosts, so i know what I'm talking about! I have had no problems yet! (hope it stays this way!) Best of luck finding your perfect match! Ok so here's lunarpages "basic plan": $6.95 per month (for a two year plan; $7.95 per month for a one year plan) Storage: 250 Gb Bandwidth: 2500 GB/Month MySQL Databases: Unlimited Dreamweaver Compatible Sub Domains: Unlimited Ftp Accounts: Unlimited Email Accounts: Unlimited Thats just the start! Heres their basic plan page http://www.lunarpages.com/basic-hosting/ P.s - When you sign up they will put you on PHP 4 so (depending on what "Cartweaver" needs) you can request that they give you PHP 5! I did and it took all of 10 Minutes! I hope this helps! pkirsch
  9. Thank you very much! Any other suggestions? Ps how should i timestamp a login? Storing it in a mysql db? :)
  10. I don't have a script yet! I'm wondering what you think would be the best solution!
  11. Hello, I am trying to make a .php file that will check when the last time the members of my website logged into their account, and if it finds that they have NOT logged in for more then six months, it will delete their account! The accounts consist of files and MySQL Databases! This will run as a cron job every two days!
  12. Hello! I am wondering if PHP can search strings of text submitted from a form? What I'm trying to do is make a Form Cleaner that searches form submissions and removes "<script>" etc.! Any suggestions? Thanks and have a great day! pkirsch
  13. Thanks! you have been extreamly helpful! Have a wonderful day!
  14. Hey thanks again! Yeah! duh i should have noticed that when i tried to open a .php file in firefox (that had only php) it kept asking me to open it in dreamweaver! Hah! What i mean is i am trying to make a system in which a user could be rated by other users (who must be logged in to vote.) users vote for each other (if they want) using the thumbs up/down and try to maintain a score! when the users reach a certain score (which fluxuates, depending on the other users votes (up or down) they will be able to have access to a page (only if their score is over "x", and only if their logged in.) Now the only dilemma i have is; i need a way to prevent over voting, so if you have any ideas, please let me know!
  15. You are correct indeed! But lets say that i needed to make an IP capturing script (php of course) for a a Form (fill in the data and press submit) and from then on that user using that IP would not have access to that file! What about doing the same thing just with a folder?
  16. Thanks! I have another question that relates to my voting system! I would like to make it so that when (other registered users) vote for a user, (who must be logged in for authentication) that once the user reaches a certain amount of points, they will have access to a certain page! but ONLY then! I would like to make different levels of users, and each level has different privileges! the levels need to be dynamic! so voting can change then! (both + and - directions). Any idea on how i could go about this? p.s how can i make a .php file so that it can NOT be seen if you go directly to it in a browser, but it can still function! These forums are the most wonderful and helpful community in the world! Thanks SO much!
  17. After submitting a form on a page, what's the best way to capture the submitter's IP address and add it to a php file that will deny them from coming back to that same page again after submitting the form? (for example, if they try to revisit that same page, the php script will report a message back stating "sorry, you've already been there").
  18. What is the best method to make a rating script similar to a "rate this product...thumbs up or thumbs down" type system for a logged-in user, which will append to some compiling DB? (for example, if 100 people rate a specific product, the DB can report 83 liked, 17 disliked)? Thanks all!
  19. Hello! Recently I posted a topic in this forum because I was wondering about php file handling... Thanks I now understand! But now a new question arises in My head! How can i create a script (php) to create a folder on my server that will in a select location, named from a text field! Thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.