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 dencom 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: richardko
  • Content: Threads
  • Order by date
  1. richardko

    regex question

    hi, how do i match anything in the expression other than "certain words". Say i have bunch of strings like this: 1234.abc.com, asd.abc.com, ees.abc.com, www.abc.com Now i want to match all the strings that do not have "www." at the start of the string. For example in the strings above the...
  2. richardko

    foreign character dilemma

    hi, i am trying to grab some foreign character from an html page and insert it into a mysql database ... For example say the character was chinese or russian,,,when i view it on a webpage it looks fine but when i try to pass it php script it converts to gibberish,,,what should i do to convert...
  3. richardko

    rewrite

    hi, i have this redirect rule which doesnt seem to work for some reason. I have a directory called "blog" inside which the .htaccess with the rule below exists. For some reason it doesnt work any idea? RewriteEngine On RewriteRule ^/(.*)$ ../index.php?base=viewblog
  4. richardko

    pass session between subdomains

    is it possible to pass session between subdomains? if so how? The first few results in google search were not helpful.
  5. richardko

    initialize curl through various ip

    Hi, I have a script that executes curl on various websites. I also have 5 internal ip for my box. Is it possible to rotate execute the curl as if it was coming from one of those IP addresses? I thought the CURLOPT_PROXY was the option but i am not sure if this the correct method.
  6. richardko

    regex question

    hi, i am trying to understand this regex expression and i just want to clarify with the fellow users if my interpretation is right: (?!(?:#|javascript\s*:)) the first "?" from the left means this is optional. the "!" after that means anything that doesnt match. The code inside the is...
  7. richardko

    innerhtml with javascript

    Hi, I am trying to append an innerHTML that looks like this: var inn = '<javascript src="/test.js">blah..blah..blah<input type="text">'; When I append the inn to an existing div it works fine in Firefox but fails to even show up in IE....any idea how to get around this. thanks ro
  8. richardko

    session question

    Hi, I have a system where i am trying to pass session between two files. There is a file called "editor.php" and there is a file called "index.php" when i am in "editor.php" i set certain session variables. Within that "editor.php" i call php's "file" command like this: $fh =...
  9. richardko

    javascript preg_match_all

    hi, I have a string containing html where i need to use regex to match certain elements. the string can be ajkshajda <form name="form1"></form> aksdhaskjashd <form name="form2"></form> lakjdkjasjas " how would you match all the <form name=""> elements and get the "name" of the form? thanks
  10. richardko

    prototype for a list

    Hi, could someone give me an example of how to create a prototype for a list. I have seen examples for array, string but is it possible to create one for a list object at all? thanks ro
  11. richardko

    drag and drop clone

    hi, i am trying to create a drag and drop utility where i want to duplicate the "div" that i am dragging so that when the "div" is dropped the original "div" is still in original location. i tried clonenode but its not working. Are there any other methods to create exact copy of the item. thanks ro
  12. richardko

    xml and flash

    Hi, I have never done any extensive looking into flash and I was hoping someone would guide me to a tutorial where I can create a flash animation like this site(at the top of the page): http://www.newark.com/ Would it be possible to use xml data to make the content dynamic? Thanks ro
  13. richardko

    php curl to go through pages

    hi, i am not sure if this is related with php but since the code i am using is all php i thought i will ask it here. i am trying to get contents of a certain website. the contents are such that there are multiple pages and the first page has links for the rest of the pages. I can easily...
  14. richardko

    linux like environment

    Hi, is it possible to duplicate linux based software on a windows environment? We have a website for clients where some of the files are path specific. For example when a clients' website is accessed the index page is retrieved from "/home/clientid/". Can we set up environment variables in...
  15. richardko

    give apache permission to write

    Hi, we run website for multiple clients where all the client files are stored in /home directory. each client has his own group and own name. The problem I am facing is when apache needs to write info to file inside /home directory. Since the client by default owns the directory the apache error...
  16. richardko

    dos to unix file problem ^M characters

    Hi, I have a page where clients can upload contents from either microsoft word or other word processor into a text box. The system I am running the server is linux so all the end of line characters get converted to ^M (its not carat , its ctrl+V+M ) Is there a php command that can remove this...
  17. richardko

    recover data

    Hi, One of the webservers that I manage crashed last week and I need to recover the data. I have the hard drive and when I try to boot it locally I get "kernel panic". I dont have the exact error. I tried to set it up as a slave drive. The ide cable for the computer I was trying to set it up on...
  18. richardko

    incomplete info when uploading files mime

    Hi, When I am uploading an mp3 file the $_FILES info is not complete. For example the mime info for the mp3 file is: [uploadFile] => Array ( [name] => 43 Play That Funky Music.mp3 [type] => [tmp_name] => [error] => 1 [size] =>...
  19. richardko

    smtp auth

    HI, I am looking to configure the SMTP AUTH for sendmail and needed help. I am using Fedora core 6. I am able to send email to a user using telnet ip 25 My understanding is that once the saslauthd is running then the server needs to ask me or authenticate the username entered when I try to...
  20. richardko

    transfer email accounts

    Hi, I currently have an old and new linux servers. I am still configuring the new server but I need to transfer all the existing accounts from the old server to the new one especially the email without deleting the data in the old one. Is there a documentation on how to do this. The old server...

Part and Inventory Search

Back
Top