27;s failing as I try to invoke the application and transferring control
to the error handler?
There has to be something either in the index.php, or a function it's
calling, that cannot find the opening display. I need to learn what's
happening so I can get this application running her
e page not found error,
or how to capture output from debug_print_backtrace.
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: 404 Not Found");
echo '
404 Not Found
produces:
PHP Parse error: syntax error, unexpected '@' in
/var/www/htdocs/cmsms/lib/misc.functions.php on line 223
How can I determine where ErrorHandler404() is being called so I can fix
the problem and get the
this problem for him?
Thanks in advance
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try setting JAVA_HOME then starting Eclipse. I got a similar error
because it was trying to load Java from the wrong directory.
Rich
Quoting Bagus Nugroho <[EMAIL PROTECTED]>:
Hi All,
When I'm trying to use eclipse on Linux, using command "java
-startup.jar",
stand regular expression
syntax - you'd need preg_replace() for that
rich
robust, fully featured) and the ZF is still in beta I think...
cheers
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try Zen cart http://www.zen-cart.com/modules/frontpage/ it is a fork of
osCommerce which is a very popular OS cart.
I've used it and customised it on a few sites without problems.
Cheers
Rich
Lisa A wrote:
I'm still looking for an inexpensive shopping cart to use on my client&
[chop]
How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?
Thanks for any help.
er .. session_regenerate_id()
hth
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I couldn't find this anywhere on google or PHP's site but I'm pretty sure
there's an answer to it.
How can I turn the following into something that resembles the ternary
operator?
is this what you're after?
$this = ($something ? $that : $this)
rich
--
PHP G
>
> Can't you sort the array?
>
>
>
Yes of course but that wasn't the point of my post I was trying to
show that the same code produces differing results on 2 different
versions of PHP ...
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ces on our provider's server...
4.2.3
Array ( [0] => Zero [1] => One [2] => Two )
and on my development server...
4.3.8
Array ( [1] => One [2] => Two [0] => Zero )
hth
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my server-software is too
> old or am I using the wrong function?
...the wrong function - use mysql_fetch_assoc()
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> what function can I use to count the number of occurences of a certain
> character in a string?
substr_count() ...?
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o change into
> the directory
> via cron first?
It is probably because the cron daemon cannot find the php binary in its
path try it like this...
> 0 6 * * * /full/path/to/php/binary/php
/home/www/project/app_cron/follow_up_new_members.php > /dev/null
hth
rich
--
PHP General Mailing Li
iled: No such file or directory (2) in
> c:\apache\htdocs\dbmdata\admin\61646d696e.php on line 2
>
check you have edited the correct php.ini -- run and check
where the ini file is to make sure you changed the correct one...
hth
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
> If a user is logged in via http (authentification e.g. with .htaccess and
> .htpasswd file), how can i get the username of the current logged in user?
>
> Thanx
> Harry
try $_SERVER['PHP_AUTH_USER']
rich
--
PHP General Mailing List (http://www.php.net/)
To
very much lagging.
> I basically want a file to be passed back to me, via a web front end
>
> Kind Regards
> Brent Clark
not sure what you're after here as mambo gives you an option to download the
file to the local computer when you selct backup database... do you not see
that opt
avascript enabled code using
document.write() which will be ignored by disabled clients and then use
tags to enclose whatever stuff is necessary for the
disabled clients?
Just a thought
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tom background script listening on a socket - send a request to
that socket from your web page...
. IPC through shared memory...
. probably loads more...
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Notice: Undefined index: user_id in
> /home/pance/public_html/menu.php on line
> 13
>
> Has anybody else come accross this problem - and how did you solve it?
>
> Pance Stojkovski
are you using session_start() at start of each page that manipulates
$_SESSION ?
rich
--
quot; on your form for file uploads
. Watch out for max file size being exceeded -- check the php manual on
'Handling file uploads'
. If register_globals is off on your server you'd better start looking at
using the $_FILES superglobal (check the manual)
. use move_upload
'update mytable set
my_int_column = my_int_column + 1 where blah blah ...');
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;ll probably need to check this name as I haven't any docs to hand at the
moment) setting in your my.ini file...
HTH
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh, sorry I've worked it out!
The bug was on a different part of the line!
Cheers,
Richard
--
UEA/MUS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello List,
I'm trying to extract the sub-string from a string which appears between a
pair of brackets,
e.g. from "Mozart Requiem (15)"
I want to extract the string "15"
I tried this:
substr($s, (strpos($s, "(") + 1), (strpos($s, ")") - strpos($s, "(") - 1))
but it returned the error:
"Parse
u mean exchanging data between PHP and javascript without incurring a
page reload ... well it is definitely possible using javascript remote
scripting techniques and a hidden iframe however if the browser has
javascript switched off then this won't work of course...
Cheers
Rich
--
PHP Gen
How can I establish a connection with a MySQL database and have it persist
accross multiple script files?
I've found the mysql_pconnect() function but this doesn't seem to do the job
- which is fairly logical actually because the connection is stored in a
variable:
$connect = mysql_pconnect();
a
No, he's right - this is an issue.
Do variables persist between PHP files?
In the attached scripts I have a login page which directs the user, on a
sucessful login, to a front page which is a frameset.
The login.php opens a connection to a MySQL database ($connection) but once
the browser has be
;arg:/xml", "arg:/xslt", NULL,
$arg_buffer, $params);
xslt_free($xh);
$arg_buffer = array("/xml" => $results_xml_string, "/xslt" =>
$display_xsl_string);
$xh = xslt_create();
$results_html_string = xslt_process($xh, "arg:/xml", "arg:/xslt&
xml!
See http://www.cursus.uea.ac.uk/cdlib/ for error messages in action (search
terms which will find records include 'Boulez', 'Messiaen').
Does anyone know why:
xslt_process($xh, 'sample.xml', 'sample.xsl', 'result.xml')
doesn't work? (lifted straight from the manual)
Cheers,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ray Hunter wrote:
>
>> xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl',
>> --> 'results.xml', NULL, $params);
>> $data = xslt_process($xh, 'results.xml',
>> --> 'simple-search-display-results.xsl', NULL, NULL, NULL);
>
>
> What happens when you do the above...what is the var_
'simple-search-display-results.xsl', NULL, NULL, NULL);
and:
$results = xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl',
--> NULL, NULL, $params);
$data = xslt_process($xh, $results, 'simple-search-display-results.xsl',
--> NUL
But *why* does logic.php need html.php?
There is no recursion issue, or endless nesting of includes, because
html.php refers to logic.php as an action for a form... this does not
"include" the logic.php code into the html.php page.
Rich
"Karina S" <[EMAIL PROTECTED]
Yeah, that did it, thanks
"David Otton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 17 Oct 2003 11:29:41 -0400, you wrote:
>
> >I hope this question is not too stupid! When I have an error in my
script,
> >it seems to me that the web server, or in my case the php CGI modu
script and the browser just shows me a blank page. Is this because I am
running php as a CGI module?
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
enting this for MS
SQL Server?
Thanks
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
robably doing something very stupid.
Marek Kilimajer wrote
> Output from action.php:
>
> opener.location.reload();
> close();
>
>
> Rich Fox wrote:
> > Warning for server side purists: My php scripts use javascript to popup
and
> > close windows. So this question, al
ript']."?ID=".$_POST['ID']);
exit;
}
...
This reloads the popup window, and then I have a "close" button to close the
popup. Then I have to refresh the browser window manually to see the updated
table from the database. Can I get some advice on how to
Can someone point me to documentation on the <<< operator? I am wondering if
there are some quirks I don't know about. Yet I can't find it documented on
the php website.
THanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can't you let me have a shred of programming self-respect?
Rich (I should have cracked the book) Fox
> On Thu, 2003-09-25 at 12:04, Rich Fox wrote:
> > DOH!
> >
> > This is a new addition to PHP because it wasn't there before!
> >
> > Thanks for the sl
ila, you've taken the first step towards
> helping yourself.
>
> Cheers,
> Rob.
>
>
> On Thu, 2003-09-25 at 11:42, Rich Fox wrote:
> > Hi,
> > Is there an equivalent to the C++ 'break' command to stop execution of a
for
> > loop? I know I
e rest of the code in the for loop
and immediately goes on to the next iteration?
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
');
This does not work, of course, but you get the idea: I want to use the value
of the $callerWin php variable in my javascript. Can someone tell me the
syntax for this? My reading of the documentation and trial-and-error have
not met with success.
thanks,
Rich
--
PHP General Mailin
Sorry, we have a Eugene Lee at my aikido school and it's such an unusual
name I thought you might be him.
"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, Sep 21, 2003 at 03:01:41PM -0400, Rich Fox wrote:
> : "Eugene Lee" <
That's not Eugene from the dojo is it?
Rich
"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If I have a block of text saved in an external text file, e.g.:
>
> All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}.
>
>
select1 list. I am going to try this, but I would still greatly appreciate
any advice. Thanks, Rich
"Rich Fox" <[EMAIL PROTECTED]>
> I have been asking specific questions, and getting helpful answers, but I
> realized I am getting ahead of myself and thinking about the tr
ppreciated.
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
And if you are not in a form? My current code is:
where popup is my javascript function. But as I said below, the popup
doesn't work as expected and I do not want to use javascript. I can also not
be in a form. Suggestions?
Rich
"Marek Kilimajer" <[EMAIL PROTECTED]
to run search.php. What is
the accepted way to do this in php?
tia,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a popup window, itemSelect.php, from which I would like to reload the
calling page. itemSelect.php has a form, and I want to reload the calling
page with these form variables. How can I do this? I can reload the page
easily enough, with
--
PHP General Mailing List (http://www.php.net/)
To
lling page?
Many thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> * Thus wrote Rich Gray ([EMAIL PROTECTED]):
> > So your telling me that all variables defined in the global scope are
> > automatically added to the $_SESSION array...?
> > Not true I think
> >
>
> no. read the documentation, in full.
you're righ
>
> * Thus wrote Rich Gray ([EMAIL PROTECTED]):
> > Well a functon that doesn't work under certain conditions should be
> > deprecated IMO ... I haven't used it for a long time now...
>
> this makes absolutly no sense. So if I use a function improperly,
> it
So your telling me that all variables defined in the global scope are
automatically added to the $_SESSION array...?
Not true I think
> [snip]
> Well a functon that doesn't work under certain conditions should be
> deprecated IMO ... I haven't used it for a long time now...
>
> To answer your
#x27;test'] to -1 in my code example ...
Rich
> [snip]
> Thanks, but no I don't think so ... session_register() is deprecated ...
> [/snip]
>
> Not depricated, just doesn't work when register_globals is off in the
> .ini
>
> Have you done a print_r($_S
uses session_register(), it will not work in
environments where the PHP directive register_globals is disabled.
Cheers
Rich
>
> [snip]
> session_start();
> $test = -1;
> .
>
> [/snip]
>
> I think you need to register test
>
> http://us3.php.net/sessio
Jan
Sorry - no that doesn't help - as you can see from the code snippet I posted
the session_start() is at the very top of the code...
Thx anyway.
Rich
>
> You have to put session_start(); at the VERY TOP of your code.
> even before alle the tags.
> Hope that helps!
>
>
here?
Thx
Rich
> --- Rich Gray <[EMAIL PROTECTED]> wrote:
> > I'm running v4.2.3 on RedHat v7.0 and am getting some strange
> > behaviour with the $_SESSION superglobal...
> ...
> > It works fine on Win2K albeit v4.3.0 of PHP.
>
> Maybe you have register_glo
ever get assigned
to the $_SESSION array ... it seems to be picking up the initialised value
of the variable that gets assigned to the array...
It works fine on Win2K albeit v4.3.0 of PHP.
Anybody come across this before?
Cheers
Rich
Initial script load ... $_SESSION value is
'.(isset
t;
> Has anyone got an idea why this might be hapenning?
>
> Many thanks.
>
> Scott
Hi Scott
I believe this is a problem because of the relatively old TDS libraries used
by native access methods...
Possible workarounds are...
. cast the data to TEXT before returning it
. use ODBC whic
mktime() to help you generate unix
timestamps.
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,slideimages[1],slideimages[2]";
> $string = preg_replace('/^./','',$string,1);
>
> wich results in slideimages[0]slideimages[1]slideimages[2]
> Can somebody help me out here??
>
> thnx
> Thijs
$string = substr($string,1);
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
string - unless this is a typo in your post
. fwrite() returns an int - you are assigning this int to $contents - what
exactly are you expecting $contents to be set to?
. Does your user or web server process have the permissions to create files
in the directory?
. What does readfile('sandrew.html
gt; way.
>
> Any thoughts? Comments? RTFM suggestions?
>
> Mike
>
Use a 404 handler to build static html pages from the database. To refresh
the content just delete the static content - this could be done
automatically at predetermined intervals using cron or similar.
FFT
Rich
--
PHP
hnks
> Charles
>
I presume you mean area_name...
Try this -> SELECT a.area_name as area_a, b.area_name as area_b FROM tbl_1
x, tbl_2 a, tbl_2 b
Then you can refer to the columns as $array['area_a'] and $array['area_b']
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> > Take out the @ sign so you can see what the PHP error message is.
> >
> > ---John Holmes...
Try using move_uploaded_file() as well...
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
needed.
>
> Thanks,
> Amanda
>From what you say above I'd check the permissions on the 3rd target
directory to check if it allows writes by the web server process. Are all 3
files going into the same directory? Is the server *nix or Windows?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p.php has only the following:
> echo "hi how are u";
> ?>
>
> please help,
> diksha.
Can you post the form code?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sible on
the target server. It can be outside the document root though if it bothers
you...
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
..
I think it's because the '=$blah' syntax relies on short tags ...
and short tags can upset XML parsers... as a result short tags aren't
supported by all hosting providers so your code could break if ported
to another site...
Cheers
Rich
--
PHP General Mailing List (
t problem so fix
the bad session temp directory and they will probably disappear.
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Rich,
> I've checked my php.ini files on my drive and all I've got is one.
>
> The php_gd2.dll file is in:
>
> C:/PHP/extensions
>
> There was no default folder called extensions when I installed
> PHP so I made
> a directory called extensions under PHP.
&
ySQL list but there was a known issue with
RAND() on 3.23.54 - can you upgrade? If your table has an auto_increment ID
column then a workaround would be to use rand() in PHP to generate a random
ID then use that with a 'where id = '.$id in your query...
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l connecting to
> the master
> , and if i shut down the master it wont goto the slave :|
>
>
Not sure I understand ... are you saying that
mysql_connect('localhost:3307','user','password') connects to the master
server? Can you describe the problem i
stall GD libraries greatly appreciated.
> Thank you.
> Tony Ritter
Hi Tony
Still battling GD I see :)
Are there any errors in the Apache error.log?
What happens if you change your php.ini directive to ...
extension_dir = C:/php/extensions
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> If I exec a command like ifconfig, I'd like to be able to parse. What is
> the best way to go about thihs? An example output from ifconfig is:
Check http://www.php.net/manual/en/function.passthru.php
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
es
> $teller.
>
> Anyone know a way to make this work?
>
> Thanks alot!
>
> Lars
I've probably misunderstood but can you not use an HTML anchor...?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> When using the COM functions in PHP what is the equivalent of
> ASPs "set object=nothing"?
> I am using the Crystal Report objects and I cannot seem to
> destroy my Report object.
Have you tried setting it to NULL?
Rich
--
PHP General Mailing List (http://www.ph
this may suit your needs.
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mike
Try ...
Rich
> -Original Message-
> From: rentAweek support [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2003 17:32
> To: [EMAIL PROTECTED]
> Subject: [PHP] Counting table fields having specific values
>
>
> I have a table where the row named "
; Stephen Ford, Surrey, UK
Try any of these to see if it is what you want - some are absolute some are
relative ...
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
unning the PHP scripts on and what version
of PHP is it?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Thanks.
>
> Matt
What version of PHP are you running on your personal ftp server? Is your
personal server Win32? There was a bug with ftp_nlist()/ftp_rawlist() on
Windows that wasn't fixed till v4.3.x IIRC
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nd/tut/
http://www.php.net/manual/en/tutorial.php
http://www.devshed.com/Server_Side/PHP
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rror: Couldn't decode image URL\n";
> }
Michael
Have you tried header('Content-type: image/jpeg') ?
Note the 'e'...
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Um... how about...
echo 'Welcome '.$_SESSION['username'].', you are still logged in and your
authentication level is '.(isset($_SESSION['level']) ? $_SESSION['level'] :
'unknown');
Or am I missing something here?
Rich
> -Origi
Er... well I've seen a lot worse code than that but maybe you could use ...
if (isset($_SESSION['username']) && !empty($_SESSION['username'])) {
echo 'Welcome '.$_SESSION['username'].', you are still logged in.';
}
e
_FILES['attach']['tmp_name'])) {
// Blah Blah Blah
}
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
omething
> it still goes through but with all the error messages and an
> empty attachment
> at the recieving end. Only thng that has changes was upgrading
> PHP from 4.0.6
> to 4.3.0
>
Hi Brian
Why are you using $_GET[] when your form is submitting via the 'post'
metho
in
> /usr/virtual/share/pkgs/installed/aeromail/1.40/aeromail/send_mess
> age.php on line 30
>
> After upgrading from 4.0.6 to 4.3.0
>
Most probably because with 4.3.0 register_globals is set to OFF by default -
where does $attach get set?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssed via the url if cookies are being refused. But then of course
your session support is gone for that particular browser/user.
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You are using the post method not get so $_GET[] should be empty.
Does this version of your code work?
Input yourname
Rich
-Original Message-
From: Frank Keessen [mailto:[EMAIL PROTECTED]]
Sent: 25 January 2003 11:33
To: Johannes Schlueter; [EMAIL PROTECTED]
Subject: Re: [PHP] If
Phil
It should be as easy as ..
You'll need a session_start() on all pages that will be using the
$_SESSION[] array.
Is your session.save_path pointing to a writable directory? Do you see any
errors in the server logs when you try to start a session?
Rich
-Original Message-
From:
Mike
IIRC this is a known bug with IIS (not PHP) when it gets the http redirect
it junks the cookie - sorry I can't remember much more detail than that...
Workaround maybe is to spit out an HTML based META refresh redirect tag
instead of using the header() call.
HTH
Rich
-Original Me
PHP does not yet support private methods ... your problem with getValue() is
most probably because register_globals is off in your php.ini try
substituting $_POST[] for $HTTP_POST_VARS[] and it may start to work...
HTH
Rich
-Original Message-
From: Nicholas Wieland [mailto:[EMAIL
Sorry I'm a bit late in on this thread but I know there is a problem with
sessions with 4.1.2 with IIS 5 over Win2K... is that your platform? I
encountered it a while back and there is a hack/workaround which I can dig
up if you need it...
HTH
Rich
-Original Message-
From: Tim Tho
And if you select a small file it works fine right?
-Original Message-
From: Somesh [mailto:[EMAIL PROTECTED]]
Sent: 20 December 2002 12:29
To: Rich Gray
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] How to upload a file
post_max_size 8M
upload_tmp_dir
It fails immediately after clicking
Shaun
Run getimagesize() on the uploaded file - if a valid jpeg the returned
array[2] will be set to 2...
http://www.php.net/manual/en/function.getimagesize.php
HTH
Rich
-Original Message-
From: shaun [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2002 02:24
To: [EMAIL PROTECTED]
Subject
Does it work if you put quotes around the array keys as follows...
echo $line['idn'];
echo $line['total'];
echo $line['idp'];
echo $line['position'];
echo $line['points'];
Rich
-Original Message-
From: Beauford.2002 [mailto:[EMAIL PROTEC
1 - 100 of 144 matches
Mail list logo