• 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

Search results

  1. M

    PHP: open_basedir

    Thanks NeocoHosting for responding. I'm sorry it has taken me so long to respond, I was on vacation (and am going out of town again until July 28). The only access I have on my server is CPanel (version 9). I have never had to access any apache files or edit any server files before, so I have no...
  2. M

    PHP: open_basedir

    I am writing a script which will take a file submitted in a form and move it to a directory on my server. The problem is that open_basedir is enabled on my server. Whenever I try to use move_uploaded_file(), I get a warning. The reason I believe that open_basedir is causing the problem is...
  3. M

    help with htmlspecialchars

    Thanks a lot guys, no problem spec. I appreciate whatever help I can get :-) Thanks a lot CareBear, it worked. For some reason, through the dozens of MySQL tutorials that I've read, I never figured out what each of the column typed did. Thanks again :classic2:, Mitch
  4. M

    help with htmlspecialchars

    Use the text? If by that you mean don't use htmlspecialchars, then that's not possible. If someone wants to contact me and their name is John O'Reilly, the apostraphe in O'Reilly will mess up my entire database script (that I use to display the form submissions). If I didn't want to limit the...
  5. M

    help with htmlspecialchars

    I am creating a form processor. When the form is submitted, then information is stored into a MySQL database. I am using the php function htmlspecialchars whenever I submit the form information into the database (in case someone's name is O'Reilly or something, the apostraphe will not mess with...
  6. M

    What Width should I use for a page?

    Well, I'm having this problem. When the window is full-screen, the logo looks fine. When the window isn't full-screen, the logo is cropped off. I fixed this problem by specifying the height in pixels. I would like to have the logo adjust along with the size of the window. That way I wouldn't...
  7. M

    What Width should I use for a page?

    Ok, lets say you wanted to insert a graphic into that table cell. How would you make the graphic adjust to the size of the cell?
  8. M

    Another php problem

    Thanks. I got it working. I just took out that part and changed it to mysql_query (which I should have done to begin with). Here is the final script: <? header("Cache-control: private"); $user_name = $POST_['user_name']; $password = $POST_['password']; $encpassword = md5($password)...
  9. M

    Whats wrong with this php

    I will sooner or later. The page that this form is on is fairly secure. Right now, I just want to get everything working.
  10. M

    Another php problem

    I am making a very simple password page which uses the user_name and password that a member who registered submitted to the mysql database. <? header("Cache-control: private"); $user_name = $POST_['user_name']; $password = $POST_['password']; $encpassword = md5($password)...
  11. M

    Whats wrong with this php

    Thanks a lot man. It works: <? $dbh=mysql_connect ("localhost", "user", "password") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("database"); $Screen_Name = $_POST['Screen_Name']; $First_Name = $_POST['First_Name']; $Country =...
  12. M

    Whats wrong with this php

    I am having trouble with this script. <? $dbh=mysql_connect ("localhost", "user", "password") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("database"); INSERT into roster (screen_name, first_name, country, email_address, age, password)...
  13. M

    No View Source Script

    Try putiting the <invisible> tag at the beginning and end of your code.
  14. M

    php/mysql script help

    http://www.mlowery.net/AC/roster2.php Thanks a lot guys, I would have never figured it out. I ended up using dawizman's code but had to change ><td bgcolor='" . $bgcolor . ">" . $row['screen to ><td bgcolor='" . $bgcolor . "'>" . $row['screen Had to add the ' at the end of the...
  15. M

    php/mysql script help

    I tried both of the scripts and both of them ended up looking like this... http://www.mlowery.net/AC/roster2.php
  16. M

    php/mysql script help

    Well I changed it to this... ? $host = "localhost"; $user = "user"; $pass = "pass"; $db = "db"; mysql_connect($host, $user, $pass) or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ($db); $result = mysql_query("SELECT * FROM roster ORDER BY...
  17. M

    php/mysql script help

    I am trying to get information out of a data base and print it onto a page and have the information print into a table and have the table rows alternate between two colors. The script that I am trying to fix is this: <? $host = "localhost"; $user = "user"; $pass = "pass"; $db = "db"...
  18. M

    on behalf of pro5ject

    pro5ject says:
  19. M

    Data Base Help

    I have inserted all of my information into my data base. Now I want to print it onto my website. I know how to get it to print onto my website, but I don't know how to organize it. I want to print the information into an HTML table, and I want the table rows to alternate colors. Also I want to...
  20. M

    [php] phpBB2 Forum question

    Thanks. That site is awesome, but I couldn't find a hack to password protect a forum :confused2
Back
Top