Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About fedoracore

  • Rank

Previous Fields

  • Languages
    ColdFusion (CFML), Hypertext Pre Processor (PHP), XML, XHTML / HTML, CSS, JavaScript

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Interests
    Just check out NoviceNotes™ (see personal URL)
  1. is this to suggest that the go-pear.bat is not the desired approach to installing "PEAR" on Windows XP, that is-- the Pear command line installer (ie. so i can ultimately just do like i would on Fedora, such as: > pear install Some_Package)?My confusion is in part due to my not understanding what's going on with PHP5 and PEAR as a default installation. I mean-- what is the difference between "what is now", and "what was"? My understanding, from these trials and many errors, is that-- even though PEAR comes down w/ PHP5, the Windows user must still perform some action to in fact integrate it
  2. the only thing that looks odd to me is that i have 4 Config.php files, in the following locations: C:\PHP\PEAR\PEAR\Config.php - 67.5 KbC:\PHP\PEAR\PEAR\Command\Config.php - 15.0 KbC:\PHP\tmp\PEAR-1.6.1\PEAR\Config.php - 67.5 KbC:\PHP\tmp\PEAR-1.6.1\PEAR\Command\Config.php - 15.0 Kb Recall that this is a fresh install of PHP 5.2.4. I haven't altered any of the Dirs or Files manually, so after the go-pear.bat run, this is the result, unaltered.The smaller file is only 420 lines long, and the other, 2108 lines. Using jEdit's "JDiff" plugin, the files are quite obviously different.I've included
  3. first attempt at PEAR installation:PHP 5.2.4 - WinXP Sp2 - Apache 2.2the Initial instruction, post-installation [local, vs system-wide] tells me (not verbatim) "...old version found... remember to use ./php/pear.bat instead...."hence, the following command. note the feedback. C:\PHP>pear.batNotice: unserialize(): Error at offset 375 of 566 bytes in Config.php on line 1007Notice: unserialize(): Error at offset 375 of 566 bytes in C:\PHP\PEAR\PEAR\Config.php on line 1007Call Stack: 0.0052 259416 1. {main}() C:\PHP\PEAR\pearcmd.php:0 0.4794 2981008 2. PEAR_Config::singleton(string(0), st
  4. boen_robot, thanks for your thoughtful replies. reading your info, and through some trial and error, i managed to have a few epiphonies during my stint with the httpd.conf file. for the longest time, i was so confused with why my htaccess files would work on-line, but not on my localhost setup-- it wasn't until i played with the ALlowOverride directive that things became more clear.very powerful stuff. very cool. ;-)thanks again.!PS. in case you were wondering, one of thie things i was trying to do was (i dont' think i mentioned already) was to "block", for example, GoogleAdsense from displayi
  5. EDIT: Skip the bulk of my nonsense if you like, and go to the very bottom... cause it's a lot here... for the .htaccess, i'd remove the <Directory ...> ... </Directory> opening and closing tags though, yes?after i posted here last night, i found something which jogged my memory-- and i proceeded to experiment a bit. once i read the thing at jsKit (above URL), i remembered this -> another really nice resource from which i've modeled many an .htaccess file (as a quick-start wizard, it's great IMHO!) yet-- each time during this experiment, i continued failing to achieve what i wa
  6. hi. what might i place in .htaccess (or otherwise, perhaps in httpd.conf) which would prevent, for example-- outside IP's from loading / displaying when i am developing on localhost?chances are, many of you have experienced something like the following:maybe you've put some "Google AdSense" in your web pages, or any of the multitude of similar "monetizing" code-- or maybe you've got a Yahoo! MyWeb Badge feeding your Yahoo! MyWeb Bookmarks data-- you've got something in your source-code which communicates w/ the "outside world" which, when displayed on localhost during testing-- does in fact di
  7. [NOTE:] THIS USER HAS SOLVED HIS PROBLEM but any "beginners" may find some of the info below to be educational:hi. i'm looking for a way to output any and all vars which were submitted via either _GET or _POST (meaning-- print to screen, as in "echo $this-var, $that-var, $your-var, $my-var, etc...) i'm thinking it might help me to determine why i'm hitting snags w/ this tutorial, which expects REGISTER_GLOBALS to be set to ONi'm okay w/ checking for existence of the vars-- an essential step in the processing of these example exercises-- by using the following code: $some-variable = isset($_GE
  8. check it out-- for now, i've decided that the following is probably just as good as anything else for this project (though i'm still displeased about being stumped on the path stuff) <?phpif(file_exists("offset.php")){include 'offset.php';} else {define('OFFSET','../');}if(file_exists("db.inc")){include 'db.inc';} else {$dbincNeeded = "the db.inc file isn't here!";}if(file_exists("error.inc")){include 'error.inc';} else {$errincNeeded = "the error.inc file isn't here!";}$cssAdjusted = XRO.$StyleSheetPath;?><!-- SNIP --><body><?phpif(isset($dbincNeeded)){ echo "<h1>"
  9. right! that's what i'm talking about (i think)... except it's the recursion part that i don't know how to get. how would i "point" to that base dir file, and then "count" those directory offsets, determining how many of the "../" i need to add?there's a cool example at php.net (which ive mod'd just a bit cause it didn't work, not unlike my typo above ;-) <?php// here $path becomes the REQUEST_URI variable// **(see "quote" below for cite) // ** note this is MY mod from the example available at ./reserved.variables.php (the Manual)// more info at http://www.php.net/manual/en/reserved.variabl
  10. AT ISSUE HERE:inside ./MyWorkshop/Template.php i wish to link to ./MyWorkshop/css/style.cssin a manner which will be universal, continuing to link to ./MyWorkshop/css/style.css -- even inside of mkdir ./chapter06 ... (a new directory) such as:./MyWorkshop/chapter06/MySQL_examples/File-From-Template.php./MyWorkshop/chapter06/javascript/File2-From-Template.php and so on.i've got a script i use to figure file-names, but i can't think how to "warp it" into giving me what i want in this situation-- yet, the info seems to be there: <?php$process = $_SERVER['PHP_SELF'];$patharray = pathinfo($proc
  11. or the "navigatin menu" in seamonkey right? hmm-- i'm probably confusing that w/ something else. to me, it's not stated quite clearly the purpose at the w3c (so, i guess what they what us to learn at the w3c is ... "this is only for a User Agent or a Robot, and will have no affect on the page functionality..", yet that isn't quite the clear message which comes across to me.)it's additionally confusing for me because of the BASE element seems to be related-- if nothing else-- in terms of location in the Rec. hehe., and it DOES indeed noticeably affect the page navigation.one more "For instance"
  12. hello there.i've been trying to figure out how to use the html LINK element for creating document relationships, but from what's listed at the w3C's rec, i don't quite get it... sure, they've got a few examples-- but i couldn't find anything where i can go back and reference my own trial and error and say "oh, okay-- theirs looks like this, and mine looks like this... and..."because, they don't appear to have any real examples there. or-- am i just missing it?to put it another way, take for example, php.netthe documentation uses the "Prev" and "Next" LINK elements to navigate about the documen
  13. hey Nakor, that did it man! thanks so much.now, why exactly is it that we had to go that route in particular? you mentioned that -- how might i avoid / plan for this in future designs? i'm all about trying to get the db just right, so i like to take advantage of any opportunity-- especially while i'm "down in it" so to speak. no biggie if ya don't have time, but if you do, i'm curious... or maybe you have a URL to an article on the subject?thanks again!!! if y'r ever trav'lin through Appalachia, and ya need some guitar strings, or a Kazoo perhaps... definitely look me up! hehe :)EDIT:Sorry
  14. hey there! thanks mucho for your input on this issue. i regret to report that it "didn't work"... at least not as nice and clean as shown in Nakor's demo...couple things, please, before we get into specific analysis 1.) Do we all agree that the best approach to solving this problem is through a MySQL function, and NOT something i might want to do to the return data on the PHP side?2.) Something tells me my "failed SQL" isn't really failing as much as it is my chosen use of the query result-- have another look (just in case...) at that next-to-the-last line of my original posted code. the outpu
  15. What is the "standard practice" for grouping multiple returns of the "same item" in a simple join query?Please observe this lines from a working MySQL query Method: $AGquery = "SELECT cat_id_ag, ag_id, ag_identity, ag_nickname, ag_details FROM aguitar_inventory, aguitar_models WHERE aguitar_inventory.ag_id = aguitar_models.ag_identity"; $AGresult = mysql_query($AGquery,$dblink) or die("I could not connect to the database because ".mysql_error()); $this->many=mysql_num_rows($AGresult); for($z=0;$z<$this->many;$z++) { $counter[$z]= mysql_fetch_array($AGresult, MYSQL_ASSOC); }
  • Create New...