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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by viliche

  1. viliche

    Tracking links and logging to CSV file

    Hi, There is no "OnClick" function in PHP, but i would propose you to choose the simple solution consisting in making a small redirection script that would track the users before redirecting them to the file with the header function (acording to the file-type you offer to download)...
  2. viliche

    Keyword Searching

    Ok, this is an example of code that returns all the mathing words (sorry but i did not check your part of the code) :<br><br>&nbsp;&lt;?<br>&nbsp;&nbsp;$db = mysql_pconnect(&quot;host&quot;, &quot;username&quot...
  3. viliche

    PHP as a Cron job.

    Compile PHP as CGI (ie, leave off --with-apache or --with-apxs and keep<br>all the other compile switches the same).<br><br>Then, simply add a line to your cron file using crontab -e (see man 5<br>crontab) like usual.<br><br>Don't forget to call php with the -q option to suppress HTTP...
  4. viliche

    catch visitor's IP

    Here it is :<br><br>$ip = getenv(&quot;REMOTE_ADDR&quot;);<br><br>This command use an environement variable to get the visitor'ip. <p>Cédric CHERCHI<br><a href=mailto:pochacco@francemail.com>pochacco@francemail.com</a><br><a href= > </a><br>PHP/MySQL<br> JavaScript<br> Flash 4 scripting<br>...
  5. viliche

    How do you split a string into smaller parts?

    Allright, we will try to consider the problem with different points of view. You can treat this problem in several ways.<br><br>------------------------------------------------------------<br><br>First of all, you probably want to&nbsp;&nbsp;get the extension, so you need the only 3 last...
  6. viliche

    Play sound onclick

    It's quite simple. You just have to create a little fonction (let's call iot 'playSound()') that you will call with anykind of action (onClick, onLoad, onUnload, etc.).<br><br>Here is a little piece of code that you can use :<br><br>&lt;script...

Part and Inventory Search

Back
Top