• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Search results

  1. N

    Extracting a Number

    Oops, I should've mentioned I'm working with PHP :). But thanks for the responses, I'll go try 'em out.
  2. N

    Extracting a Number

    Ok, here's the latest ordeal I've gotten myself into... The numbers I'm reading from a .html file are in this format: ##(##) That is... 15(4). Basically, what I need, is just the first two numbers in that example [the numbers before the (]. Ok, so that'd be easy with substr, but the...
  3. N

    Sorting String Arrays

    I have a feeling there's a function that does this, somewhere, but for some reason I can't seem to get PHP to sort string arrays correctly. Don't get me wrong, it does sort them, to an extent. The problem lies in the fact that an array containing the values "Jim", "andy", and "Zend" would be...
  4. N

    Return in a Text Box as a New Line?

    I swear, there's a PHP function for everything... :) Thanks!
  5. N

    Return in a Text Box as a New Line?

    I'm sure this is a very simple thing to do, since every major forum out there manages it. All I want to do is make it so when somebody presses enter in a multiline text box, it actually shows up that way when it's saved to the database, and then displayed on a page. I think this is done by...
  6. N

    HostRocket.com?

    I saw their ad on the front of FreeWebspace.net, and since I am getting a little sick of my current host's in-the-middle-of-the-day-downtimes (which they seem to pull every now and then, for no reason), I have been looking around for new hosts. Anyway, currently I pay $13 a month for 100 MB...
  7. N

    what should I learn?

    PHP is generally considered easier than ASP, and not only that, but it's support across the net is simply massive. It's open source, whereas ASP is not, so you can bet there are hundreds of places you can turn to when you're in a jam. But, it also depends on what you're capable of. My host...
  8. N

    Counting Records

    I am already framilar with using the mysql_numrows function in this fashion: $sql = "SELECT * FROM table"; $result = mysql_query($sql); $count = mysql_numrows($result); $count would them be the number of records there were in the table. However, I want to do something a little...
  9. N

    my server fault of freesql.org?

    Hmm...they said something on their site about how everybody's accounts were de-activated and you were going to have to re-active it to use it again. I am not sure though, as I'm assuming you've followed the directions on how to connect to a database (it's on their site)...or if not that, you...
  10. N

    Sort of Double Loop Problem with MySQL

    Here's what I'm doing: First, I'm printing all the records in a mysql table with a loop like this one (obviously I connect to the database first, but there's no need to show that): $result = mysql_query("SELECT * FROM tablename ORDER BY id DESC",$db); if ($data =...
  11. N

    File Upload Problem with PHP

    Ah, I got it working. Had to do two things: - CHMOD the folder I was trying to copy the file to 777 - copy("$ufile", "'/home/niaad/niaad-www/members/$ufile_name");
  12. N

    File Upload Problem with PHP

    I'm attempting to make a script that will allow users to upload files. I already have the form worked out fine (with the browse button opening up the file selection window), and the variables are coming through fine ($ufile_name, $ufile_size, ect.)...but I can't seem to get PHP to physically...
  13. N

    Finding the Greatest ID in a MySQL Table

    I have a MySQL table which contains about 50 records, each record belonging to a different category (I'll refer to them as A, B, and C). All the records are related in the sense that they don't have individual ID counts...ID 1 might be C, ID 2 might be B, ID 3 might be C again...etc. What I...
  14. N

    Changing Characters in a Variable

    lol. I feel stupid, but thanks :)
  15. N

    Changing Characters in a Variable

    I wrote a script that lets people login and edit their profiles which are stored in a MySQL database. One of the fields is Quote...and I've noticed a very annoying problem. When people go to do... "My Quote" ...and then click submit, it doesn't get updated, since MySQL rejects it. The...
  16. N

    First time doing this...lots of little questions

    Just to let you know... PHP = Personal Home Page...because it was intended to make web sites so customizable to your personal preferences, it would be a "personal home page." At least, that's what the site I found said.
  17. N

    Calling CGI scripts with SSI

    On my domain, I have to use: <!--#include virtual="whatever.cgi"--> Try it if all else fails, I suppose :)
  18. N

    Getting started with PHP

    PHP is very simple to learn, and when I first set out to learn for it, I ran a search at Google...the most helpful result that came up was, surprisingly, the tutorial at WebMonkey.com...check it out: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
  19. N

    CGI and JavaScripts?

    include virtual Try using: <!--#include virtual="file.cgi"--> I tried to use exec cgi before also, and it didn't work, so I used that...and it did. (Strange!)
  20. N

    anyone know php?

    I apologize, this was my fault...(stupid mistake). In the last two lines, where the "Next Image" and "Previous Image" links are printed, the ; should have been outside the quotes, not inside.
Back
Top