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...
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...
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
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
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...
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"...
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
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.