[PHP] php jobs?

2001-04-01 Thread Joseph Bannon


What is a good place to find PHP jobs?

J



Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] is this syntax correct?

2001-04-02 Thread Joseph Bannon

What does global and session_register do?


J





Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] geocities and php

2001-04-02 Thread Joseph Bannon

I notice that geocities does not allow you to reference images that are on
their servers to your homepage on another server/host. Is there a way to
make PHP send different host information to geocities' server?

Thanks,
J


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] changing image size

2001-04-02 Thread Joseph Bannon

Can PHP change the size of an image (gif or jpg)?

J


Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] cookies

2001-09-25 Thread Joseph Bannon

When I set a cookie like below, what does the 300 represend in time?
Seconds?

setcookie (referred, yes, 300, , .advparadigm.com,0);


Thanks,
Joseph










-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: cookies

2001-09-25 Thread Joseph Bannon

And this is where I say  kma  thanks.

J








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] handling errors

2001-09-26 Thread Joseph Bannon

How do I turn off the error messages that appear at the top of the page?  I
have this function below that if an image is not there for $url, it give a
warning.

$size = GetImageSize($url);



Example error message below...

Warning: getimagesize: Unable to open 'http://www.yahoo.com' for reading.
line 28


Joseph














-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] updating a database (mysql)

2001-09-26 Thread Joseph Bannon

When I update my mysql database, is there a way with PHP to know what or if
any records where updated?

Joseph



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Rebuild PHP

2001-10-02 Thread Joseph Bannon

Yes. I've had to do this a few times to upgrade to 4.0.6. It is a pain, but
the only way I know of.

Joseph

iWebsiteSoftware.com


-Original Message-

If I rebuild PHP, do I need to rebuild my apache???







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] ad rotation program

2001-10-04 Thread Joseph Bannon

Has anyone on this list developed an ad rotation program in PHP?

Joseph





















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] IP Address

2001-08-07 Thread Joseph Bannon

What is the php code to get a visitor's IP address?

Thanks,
Joseph


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IP Address

2001-08-07 Thread Joseph Bannon

Just because you're having a bad day doesn't mean I should. Can you just
tell me what it is? I don't have those posts.

J

-Original Message-

On Tue, Aug 07, 2001 at 08:11:52AM -0500, Joseph Bannon wrote:
 What is the php code to get a visitor's IP address?
 
 Thanks,
 Joseph


You might want to consider reading some of the other posts for a
change. There's an interesting thread on this list today. It's about
the exact same question you just asked.
Try reading that!

It's called: user's ip

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] FW: upgrading PHP

2001-08-23 Thread Joseph Bannon

Has anyone come up with an upgrade proceedure for upgrading PHP to a higher
version?

Joseph


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP mysql admin?

2001-08-27 Thread Joseph Bannon

Are there any free PHP mysql database admin programs out there?

Thanks,
Joseph


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP mysql admin?

2001-08-27 Thread Joseph Bannon

Thanks. I'll give it a try.

Joseph


-Original Message-
Try phpMyAdmin

http://phpwizard.net/


- Original Message - 

 Are there any free PHP mysql database admin programs out there?



















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] How do I get the file size of a file on my server?

2001-08-28 Thread Joseph Bannon

How do I get the file size of a file on my server using PHP?

Thanks,
Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] remote hosts

2001-08-28 Thread Joseph Bannon

I run a community website with a bulletin board which I wrote in PHP. Each
member gets a profile and can submit a picture with it. However, those
members with pictures on geocites are having problems. Seems their server
denies remote hosts. Is there a way with PHP to tell their server to let
images be viewed on my website?

Thanks,
Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] install error

2001-08-29 Thread Joseph Bannon

What does this mean?



make[1]: Entering directory `/home/php-4.0.6'
/home/php-4.0.6/build/shtool mkdir -p /usr/lib/apache  /usr/sbin/apxs -S
LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
apxs:Error: Unknown option: S
Usage: apxs -g -n modname
   apxs -q query ...
   apxs -c [-o dsofile] [-D name[=value]] [-I incdir]
   [-L libdir] [-l libname] [-Wc,flags] [-Wl,flags]
   files ...
   apxs -i [-a] [-A] [-n modname] dsofile ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/home/php-4.0.6'
make: *** [install-recursive] Error 1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] fgets

2001-08-29 Thread Joseph Bannon

I want to use fgets to get an image off the server and then print it. Kinda
like if you call the script picture.php, an image will appear. How do I do
this? I'm trying to create a graphical counter with php.

Joseph


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] fpassthru (was: fgets)

2001-08-30 Thread Joseph Bannon

What exactly does fpassthru do? Does it download it to my server and then
shoot it to the browser??

Joseph













-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] fpassthru (was: fgets)

2001-08-30 Thread Joseph Bannon

The thing I want to avoid is using my server's bandwidth. Each member gets a
profile and can have a photo referenced from their homepage. I use to allow
people to upload photos, but I'm getting close to using my 60GB bandwith
limit. The people that have photos on geocities couldn't reference a photo
because their servers don't allow remote hosts displaying pictures off their
site. Using 'fpassthru' fixed that. However, my next question is if the
'fpassthru' brings the information to my server and then shoots it to the
visitor's browser. I know I'm not saving their photos to my server, I just
want to make sure I'm not killing my alotted bandwith. Does 'fpassthru' do
this? If so, is there another solution?

Thanks for helping me with this.

Joseph




-Original Message-

On Thu, 30 Aug 2001, Joseph Bannon wrote:

 What exactly does fpassthru do? Does it download it to my server and then
 shoot it to the browser??

(http://php.net/fpassthru)

For the file pointer on which it operates, it reads the file pointer until
EOF and sends the data to STDOUT.  It is very much like the 'cat' command
in Unix.  The file pointer can be to a local or remote file opened with
fopen(), or a remote data source opened with fsockopen().

And as always, there's a gem in the docs ... readfile() does the
same thing as fpassthru() but doesn't need a file pointer.  It just needs
a path to a file, so you can eliminate the fopen().













-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] file upload size, before upload complete

2001-08-30 Thread Joseph Bannon

Yes, I use to do this with my site.


# The original name of the file on the client machine.
$filename = $HTTP_POST_FILES['file']['name'];

# The mime type of the file, if the browser provided this information. An
example would be image/gif. 
$filetype = $HTTP_POST_FILES['file']['type'];

# The size, in bytes, of the uploaded file.
$filesize = $HTTP_POST_FILES['file']['size'];
 
# The temporary filename of the file in which the uploaded file was stored
on the server. 
$filetemp = $HTTP_POST_FILES['file']['tmp_name'];




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] fpassthru (was: fgets)

2001-08-30 Thread Joseph Bannon

Dang it! -lol Any ideas how to get around my problem?

J


















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] fpassthru (was: fgets)

2001-08-30 Thread Joseph Bannon

What if I pass something in the header? Will that work?

Joseph

-Original Message-
From: Christopher William Wesley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 1:05 PM
To: PHP (E-mail)
Subject: RE: [PHP] fpassthru (was: fgets)


On Thu, 30 Aug 2001, Joseph Bannon wrote:

 The thing I want to avoid is using my server's bandwidth. Each member gets
a
 profile and can have a photo referenced from their homepage. I use to
allow
 people to upload photos, but I'm getting close to using my 60GB bandwith
 limit. The people that have photos on geocities couldn't reference a photo
 because their servers don't allow remote hosts displaying pictures off
their
 site. Using 'fpassthru' fixed that. However, my next question is if the
 'fpassthru' brings the information to my server and then shoots it to the
 visitor's browser. I know I'm not saving their photos to my server, I just
 want to make sure I'm not killing my alotted bandwith. Does 'fpassthru' do
 this? If so, is there another solution?

If the image you're sending to the browser comes from a remote host,
unfortunately, yes, that image data does get transferred to your server,
and then gets transferred again to the users' browsers.  Since PHP is a
server-side solution, there isn't a way to skip out on the data transfer
to your server and use PHP to send the image.  The image data has to come
from your server when using PHP.  You may have to get creative with HTML,
DHTML, etc. to work around displaying the remote images from your site.














-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] array search

2001-08-31 Thread Joseph Bannon

I have an array of names, like below...

$people = array(Jim,John,JP);

Is there a way in an IF statement to see if someone's name is in the array?
Like...

if ($people =~ $person) { }

I don't want to have to create a foreach loop to go through the array to see
if that person is there.

Joseph



















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] array search

2001-08-31 Thread Joseph Bannon

What about going the other way? Say I have a sentence...

Hi, my name is Bob.

...and I want to search the sentence for one of the values (people) in the
array...

$people = array(Jim,John,JP,Bob);

Can this be done?


Thanks,
Joseph




-Original Message-

yes, in_array($person, $people)!

however, you may take a look into the manual.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD

2001-09-07 Thread Joseph Bannon

I just installed PHP 4.0.6. 

1) Do I have to down load GD (graphics library) and install it sperately or
is it in 4.0.6 already?
2) Do I have to run anything special during configuration?
3) Do I have to completely re-install PHP and Apache?

Thanks,

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] GD

2001-09-07 Thread Joseph Bannon

What is FreeType?

J

-Original Message-
From: Sebastian Wenleder [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 10:36 AM
To: Joseph Bannon; PHP (E-mail)
Subject: Re: [PHP] GD


At 10:06 Uhr -0500 07.09.2001, Joseph Bannon wrote:
I just installed PHP 4.0.6.

1) Do I have to down load GD (graphics library) and install it sperately or
is it in 4.0.6 already?
2) Do I have to run anything special during configuration?
3) Do I have to completely re-install PHP and Apache?

Thanks,

Joseph

Hi Joseph,

You have to download GD from http://www.boutell.com/gd/
make sure you have zlib, libjpeg, libpng, and (if you need it) freetype
if not compile and install them all...
then configure php with
#./configure your options \
--with-gd=your dir \
--with-zlib=your dir \
--with-jpeg-dir=your dir \
--with-png-dir=your dir \
--with-tiff-dir=your dir \
--with-freetype-dir=your dir
#make
#make install

then you will have to restart apache

Best regards, Sebastian Wenleder

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] ImageGIF

2001-09-07 Thread Joseph Bannon

ImageGif: No GIF support in this PHP build in counter.php


I get this error message when I try to run this code...


Header(Content-Type: image/gif);
$im = ImageCreate(500, 75);
$red = ImageColorAllocate($im, 255, 0, 0);
ImageFill($im, 100, 100, $red);
ImageGIF($im);


I installed GD. When I use phpinfo(), it says GD is enabled. What gives?

Thanks,
J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] ImageGIF

2001-09-07 Thread Joseph Bannon

No, its not listed. What do I need to do?

J



-Original Message-

phpinfo() also lists which image types your GD supports.  Does it list
GIF?  Later versions do not have GIF support.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] randomly picking a variable from an array

2001-09-07 Thread Joseph Bannon

How do you randomly picking a variable from an array with PHP?

Thanks,

Joseph




PS. Thanks to those who helped me with GD. If you go to my site, you'll see
the new counter I created at the top of the page.

http://www.collegesucks.com

















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD picture quality

2001-09-07 Thread Joseph Bannon



Take a look at this picture...

http://www.sayimhot.com/images/mycurrentscore.jpg

... now take a look at it while text is added to it...

http://www.sayimhot.com/myscore.php

What happens to the picture quality? How can it be improved? (code below)

Thanks,

Joseph






?php

// create image and colours
$im = ImageCreateFromJPEG(images/mycurrentscore.jpg);

$white = ImageColorAllocate($im, 255, 255, 255);

$average = 3.14;

ImageString($im, 5, 75, 20, $average, $white);

ImageJPEG($im);

?

























-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GD with GIF support

2001-09-10 Thread Joseph Bannon

Does anyone have GD with GIF support? Can you send it to me? Thanks


Joseph























-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] database on CD

2001-09-20 Thread Joseph Bannon

It should be possible, especially if you use Java. But, telling MySQL where
the database is located is the trick.

Joseph

CollegeSucks.com - See PHP in ACTION!

-Original Message-

Ok, Is this possible and how?
I would like to put a mysql database on CD (or something like it). I then 
want to grab info from the database (maybe using a java applet) and use it 
to make xml, etc. I dont want to have to install anything on the computer 
that the CD is running on.
Anyone seen something like this?
Ideas?










-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




FW: [PHP] PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install

2001-09-20 Thread Joseph Bannon


Do you have enough space in the partition?

Joseph

CollegeSucks.com - See PHP in ACTION!

-Original Message-

(I'm sorry if this is not getting posted in the correct
place, but I'm not sure who/where to turn to...)

I'm attempting to upgrade my SuSE Linux 7.2 (2.4.x) server
to the new version of PHP 4.0.6, Apache 1.3.20, and the newest MySql...
(From PHP 4.0.4pl1/Apache 1.3.19)

Here are the (updated) instructions I've gotten from
the PHP site:

(The actual error I'm getting is further down this email)

1.  gunzip apache_1.3.x.tar.gz
2.  tar xvf apache_1.3.x.tar
3.  gunzip php-x.x.x.tar.gz
4.  tar xvf php-x.x.x.tar
5.  cd apache_1.3.x
6.  ./configure --prefix=/usr/local/httpd
7.  cd ../php-x.x.x
8.  ./configure --with-mysql=/usr/local/mysql 
--with-apache=../apache_1.3.20 --enable-track-vars
9.  make
10. make install
11. cd ../apache_1.3.20
12. ./configure --activate-module=src/modules/php4/libphp4.a
*13. make

(All the commands above execute with no problem...
and the error I get, when getting to this stage,
the errors are after this instruction list.)


14. make install
15. cd ../php-x.x.x
16. cp php.ini-dist /usr/local/lib/php.ini
17. Edit your httpd.conf or srm.conf file and add:
   AddType application/x-httpd-php .php

18. Use your normal procedure for restarting the Apache server. (You must
 stop and restart the server, not just cause the server to reload by
 use a HUP or USR1 signal.)
=


The error I get when attempting to install these apps:


gcc  -DLINUX=22 -I/root/php-4.0.6 -I/root/php-4.0.6/main 
-I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend 
-I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT 
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci`\
   -o httpd buildmark.o modules.o modules/standard/libstandard.a 
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a 
ap/libap.a  lib/expat-lite/libexpat.a  -Wl,-rpath,/usr/local/mysql/lib 
-rdynamic -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 
-L../../modules/php4 -lmodphp4   -ldl -lmysqlclient -lcrypt -lresolv -lm 
-ldl -lnsl  -lresolv   -lm -lcrypt
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function 
`my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function 
`my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/root/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/apache_1.3.20'
make: *** [build] Error 2



Any ideas/help/assistance would be greatly appreciated...

Thank you...
- Bill
















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Default values in MySQL

2001-05-08 Thread Joseph Bannon

How do you set Default values in mysql?

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] GetImageSize

2001-05-09 Thread Joseph Bannon

For some reason, I can get the image image size for an image on the local
machine, but remotely give me an error


My code

?php
$size = GetImageSize (images/title.gif);
echo size: $size[0]p;
echo size: $size[1]p;
echo size: $size[2]p;
echo size: $size[3]p;
$size = GetImageSize
(http://www.picpage.com/users/ka/kaurisma1331/images/image0.jpg;); 
echo size: $size[0]p;
echo size: $size[1]p;
echo size: $size[2]p;
echo size: $size[3]p;
?



Output


size: 310
size: 80
size: 1
size: width=310 height=80
Warning: Unable to open
http://www.picpage.com/users/ka/kaurisma1331/images/image0.jpg in
web/imagetest.php on line 13
size: 
size: 
size: 
size: 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] GetImageSize

2001-05-09 Thread Joseph Bannon

 What version of PHP are you using? According to the manual:
 URL support was added in PHP 4.0.5



Oh, I have 4.0.4. I need to upgrade don't I?!?

Thanks, 
J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon

What all do I need to do to install the GD Library and make it work with
PHP?

Thanks,

Joseph



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon

 On what kind of platform?


Linux.

J
















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Installing the GD Library

2001-05-09 Thread Joseph Bannon

I found your email

http://marc.theaimsgroup.com/?l=php-generalm=98772364615129w=2


1) But what about installing 1.8.4?
2) What is PNG?
3) What is freetype?

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Joseph Bannon

What gives?

Here is my error message

configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/include/apache


Here is my configure line I typed in...

./configure --with-mysql=/usr/local/mysql-3.23.37
--with-apache=/usr/include/apache
--enable-track-vars
--prefix=/usr/local/php-4.0.5



Here is the location of the httpd.h file

/usr/include/apache/httpd.h

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-09 Thread Joseph Bannon

 you need to point to the apache-source install
 ie: ./configure --with-apache=../apache-1.3.19


But what if I have apache already installed? I have a Cobalt Raq3 with
apache already installed.

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Apache error when installing PHP 4.0.5

2001-05-10 Thread Joseph Bannon

 you need to recompile apache too, unless you want to run php as cgi, 
 in which case you just leave out the --with-apache part



Can I call PHP like normal if I don't install it with Apache?

Also, is there any way of cheating this?

Joseph















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Cannot find mysqlclient library

2001-05-10 Thread Joseph Bannon

What exactly is the problem? I don't understand this error message

configure: error: Cannot find mysqlclient library under
/usr/local/mysql-3.23.37











-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] it didn't upgrade to 4.0.5

2001-05-10 Thread Joseph Bannon

Thanks Shawn, that worked  :-)

Next thing. I tried to upgrade PHP to 4.0.5 but when I do php -v, I get
4.0.4. What do I need to check to make sure it was upgraded?

Joseph



















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] installing PHP on a sun box

2001-05-14 Thread Joseph Bannon

I'm installing PHP on a sun box and when type in make and i get not
found. How can I run make if it's not found?

Thanks,

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Upgrading PHP

2001-05-14 Thread Joseph Bannon

Does anyone know of instructions on upgrading PHP? 

J



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] RE: it didn't upgrade to 4.0.5

2001-05-15 Thread Joseph Bannon

What can I delete on my server to do a fresh install? I'm trying to upgrade
php and it's not working.

Joseph











-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] deleting a file

2001-05-16 Thread Joseph Bannon

What is the file function to remove/delete a file from a server?

Joseph


Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com

















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] removing PHP

2001-05-17 Thread Joseph Bannon

How do I remove PHP from my server? I need to do a fresh install.

Joseph













-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: removing PHP

2001-05-17 Thread Joseph Bannon


I'm using Red Hat. I installed the source. I want to do a fresh install of
PHP becaue no one will tell me how to upgrade 4.0.4 to 4.0.5 -lol.

J













-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Re: removing PHP

2001-05-17 Thread Joseph Bannon

I did --with-apache. For some reason, when I install 4.0.5, it doesn't
catch. It still says 4.0.4. Is there a main file(s) I can remove to make
sure 4.0.5 catches?

T,
Joseph

-Original Message-
From: Michel 'ZioBudda' Morelli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 12:24 PM
To: Joseph Bannon
Cc: PHP (E-mail)
Subject: Re: [PHP] Re: removing PHP


On Thu, 17 May 2001, Joseph Bannon wrote:


I'm using Red Hat. I installed the source. I want to do a fresh install of
PHP becaue no one will tell me how to upgrade 4.0.4 to 4.0.5 -lol.

Do you have installed for apache (--with-apxs or --with-apache) or for
exec cgi (without --with-apxs or without --with-apache) ?

However for upgrade from 4.0.4 to 4.0.5 you must only to reinstall it.
bye

-- Se ti prendo ti apro come una cozza... -- Michel ZioBudda Morelli
[EMAIL PROTECTED]

ICQ UIN: 58351764   PR of Linux in Italy
http://www.ziobudda.net http://www.linuxlab.it


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: mysql error, dont see why.. please help

2001-05-22 Thread Joseph Bannon

Correct, SET must be before WHERE.

Joseph


CollegeSucks.com



-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 4:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql error, dont see why.. please help


Shouldn't it be:
mysql_query(UPDATE user_polls SET url = '$file_name' WHERE uid =
'$UserName' AND type = '$type) or die (mysql_error());

Maybe I'm wrong.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] referring url

2001-07-11 Thread Joseph Bannon

Is there a way in PHP to get the referring url when a link is click to get
to that page?

Thanks.

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] string search

2001-07-16 Thread Joseph Bannon

I need a search function (if statement) that performs a search on a string
and if the string contains something like aol.com, performs another
function. Can anyone help me? Thanks.

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] RE: string search

2001-07-16 Thread Joseph Bannon

Will this work?

$string = http://www.aol.com/;;

if (ereg (^aol.com^, $string) {
}
else {
}



 I need a search function (if statement) that performs a search on a string
 and if the string contains something like aol.com, performs another
 function. Can anyone help me? Thanks.
















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP and geocities

2001-04-05 Thread Joseph Bannon

 Sure you can, but the only way I know of is to use fsockopen() and use
 fputs() to mimick an HTTP connection session.

Can you give me the coding for this?



 To fake geocities you'll need to set the referer, I believe. Not sure what
 it needs to be set to, however.

What is the code for this as well?


Thanks,
J






Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com



















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] cookies that don't expire

2001-04-06 Thread Joseph Bannon

How do you set cookies that don't expire?

J

Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com



































-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] running as a script

2001-04-07 Thread Joseph Bannon

How do you get PHP to run at a script, like at a telnet prompt?

J

















-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] submitting to a remote form

2001-04-07 Thread Joseph Bannon

I have a remote php script on a remote server that I need to submit
information to. Does PHP have the ability for me to submit information
remotely?

J


Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] submitting to a remote form

2001-04-08 Thread Joseph Bannon

Thanks for the info. Question: Is there a simple way to encode text?

J
























-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] last three characters of a string

2001-04-09 Thread Joseph Bannon

I need to examine the last 3 characters of a string. Is there code that does
that?

J




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] search string

2001-04-15 Thread Joseph Bannon

What is the function to search a string? Basically, I want search a string
(a url) to see if it has "www.yahoo.com" in it and if yes, tell the user
their submission cannot be accepted.

J




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Image Processing in PHP

2001-04-24 Thread Joseph Bannon

 I want a client to be able to upload a file to the web server via PHP.  
 Then, I want that image to be processed, scaled, and made into thumbnails 
 and full-size images.  Is this possible with the image processing 
 capabilities of PHP, or should I use something like Image Magick to do it 
 server side?



I'd like to know how to do this as well.

J






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Image Processing in PHP

2001-04-24 Thread Joseph Bannon

 Resizing (and resampling) an image:

 http://www.php.net/manual/en/function.imagecopyresized.php
 http://www.php.net/manual/en/function.imagecopyresampled.php



Is there anything extra in need to install?



J






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] rounding up

2001-04-25 Thread Joseph Bannon

Is there a PHP command to round up to the nearest integer?

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] rounding up

2001-04-27 Thread Joseph Bannon

What is the best seamless way to upgrade/update PHP?

Joseph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] opening files

2001-05-01 Thread Joseph Bannon

How do you open a text file and put all the contents into a variable like
$filecontent?

Joseph










-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] for the love of god, remove me

2003-08-03 Thread Joseph Bannon
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


This page is useless, you can't remove yourself.

J. 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] for the love of god, remove me

2003-08-07 Thread Joseph Bannon
 It's not usless if you read the page. 
 [EMAIL PROTECTED]

As I said, the page is useless. This doesn't work either.

J.



 On Sun, 2003-08-03 at 13:45, Joseph Bannon wrote:
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  This page is useless, you can't remove yourself.
  
  J. 
  
  
  __
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design software
  http://sitebuilder.yahoo.com
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] GD and 4.3

2003-02-12 Thread Joseph Bannon
I hear GD is included in 4.3. What does it all
support? Does it support gif?

Joseph



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] GD and 4.3

2003-02-13 Thread Joseph Bannon
Are there any special configuration commands I have to
include at install to use GD?

J.

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] GD and 4.3

2003-02-13 Thread Joseph Bannon
Can someone tell me what is wrong? I get this error
message when I try to configure

checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=DIR
configure: error: freetype2 not found!



Here is my configure...

./configure --with-mysql=/home/mysql-3.23.53
--with-apache=/home/apache_1.3.27 --enable-track-vars
--prefix=/home/php-4.3.0 --with-gd --with-gd
--enable-gd-native-ttf --with-jpeg-dir=/usr
--with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] GD and 4.3

2003-02-13 Thread Joseph Bannon
 Do you have freetype2 installed?


No, but I removed the --with-freetype-dir=/usr and it
installed ok. Does this mean I wont be able to create
text on images?

Basiclly, I want to configure php so that I can create
images with text on them, like a graphic counter. I
don't care what font is used, so if there is a default
font with GD, that's ok.

J.



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] GD and 4.3

2003-02-13 Thread Joseph Bannon
 Do you have freetype2 installed?
 
 
No, but I removed the --with-freetype-dir=/usr and
it installed ok. Does this mean I wont be able to
create text on images?

Here is basically what I want to do if that helps... I
want to configure php so that I can create images with
text on them, like a graphic counter. I don't care
what font is used, so if there is a default font with
GD, that's ok.
 
 J.


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] sessions

2003-02-20 Thread Joseph Bannon
I'm starting to use sessions for my website and wanted
to know some things before I fully commit to use them.

1) How are sessions different from cookies other than
where the information is stored?

2) Does session data stored on the server
automatically delete after a certain time?

3) Is a session id created for each user per each
browser or just per each user?

Thanks,

Joe The Dev.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] session emergency

2003-02-21 Thread Joseph Bannon
Where can I set the session data size?

Joe.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] using php to rotate ad banners

2003-02-26 Thread Joseph Bannon
I recently created some scripts to rotate ad banners
on my site. One script is called show.php, which
serves the banner. The other is called click.php,
which redirects the people to the proper site for the
banner they clicked on.

Some people have noticed that when they click on the
banner, they go to another site. Others have noticed
that they just get returned back to the page that they
just were at. I test it without any problems.

I have been doing the redirecting using cookies. The
script show.php puts the cookie on their computer. The
script click.php gets the cookie and redirects them to
the proper place when clicked. Should I be using
cookies or sessions to do this? I think the problem is
that some people have their browser set to not accept
cookies which is why they get directed to other
places.

Thanks,
Joseph Bannon

RisingMusic.com

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Best way to accept donations online - Can't use paypal

2003-02-26 Thread Joseph Bannon
I think paypal can be used. I created a script that
gets all their information passed from paypal's server
where it updates their account on mine. Very seemless.

J.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Restate: using php to rotate ad banners

2003-02-27 Thread Joseph Bannon
Anyone? Reply?


I recently created some scripts to rotate ad banners
on my site. One script is called show.php, which
serves the banner. The other is called click.php,
which redirects the people to the proper site for
the banner they clicked on.
 
Some people have noticed that when they click on the
banner, they go to another site. Others have noticed
that they just get returned back to the page that
they just were at. I test it without any problems.
 
I have been doing the redirecting using cookies. The
script show.php puts the cookie on their computer.
The script click.php gets the cookie and redirects
them
to the proper place when clicked. Should I be using
cookies or sessions to do this? I think the problem
is that some people have their browser set to not
accept cookies which is why they get directed to other
places.
 

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: using php to rotate ad banners

2003-02-27 Thread Joseph Bannon
 Why don't you just use phpAdsNew?


Because I prefer to write it myself so I can learn
more.

J.



=
RisingMusic.com
450,000 registered users.
14,000 registered bands and artists.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Restate: using php to rotate ad banners

2003-03-01 Thread Joseph Bannon
 Don't reinvent the wheel :)
 
 http://www.phpadsnew.com/one/


Then how would people learn? Eventually everyone that
knows how to make the wheel will die and the knowledge
to make it will be forgotten.

J.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Restate: using php to rotate ad banners

2003-03-01 Thread Joseph Bannon
 The other problem is that if I open two browser
 windows to your site, one after the other, and see 
 two banners, and then click on the first one, am
 I going to go to the site for the second one?


Yes, that is one of the main problems. Would using
sessions help end this?

J.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Restate: using php to rotate ad banners

2003-03-01 Thread Joseph Bannon
 Would this do it for you?


No, that is that the problem. Showing the banner is.
It's when they click on it.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] file uploads

2003-03-04 Thread Joseph Bannon
Regarding file uploads...

1) Do the temp files automatically delete, or do I
need to put something in the code to delete them?

2) If automatically, how long? Where can I set the
length of time until they are deleted?

3) If not, is there a place I can make it be
automatic?


Thanks
Joseph

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] file uploads

2003-03-04 Thread Joseph Bannon
 They do, and I believe it's until the end of the
 currently-running PHP script.

Perfect! Thanks.

Joseph



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] session data

2003-03-05 Thread Joseph Bannon

1) How long does session data remain on the server?

2) Is there a place I can set the expiration?

3) Will php automatically delete the old session data
or do I have to do it?

Thanks,
Joseph



=
RisingMusic.com
450,000 registered users.
14,000 registered bands and artists.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] some help needed building chat-app

2003-03-05 Thread Joseph Bannon
 * how can i make sure the db-connection is closed
 before the user closes the window?


Doesn't the connection close when the php script
stops?

J.




__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Issues in passing session data

2003-03-05 Thread Joseph Bannon
 For instance, most developers uses session_start()
 on top of every page. The problem is that after 
 visiting each page, a new session file is created on
 the server.


Correct me if I'm wrong, but I don't think a new
session file is created.

session_start() creates a session or resumes the
current one based on the current session id that's
being passed via a request, such as GET, POST, or a
cookie.

J.



__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] session data

2003-03-05 Thread Joseph Bannon
 this is controled by session.gc_maxlifetime


Is the number by second, minutes, etc?

Thanks,

J.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mysql and php

2003-03-11 Thread Joseph Bannon
How can I have php give me all the data in a table as
I would using the prompt in mysql?

Joseph



__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] what is session_name?

2003-03-12 Thread Joseph Bannon
I read the description on php.net, but what is
session_name really used for?

Thanks,

Joe.

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
The mysql support list is slow, so I though I would
post here since I know this list is more active.
MySQL shuts down when I start it up...
 
# Starting mysqld daemon with databases
from /home/mysqldb
030328 09:29:32  mysqld ended


__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
 Joe you got a reply within 20 minutes on the MySQL
 list asking you this:

Yeah, I did, but I'm use to the fast response of thsi
list.

 
 What does your hostname.err log have to say about
 it?

I don't have one.



 Let's find your database error log, as root type:
 
 find / -name *.err -print | grep mysql


Came back with nothing.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] locate

2003-03-28 Thread Joseph Bannon
How do you update the locate database?

/var/lib/slocate/slocate.db

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mysql ending at start up

2003-03-28 Thread Joseph Bannon
 Please use the appropriate list. If you want a fast
 response take out a mysql support contract.


Thanks Jason. You're such a supportive individual
-lol.

J.



__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] re: jason wong (was: locate)

2003-03-29 Thread Joseph Bannon
 You really are taking advantage of people's
 generosity in answering your OT questions.


Why are you such a jerk Jason? I'm trying to install
php / mysql and I got some questions regarding error
messages I get.

An OT question would be me asking something like,
whats the best temp for cooking a jason wong? Lighten
up.

J.



__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is this possible?

2003-10-16 Thread Joseph Bannon
Is it possible to set two variables at once like this...

$test = $variable = 5;

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is this possible?

2003-10-16 Thread Joseph Bannon
 Write a small script and see.


Yep, it worked. Thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



  1   2   >