What's the difference between these two variable?
$HTTP_POST_FILES["imageFile"]["name"][0]
$HTTP_POST_FILES["imageFile"]["name"][1]
$imageFile["name"][0]
$imageFile["name"][1]
The reason why I ask this is I get this error below when I echo out
$imageFile["name"][0] etc.
Warning: Undefined inde
Quick question... how do I get the information out of the $imageFile array
that is here in the phpinfo?
HTTP_POST_FILES["imageFile"] Array
(
[name] => Array
(
[0] => 101x_button.gif
[1] => am_button.gif
)
[type] => Array
(
Hello everyone-
I'm trying to have multiple uploads in one form so my input tag looks like
this:
The problem I'm running into is that I know php usually sets the name of the
file to $userfile_name and sets the mime type of the file to $userfile_type
and the size to $userfile_size. My questi
Hello everyone-
I'm trying to have multiple uploads in one form so my input tag looks like
this:
The problem I'm running into is that I know php usually sets the name of the
file to $userfile_name and sets the mime type of the file to $userfile_type
and the size to $userfile_size. My questi
Hello everyone-
I've been looking at the php manual to see what functions are available to
resize images. I was wondering if there was a function that Constrained the
Proportions of the image or am I going to have to write that function?
Thanks,
jay
--
PHP General Mailing List (http://www.ph
How do you set a cookie not to ever expire even after the browser is closed?
I've tried the following:
setcookie("cookie","value");
and when you close the browser it has to set the cookie again, which i don't
want it to do.
Thanks,
jay
--
PHP General Mailing List (http://www.php.net/)
To un
I have a problem... I want to check the last modified time that a file was
changed/updated. Actually, it's an employee database that I'm working on
and I thought about just checking the last modified date on the file that
the information was stored on. However, I get a permission denied error an
what is the switch to configure pspell in php? is it --enable-pspell?
because i've tried that and --with-pspell and it's not working.. when i pull
up my phpinfo.php pspell isn't configured with it. Anyone know how to
configure it pspell with php?
jay
--
PHP General Mailing List (http://www.ph
in the php.ini you can set the garbbage collection higher than 1 but that
puts a bigger load on your computer... what garbage collection does is that
it goes through and deletes all the session files that have expired due to
the setting of the session.gc_maxlifetime.. so right now with the way you
Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "'Jay Paulson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 12:18 PM
Subject: RE: [PHP-DB] restoring mysql db after mysqldum
Hello everyone-
I have done the mysqldump function and got the db in a all_database.sql
file. Now I am running this command at the shell prompt of my Linux
machine:
mysql -u root -p -e 'all_databases.sql'
When I do that it works fine until it starts to insert the information into
the database.
I had the EXACT same problem... what you need to do is find where the
'mysql.sock' file is on your computer (sometimes it's at /var/lib/mysql.sock
or some place like that).. then what you need to do is create the mysql.sock
file in the /tmp directory (for some reason it wouldn't let me copy over t
Anyone know why a MySQL table is set to read only? I'm logged in as the
root user of MySQL and I have checked the privalages of the root user in the
MySQL table and everything is set to "Yes" and I'm able to add and delete
users in the MySQL table.
Here's what I did... I had a database on my Win
" <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 2:27 PM
Subject: RE: [PHP] header() not working.
> header() works.
>
> it's the text that header() is printing
> that's causing problems.
>
> what are you outputting via header() ?
>
> > -Origi
I would say not to embed php in html... look at class.FastTemplates.php,
just go to google.com and do a search.. also some people like PHPLib
Templates.
jay
- Original Message -
From: "Seb Frost" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 2:10 PM
Subject:
anyone know why the header() wouldn't work? I don't have anything being printed out
before or after I call the header(). The only thing that does happen is when it tries
to redirect the user it sends them to a 404 page error. Also, when I check the web
server log it says it's trying to call
if you want the name of the page you are on (i.e. index.php) you can use the
$PHP_SELF variable.. if you want to know what page you came from you can use
the $HTTP_REFERER variable.. just remember to get those variables you have
to have php parse the page (so it can't just be a plain html page)
j
exactly is going on.
[Mon Aug 20 17:23:03 2001] [error] [client 64.132.13.114] File does not
exist: /home/username/htdocs/admin/.php
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: "Jay Paulson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTEC
Hello everyone-
I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my
script and it hit's:
header("Location:index.php");
well the thing is once it hits that line in my script and just fails,
however i don't get any type of parse error the browser just says 404 error
page no
Hello everyone-
I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my
script and it hit's:
header("Location:index.php");
well the thing is once it hits that line in my script and just fails,
however i don't get any type of parse error the browser just says 404 error
page no
you can actually download some php stuff for free.. try phpbuilder.com or
phpclass.com there's a lot out there you just have to find it.. :)
jay
- Original Message -
From: "Eugene Yi (InfoSpace Inc)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 5:10 PM
Subjec
well i just compiled php again and that still didn't solve the problem... i
guess i just need to keep recompiling php until i get that variable set to
the right thing?
thanks,
jay
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Jay Pauls
the only problem with PHPGTK is that if you make an app with it and you pass
it on to your friend they have to have php installed and running on their
machine to run your app. I've heard of some people actually running a small
installer that installs php on the client machine so that they can run
looked for the my.cnf file and it's not on
the machine.
Thanks,
Jay
- Original Message -
From: "Jonathan Hilgeman" <[EMAIL PROTECTED]>
To: "'Jay Paulson'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 6:55 PM
Subject: RE: [PHP-DB]
liability will win and make you happy
> in the long run, it's too bad people realized this when they need to spend
> to many evenings rebuilding the server from scratch!
>
> py
>
> - Original Message -
> From: "Jay Paulson" <[EMAIL PROTECTED]>
> T
I did want to get the input
of the open source community first so I could have something to back up why
we could use what I have developed instead of the other company's software.
Thanks for all your help!
Jay Paulson
Internet Program Director
LBJS
[EMAIL PROTECTED]
- Original Message -
the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be
/var/lib/mysql/mysql.sock is there anyway i can set this variable in php?
thanks...
oping? Do you all think that I could get some more
developers to work on this software to make it even more powerful than it is
now?
The reason why I ask these qestions is I don't want to go with Micro$oft,
throw away 4 months of work, and have to learn entirely new stuff.
Any suggestions o
August 15, 2001 10:59 AM
Subject: Re: [PHP] Apache virtual hosts & php
> 755 :)
> Kunal
> - Original Message -
> From: "Jay Paulson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 15, 2001 9:26 PM
> Subject: [PHP] Apach
anyone know the permissions that need to be set on sub-directories of apache
when you are using virtual hosts? The reason I ask is I keep getting a 403
forbidden "you do not have permission to access / on this server" and i'd
really like to check to see if my install of PHP is working correctly.
Hello-
I'm using the virutal hosting in Apache 1.3.19 and I was wondering how to I
load php as a module in apache for each virutal web site? anyone have a
good link telling you how to do this.. ie a tutorial on the topic? i've
read the docs on apache.org and it doesn't really say much at all ab
yeah i've tried that too and i still get the same error(s)
>From: Rasmus Lerdorf <[EMAIL PROTECTED]>
>To: Jay Paulson <[EMAIL PROTECTED]>
>CC: PHP <[EMAIL PROTECTED]>
>Subject: Re: [PHP] PHP and Apache
>Date: Mon, 13 Aug 2001 12:07:39 -0700 (PDT)
>
hello everyone-
I was wondering if any of you had a problem compiling Apache 1.3.20 with
mod_php4? Because I can compile, make, make install for redhat 7.1 for php
4.0.6. When I run my configure script for apache i
have --activate-module=src/modules/php4/libmodphp.a as one of the lines in
the s
hmmm.. i'm having the same sort of problem.. although fopen() won't even
open yahoo.com.. what kind of errors are you getting?
jay
- Original Message -
From: "Greg Donald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 5:24 PM
Subject: [PHP] fopen() issue
> W
ction GetLine() {
> $timeout=30;
> $iStartTime = time();
> set_socket_blocking($this->connection, false);
>
> $line = fread($this->connection,128);
> while(empty($line)){
> $line = fread($this->connection,128);
> usleep(25);
> }
> if ($debug) {
> print
Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "'Jay Paulson'" <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 1:52 PM
Subject: RE: [PHP] fopen not opening url
> Hi jay,
>
> I've done the exact thing you'
Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "'Jay Paulson'" <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 1:52 PM
Subject: RE: [PHP] fopen not opening url
> Hi jay,
>
> I've done the exact thing you'
hello-
I'm trying to use the fopen() command to open the url below and just read it
into another $var. However, I'm having some problems the warning i get
is below along with the url in the warning. Anyone know what's going on
here??
Thanks,
jay
Warning: php_hostconnect: connect failed
Warn
why don't you calculate the stats every time someone inserts new stats...
you could have a column in your table for the average of the stats you
want.. that way when you want to call them back up all you have to do is get
that one column and save your cpu all that processing power... that's my
tho
I'm trying to install sablot on my win2k machine. I have PHP 4.0.5 and in
the /php/dlls/ directory there is the expat.dll and the sablot.dll. Also,
in the /php/extentions/ directory there is the php_sablot.dll.
I have a small test script to see if it's working and also printing out the
phpinfo(
That's what I use and I LOVE it.. but i also hear that homesite and
UltraEdit are very good as well.. never used them so i can't compare.. :)
jay
- Original Message -
From: "E. Peter K. Chan" <[EMAIL PROTECTED]>
To: "doug" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 18
Hello everyone-
I need some expert advice so I turn you to all! :)
I'm am currently in the process of making 7 web sites using PHP and MySQL
backend. I'm porjecting that all of these sites combined will get a million
plus hits a month easy when it's all said and done. What I'm wanting to do
is
if you want the current time all you have to do is this.. :)
echo date("l d F, Y g:i A")
that will out put:
Thursday 05 July, 2001 7:52 PM
or whatever time your system is at it will echo it in that format.. hope
that helps!
jay
- Original Message -
From: "JustinS" <[EMAIL PROTECTED]>
rs in the flash just
to pass the session id.. but i will if i have too..
thanks,
jay
- Original Message -
From: <[EMAIL PROTECTED]>
To: "PHP users" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 7:36 PM
Subject: Re: [PHP] Question about Sessions
> Hi Jay!
what you want to do is a join so it'd look something like this..
select teampages.ownerID, teampages.last_update, owners.teamname FROM
teampages, owners where teampages.ownerID= owners.ownerID ORDER BY
teampages.last_update DESC LIMIT 10
hopefully that will work! :)
jay
- Original Messag
Hello everyone--
I've got a general question about cookies and sessions. I was wondering if
this is how php handles sessions because this is what I want. Is it
possible to set up php so that the session id is the only thing that is set
in the cookie and then all the session data is either pushe
..
header ("Cache-Control: no-cache, must-revalidate");
Jay Paulson
Internet Program Director
LBJS
[EMAIL PROTECTED]
- Original Message -
From: "Jon Yaggie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 5:36 PM
Subject: [PHP] cac
. mail.servername.com) and it fails to connect every
time.
Does anyone know what i need to do to get this to work correctly?
Thanks,
Jay Paulson
Internet Program Director
LBJS
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
does anyone know if php can talk to maestro?
btw maestro is a catalogging system / software that a lot of radio stations
use to play songs etc on the radio.. if you want to know more about it you
can visit: http://www.ccc-dcs.com/1-1-1.html
Thanks,
Jay Paulson
Internet Program Director
LBJS
t one chapter wasn't
worth the $80 or so for the book.. would just rather go to barnes and noble
get a cup of coffee and read that one chapter while I'm there :)
Jay Paulson
Internet Program Director
LBJS
[EMAIL PROTECTED]
p.s. anyone going to the O'Reilly Open Source Con
Anyone know of any good books that actually deal with php interfacing with
flash 5? I've found one book but just curious if there are others out
there...
thanks,
jay
Anyone know of any good books that actually deal with php interfacing with
flash 5? I've found one book but just curious if there are others out
there...
thanks,
jay
ble $fname just has characters
a-zA-Z and nothing else. Anyway, I'm running PHP 4.0.5 and I'm using the ereg
function else where and it seems to work fine.
Thanks,
Jay Paulson
101 - 153 of 153 matches
Mail list logo