peranha
Members-
Posts
878 -
Joined
-
Last visited
Everything posted by peranha
-
How to get my Apache DynDSN Home server on the net
peranha replied to Possum's topic in Apache HTTP Server
Install the DynDNS software on your computer, and it will automatically update on the website. You will also have to open up port 80 on your router if you are using one, to allow access into your network. -
What is in your db_connect.php page
-
where are you setting $merchadmin at ?
-
It should be United States :-\
-
I hope that T.V. supports cable or Dish, because in 2009 When everything is Digital HD, That T.V. Will be junk. There is a converter coming out for old TVs when the cut over is coming.
-
Can I get you guys to test my meta search it site might be crashing
peranha replied to [-_-]'s topic in Beta Test Your Stuff!
Works fine for me as well, with 16 tabs open in firefox 2. -
Can I get you guys to test my meta search it site might be crashing
peranha replied to [-_-]'s topic in Beta Test Your Stuff!
Exactly what is it you want done, and what site? -
$id = $_GET['pokemon_id'] SELECT * FROM table WHERE pokemon_id = $id. This is an example,
-
I am connecting to the database, That is all working, I can upload and download files, but when I download, it adds the header.php page to the top of the item that I downloaded. If I download a txt file that is. If I download a EXE, it makes it unusable.
-
Anybody got any suggestions??
-
Yes that worked. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; font-size: 15px; background: url(../pics/background.JPG); } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 90px; width: 100%; background: url(../pics/backhead.JPG); } Thanks for the help
-
Tried repeat-x, and still the same thing.
-
get 10 posts
-
php mysql entering data in database - does not post to db
peranha replied to tylrwb's topic in MySQL Help
It will help with SQL injection. the striptags will take out all tags as far as links in database, font tags, etc. -
php mysql entering data in database - does not post to db
peranha replied to tylrwb's topic in MySQL Help
$heading = mysql_real_escape_string(strip_tags($_REQUEST['heading'])); This is what I use for added security, Sorry, I overread the Request part. All your variables have to be set if you are going to put them in the database. -
php mysql entering data in database - does not post to db
peranha replied to tylrwb's topic in MySQL Help
Where are you doing something like this $date = date("Y-m-d"); for all the fields that are filled in. They all have to be like this $heading = $_POST(heading); and so on -
php mysql entering data in database - does not post to db
peranha replied to tylrwb's topic in MySQL Help
Where are you assigning the heading, body, date, author_name, author_email, and link to the variables in the form, or is it up farther with the databse. Are you getting any errors on screen or in you log file? -
I am using css to control the look of my website here is the code. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 115px; background: url(../pics/backhead.JPG); } When I load the page, the backhead.jpg file does not go across the whole screen. Attached is a screen shot of what I am talking about. I would like the gray and the blue bars to go across the screen. [attachment deleted by admin]
-
echo $artist_id.'<br />';returns chosen id - works Should this be echo $artist_id.'<br />';//returns chosen id - works
-
Yes that worked. Thanks.
-
How do I forward users to a page after 5 seconds instead of immediately. Here is my code as of now. <?PHP header("Location: home.php"); ?> what do I add to this?
-
The easiest way to stop people from accessing folders directly is by adding a index.php page, redirecting them to the root folder. You can also create .htaccess files which is more secure.
-
Use Pagination http://www.phpfreaks.com/tutorials/43/0.php here is a tutorial
-
Process.php should be this <?php $mytext = $_POST['mytext']; echo "You typed: $mytext"; ?>