Re: [php-list] IP adress

2006-07-05 Thread Nick Vettese
Ok. Here is the trick I found to getting it to work. You must name the files using the includes, with a .php extension. Write this down people, it is very important. :) Thanks for all the help, Nick - Original Message From: Phill Sparks <[EMAIL PROTECTED]> To: php-list@yahoogrou

[php-list] includes

2006-07-05 Thread Nick Vettese
I am trying to include four files into my webpage. Currently, I am doing it as so: but it does not seem to be working. Is there something I am doing wrong? Nick [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-->

Re: [php-list] which editor to use

2006-03-06 Thread Nick Vettese
I use Crimson Editor all the time, and still cannot find an editor that is better. No IDE, no bells and whistles, just code, and color. Nick --- "K.LaVallee" <[EMAIL PROTECTED]> wrote: > > Crimson Editor is very very lightweight. It's great > if all you really need > is syntax highlighting.

Re: [php-list] Redirect a user

2006-01-30 Thread Nick Vettese
This is some really great stuff, and because I am a little new at this, I want to clarify. If I devise a page, called profile.php, and use the database to extract and display the content of the user, using the ?username=x. This way I will not have to write a page for each user, but rather wri

[php-list] Redirect a user

2006-01-25 Thread Nick Vettese
I am looking to create a directory when a user logs in, and have that user redirected to their page logon. I have this script, which I haven;t implemented, but I would like your opinion. // Define the URL for when the user is logged in $url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER[

Re: [php-list] Help Me!!!

2005-12-29 Thread Nick Vettese
Are you using IIS or Apache? MySQL or SQL Server? If you are going Open Source, then download EasyPHP (www.easyphp.org) or XAMPP (apachefriends). These include the HTTP Server, PHP, MySQL, and a whole host of other goodies with the easiest setup... Point and Click. I have been using them for

Re: [php-list] Designing a site

2005-12-07 Thread Nick Vettese
Are you using a CMS? I was going to create my site from scratch. nick --- Brian Cummiskey <[EMAIL PROTECTED]> wrote: > Nick Vettese wrote: > > When designing a site that you will be using PHP, > > would it be better to use tables, and fill them > with > > CS

[php-list] Designing a site

2005-12-07 Thread Nick Vettese
When designing a site that you will be using PHP, would it be better to use tables, and fill them with CSS, or just stick to strict CSS? nick Check me out! __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.ya

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Vettese
t; <[EMAIL PROTECTED]> wrote: Nick, how do I do that in an insert statement? I am lost):! --- Nick Vettese <[EMAIL PROTECTED]> wrote: > It may be a little extra code, but you can set it up > to keep your current variables as well. Just do a > > $firstname

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Vettese
You should have defined your globals when you were checking for them, like so: if (!empty($_POST['firstname'])) { $fn = $_POST['firstname']; } else { echo 'You did not enter your first name'; } This will allow you to use the $fn as first name instead of having to go through what you did

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Vettese
to $_POST['firstname'], $_POST['lastname'], etc. LMK if this works. Thanks and HTH!, -Nick --- "D. K. Wema" <[EMAIL PROTECTED]> wrote: > I counter checked and found no mis-typing. > > -- > dk wema > > --- Nick Vettese <[

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Vettese
What about when you use variables. Did you miss type something, or miss a quote? note "D. K. Wema" <[EMAIL PROTECTED]> wrote: The script work when hard coded. I only forgot the quote when I cut & pasted here. Otherwise when hard coded it works fine. -- dk wema --- Stefan NEDELCU

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Vettese
If the code goes through when the VALUES are hard coded, it probably means that the strings are mis-typed. nick Ian Bambury <[EMAIL PROTECTED]> wrote: As you say, it would appear that you have a problem elsewhere and that this code is not being executed at all. From what you have posted,

[php-list] Pictures in a DB

2005-10-31 Thread Nick Vettese
I am working on a website where people register to model for photogrpahers. As they register, I want them added to a list of other models, which will be stored in a DB, and retrieved with PHP. I would like to create a setting, and have PHP list out their names in alphabetical order. My questio

Re: [php-list] Trying to include a file

2005-08-21 Thread Nick Vettese
Thanks. I do have a !DOCTYPE and html declaration at the top of my script: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Thanks, Nick --- Brian Cummiskey <[EMAIL PROTECTED]> wrote: > Nick Vettese wrote: > > >I am working on a website, upgrading my k

[php-list] Trying to include a file

2005-08-20 Thread Nick Vettese
I am working on a website, upgrading my knowledge from HTML to (X)HTML/PHP/CSS. I am trying to include a file so that I can make it appear in my sidebar. Looking at a snippet of my code, my main program includes this: My test.shtml looks like this: This is to see what the adbox class w

[php-list] Creating a form

2005-08-05 Thread Nick Vettese
I am currently working on my site, and I have three forms for people to fill out, but I would rather have them fill out the forms in one shot. The problem is that when the final page comes, and they hit the submit button, it only emails the last page. I am not using a DB at this time (that wi