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 bkrike 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: *

  • Users: LeonKl2
  • Content: Threads
  • Order by date
  1. LeonKl2

    .htaccess Rewrite Problem

    Hello, I am trying to redirect *all* requests made to my website to a single page and also pass on which page was originally requested. Currently I am trying to do something like: RewriteRule ^(.*) index.php?c=$1 However, what is passed on always seems to be "index.php". Any ideas? Thanks...
  2. LeonKl2

    How do I create an Email Reply script?

    I want to make a script that would, for example, if somebody emailed script@mydomain.com, it would save their name and email, and then reply to them with a message. I know how to do all of that except on thing: How to get the script to read the information from the message? So far, I've...
  3. LeonKl2

    Some emails sent from perl have messed up newlines.

    Hi, I have a small CGI script that I wrote that sends email using sendmail. Usually it works fine but for some email addresses the newlines end up doubling, or there are no newlines at all. Any idea why this could be happening or how to fix it? I have thought that maybe adding Content-Type...
  4. LeonKl2

    Can't find table error, even though table exists

    I use the following query: SELECT * from ads where user!='$id' and ready=1 and category='$category' and main.id=user and main.credits>4; And it returns #1109 - Unknown table 'main' in where clause But the "main" table exists. What gives? I've tried it with other tables in the same database...
  5. LeonKl2

    Reading a lot of web pages consecutively

    Hi, I'm trying to write a program that will read the source code of some pages and get some information out of them. I wrote a simple program to do that but I'm getting a really weird bug. I'm inputting the URLs by just using Text1 and then I split that by newlines into an array and I have...
  6. LeonKl2

    How can I make it so that only one instance of my application can run?

    I need to make sure that the user can't start 2 or more copies of my program at the same time. How do I do this? Or alternatively, is there any way for a running program to be able to read info from the command line? So instead of it opening another copy of my program with this command line...
  7. LeonKl2

    How do I create an autoresponder with PHP?

    I need my PHP script to be able to recieve emails at something@mydomain.com and then reply to them with a pre-defined message. I see programs online that do this all of the time. I just need to know how to make one.
  8. LeonKl2

    How do I keep a PHP script running after I close the page?

    I'm trying to make a PHP script do something similar to a mailer program that I used. It was written in PHP and I would tell it to email my list and then close the page. It would email the list and about 15 minutes or so later I would recieve an email that it was completed. I'm trying to make...
  9. LeonKl2

    4 gigs of space missing

    Theres a bunch of weird junk sitting on my harddrive and its taking up space but I can't find it to delete it. I have a 20 gig harddrive, and supposedly I only have 150 megs of room left. But when I view the C drive and I select everything, it only adds up to 15 gigs. How do I actually free up...
  10. LeonKl2

    Frame relocation problem

    I have a page thats inside of a frame with a Javascript that onClick makes the other frame go to a different page. However, when I try it I always get an "Access is denied" error. What does that mean? Is there a way for me to work around it? Thanks
  11. LeonKl2

    How to find where PHP Javascript is called from?

    I am using a PHP page to generate JavaScript code so that the result can be called with a < script src tag. How can I find out what sites this Javascript request is coming from? The regular refferer variables don't seem to work. It should be possible to do this. Thanks, Leon
  12. LeonKl2

    How do I show and image using PHP?

    I'm trying to create an invisible tracker using PHP but the image it serves up always creates an error image and so it becomes visible. I call the script like this: <img src=&quot;script.php&quot;> Then the script is something like: <?php //PHP stuff ?> <img src=&quot;blank.gif&quot;>...
  13. LeonKl2

    How do I make all links in a table open in a new window?

    On my site, the visitors will be able to place any HTML code that they want inside of a segregated table on my page. They control what the links look like. Is there any way that I, from the outside, can make their links have to open in another window? Thanks
  14. LeonKl2

    How do I fix a &quot;URL is malformed&quot; error

    I get this error when using Ddata = Inet1.OpenURL(URL, icString) but I checked and the URL is fine. What can I do? Thanks

Part and Inventory Search

Back
Top