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 Mike Lewis 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. casters

    How to change directory permission on Windows NT servers?

    Dear all, for the first time I have to manage scripts and data on a Windows NT server (Windows NT WEBS57 5.0 build 2195). I have some problems with a routine for uploading files. The server, of course, does not accept the CHMOD command via FTP. Do I have to ask to the host of the FTP server to...
  2. casters

    online users

    Dear rs51, I'm not sure, but I think the problem could be that you need to subtract your timeout time from the current time before performing the query: $cur_time = time(); $pippo = $cur_time-($timeout*60); //where $timeout is in minutes $apaga = mysql_db_query($database, "DELETE FROM...
  3. casters

    internal result pointer

    Sleipnir214, you are right. I did not carefully read the first post (I already admitted that...) but I think that in the link I suggested (http://www.php.net/manual/en/function.mysql-data-seek.php) Smoker616 could find good examples on how to perform his task. Gaetano
  4. casters

    PHP not sending variables

    Daniel, as (nearly) always, you are right! Gaetano
  5. casters

    Deleting Hidden System Files Through Fox

    There is also a FAQ about this (I've not tested it): http://www.tek-tips.com/faqs.cfm?spid=184&sfid=3327 Gaetano
  6. casters

    internal result pointer

    Sorry, reading more carefully your post I see that you already know this function... Gaetano
  7. casters

    internal result pointer

    Smoker616, maybe you are looking for the function mysql_data_seek(). You can find here description an examples: http://www.php.net/manual/en/function.mysql-data-seek.php Gaetano
  8. casters

    PHP not sending variables

    Rninja, let me add a little aid to Riccardo's: to be sure your source will work fine on most servers (and expecially if you cant change php settings!) than, when you post variables from a form, you should recall them (in the form action file) with the array $_POST[] because, if register_globals...
  9. casters

    simple regex problem

    DRJ478, maybe Dronealone forgot to give you a star. I think you deserved it (lot of people here seem to be quite parsimonious about that!). Gaetano
  10. casters

    Dynamically displaying image in grid column

    It' also possible to obtain a similar effect in the form designer: you add to your column a checkbox (using, as controlsource, your logical field). Then you assign your picture to the PICTURE properties (corresponding to the "false" status), and the other (for the "true&quot...
  11. casters

    simple anchor <a> </a> problem

    Sanjdhiman, I had a similar problem and I solved it storing the complete url in the record (e.g.: http://www.elsevier.nl/ note the direction of the slashes) to make it "absolute". Gaetano
  12. casters

    sending email attaching - how do you declare the file path?

    As far as I know (I must admit I'm not a big expert as to mail...) you can't just call a "local" file from your web server (unless you are using a local web and mail server). Try your function sending a file that physically is located on the web server, and you see that the functioin...
  13. casters

    Database design for PHP

    DaRNCaT, you are in the right place, in the sense that you are talking about a typical task that is solved storing data in a databases (mySQL, for example) and then managing the data using SQL statements (like, select, update, insert and so on) that you launch using a server-side script (in our...
  14. casters

    PHP Development Environment

    Here there is another one (dev-php): http://devphp.sourceforge.net/ Gaetano
  15. casters

    multiple files uploading

    Zyrag, have you tried to upload 7 little file? This could help you to be understand wether the problem is in the total size or in the number of files. Gaetano
  16. casters

    string replacement (advanced.. :\)

    James, I'm glad to know it really works and I hope you'll find useful the potentialities I have added to the procedure. Of course you can optimize the code and transform it in a function, for better use. I think that sooner or later I will use this routine, because it's an interesting idea, to...
  17. casters

    datatype for 9 place decimal

    Sheldon, why you say the result is wrong? I've not verified, but it seems correct. Gaetano
  18. casters

    string replacement (advanced.. :\)

    James, I see that in the last advise, the example in brackets has been parsed and it is not understandable: it is related to the special characters beginning with the ampersand symbol. Gaetano
  19. casters

    string replacement (advanced.. :\)

    Dear James, sadly I was at home this morning. Now I see that Daniel gave you a solution very similar to the one I prepared. Nevertheless, I think that my solution has some more funtionalities, so...here it is: <?PHP $string_in = &quot;test string with some<b>tag, some space and *</b>&quot...
  20. casters

    I'm a bit new to all this . . .

    For example in this way: $yourdata = &quot;SELECT * FROM news WHERE News_ID = 1&quot;; $query = mysql_query ($yourdata,$link) or die ( &quot;Can't execute the request $query&quot;); //Change the name of $link according to the one you use for connecting to your database...

Part and Inventory Search

Back
Top