Search found 32 matches

by digitalgravy
Tue Sep 07, 2004 2:28 pm
Forum: CSS
Topic: class in a class?
Replies: 6
Views: 5419

I have decided to go with a list instead of the tables.
by digitalgravy
Tue Aug 31, 2004 9:55 am
Forum: PHP coding => General
Topic: errors and includes
Replies: 2
Views: 754

Thanks,

Ill paly around with that in a little while.
by digitalgravy
Mon Aug 30, 2004 10:50 am
Forum: PHP coding => General
Topic: errors and includes
Replies: 2
Views: 754

errors and includes

Hello, I have an events calendar on my home page and I am trying to include a "nice" error message instead of the stuff that php puts out. I have an include that is set up like this <?php error_reporting(0); // DB Connect - Spe-Le-Yai Events DEFINE (DB_USER, "xxxxx"); DEFIN...
by digitalgravy
Fri Aug 13, 2004 9:34 am
Forum: PHP coding => General
Topic: print contents of the address bar
Replies: 2
Views: 1611

Thanks. I know the url get printed in the footer, but I want the url to show up below the h1 tag. It will only show up with the print style sheet. I tried it and it only outputs the file and path from the server root. So I just added the domain to the echo statement. It works wonderfully. Thanks aga...
by digitalgravy
Fri Aug 13, 2004 8:03 am
Forum: PHP coding => General
Topic: print contents of the address bar
Replies: 2
Views: 1611

print contents of the address bar

How can I pull the url out of the address bar and have it printed in my document?

I want to have the url displayed in printer friendly version of pages.

Thanks
by digitalgravy
Mon Mar 01, 2004 10:22 am
Forum: PHP coding => General
Topic: file_exists() ?
Replies: 2
Views: 887

Thanks, Is there an equivalent for ASP httpexist() I am trying to re-create something done in ASP. Is there a function that will verify a uri?

Thanks
by digitalgravy
Sun Feb 29, 2004 10:53 am
Forum: PHP coding => General
Topic: file_exists() ?
Replies: 2
Views: 887

file_exists() ?

I am trying to write a script that will check if a certain file exists on another webserver. I have looked up the file_exists() function and I coppied it right out of the php manual. I used the following: <?php $filename = 'http://www.digitalgravy.net/favicon.ico'; if (file_exists($filename&...
by digitalgravy
Wed Jan 28, 2004 10:17 am
Forum: PHP Installation
Topic: PHP, Apache and MySQL
Replies: 5
Views: 3843

Well, I finally figured it out myself.

When you install MySQL via the rpm's you also have to install the devel rpm. Then you specify --with-mysql=/usr

It all works now!
by digitalgravy
Mon Jan 05, 2004 4:55 pm
Forum: PHP Installation
Topic: PHP + MySQL Integration issue
Replies: 1
Views: 1531

PHP + MySQL Integration issue

I had posted a long question before, and I didn't really get any help. I just thought i'd try to summerize it. If any one can point me in the right direction, I would greatly appreciate it. I have installed MySQL 4.0.17 via RPM's from MySQL.com I am trying to install PHP 4.3.4 from source. My proble...
by digitalgravy
Mon Jan 05, 2004 9:35 am
Forum: PHP Installation
Topic: PHP, Apache and MySQL
Replies: 5
Views: 3843

These packages were not installed, by my choice. I want to install it myself and learn. Can anyone point me in the right direction?
by digitalgravy
Fri Jan 02, 2004 10:28 am
Forum: PHP Installation
Topic: PHP, Apache and MySQL
Replies: 5
Views: 3843

The example in the book does not show any mysql error, it just shows the License and Note sections. When I try to specify a path to MySQL I get this error: configure: error: Cannot find MySQL header files under ... I have tried: /var/lib/mysql - This is where the rpms install MySQL /var/lib/mysql/my...
by digitalgravy
Fri Jan 02, 2004 10:27 am
Forum: PHP Installation
Topic: PHP, Apache and MySQL
Replies: 5
Views: 3843

+++++++++++++++++++++++++++++++++ I went to install PHP from source and here is the problem. I followed along with the book ahd here is what it said to do: ./configure --prefix=/usr/local/php --with-mysql \ --with-apxs2=/usr/local/apache2/bin/apxs This is the resulting error: +----------------------...
by digitalgravy
Fri Jan 02, 2004 10:23 am
Forum: PHP Installation
Topic: PHP, Apache and MySQL
Replies: 5
Views: 3843

PHP, Apache and MySQL

Hello, I am having a small problem. I bought the Sam's teach youself PHP, MySQL and Apache book, and I ran into a problem. The book reccomends to install MySQL first, then Apache and then PHP. I am running Red Hat 9.0 on a Athlon 1100 / 40 gig / 256 MB Ram I have downloaded the following: > MySQL RP...
by digitalgravy
Fri Jul 18, 2003 7:54 am
Forum: CSS
Topic: text alignment
Replies: 10
Views: 7163

swirlee wrote:Now, am I the only one slightly amused that a poster named DigitalRice (who happened to be apparently the only one anywhere near the mark) replied to a poster named digitalgravy? We'll have an entire digital meal before we know it..


LOL
by digitalgravy
Mon Jun 23, 2003 3:45 pm
Forum: Free time
Topic: chown & chmod help
Replies: 2
Views: 2068

chown & chmod help

Hello, I am hosting my sites with dreamhost. They have a section in their control panel to create user groups. What I want to do is give access to 2 people to update one of the sites on my plan. I have created the group, but only one of the users in the group can upload/delete files. That user owns ...
by digitalgravy
Wed Jun 18, 2003 4:43 pm
Forum: CSS
Topic: text alignment
Replies: 10
Views: 7163

I know that tables don't slow down the load time too much, but I have been looking at sites like http://zeldman.com and I like the idea of controlling everything with css, so that I can easily have more that one layout. It is frustrating though, I might just stick with tables.

Thanks
by digitalgravy
Wed Jun 18, 2003 1:11 pm
Forum: CSS
Topic: text alignment
Replies: 10
Views: 7163

I've been reading about speeding up your site, and it says that tables slow down the browser.
by digitalgravy
Wed Jun 18, 2003 11:00 am
Forum: CSS
Topic: text alignment
Replies: 10
Views: 7163

text alignment

Hello, First, I want to say, thanks for all the help already, I know that this forum is for php, and I'm working on that too. Well, here is my question: I am trying to align some text to the browser window. I want some text on the left, some in the center and some on the right. I had accomplished th...
by digitalgravy
Thu May 29, 2003 11:17 am
Forum: CSS
Topic: Table's and Classes - Simpler question that the one below
Replies: 2
Views: 3606

Thank's

That is pretty much what I thought. I am going to need more tables though, so I will stick to doing it like I did it.

Thanks Again! :D
by digitalgravy
Thu May 29, 2003 10:44 am
Forum: CSS
Topic: Table's and Classes - Simpler question that the one below
Replies: 2
Views: 3606

Table's and Classes - Simpler question that the one below

I asked this question earlier, but I went too far into detail. I want to know if I can specify a class for a table so that all of the cells are formatted the same, except for certain cells I want to format with another class. Ex. Table w/ class of menu ----------------------- cell 1 heading section ...
by digitalgravy
Thu May 29, 2003 8:23 am
Forum: CSS
Topic: class in a class?
Replies: 6
Views: 5419

I will play around with a few things, I think, Ill just specify a class to each individual cell.

-Thanks
by digitalgravy
Wed May 28, 2003 2:19 pm
Forum: CSS
Topic: class in a class?
Replies: 6
Views: 5419

class in a class?

I have a table for a navigational menu. I have set up a few classes, for the different sections of a table that will make up the nav menu. I have the styles set up properly. They are as follows: The following code is for the menu items .menu td { background-color: #900; border: .5px solid white...
by digitalgravy
Thu May 22, 2003 10:01 am
Forum: PHP Installation
Topic: New install help configure.....index.php
Replies: 3
Views: 1944

Thanks!

Adding index.php to the DirectoryIndex worked!

Thanks
by digitalgravy
Wed May 21, 2003 1:48 pm
Forum: PHP Installation
Topic: New install help configure.....index.php
Replies: 3
Views: 1944

New install help configure.....index.php

I just installed Apache 2.0.45 and php 4.3.1 on windows 2000 5.00.2195 I got php to work, I tested it with phpinfo(); but when I create my document "index.php" in the htdocs directory, I cant get it to load as the index page. when i go to m I see a directory listing with my index.php. What am I miss...
by digitalgravy
Wed Apr 09, 2003 4:34 am
Forum: CSS
Topic: Radio Buttons
Replies: 15
Views: 13463

Thanks

Thanks