M
Mykasoda

  • Apr 26, 2004
  • Joined Sep 24, 2002
  • I want to setup a search engine for a local web server (no need to index foreign sites).

    I have found a couple that are promising, but none of them index PDF or DOC files, and I really need them to do this. The only one I've found that comes close is phpdig.net, and that one doesn't run under windows.

    Does anyone know of one that will work platform independantly?

    Or perhaps how to do it myself in PHP? I wouldn't mind learning something new. (I can already do plaintext files)

    I would very much appeciate any info.

    • Hi, I've for the most part (finally!) finished the PHP site I was developing. I have a domain name for it, which was originally pointed at the hypermart.net nameservers while it was still in development.

      I recently changed the nameservers (2 days ago), and on the nsi.com website it confirms that the change has been made.

      The problem is that when I goto my domain, it still directs me to my hypermart page. How is this even possible? and more importantly does anyone know what could be wrong?

      Thanks in advance 🙂

      • weird, wasn't working before, now it works fine 😛

        Your my new good luck charm 😉

        • Sorry to ask this here because it's more of an HTML question (although being used to develop a php site), but I didn't know where else to ask.

          I am using a CSS style to make the links on my page white and change to blue onHover.

          Is there any way that I can make a single link on my page a different color? I want it to be on a white background table, but I can't do that since all links are white.

          Thanks in advance 🙂

          • oh, righto, duh 😛

            Thanks. Just couldn't recall what it was called.

            • Sorry to bother asking here, but for some reason I can't remember, and can't find anywhere the solution.

              How do I truncate a decimal on an interger?

              for example, how would I turn 40.454545 into 40.45?

              Thanks in advance.

              • Yes, this is how it works as far as I can tell

                1) I goto "View Entries" page
                2) It detects that I'm coming from PHP program, and hence no cookies to be found
                3) Brings me to login page, but I have specificfied that I want to pass ?password=xxx so that it doesn't stop me here
                4) It writes a cookie in my browser cache
                5) It redirects to the page I was orginally coming from
                6) FOPEN reads this page
                7)Because I'm still in a PHP program it can't find the cookie, and sends me back to the login page.

                🙁

                • Ok, if you've seen my last thread, you know I was having serious problems with getting information from a password protected page in a php program (even though I know the password)

                  Well, after some tinkering with the site, I was able to get it to the point where I could put my password in the URL (since it uses GET, so i could just say &password=XXX). I thought I had figured it out and was sooooo happy.

                  The thing is, the page checks the password, logs the user in and then redirects to the actual page which checks for a cookie. All I am getting when I fopen the page (even with password inputted) is the orginal page asking for a password. Is there anyway I can get at the page that I'm being redirected too?

                  Much thanks in advance, again.

                  • Anyone? Please? Last attempt I suppose, would have been a huge help if I could do this 🙁

                    I don't want to be annoying, so I won't ask here anymore after this.hopes for the best

                    • Didn't he type in the IP address?

                      That's how I'm able to get there, by typing the domain i get errors.

                      • I think the problem is that you are

                        "Trying to make money from a site"
                        rather than
                        "Trying to make a site and getting money"

                        You should make a site that you truly enjoy, unless of course you are starting some kind of bussiness on it, in which case you can't really afford to "leave it alone", so I'm gonna take it you are making some kind of "fan based" page, much like this one.

                        So um...yeah, I lost my train of thougt 😉, but the point is,
                        "If you build it they will come" just make sure you enjoy building it.

                        • I had this same problem when I was first getting started. I thought that I could just have the domain "point" to my ip. Unfortunetly that is not how it works.

                          Twilson has already covered the techincal explanation. There is a simplified program for setting up a DNS server, and even that is a LARGE pain to get working correctly, especially if you don't have 2 extra dedicated servers lying around.

                          My solution?

                          I got an account at hypermart.net (which I was using anyways for a merchant account anyways) and I had it redirect to my account, this was easy since they support php, and when you don't use the <title><head>or<body> tags on a page, they don't even require that you use a popup.

                          Sometimes, a good work around is all you need 🙂

                          I hope I helped somewhat 😃

                          • drat, hmm..... is there a way I can access an html page that is open in another window?

                            Like If I use javascript to open up the page (which will display due to cookies) in a popup window or another frame, could I then access the html on that page?

                            hoping

                            • ok, just found out it submits a textbox called "id" and a password called "password". It does this using post, and I know the location of the program it posts too, now is there a way I can do this from my PHP program?

                              Also, if you know a way to do it just based on what I posted before, please include that too 🙂

                              Thanks a million in advance

                              • oh, damn, well yeah, even if you did know the Vbulletin thing I was just giving that as an example.

                                So there is no way even though this program is running on a browser that I am logged in (by cookie) on to access that page? Could I somehow load it and save it by opening it in a new window and then open it again?

                                This would help me out quite a bit, Thanks again.

                                Oh and btw, I have the password/username an' everything for my account and all, It's not a case of needed to figure a way to get in without it 🙂

                                • Hi, I was wondering if there was a way to open a remote file (right now I"m using the fopen command, but if something is better please let me know) when it requires authentication to access?

                                  For instance, if I wanted to open the page generated by my User CP on this forum, how could I do that from within a PHP document? Because as of thus far all I am getting is the "login" screen.

                                  Many many thanks in advance, if it can be done you guys usually come through for me 😉

                                  • Yes, I know the variables in the url, and that worked great!

                                    Thanks 🙂

                                    • I was so excited when I saw this post, as I also couldn't find what to do when the "due to a missing OCX", however, I am still getting that error even after installing it 🙁

                                      Any thoughts? Anything would be appreciated, I just formatted my harddrive, and now PHP won't install (it was working before), so it must be something I can get, I just don't know what 🙁

                                      Like I said, anything would be appreciated, because i'm going insane 😛

                                      EDIT: Got it working, I installed MS word and then it worked, Silly Windows.