Jump to content

spadin

Members
  • Posts

    30
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://

Profile Information

  • Location
    Chicago

spadin's Achievements

Contributor

Contributor (5/14)

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

Recent Badges

0

Reputation

  1. Hi, Is the web disk the same as WebDAV? Also, the web disk application that I'm downloading doesn't run on my Mac. Thanks, Sandro
  2. Thanks, I sent them a message. I usually try to post in the forums beforehand, just in case, so I don't bombard the help desk with too many questions. Sandro
  3. Hi, I'm wondering how many concurrent connections are allowed via FTP. I'm teaching high school kids how to design websites and I wanted to give them some space on my server until the semester ends so they can learn how to add content to the internet. The problem is, there are about 15 kids in the class. Chances are they are all going to connect to FTP around the same time. Any help would be appreciated. Thanks, Sandro
  4. I decided to redo the permissions and it seems to be working now.. Sandro
  5. Hi, I'm trying to connect remotely to my database with GUI program called Navicat, I have also tried others... I can succesfully connect to MySQL, however I am unable to select a database. I have made sure that my IP is not blocked, and I have made sure that I am connecting with a username that is allowed access to the database. Please help... thanks, Sandro
  6. I had the same thoughts nortk. I was extremely excited when they first announced it, but as time has gone, I've figured Rails will come when it comes.
  7. This is a late response, and it seems like you have an answer already, but you could have added a subdomain, such as members. Then members.example.com would redirect to www.example.com/members yet the domain name would stay as members.example.com This could be done from cPanel under, subdomains. In the "members" directory you could have added an .htaccess file, or any other files that you might have needed. Sandro PS. As to your question about: >RewriteRule ^(.*)$ [L] This looks like a catch-all, pretty much any URL that you enter will match this regular expression. Apache loads these rewrites from top to bottom, so if you put any more conditions under this one it will not run because the condition before was already true. If you need to add another condition you would add it before the condition above.
  8. I have been working on a site for my friend which does what you are trying to do. http://www.digitalpadin.com/spurgeon/ Click on the "Version 1.0" star to login, username: demo, password: demo The star will only work from the homepage, but you will be able to edit a few of the pages. I can send you a copy of the files if you'd like. However, I have to warn you that it's not simple by any means. I noticed you wrote that you needed an urgent solution, so this might not be it, but you might get some ideas. If anyone else is interested let me know. You're all welcome to go and play around with the site since it's not live yet, but please do not erase everything or deface the site. Thanks, Sandro
  9. So I came upon a different problem. The timestamp column that I setup which is called "Created_At" keeps updating everytime I update the record which is not very useful I wanted that column to have the date and time of when it was created and no more changes thereafter. A workaround to this problem is to create two TIMESTAMP fields. I called mine "Update_At" and "Created_At". The trick is to have the "Updated_At" column before the "Created_At" column and set the default of both to NULL. What MySQL will do is update the "Updated_At" column everytime the record is updated, but it will only add a timestamp to "Created_At" when the record is first created. Which is exactly what I need. You need this workaround for MySQL servers that are pre-4.1.2 and TCH currently has version 4.1.18 Now I understand when the server techs say updating the servers can get tricky... I believe if I use this workaround and then MySQL is upgraded then my data can become unreliable. Hope this serves well for future reference, Sandro EDIT: More information can be found here: http://dev.mysql.com/doc/refman/4.1/en/timestamp-4-1.html
  10. Okay, I decided to play around a little more with the database and was able to make it set a default timestamp. I had to make the field a TIMESTAMP, instead of DATETIME. Then erase everything from the DEFAULT clause. It now automatically enters the current time when creating a new record.
  11. Hi, I'm designing a new table and I would like for MySQL to set a default timestamp everytime a record is created. Normally you can use DEFAULT NOW() but I keep getting all zeroes when I use this. Is there something wrong with my sql? Or do the TCH servers not support this feature? Here is my sql. >CREATE TABLE `[edited_out]`.`users` ( `id` VARCHAR(20) NOT NULL DEFAULT '', `password` VARCHAR(20) NOT NULL DEFAULT '', `date_created` DATETIME NOT NULL DEFAULT 'CURRENT_TIMESTAMP', `tolerance` INT(1) NOT NULL DEFAULT 4, `real_name` VARCHAR(40) DEFAULT NULL, PRIMARY KEY(`id`) ) ENGINE = MYISAM CHARACTER SET utf8; I tried the above with and without the quotations, nothing seems to work.
  12. Actually check out these screencasts: http://www.rubyonrails.com/screencasts You'll notice that something like a simple blog (programming your own that is) which might take four or five hours with PHP. Could take as little as thirty minutes with Ruby on Rails. The learning curve for Ruby on Rails is high, I personally am no expert, but once you know what you're doing your productivity skyrockets. I've been programming with PHP for more than 4 years and it still feels like I'm as slow as a turtle. Sandro
  13. Well, the script just loads another site. The reason being that the server where I have the other site doesn't have a cron tab. I put phpCron on the other site, but that still requires that the page be loaded in order for that cron to run. The solution I am using is really sloppy, but until the other site is moved to a server, like Total Choice which allows cron tabs, this is the only solution I have. The phpCron on the other site works, and what it does is check which users have something scheduled for that day and sends them an email reminder in the middle of the night.
  14. I went ahead and added: > /dev/null to the end of the command that would run, I don't get an email anymore, however, I don't know if it is working or not.
  15. I am trying to do the exact same thing, I set it to email me the output and this is what I receive in the email. >Status: 404 Content-type: text/html No input file specified. This is what the file I'm trying to run does: ><?php // Load Site. $page = fopen("http://www.itrytoloadawebsite.com/", "r"); fclose($page); ?> Could the output I am receiving be the output from this script or is it an error with the cron tab?
×
×
  • Create New...