Jump to content

YoLoL

Members
  • Posts

    23
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.yolol.net

Profile Information

  • Interests
    Movies, web-development, reading, role-playing, cigars and wine.

YoLoL's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. YoLoL

    Rsync

    Is rsync installed on TCH servers? Can it be used by shared server members?
  2. Is there a way to define a foreign key using myPHPAdmin GUI?
  3. I forgot to mention that the line memory limit is already on the htaccess. I did after I posted. Right now is like this: php_value memory_limit 40M
  4. Ok, I did some quick tests. You are right about this it was only 2.5 Mb, that was one of my last additions yesterday , anyway, I've modified that parameter to 20 Mb but I'm still hitting the 8 Mb limit imposed by the ini file . I think I didn't mentioned this before, but I have already tried the phpinfo() page to gather info, that's how I learned the 8Mb defined on php.ini file. Anyway, perhaps I will have to implement the upload mechanism via CGI ... any other idea before dropping PHP on this part?
  5. Yes, you are looking at the right site. The htaccess file is located on the root directory for that subdomain, I have already tried the phpinfo() page to gather info. The limit on the HTML code is not being enforced on the upload page. I haven't got the chance to work on this today. But I hope I'm able to do some more tests later today...
  6. I have been modifying the htaccess file: php_value upload_max_filesize 20M php_value post_max_size 20M php_value memory_limit 40M php_value max_input_time 2400 php_value max_execution_time 2400 Still no success. Any other suggestion?
  7. According to this: "All the configuration settings for your PHP installation are contained in the php.ini file. Sometimes these setting might be overridden by directives in apache .htaccess files or even with in the scripts themselves. However you cannot override the settings that affect file uploads with .htaccess directives or inside scripts in this way." So it looks I'm stuck with the max post size, which is 8Mb. I'm thinking this setting only applies for PHP, what about Perl? Has someone tried to upload files bigger than 8 megs using a CGI on TCH?
  8. Hi I'm trying to upload large files, around 20 Mb, but so far I have only been able to upload files up to 8 Mb, I made the following modifications in the .htaccess file: php_value upload_max_filesize 20M php_value post_max_size 20M php_value max_execution_time 200 php_value max_input_time 200 I'm getting a 413 error message with the following text: Request Entity Too Large The requested resource /upload.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. What can I do? FTP files is not an option, any suggestions?
  9. Thanks, I just did. Just to leave it documented, it may be useful to someone else, max_allowed_packet is 1Mb and it can't be increased on a shared server.
  10. so... what's the max_allowed_packet size for mysql?
  11. All servers? Mine is server70. Thx
  12. I'm not sure if this has been mentioned in another forum/thread but I haven't been able to find it. Since version 5.0.1. MySQL supports views among other things (as for this writting we have 5.0.45-community), the statement can be as simple as: >CREATE VIEW myTCHuser_myDB.viewname AS SELECT * FROM myTable; The CREATE VIEW statement creates a new view, or replaces an existing one if the OR REPLACE clause is given; if you want the full syntax you can check here: http://dev.mysql.com/doc/refman/5.0/en/create-view.html Also since version 2.11.0 (August 22, 2007) phpMyAdmin supports creating VIEWS from query results (you can find more on the project page: http://www.phpmyadmin.net/home_page/index.php) so far I have only been able to create it via the SQL script tab. If someone nows how to use the GUI for creating one please post it here Hope you find this short post useful.
  13. Has this change? I'm trying to send an email from a perl script using the following code: ... $sendmail = "/usr/sbin/sendmail -t"; $reply_to = "Reply-to: webmaster\@yolol.net\n"; $subject = "Subject: Refurbish Report\n"; $to = " $current_user\n"; #Value adquired earlier in code open(SENDMAIL, "|$sendmail") or die "Cannot open $sendmail: $!"; print SENDMAIL $reply_to; print SENDMAIL $subject; print SENDMAIL $to; print SENDMAIL "Content-type: text/html\n\n"; print SENDMAIL $body; #Value adquired earlier in code print SENDMAIL "\n\n"; close(SENDMAIL); print "Mail sent"; ... I receive no errors but no message either any suggestions?
  14. Ok, I nailed this one. Here's what I did I kept all the setting as above except for the following: Set mail to PHP default Queue Email for later sending Scan Event Queue on Session Garbage Collection The following URL was also helpful http://docs.dotproject.net/tiki-index.php?...tem+Config+v2.x Thanks for your help guys. Now the next one; set the cron job to execute the queuescanner.php automatically
×
×
  • Create New...