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,
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
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=
configure: error: freetype2 not found!
Here is my configure...
./configure
> 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,
> 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 grap
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 sessio
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
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
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.
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 t
> 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,
> 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 -
> 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.
> 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.
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
__
> 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.
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.
> * 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/
--
> 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
> 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 un
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/)
T
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 unsub
> 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
> 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
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!?
> 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 .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 |
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,
> 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 deskto
> 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
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
> 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
Does IE use mozilla? I'm writing a PHP script to keep track of user
agents.
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > Does IE use mozilla? I'm writing a PHP script to keep track of user
agents.
> Your question isnt' clear.
What is not clear about it? I'm trying to keep keep track of user agents
with php.
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
> I think you mean to say "Does the word 'mozilla' appear in the IE user
agent string?"
That is not what I'm asking. I already know it appears there. But I
already got my answer.
Now my question is if IE doesn't use mozilla, why does it put it in the
user agent?
J.
--
PHP General Mailing List
Thanks John, you answered my question.
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are there any sites I can post a bid request for programmers and graphic designers?
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm doing all the programming for my site, but I suck at graphics. Does
anyone know where I can find a graphic designer? I posted a message on
webhostingtalk.com and mostly everyone there does business sites when
I'm looking for something more retro and for an entertainment site.
J.
--
PHP Genera
Yes, it's a paying job.
J.
-Original Message-
From: Kit Knight [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 5:03 PM
To: Joseph Bannon
Subject: Re: [PHP] Any graphics people?
Hey,
I do graphics, but is it a paying job coz I cant afford non paying right
now. Paypal acc
Where are the PHP error logs kept?
Thanks,
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do you print the error message sent back from MySQL?
$resultCC = mysql_query($queryCC) or die("???");
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's your site isn't it? -lol
J
-Original Message-
Nothing much. Been receiving flack about forcing people into cookies.
Much misunderstood info about cookies. I need an URL to pass on for
extra reading, as rebuttal.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
> i setup my sessions to be transparent, can it still be hacked ?
What is a transparent session?
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think it's the responsibility of whomever is holding the key (ie, the
username and password). When a user logs into my site, I put their
username and password in a cookie. I then check those cookies to allow
them access to membership only parts of the site. It is thus their
responsibility to keep
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 additiona
> 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
> 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: [
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]
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]
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: [EMA
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]
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
";
echo "size: $size[1]";
echo "size: $size[2]";
echo "size: $size[3]";
$size = GetImageSize
("http://www.picpage.com/users/ka/kaurisma1331/images/image0.jpg";);
ech
> 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 P
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 PROTE
> 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]
I found your email
http://marc.theaimsgroup.com/?l=php-general&m=98772364615129&w=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:
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-t
> 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]
> 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://w
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 P
Thanks Wagner for the help on the other issue. It worked :-)
Here is my next error when I try to start Apache...
Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10:
cannot open shared object file: No such file or directory
I have the "libmysqlclient.so.10" file in the "/
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 addit
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
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]
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 administrator
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 c
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]
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 PROTEC
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
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:
m
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: [EMAI
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:
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:
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-m
> 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 thi
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
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]
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 PR
> You can use fopen/fread to open the script remotely.
>
> Just append the query string onto the url something like this:
>
> www.example.com/example.php?var1=var
>
> ...and example.php will have $var1 with the value "var". That's basically
> like using GET on a form.
>
> I believe that's what
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 PROTECT
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]
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 P
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 additiona
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.
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]
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?
>
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 PROTECTE
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]
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: [E
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]
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
image
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...
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: [EMAI
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 administrator
w 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:
&
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
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]
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
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.
Jos
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,
I have a foreach loop running in a function. During the foreach loop, if a
variable matches another variable, it does "return $variable". My question
is this: does the function automatically stop running when the variable is
returned?
J
--
PHP General Mailing List (http://www.ph
1 - 100 of 115 matches
Mail list logo