Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fuckoff222

    Conditional Action based on Current URL

    Okay if this were Java I would be done by now. But PHP just seems really cumbersome at times. The REQUEST_URI element in the _SERVER array returns the relative document server path, including the filename. So instead of /dir/dir2, it gives me /dir/dir2/file.ext . How can I get rid of the...
  2. fuckoff222

    Conditional Action based on Current URL

    Hello All, What I want to do is make a conditional action (IF) based on the current URL of where the user is on my website. If possible I would like it to be based on the relative web URL, for example /dir1/ , and not a server path. Also, I need the condition to be true in any other...
  3. fuckoff222

    How to store a virtual() statement to a variable

    Holy crap it worked! And then I used fread() to read the contents. I have been searching forever for a solution to this problem! Do I need to close the file after I am done with it? Are there any risks in not closing? Do we even close files in PHP (I am a Java person).
  4. fuckoff222

    How to store a virtual() statement to a variable

    I suppose I should have mentioned this: The URL I am calling contains data in the URL. Error: Warning: fopen(./cgi-bin/coranto/viewnews.cgi?id=EEEpplAFEZaVeFkzzX&tmpl=getfullname): failed to open stream: No such file or directory That happened when I tried to include or require that URL...
  5. fuckoff222

    How to store a virtual() statement to a variable

    Hello Folks, What I am trying to do here, is store the results of a virtual() include in to a variable. I am using virtual, as opposed to require or include, because the file must run through apache first, as it has perl code. But the file returns simple one string of text, a name. Is there...

Part and Inventory Search

Back
Top