--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Thank you for the reply.
Richard Lynch wrote:
On Mon, April 24, 2006 2:48 pm, Webmaster wrote:
In reading the www.php.net/manual/en/ref.session.php page, I'd like to
point out we do not use cookies. The session id is propagated in the
URL (although it's not visible in the URL bar
Richard Lynch wrote:
I'm thinking the guy who suggested ignore_user_abort(TRUE) is just
doing Voodoo Programming :-)
I love the term Voodoo Programming! I'm guilty of doing it myself. :-)
My 2 cents.I could see times when ignore_user_abort(TRUE) could be
very handy. I'm wondering
Hello,
The site I'm working on works like this...
Requires a login that uses sessions to remember username and email
address. Upon being verified, the user is presented with a page that
displays several questions regarding their background. Upon submitting
the background page, a script
://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/function.session-start.php
Brady
-Original Message-
From: Webmaster [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 1:49 PM
To: php-general@lists.php.net
Subject: [PHP] Session Array Disappears
Hello
Hello,
Thank you for the reply.
Interesting function. I have not heard of that one previously. I've
read the manual pages for it.If I understand
ignore_user_abort(TRUE)...you are thinking that maybe the user is being
disconnected (using stop button or having ISP issues) prior to the
Hello,
I'm not sure if this is the right list to ask this on or not
Here's the situation... my php scripts were generating emails as
expected. I was shocked when they told me that exim was not responding
to requests on port 25 and had to be restarted. So, PHP communicates
with exim
I am trying to upload a file to a remote server using curl and post method
here is what I have:
$file = $dir..$dbfile[0];
$this-invoiceno = $dbfile[1];
$uploadpath = http://www.website.com;
$postvar = array ();
$postvar['cboFileType'] = 837;
$postvar['txtDesc'] = Invoice
I use php 5.0.5 and was wondering when I use $_SESSION would unset() work
the best for getting rid of the values in that array??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it fixed now... tnx...
-Original Message-
From: Ben Blay [mailto:[EMAIL PROTECTED]
Sent: Friday, December 09, 2005 9:46 AM
To: Mark Steudel
Cc: php-general@lists.php.net
Subject: Re: [PHP] broken code
I believe the difference between using = and = is that the former
passes the
does anybody know if the pear website is having any problems? i cant seem to
be able to go there and its the only website giving me problems right now...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an array $journal that I want to carry from a page (where it was
created) to another page (a popup that shows the variables contents). Is
this automatically available? or do I have to do something special to php??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have this code that doesnt print the db results like they should... it
uses pear::db package for the database. Was wondering if anybody can figure
out how come it doesnt work...
?php
require_once 'DB.php';
error_reporting('E_ALL');
$db = DB::connect('mysql://root:[EMAIL
Hi...
I was wondering if there are any template systems out there that are fairly
easy to use (that don't require hours and hours reading books) and that are
fairly good as well? I need one also that works with pear packages since I
use html_quickform a lot. I considered checking out smarty but
how do you create/use a function that takes an undefined amount of
arguments? I looked at the manual but its a little confusing. for example, i
want to make a function called Update inside a DB class:
class DB {
//vars here
var $host;
var $DbUser;
//functions
function Update(...) {
//this
Hi...
the easiest way I have found to do exactly what your looking for is to use a
pear package called html_quickform. I found it easy to use and it saves me
hours and hours of work too. If your interested go to
www.pear.php.net/html_quickform and have a look.
-Original Message-
From:
Hi,
i hope I got you right.
You can send data to the next php file by HTTP-GET.
Simply add a ? behind the link and then variablename=value.
Example ./jumpto.php?to=searchProduct
In the jumpto.php you would ask the Global Array for Get Variables for the
entry and then decide what to do.
$uppercasestring=strtoupper($originalstring);
- Original Message -
From: George B [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Monday, July 18, 2005 6:59 PM
Subject: [PHP] change letter to all caps
Lets say I have a form. And when user types in the form and clicks go,
it
Shane Presley wrote:
Where can I find some info on integrating Oracle and PHP?
I had some PHP front ends to a MySQL database, worked great. Our DBAs
want to change the back end from MySQL to Oracle 10g. How hard would
it be to convert my PHP scripts, and where would I go to read up on
Oracle
Hello,
I have an application that occasionally drops a session array element value.
Data from the form...
$_POST['firstName'];
$_POST['lastName'];
$_POST['phone'];
$_POST['email'];
$_POST['cell'];
When the form is submitted, the POST variables are checked to make sure
they each contain a value.
Hi,
abolutly right.
I never had problems with migrating from Apache to IIS or vice versa.
Best Regards
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Pablo D Marotta [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. April 2005 23:09
An: php-general@lists.php.net
Betreff: [PHP] Apache - IIS
Hi,
I have a multidimensional array looking linke this
Rowid title kat
123 nr1 3
442 nr2 2
547665 nr3 5
4532nr4 3
3244nr5 1
124 nr6 2
776
Thank you very much.
If anybody has some good links to ereg tutorials, I would love to get that
teached.
Thanks
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Eli [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 8. April 2005 06:40
An: php-general@lists.php.net; Webmaster
Betreff: [PHP] Re
Hello,
i have a string looking like this.
## /T (KEY1)/V (VALUE1)|| ## /T (KEY2)/V (VALUE2)|| ## /V (VALUE3)/T
(KEY3)||
I know want to separete it in to keys and values and insert them into an
array.
Note that /T always shows that teh upcoming value in() is a Key and that /V
always
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Norton AntiVirus Deleted1.txt
Description: plain/text
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this:
script type=text/javascript language=Javascript1.5
On Nov 16, 2004, at 5:03 PM, Jeff - Webmaster wrote:
Thank you for the response Brent. I made that change and the problem
still exists. I ran the page through the validator and it found some
generic problems, but nothing that seemed like it would
.
anonymous
On Nov 16, 2004, at 2:24 PM, Jeff - Webmaster wrote:
Hello all. I have created a few PHP pages on our website where users can
go a fill out a simple form and submit it to our support department using
the post method. For users on PC's, this works flawlessly. I am getting
complaints from
Hello all. I have created a few PHP pages on our website where users can go
a fill out a simple form and submit it to our support department using the
post method. For users on PC's, this works flawlessly. I am getting
complaints from people who use Macintosh who say that they are not able to
actually bragged about recently.
You should run your web page through one of the validators on the
internet. It will tell every little thing that is wrong with your html.
http://validator.w3.org/
On Nov 16, 2004, at 3:24 PM, Jeff - Webmaster wrote:
Hello all. I have created a few PHP pages on our
Hello all. I just finished placing a new server in production and PHP is
not working. I am getting undefined variable messages when trying to submit
php based forms. Register Globals is on in php.ini, but it still does not
work. I have even tried copying a known-good php.ini from another server
The error reporting level is the same as it was for the same websites on a
different server that is working.
Jeff
At 11:49 AM 8/26/2004, Greg Donald wrote:
On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote:
Hello all. I just finished placing a new server in production and PHP is
not working
Here is a snippet of the code that is being choked on. The first failure
comes from line 6:
?php
$name = $_POST['name'];
$address = $_POST['address'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$type = $_POST['type'];
$message =
Another website dies on line 4 here:
?php
$to = [EMAIL PROTECTED];
$subject = Swinos.com Booking Contact - $name;
$headers .= MIME-Version: 1.0\r\n;
$headers .= Content-type: text/html; charset=iso-8859-1\r\n;
$headers .= From: swinos.com [EMAIL
Intersting. This is the same pair of html and php files that was functional
on another server. Can you think of any reason that could account for the
difference?
Jeff
At 01:51 PM 8/26/2004, John Holmes wrote:
Jeff - Webmaster wrote:
Another website dies on line 4 here:
$headers .= MIME
Removing the . got rid of most of the errors, but two remain:
Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4
Notice: Undefined variable: message in E:\domains\swinos\contact.php on
line 12
The offending lines are:
4 - $headers = MIME-Version: 1.0\r\n;
and
12 -
Turned out to be something different about PHP 4.3.8 vs. 4.3.4. That was
the only difference between the two servers. As soon as I corrected that,
all files are working like they used to. Thanks for your help.
Jeff
At 05:22 PM 8/26/2004, John Holmes wrote:
Jeff - Webmaster wrote:
Intersting
Hi!!
I have links saved in the DB and some of them may have parameters.
Those parameters may come from a php variable.
The problem is that when I recover the link form the DB I get the link plus the name
of the variable instead of its value.
Here is an example:
I have this in the DB:
Blanchard [EMAIL PROTECTED]
To: WebMaster. Radio ECCA [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 1:28 PM
Subject: RE: [PHP] Links with parameters in DB
[snip]
$i=0;
$q=select * from links';
while ($imysql_num_rows($result))
{
$link=eval(mysql_result($result,$i,link
I tried what you said but i get an eval error:
Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d
code on line 1
;(
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: WebMaster. Radio ECCA [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 19
Apreciados colegas, estoy desarrollando una web en php que si bien no es muy
complicada espero sea útil.
Se trata de http://www.rutaweb.com/
La web principalmente está dedicada a enlaces de calidad pero en breve estrenaré
sección de PHP con tutoriales y scripts.
De momento agradecería que
I am running PHP 4.03 on O'Reilly website 2.5
I have specified the content and associations as directed in O'Reilly's
online support (what little of it exists anyway). I am running into an
issue where all requests to any PHP page causes a termination of PHP.exe on
the server. I have seen a
Hi Matt (et al),
I've added the c:\www\pear path to both the windows path and also the path in
the php.ini file. However it's still coming up with the same error. Is there
a way of putting in a temporary path in the go-pear.php file?
Nunners
Quoting Matt M. [EMAIL PROTECTED]:
Warning:
I've had no luck with the PEAR General List... so...
I've successfully manually installed PEAR onto my windows server after trying
many attempts at installing it properly - however, it's prooving a pain in the
arse to upgrade the packages, and install any new ones.
So, can anyone assist in why
I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a
problem logging into the Administration Tool. It comes up with:
Fatal error: session_start(): Failed to initialize storage module. in
/home/hetbweb/public_html/administrator/index.php on line 64
I've looked at
Try www.horde.org
It's not only a webmail client, but has a whole load more!
Nunners
Quoting I.A. Gray [EMAIL PROTECTED]:
Thanks- looked at Squirrel Mail. Looks really good, however we use POP3- I
don't think Squirrel Mail uses POP3 does it?
-Original Message-
From: Jose Leon
Quoting Jay Blanchard [EMAIL PROTECTED]:
[snip]
I have created a site that is begining to accumulate a large number of
pages. I have been considering holding links to all pages in a database
so that the sub menus alter dynamically rather than being hand coded.
Has anyone else done this...
Hi! I´m developing a new intranet for my company and I wonder if there is any CMS
package that fulfil my needs.
I´ve used PHP Nuke but I think it isn´t very safe.
I would need a package where creating new modules wew easy.
Which one would you recommend it?
Which one do you use?
Thanks in advance.
Is there any way to use a Paradox database with PHP?
I have an aplication made in Delphi using Paradox and I need to attack the Paradox
database using PHP. Do you know if there is anyway?
Thanks in advance!!
;)
Hello i need help with mysql_create_db i found the solution once but cant remember
what it was if someone could tell me the proper way to create a database with php and
mysql i would be greatly thankfull.
Thank you.
exactly dont want letters dont join a list!
- Original Message -
From: Ben Ramsey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 11:23 AM
Subject: [PHP] Re: STOP to send me mails Re: [PHP] Re: list to array
help
W I do not want to receive
Im sure this question seems primitive to most of you, im new to using foreach with
forms my question is how is the best way to keep from getting the submit button from
comming through with the variables below is my code.
form method=post action=?fm=newAdvertisera=insert
centerpreb
Advertiser
/test.php);
echo This is a test page.;
?
and put this into the design directory:
?php
php_info();
?
and it works fine.
What could be the problem. Really I am getting grey hair.
Is there ANYTHING in the php.ini file httpd.conf that could cause this?
I looked them over about 50 times.
Thx webmaster
Hello all i have probably a pretty dumb one here. i need help with getting the proper
count on my referrals the way i set it up was i was just going to count down the line
by using the member table, i enter the referral in the member table when the new user
is added, this may have been a bad
i made a bobo and now mysql server is returning a to many connections error i dont
have access to reboot so is there a comand i can use to close all connections.
hi all i had an to many connections error with mysql
i dont have anyway to reboot the server so is there someway i can give php a command
and shut down all open connections on mysql thank you
Here is what i have i call 2 cookies in the top of my script, now i need to
call another when another script is called but it keeps givin me the error
headers already sent,
now ive seen this done in other scripts but wont work for me so please help
me is it in my php.ini or is it just not possible
Hello all i need a little help with serialize and unserialize
here is my code
?php
session_start();
if(!isset($_COOKIE['data'])) { //Check to see if cookie is
there.
include(cookie_num.dat);
$y = $password;
//Assign a special number
hello all i need help to enter one variable in a cookie and then retreive it back
later, i know this probably sounds dumb to most but this is really the first time ive
tried working with cookies so please bear with me, thanks for any help.
Well, I know how to run MySQL queries and connect to the db and things
like that. But I would like to be able to connect to a remote site (ex:
http://my-site.com/functions.php). Here I would like to run functions
from the remote functions.php file and have it connect to it's own
server's db.
Yes, the remote server does have PHP. This sounds like a good idea. Is
it relatively easy to do? I have never worked with HTTP protocol
functions for this. Do you know of a tutorial I could look through to
learn a little of this?
Thanks,
Matt
-Original Message-
From: Marek
to communicate back and forth between the servers. I just have
no prior experience doing it so I need a little guidance.
Thanks,
Matt
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 7:09 PM
To: 'Webmaster'; 'Jeff McKeon'
Cc: [EMAIL PROTECTED]
Subject
We have a data base in access 2000.
Could you advise which version of php will connect to the access.
Please advise also how can i open the connection .
Thank you in advance for your assistance.
Best regards
Marlyn Estefanos
Businesslink.
--
PHP General Mailing List
Joffrey L Leevy [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all:
I have been searching through several books to find out what the @
character represents.
An example used in code:
if (@$first == no).
Could anyone please explain the function of @ in the code?
John Taylor-Johnston [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How can I verify if my ISP really does have PHP on a server I am using.
They say if I want PHP, I must pay an extra $15 per month. Is there
somehting I can put in my .htaccess to verify and maybe do this?
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
PHP Webmaster mailto:[EMAIL PROTECTED]
on Monday, October 20, 2003 4:36 PM said:
As you can see, the above code will not work as the $title variable
has not been set yet. So, I need a way of opening up the home.php
Hi all,
I have a little dilemma on my hands that I can't seem to solve. Iv'e looked
through the PHP Manual at the fread(), fgets(), fopen(), file() etc
functions which I beleive are capabile of what I want to do, but I just
can't seem to peice it all together.
Anyway, the following code is
Binay [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes its showing 0 only..
Its a weird kind of problem for me ..
- Original Message -
From: David Otton [EMAIL PROTECTED]
To: Binay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:16 PM
Louie Miranda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
And here's the error
[Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined
function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6
-- -
Louie Miranda
http://www.axishift.com
-
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have created an online system, and have created a WAP version, and am
currently crreating a PDA version. What I wuold like to to do is give out
the same URL instead of domain.com for normal use, domain.com/wap/ or
Hi all,
I have a little problem that I hope you can help me with.
I have the following strings:
$str1 = Bob;
$str2 = My Name Is Bob;
How can I get PHP to look for $str1 inside of $str2?
Also, what about if Bob inside of $str2 is in different places?
I would like something like:
if ($str1 IS
Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try:
if (strpos($str2, $str1) !== false)
echo $str1 is inside $str2;
else
echo could not find $str1 inside $str2;
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
Hi,
I already posted this question in the Smarty group, without success.
I have a problem with Smarty. I wrote the following function that gets data
from a mysql database:
function showHeadlines()
{
global $db;
$entry_events = array();
if ($this-showold == true)
{
Hi!
I started to use the php own session functions today.
Now I am getting such lines in the address bar:
/pages/news.php?option=1015PHPSESSID=PHPSESSID=d117dba208d4b205cd4e521f606b
b44e#result
Why do I get PHPSESSID=PHPSESSID= ?
Thank you.
Webmaster
--
PHP General Mailing List (http
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi.
Ok I've got the logging in of customer accounts settled but what I need
to work into the system is that of preventing more than one instance of
the same account.
If I logon right now as testuser1 on ComputerA and then
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This has been discused several times befor and the conclusion is that
these obstructions are wrong. What if the user loses its credentials and
he is still considered loged in. He cannot log in again. If you bind the
Hi all,
I have on my site a part where users' can submit articles and no doubt their
articles will contain code. Code is wrapped inside of [code] tags, i.e.
[code]?php echo hi; ?[/code]
However, there is other text in the same article, so I need to format the
code inside of the [code] and
Hi all,
Iv'e got a .htaccess file protecting a site using HTTPS. I have tried using
a form to send the login details to the site through the address bar
(http://user:[EMAIL PROTECTED]) but the .htaccess password protection box
still appears asking for the username and password!
The only thing I
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
Iv'e got a .htaccess file protecting a site using HTTPS. I have tried
using
a form to send the login details to the site through the address bar
(http://user:[EMAIL PROTECTED]) but the .htaccess password
Mika Tuupola [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, 6 Oct 2003, PHP Webmaster wrote:
Iv'e got a .htaccess file protecting a site using HTTPS. I have tried
using
a form to send the login details to the site through the address bar
(http://user:[EMAIL PROTECTED
, redirect you to the subdomain and then prompt you again.
Nathan
- Original Message -
From: Mika Tuupola
To: PHP Webmaster
Cc: [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 7:12 AM
Subject: Re: [PHP] .htaccess - Still asking for login information although
already sent through
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Tuesday 07 October 2003 00:32, PHP Webmaster wrote:
If I use my login form, the login box pops up only once. If I copy the
text
from the address bar (generated by the form) and paste it into the
address
bar (after
the correct Eastern
Standard
Time
http://www.php.net/putenv
?php
putenv('TZ=US/Eastern');
echo 'Last modified: ' . date('d/m/y H:i', getlastmod());
?
--
Jon Kriek
http://phpfreaks.com
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Jon Kriek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
putenv('TZ=Europe/London');
OR
putenv('TZ=GMT');
--
Jon Kriek
http://phpfreaks.com
Php Webmaster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm in London and and my timezone is GMT, so what should I
Hi all,
I currently use:
date(l jS F Y, g:i A);
To format the current date/time to my personal preference.
However, at 12:19 AM on my machine, date(l jS F Y, g:i A); shows 4:19PM...
8 hours slow :(
Any ideas on how to correct this? Am I right in saying that there is a
timezone problem?
Any
I checked the PEAR HOMEPAGE but still I don't quite understand what the
project is about.
I am familiar with writing classes and functions.
Now, I can not figure out what the deal is. Does Pear consist of a class
library that comes with the installation?
There is a directory pear which is full of
HI,
let us say there is Class A.
In the constructor of this class I create an Object B of Class B.
Now what is the difference between these two ?
this-B = new B;
and
B = new B;
Thank you very much!
Wenmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
let us say there is Class A.
In the constructor of this class I create an Object B of Class B.
Now what is the difference between these two ?
this-B = new B;
and
B = new B;
Thank you very much!
Wenmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
why doesn't this work?
## IP FUNCTIONS ##
function assignClientIP()
{
if (getenv('HTTP_X_FORWARDED_FOR') == '')
{
$this-aCustomer-setClientIP((!empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ?
$HTTP_SERVER_VARS['REMOTE_ADDR'] : ( (
!empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ?
Good day,
I would like to know a constructor function is also inherited to a child
class.
I mean the child class also needs to have a constructor function but it must
have the same name as the class name.
How does that work?
Thank you very much.
BW
--
PHP General Mailing List
Hi,
i am using the smarty template engine.
Here is the problem that I would like to ask about:
function initTop($page, $array)
{
for ($i=0; $isizeof($array)
{
$page-assignVars(, $array[$i])
}
}
The function is supposed to know which object's attributes she is supposed
to change. Do
Hi,
I am just starting to understand how the session handling routines work in
php.
I can pass objects to other scripts. So I can put the language into the
object that the visitor chose at the very first page.
But what if a visitor bookmarked my homepage and comes back after a few
weeks.
How can
Hi,
is it possible to pass an Object to another php page?
I want to pass a whole bunch of varibales to another page.
For example the session ID, the language that the user choose,etc.
All those variables are in one or more objects.
Do I have to copy all those object attributes to variables and
Hi,
I have the following problem:
On page A of my homepage I create an object 1 which itself creates an
object 2.
Now how can I access the properties of object 2 from A ?
It doesn't seem to work.
I am fairly new to Object Oriented Programming.
Thank you very much.
--
PHP General Mailing List
php.ini settings are:
file_uploads 1
doc_root no value
post_max_size 8m
upload_max_file size 2m
upload_tmp_dir no value
Anthing else to check? Is there a way to get a more descriptive error msg?
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
PROTECTED]
Sent: Friday, July 04, 2003 10:57 AM
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] More on file upload
What is the message now? Is the file being uploaded and
move_uploaded_file() does not move the file? Then check the directory
permissions.
Webmaster wrote:
First of all
for your response.
Mark Roberts, Roberts Computing Systems
eCommerce, yeah, we do that!
Graphics, Scripting, Databases, shopping carts
mailto:[EMAIL PROTECTED]
-Original Message-
From: Andrew McCombe [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 11:16 AM
To: Webmaster; Marek
']);
//or die($php_errormsg);
//or die(Couldn't copy the file!);
echo error=.$php_errormsg;
} else {
die(No input file specified);
}
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
that it will be running on is v4.0.3pl.
Upgrading is not an option. Does anyone have a file upload script that will
work on this older version of php that they would be willing to share?
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
Hi:
I would like to know if there is a way to know the size foan image when
uploading it from a form page on PHP.
I know the weight can be measured with $file_size but what Im looking for is
to be able to validate if an image is more than 220pixels width or of
height.
Thanks in advance
EJB
1 - 100 of 187 matches
Mail list logo