Jump to content

GuardianGI

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

GuardianGI's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. found about 5 topics with people looking for information about this, followed all instructions (as far as I hadn't already tried them) anyway I have php_mssql.php in my extensions folder, have it enabled in php.ini and I've added ntwdblib.dll to my system32 folder. rebooted apache, rebooted server etc. but I still get a fatal error for missing functions: "Fatal error: Call to undefined function mssql_connect()" running PHP5.2.13 on windows (USBwebserver V8.0) I got my dll files from dlldll.com and I'm starting to think I got the wrong files because the functions are still just missing... I've also seen several other topics with questions about configuring etc. so I was thinking, maybe someone could write a little tutorial which could get stickied on top of this forum, preferably with a download link to the correct dll files and a few configuration recommendations. only thing that was suggested which I have not yet tried is putting the ntwdblib.dll in the php extensions folder and then adding that to the PATH var (for 2 reasons: no idea how to do it, and it's in system32 so it should work anyway, right?xD) I used these dll files: http://www.dlldll.com/ntwdblib.dll_download.html http://www.dlldll.com/php_mssql.dll_download.html
  2. Yes and that education would be: 1) use the popular browser supported incognito mode 2) or History > Browse History > Search: by domain name and delete all instances 3) or as a last resort remove all history That's the order you should follow, the last one is the only most noticeable. well assuming they have to go to the site to learn about incognito mode in the first place an interesting feature most (recent) browsers have is 'delete recent history' which would cover that part. As for a 'button' on the site like has been said keeping your fingers on alt+f4 is the more popular way to go (and something I'd recommend including in the 'education') and u could have a window.onkeypress event with javascript rather then that button if you do decide on doing something in some event. just one last thought it might be nice (in the hypothetical situation that the abusive parents know their child is using the PC but don't know what they are using it for) is to have a way of (after removing the browser history, cookies,temp files etc manually!!!!!!) generating a 'fake' history like visiting wikipedia for school related stuff(yea right...) or random game sites like armorgames.com and some games on there. however you can't do stuff like that when using a browser incognito mode which IMO is still the best way of hiding this kind of stuff (we all want to hide what we browse every now and then ey ) anyway it is generally hard to hide this kind of stuff from the client itself (because that is something you generally prefer your browser to tell you...) and I'd recommend those kids to just not use their home pc for this stuff in the first place (getting caught watching well u know what is just awkward but this could lead to serious harm).
  3. there are still a lot of images referring to the johnkleijn domain (and thus not displaying) and I'm rather interested in reading these articles WITH the images PS: I said in the topic title that it was in OO part 3 but it seems that they are missing in every tutorial
  4. sorry for double post but I can't find the edit button any way all i could come up with by googling was this: http://onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html?page=1 which IMO is a dirty fix that doesn't even solve all my problems. I basically want the browser to think the page listed in the href was loaded (which it in fact was but by only getting a part from it using AJAX and ignoring all the unchanged stuff) but i think the easiest way to make the browser think this is by in fact letting it load the page, however I would like to know if it is possible to do things differently. I can imagine it is not because it could posse a security risk for users of browsers that would allow this(display a malicious site that looks like Google and display google.com in url bar would make it rather hard for an end user to know they are in fact not on Google xD) but I figured it was worth asking anyway
  5. yes but can I use javascript to in this case add something to browser history and edit a displayed url? I want my users to be able to link some one to the page they are on simply by copying it form the url bar, I want hem to be able to use their history to navigate back I want them to be able to bookmark using their browsers bookmark functions. I am very much afraid the easiest way of doing this would be to not use AJAX at all to load pages :'( I can still use it for submitting forms etc. but I'd like to load main content with it as well but I don't want any functionality to be lost...
  6. this is more of an AJAX related issue so I'm not entirely sure if this is where I should put it, anyway... I want to load articles/pages etc. using AJAX into my main page and ofcourse have my content div change if someone clicks to load a new page (you know basic AJAX...) the problem is I want to display a different URL path to my users browser everytime the page is changed using AJAX. I've already set up a way to load my pages entirely if JS (or the AJAX function) isn't working however now I want that page's url to be displayed in the URL bar, to be added to the browser history etc. is there a (good) way of doing all this? or would it be better to just ditch the AJAX and load the custom pages even on systems that support AJAX?
  7. http://www.phpfreaks.com/tutorial/oo-php-part-3-uml-classes-and-relations seems to be missing quite a lot of images. when i followed one of the image paths it simply displays a web page: http://www[dot]johnkleijn[dot]nl/images/phpfreaks/image014.gif anyway i don't know if u are aware of this, i was rather enjoying the articles but there are a lot of references to the missing images here xD
  8. how are you going to collect the prices (where are u going to get them from?) if u get them manually and make a database table form them u can simply get them using mysql_query('SELECT * FROM `products` SORT BY `price`;'); something in that direction. if u deice to get them 'on the fly' I'd insert them all into an array and then use php's built in asort($array); you'd get something like this (i have 3 test values in the array since i have no idea how u plan on getting them.) $array = array('productA'=>12, 'productB'=>17, 'productC'=>11.5 ); asort($array); echo 'least expensive to most expensive:<br />'; foreach($array as $key=>$val) { echo $key.' at $'.$val.'<br />'; } /*would output (after being parsed by a browser) least expensive to most expensive: productC at $11.5 productA at $12 productB at $17 */ you would just have to make something to insert your product names (or location or w/e) into he key field and the value into the value of the arrays EDIT: changed sort to asort, since a sort doesn't leave the keys in tact!
  9. So I'm working on a concept for a CMS (mainly for learning purposes but I do plan on using it) While making a plan for doing pretty much everything I ran into one problem and I was wondering if any one would have some suggestions (suggestions in general like I've always missed * in a CMS or ? is a must have for any CMS etc. are welcome as well). Anyway my problem, I plan on keeping the CMS outside of the public http and have it generate pretty much everything to the the public folder pretty much like the following /cms /public /public/index.php /public/articles/some_article.html /public/media/script.js & style.css now I want my users to go to the index.php page and from there simply include articles using AJAX. HOWEVER! I want a couple of things to work, I want users w/o javascript that click a link to view the article in the correct format (as if it was loaded into index.php) so my usual method using <a href="article/some_article.html" onclick="ajax(this.href)"> won't exactly work since my users would simply get the article outside of the rest of the site, forcing them to return to the main page every time(that is, if they don't have javascript support for w/e reason). 2nd problem is I want google to find my articles in a correct format with a custom title and discription included and when some one goes to that page I do want them to see the page I had shown to google (no the article in plain text but inide of my template etc.) and finally I'd like the correctly corresponding page to show in people's history and I want them to be able to bookmark to a specific article page however I would like it if they where not forced to reload the entire page every time because there is simply no need for them to reload the menu banner background etc. every time they view a different article, is the logical way to go here to just say the menu etc. is in your cache so you don't have to get it from the server and the reloading is no biggy for the browser or is there a good way of doing all this pretty much emulating the loading of the page while in reality the article is simply inserted into the page content. (a thought that came to mind (but which i think is completely insane and entirely missing the point and won't even help for the bookmarking problem) is to have the "no AJAX" page load into an iframe every time an article is loaded, this should add it to history but this is making all the effort to save a little CPU and bandwidth entirely useless...) some info about the concept The media/ (script & style) are going to come from my DB (they can be there in the form of logically separate files but on the live site they will be generated into a minimized static file (no comments & no white space.) and when in debugging mode they will be in readable format. The idea is to generate only elements that have changed (so if an article is added the article index will be edited and he article will be added) this to make sure 2 things go correctly, search engines can index the site as good as possible recap: so I want google to view my links as pages that contain everything and link them to operational pages containing everything, I'm afraid I'm not going to be able to do this with the html article in my href, I think I'll have to add some parameter like ?ajax to my url in the AJAX function and link to a php file that checks for that parameter and then either gives the entire page or the article content only, now this is all fine by me but if I do it this way (which is likely) I would like these urls to be shown in the history and the url part of the bowser (even tough a technically equal page is displayed i do not want that page to be loaded, I just want the content to be loaded using AJAX and the url changed to the corresponding page, would this be possible?) i made a template for the general look a little while ago if you'd like to cmment on that or just have a look here it is: http://www.ggidesigns.com/ggi_cms/ the scrolltastic JS scrollbar was my previous project I made because i was sick of ugly default scrollbars on my pages xD if u decide to have a look @ http://www.ggidesigns.com note that it contains dummy content that has never been updated xD anyway if u have any questions (or run into grammar errors or w/e) feel free to post about that as well because I'd like this to be easy to read and understand and I do tend to wander off and edit lines into something that turns out to be gibberish (grammatically).
×
×
  • 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.