Re: [PHP] php|cruise

2003-09-21 Thread Stevie D Peele
I would love to go, but 15 year olds don't usually have 1500 dollars.:) Stevie On Sat, 20 Sep 2003 23:30:51 -0400 John W. Holmes [EMAIL PROTECTED] writes: Is anyone planning on going to this? http://www.phparch.com/cruise/ I'm trying to go. It would be nice to put a face to the name

[PHP] I have a problem :: help please?

2003-09-20 Thread Stevie D Peele
I'm making my own style sheet switcher. Here's my problem. My style switcher will switch the style once or twice, sometimes only once, and then It will not do It again until the cookie expires, can somebody spot what I am doing wrong? ---form---action-- ?php

[PHP] Clear ALL Cookies previously set

2003-09-19 Thread Stevie D Peele
How can I clear all cookies that have been previously set? I want this in an if statement so something like if ($value == $blue){ clear all cookies; setcookie(name,time()+3600); } Thanks

[PHP] Splice problem

2003-09-18 Thread Stevie D Peele
My problem is that I am splicing an array and then echoing the array [code] ?php $input = array(red, green, blue, yellow); array_splice($input, 2); echo $input; ? [/code] and all that is echoed is Array. I want red green to be echoed. Thanks

[PHP] Whats wrong with my code?

2003-09-16 Thread Stevie D Peele
Can someone spot what Is wrong with my code? ?php $page = $_GET['id']; switch ($page) { case home: $include = /includes/index.html; break; case arts: $include = /includes/arts.html; break; case aaexpert: $include = /includes/aaexpert.html; break; case

Re: [PHP] Whats wrong with my code?

2003-09-16 Thread Stevie D Peele
your help Stevie On Tue, 16 Sep 2003 16:44:25 -0500 "Dan J. Rychlik" [EMAIL PROTECTED] writes: Your missing your default for your case switch statement And you ; at the end of line on your last include statement.. -Dan- Original Message - From: "Stevie

[PHP] space sensitive?

2003-09-14 Thread Stevie D Peele
Is PHP space sensitive?? The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! -- PHP General Mailing List

[PHP] Whats wrong?

2003-09-13 Thread Stevie D Peele
Whats wrong with this title?php echo Thank You, $senderemail; ?/title where $senderemail = $_POST['from']; It doesnt It only echos thank you. Why?

[PHP] superglobals?

2003-08-30 Thread Stevie D Peele
What do we call things like this -- $_POST['name'], $_SERVER['remote add'] Are they superglobals and where can I find a list of these? Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE

[PHP] help with parse error

2003-08-26 Thread Stevie D Peele
I have a parse error on line 12 -- --- ?php include ('config.php'); $link = @mysql_pconnect($location, $username, $password) or die(Could not connect to the databaseserver. Please go back and try again or try again later.);

Re: [PHP] mail() question

2003-08-25 Thread Stevie D Peele
What is on line 235?? That would help us - SDP On Mon, 25 Aug 2003 01:09:29 +0200 Matthias Wulkow [EMAIL PROTECTED] writes: Hi php-general, I have followig error reported: Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line 235 What is the trouble

[PHP] In need of a script

2003-08-24 Thread Stevie D Peele
Can someone show me an example of some code that works something like this : ?php if cookie is present redirect to a certain page ? Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE

Re: [PHP] In need of a script

2003-08-24 Thread Stevie D Peele
: On Sunday, August 24, 2003 at 9:49 AM Stevie D Peele wrote: Can someone show me an example of some code that works something like this : ?php if cookie is present redirect to a certain page ? ?php // this must be the first line in the script (or use output buffering) -- see

[PHP] Help with a script

2003-08-23 Thread Stevie D Peele
I've been working on a script for quite some time now, particulary a site news script. Heres how it works 1. Information is passed from a form to the database 2. Table is selected to a page to be viewed by the general public. The problem is, when I use the form, there are no errors in the

Re: [PHP] Help with a script

2003-08-23 Thread Stevie D Peele
- - On Sat, 23 Aug 2003 08:18:19 -0700 Jim Lucas [EMAIL PROTECTED] writes: what is the source for the page that you initially enter the data on the web form look like? Jim Lucas - Original Message - From: Stevie D Peele [EMAIL PROTECTED] To: [EMAIL

[PHP] Expiration time of a cookie

2003-08-23 Thread Stevie D Peele
What is the longest expiration time of a cookie? Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! -- PHP General

[PHP] Making a cookie never expire

2003-08-22 Thread Stevie D Peele
How can I make a cookie never expire? Thanks, Stevie The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! -- PHP General