Jump to content

pkirsch

Members
  • Posts

    59
  • Joined

  • Last visited

    Never

Everything posted by pkirsch

  1. Hello Everybody! I am wondering which i should Use! Tables, Div's or both? I am trying to follow the W3 Web Standards, and I don't know which are better? I have a friend that said div's load faster!? Div's are harder to use because you cant position them the same! Please let me know what You think! Thanks. Have a great day, pkirsch
  2. Thanks so much guys! Have a great day, pkirsch
  3. Yeah I have some great suggestions! How much money Do You want to spend? Two great books I Bought that helped Me a lot are: Core PHP Programming Third Edition - by Leon Atkinson - from Prentice Hall Beginning PHP5, Apache, MySQL Web Development -from Wrox Here's some Amazon Links: http://www.amazon.com/Core-Programming-Third-Leon-Atkinson/dp/0130463469/ref=sr_1_1/002-9801362-2682434?ie=UTF8&s=books&qid=1178133202&sr=8-1 http://www.amazon.com/Beginning-Apache-MySQL-Development-Programmer/dp/0764579665/ref=sr_1_1/002-9801362-2682434?ie=UTF8&s=books&qid=1178133324&sr=1-1 I really Suggest these books! Hope This Helps, pkirsch
  4. Thanks A Lot for Your Time thorpe and paul2463, You have helped Me a lot! Have a great day, pkirsch
  5. Actually; yeah, Your right! i think I'll do that! :)Thank you very much for Your time, pkirsch
  6. Hi, I have a few questions regarding File Handling! If you use fopen to open a file, and the file doesn't exist, it will create it. Right? What happens if you never close a file using fclose and just leave it open?
  7. In this case would the .txt file be a "Blacklist" or a "Whitelist"? How do I tell the "IP Checker" script that a new IP is on every new line; and to check them all!? And actually I think i want to separate them with single quotation marks. Example: '192.168.1.1' '144.64.22.5' '00.66.00.5.4'
  8. We'll I have one processor file that validated the forms and another that adds the info from the forms to a MySQL DB!
  9. No, I don't want the user to click, I want the processor1.php to send the info to processor2.php!
  10. Hello, I am making a PHP script that checks IP Addresses from a text file, and if an IP is listed, it will redirect the user. Problem is; I don't know how to check the file (probably using fread or fgets but please help Me on this.) The IP's are separated by putting them each on a new line! Thanks so much for Your Time, pkirsch
  11. Hello, I was wondering if (which it probably is) possible to pass info from a form, to a processing script, then to another processing script? I'm thinking it would be using $_POST, $_GET or $_REQUEST. If You Could Please let me know how to do this, that would be great. Thanks for Your time, pkirsch
  12. Hey, I never thought of doing that! Smart, smart, smart!
  13. Hello Everybody! I was wondering is any of you could enlighten Me on the subject of headers. My question is: Can You put PHP Comments before sending a header? Will it still work? Thanks, pkirsch
  14. Hello Everybody! So Heres The Deal: I am trying to center ALL the content on My website! In Firefox It shows up Perfect; but in Internet Explorer (Destroyer ) it does not show up how it's supposed to! My website is: http://www.padfox.com And The CSS files are: http://www.padfox.com/included/css/main_css/main_css.css and http://www.padfox.com/included/css/main_css/header_title_blue.css If You could please Help me find why IE won't display this right that would be great! Oh and just so it's clear, Both the HTML and CSS are Validated using w3.org! Thank You So Much, pkirsch
  15. I'm sorry this is a really easy problem I'm sure, but for some reason i cant figure out what the problem is! Here's my error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /folder/folder/folder_folder/folder/file.php on line 46 here's my code: <?php print("$_SERVER['REQUEST_URI']") ?> And yes i did indeed search for this problem on google, but for some reason I couldn't figure it out! Thanks for your time, pkirsch --------------------------------------------------------------------------------------------------------- Hey! Sorry i figured out my problem! before: <?php print("$_SERVER['REQUEST_URI']") ?> after: <?php print("$_SERVER[REQUEST_URI]") ?> hopefully this can help somebody!
  16. Hi Everybody! I was just testing some code: <?php session_start(); $_SESSION['views'] = 1; // store session data echo "Pageviews = ". $_SESSION['views']; //retrieve data ?> And for some unknown reason I keep getting the error: Bad Request (Invalid Hostname) Can somebody Give me an Idea on Why the Heck This is happening?
  17. This is Not Making Any Sense To me! Please Help!
  18. I don't Have any code yet! Thats the problem! I need help with the concept of making a Dynamic Bread Crumb Trail! But if you want some code Here's some sample code I've found on the Interweb! ----------------------------------------------------------------------------- <? $ul_id='crumbs'; $bc=explode("/",$_SERVER["PHP_SELF"]); echo '<ul id="'.$ul_id.'"><li><a href="/">Home</a></li>'; while(list($key,$val)=each($bc)){ $dir=''; if($key > 1){ $n=1; while($n < $key){ $dir.='/'.$bc[$n]; $val=$bc[$n]; $n++; } if($key < count($bc)-1) echo '<li><a href="'.$dir.'">'.$val.'</a></li>'; } } echo '<li>'.$pagetitle.'</li>'; echo '</ul>'; ?> Then Wherever You want it to appear: <? $pagetitle="Insert Page Title"; include("http://www.yourdomain.com/breadcrumbs.php"); ?> ------------------------------------------------------------------------ Now this seems like it would work well but will it automatically insert the Page Name? Because i want to have this code (or something similar; can you suggest any good Bread Crumbs Scripts?) in a separate file, then I will include() it in the target page! What do I need To do?
  19. Hello Everyone! I am having troubles trying to figure out how to make a Dynamic Breadcrumbs trail! Yes I have indeed searched Google and I haven't found any really good ways to do this! This is really annoying! Please Help Me with ideas on how to make this possible! Thank You So Much For Your Time!
  20. I'm now getting another error! Warning: include() [function.include]: open_basedir restriction in effect. File(/included/included_pages/header.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in /home/mydomain/public_html/folder/index.php on line 10 Warning: include(/included/included_pages/header.php) [function.include]: failed to open stream: Operation not permitted in /home/mydomain/public_html/folder/index.php on line 10 Warning: include() [function.include]: Failed opening '/included/included_pages/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/folder/index.php on line 10 What does this mean and what do I do to fix this?
  21. I understand what you said but the problem I'm having is the fact that the include file is not in the same folder! The path is http://www.mydomain.com/included/header.php You gave Me include('/included/header.php'); Which in my case does not work! What can I do to include a file in another .php file?
×
×
  • 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.