use natsort.
use natsort.
For the repetitive answers specialists: Is it possible that 15
hours later someone is still only seeing the original question?
Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah well, it is indeed sometimes, for someone a bit sleepy yet rather
responsible hehe. Btw, m new here, need to get my head around soon i guess.
Cheers.
From: marc.g...@gmail.com
Date: Thu, 15 Sep 2011 07:54:00 -0400
CC: php-general@lists.php.net
Subject: Re: [PHP] Re: Sort problem
On 2/1/2011 2:42 PM, Donovan Brooke wrote:
Hello,
I have CMS form that allows HTML for the body of a site.
To keep the form somewhat WYSIWYG, I am using the
nl2br() function for displaying:
nl2br($t_body)
This works great for normal stuff.. but for pages with tables
etc.. it creates a lot
Al wrote:
[snip]
You have an example of a page you'd like to control that we can see?
On the surface, it appears you may be able to control the rendering with
advanced CSS2/3 selectors. Thus, the browsers will do the work for you.
Al..
Hello, yes and no.. ;-) Right now browsers
I've fixed the problem.
I don't know why, but suddenly windows prevents PHP from writing into
C:\windows\temp directory.
Moving the session and log files to another directory solved the problem.
Until few days ago it worked. I've now to discovered what was changed in
windows configuration.
Walter,
Session variables may be using cookies which in turn create temp files for
storing such cookies.
Ravi.
On Tue, Dec 21, 2010 at 11:32 AM, Walter Caielli
walter.caie...@ars21.netwrote:
I've fixed the problem.
I don't know why, but suddenly windows prevents PHP from writing into
Hello Jan G.B.,
Am 2010-04-26 11:52:02, hacktest Du folgendes herunter:
I would recommend not to let any user input to your shell. This piece
of code is very insecure as any client may manipulate the shell
command at will.
It is ony a simplified example... The original shell_exec() is
Hello Peter,
Am 2010-04-26 09:28:28, hacktest Du folgendes herunter:
var_dump($isfile);
Don't make assumptions of what the value is, just check it.
Yes and grmpf!
The filename has a space at the end but it can not removed even using
var_dump(str_replace(' ', '', $isfile);
if I put a
On 26/04/10 16:56, Michelle Konzack wrote:
Hello Peter,
Am 2010-04-26 09:28:28, hacktest Du folgendes herunter:
var_dump($isfile);
Don't make assumptions of what the value is, just check it.
Yes and grmpf!
The filename has a space at the end but it can not removed even using
On Mon, 2010-04-26 at 17:56 +0200, Michelle Konzack wrote:
Hello Peter,
Am 2010-04-26 09:28:28, hacktest Du folgendes herunter:
var_dump($isfile);
Don't make assumptions of what the value is, just check it.
Yes and grmpf!
The filename has a space at the end but it can not removed
Hello Pete,
Am 2010-04-26 17:04:32, hacktest Du folgendes herunter:
Is it possible that the space is a new-line (or a carriage-return) ?
grmpf! -- That it was...
preg_replace('/\s+$/','',$FILE);
Works now!
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Matthias Laug schrieb:
var_dump(strftime(%d.%m.%Y %H:%m,$time));
---^
The minutes are always 10, no matter what time I get.
%m = month
%M = minute
Regards,
Carsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
This is on a Ubuntu 9.04 box. I did not try to open the file but just
listing out
the directory gives the size and it is 0. If I try to cat out the
contents, there is
nothing (I guess that does an open on it)
-Andres
Ralph Deffke wrote:
it would be interesting on what os u are working as
it would be interesting on what os u are working as well. did u try to open
the file?
on windows often a file is reported as 0 bytes as of failing the refresh in
explorer.
ralph_def...@yahoo.de
Andres Gonzalez and...@packetstorm.com wrote in message
news:4aae510e.8030...@packetstorm.com...
I
Is it that some code, creating this error u talking about, is reading the
init file?
I would guess so, to me it looks like if u open the file dirctly the scrupt
is suppost to die. that seems like a little funny protection not no show the
init parameters.
if thats the case u got to send the code
tedd wrote:
Hi gang:
I want to show the dates for all Fridays +-30 days from a specific date.
For example, given today's date (8/11/2009) the Fridays that fall +-30
days are July 17, July 24, July 31, Aug 7, Aug 14, Aug 21, Aug 28, and
Sept 4.
I'm curious, how would you guys solve
Shawn McKenzie wrote:
tedd wrote:
Hi gang:
I want to show the dates for all Fridays +-30 days from a specific date.
For example, given today's date (8/11/2009) the Fridays that fall +-30
days are July 17, July 24, July 31, Aug 7, Aug 14, Aug 21, Aug 28, and
Sept 4.
I'm curious, how would
The solution don't need to be with regex, if anyone can solve this with
other way will be very helpfull .
Regards,
Igor Escobar
Systems Analyst Interface Designer
+ http://blog.igorescobar.com
+ http://www.igorescobar.com
+ @igorescobar (twitter)
On Fri, Jul 31, 2009 at 2:23 PM, Igor
Igor Escobar wrote:
The solution don't need to be with regex, if anyone can solve this with
other way will be very helpfull .
Regards,
Igor Escobar
Systems Analyst Interface Designer
+ http://blog.igorescobar.com
+ http://www.igorescobar.com
+ @igorescobar (twitter)
On
Igor Escobar wrote:
No no, i need to make an regex to match the bold areas in my string.
Anything between single quotes or double quotes (including quotes and
double quotes). Understand?
Regards,
Igor Escobar
Systems Analyst Interface Designer
+ http://blog.igorescobar.com
+
Shawn McKenzie wrote:
Igor Escobar wrote:
No no, i need to make an regex to match the bold areas in my string.
Anything between single quotes or double quotes (including quotes and
double quotes). Understand?
Regards,
Igor Escobar
Systems Analyst Interface Designer
+
Hi.
On Saturday 13 June 2009, Al wrote:
I may not have been very clear. Feed it just test with the
quotes. You should get back, test the same as you gave it. Instead,
I get back quote;testquote;
Like Shawn, I have tried your code in isolation and only get the expected
results. I
On Sat, Jun 13, 2009 at 5:16 PM, Aln...@ridersite.org wrote:
Al wrote:
This preg_replace() should simply replace all with amp; unless the
value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it
Al wrote:
This preg_replace() should simply replace all with amp; unless
the value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it should in Regex_Coach.
echo $value.'br /';
Shawn McKenzie wrote:
Al wrote:
This preg_replace() should simply replace all with amp; unless
the value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it should in Regex_Coach.
echo $value.'br
Shawn McKenzie wrote:
Al wrote:
This preg_replace() should simply replace all with amp; unless
the value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it should in Regex_Coach.
echo $value.'br
Al wrote:
This preg_replace() should simply replace all with amp; unless
the value is already amp;
But; if $value is simple a quote character [] I get quote. e.g.,
test = quote;testquote;
Search string and replace works as it should in Regex_Coach.
echo $value.'br /';
PJ wrote:
The code:
...snip
div id=loginbox
form name=login method=post action=? echo
$_SERVER['PHP_SELF'] ?
h2accegrave;s client br /input type=text
name=title value=? echo $user; ? size=10 /br /
mot de passe br /input type=text name=title value=?
echo $passwd;
Al wrote:
I also use the
HTML Validator extension. Leave it active and as you develop and test
your resultant html code, it'll check your pages on the fly. When you
see the red circle, with a cross, click the circle and get an error
report in detail.
Hey wow - that's nifty.
I've got
Michael A. Peters wrote:
Al wrote:
I also use the HTML Validator extension. Leave it active and as you
develop and test your resultant html code, it'll check your pages on
the fly. When you see the red circle, with a cross, click the circle
and get an error report in detail.
Hey wow
Al wrote:
Michael A. Peters wrote:
Al wrote:
I also use the HTML Validator extension. Leave it active and as
you develop and test your resultant html code, it'll check your pages
on the fly. When you see the red circle, with a cross, click the
circle and get an error report in detail.
PJ wrote:
PROBLEM 1 solved: errant divs removed; strange that they were
inhibiting entry of data into form field?
PROBLEM 2 not resolved: but the form was off the page and clipped in
upper right hand corner. What can be done to get it to show correctly?
Remove the link to any stylesheets
Luke wrote:
Right I've read the manual on this and all that so hopefully you find people
can help.
I have an abstract class with three children. The abstract is ForumObject
and the three children are Thread, Category and Post and each have their own
table so I wrote the following:
abstract
2009/5/29 Shawn McKenzie nos...@mckenzies.net
Luke wrote:
Right I've read the manual on this and all that so hopefully you find
people
can help.
I have an abstract class with three children. The abstract is ForumObject
and the three children are Thread, Category and Post and each have
No one willing to help?
On Wed, May 13, 2009 at 08:48, Lenin le...@phpxperts.net wrote:
No one willing to help?
Please don't bump your own threads on here. It creates
unnecessary traffic. Someone will respond to you when they can, or
you can explore one of the thousands of other avenues for support on
the
Am 2009-04-04 10:13:52, schrieb Per Jessen:
Michelle Konzack wrote:
Now selecting de as prefered language is working, but if I
select de_DE in Firefox, the second term About Us is
something like Ãber Uns insteed Über Uns because the Website is
UTF-8.
Indeed. I'll
thanks Jim - I change over to SwiftMailer and its working well.
Jim Lucas li...@cmsws.com wrote in message
news:49ae0375.2040...@cmsws.com...
Stephen Hutchison wrote:
I'll check with my ISP but if is that then it's a very low limit. I'm
finding it's only allowing two or three through before
This appears to by a problem with the mail function. When I comment out the
lines:
if (mail($recipient, $subject, $message, $headers))
echo 'Succeededbr';
else
echo 'Error - please check your e-mail addressbr';
and replace them with:
echo $recipient . 'brbr';
echo $subject .
Stephen Hutchison wrote:
This appears to by a problem with the mail function. When I comment out
the lines:
if (mail($recipient, $subject, $message, $headers))
echo 'Succeededbr';
else
echo 'Error - please check your e-mail addressbr';
More likely a mail server issue rather than the
I'll check with my ISP but if is that then it's a very low limit. I'm
finding it's only allowing two or three through before hanging.
Is there something i can put in my code so that it at least fails
gracefully? It's not a good look just hanging like that.
Thanks
Stephen
Chris
Stephen Hutchison wrote:
I'll check with my ISP but if is that then it's a very low limit. I'm
finding it's only allowing two or three through before hanging.
Is there something i can put in my code so that it at least fails
gracefully? It's not a good look just hanging like that.
Thanks
'Twas brillig, and Nathan Nobbe at 11/02/09 00:10 did gyre and gimble:
a lot of php extensions are not thread safe, perhaps apc is one of them.
most people compile apache w/ mpm_prefork rather than mpm_worker for this
reason.
I know the problem is solved now but I think APC is pretty solid
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply won't execute only that function in php
file. So maybe I should add something to http.config file or ? I
tried to execute that php file under Windows and it's working just
fine (I've copied
2009/2/7 Dušan Novaković ndu...@gmail.com
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply won't execute only that function in php
file. So maybe I should add something to http.config file or ? I
tried to execute that php file under
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote:
2009/2/7 Dušan Novaković ndu...@gmail.com
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply won't execute only that function in php
file. So maybe I should add
if($_FILES['file']['name'] $_FILES['file']['size']55){
$file_name =
news_.$_FILES['file']['name'];
$image=../_img/news/.$file_name;
Chris schrieb:
if($_FILES['file']['name'] $_FILES['file']['size']55){
$file_name = news_.$_FILES['file']['name'];
$image=../_img/news/.$file_name;
//Upload file
On Sat, 2009-02-07 at 14:03 +0100, Carlos Medina wrote:
Chris schrieb:
if($_FILES['file']['name'] $_FILES['file']['size']55){
$file_name = news_.$_FILES['file']['name'];
$image=../_img/news/.$file_name;
2009/2/7 Dušan Novaković ndu...@gmail.com
On Sat, Feb 7, 2009 at 12:29 PM, Alpár Török torokal...@gmail.com wrote:
2009/2/7 Dušan Novaković ndu...@gmail.com
Hi,
I'm having problem with function move_uploaded_file() under Linux
(Slackware 12.2). It simply won't execute only that
make sure the permissions on the folders are right, so at least read for the
httpd in the tmp folder and write in the destination folder. since its
moving i would make them both writeable to the webserver daemon user.
permissions can be annoying are necessary though...
They caught me quite a few
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm-1221459903.log
and if
Shawn McKenzie wrote:
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
Shawn McKenzie wrote:
Michelle Konzack wrote:
Hello,
currently I am coding a RSS feeder for the Emdebian buildd-log and for
testing I use two files:
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
Hello Shawn,
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Thanks for it, now I have an array but the |head -n 11 is ignored and
my arrays have up to several 10.000
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Forgotten one thing: If I continue to process the array() with, e.g.,
$POS=strpos(stripcslashes($TMP_DATA['0']), :
Am 2009-01-29 16:09:00, schrieb Shawn McKenzie:
Actually though, instead of exec() why not something like:
$TMP_DATA = explode(\n, $BUILDLOG, 11);
Tried... but now I have 11 elements wher in the last element is the
whole rest of the BUILD-Log... continue trying!
Thanks, Greetings and
Michelle Konzack wrote:
Am 2009-01-29 16:09:00, schrieb Shawn McKenzie:
Actually though, instead of exec() why not something like:
$TMP_DATA = explode(\n, $BUILDLOG, 11);
Tried... but now I have 11 elements wher in the last element is the
whole rest of the BUILD-Log... continue
Michelle Konzack wrote:
Hello Shawn,
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Thanks for it, now I have an array but the |head -n 11 is ignored and
my arrays
Michelle Konzack wrote:
Am 2009-01-29 15:34:41, schrieb Shawn McKenzie:
exec(escapeshellcmd(echo '$BUILDLOG' | head -n 11), $TMP_DATA);
There are quotes or backticks or something in $BUILDLOG.
Forgotten one thing: If I continue to process the array() with, e.g.,
shahrzad khorrami wrote:
hi all,
I want to send email using SMTP Authentication with PHPMailer,
I searched more and more but I can't find anything of my problem
///
include_once('class.phpmailer.php');
Hi,
On 29 dec 2008, at 08:57, c...@l-i-e.com wrote:
File a bug report at
http://bugs.php.net
You have a pretty clear-cut case of a built-in function gone awry,
and it will probably be fixed pretty fast.
I also rely on this function quite a bit, so it needs to work right
when I end up at
:-)
From: Ben Stuyts [...@altesco.nl]
Sent: Sunday, December 21, 2008 7:12 AM
To: Manuel Lemos
Cc: php-general@lists.php.net
Subject: Re: [PHP] Re: imap_rfc822_parse_adrlist problem
Hi,
On 21 dec 2008, at 03:41, Manuel Lemos wrote:
on 12/20/2008 09:34 PM Ben Stuyts said
Hi,
On 21 dec 2008, at 03:41, Manuel Lemos wrote:
on 12/20/2008 09:34 PM Ben Stuyts said the following:
Hi,
Since upgrading to php 5.2.8 I have a problem with
imap_rfc822_parse_adrlist. When I run the example given on the manual
page at http://nl3.php.net/imap_rfc822_parse_adrlist:
...
So
Hello,
on 12/21/2008 11:12 AM Ben Stuyts said the following:
Since upgrading to php 5.2.8 I have a problem with
imap_rfc822_parse_adrlist. When I run the example given on the manual
page at http://nl3.php.net/imap_rfc822_parse_adrlist:
...
So the host part isn't filled in correctly. I have
Hello,
on 12/20/2008 09:34 PM Ben Stuyts said the following:
Hi,
Since upgrading to php 5.2.8 I have a problem with
imap_rfc822_parse_adrlist. When I run the example given on the manual
page at http://nl3.php.net/imap_rfc822_parse_adrlist:
$adds = 'ian eiloart i...@example.ac.uk,
Hello,
on 12/20/2008 09:34 PM Ben Stuyts said the following:
Hi,
Since upgrading to php 5.2.8 I have a problem with
imap_rfc822_parse_adrlist. When I run the example given on the manual
page at http://nl3.php.net/imap_rfc822_parse_adrlist:
$adds = 'ian eiloart i...@example.ac.uk,
Am 2008-11-05 08:49:02, schrieb Oscar Gosdinski:
On Wed, Nov 5, 2008 at 8:47 AM, Oscar Gosdinski [EMAIL PROTECTED] wrote:
Name the select tag as sub_projects[], then in PHP you can read the
$sub_project variable as an array.
Oops, my error... you have to use the $_POST['sub_projects']
Michelle Konzack a écrit :
and as you can see, there are three items taged... So, this part is
working fine, but if I select an additional item and hit SUBMIT I get
only:
How do you select it ? By a click or a ctrl-click ?
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
Greetings, Nathan Rixham.
In reply to Your message dated Wednesday, October 22, 2008, 20:54:22,
made this a while back.. might help :)
http://programphp.com/iconv.phps
Sorta... would be wise to have results of this detector cached in some way to
reduce startup times.
But it's nice, very nice
Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($webdate);
return
On 8 Oct 2008, at 12:42, Nathan Rixham wrote:
Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp =
Am 2008-09-21 14:34:18, schrieb Eric Butera:
Cute, get gmail and you won't have such problems.
I can not use gmail by law...
I am mot willing to share my self informations with the NSA/CIA or any
other US American Organizations, lso I am spamed masively by gmail and
googlemail and will never
Am 2008-09-21 15:21:51, schrieb Eric Butera:
I could also always bcc replies to you so you get three. How great
would that be? :D
I could setup a botnet and subscribe you to 100.000 usenet groups...
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V
On Thu, Sep 25, 2008 at 3:12 PM, Michelle Konzack
[EMAIL PROTECTED] wrote:
Am 2008-09-21 15:21:51, schrieb Eric Butera:
I could also always bcc replies to you so you get three. How great
would that be? :D
I could setup a botnet and subscribe you to 100.000 usenet groups...
Thanks,
Anders Norrbring a écrit :
I'm running out of ideas to where to look for this, so can you please
give
me some pointers?
I guess it is that you're seeking for :
http://fr.php.net/manual/en/outcontrol.configuration.php#ini.implicit-
flush
Thank you!
Worked just as I want..
Anders
Anders Norrbring a écrit :
I'm running out of ideas to where to look for this, so can you please give
me some pointers?
I guess it is that you're seeking for :
http://fr.php.net/manual/en/outcontrol.configuration.php#ini.implicit-flush
--
Mickaël Wolff aka Lupus Michaelis
Nevermind...
I made a mistake. I was actually parsing the string two times;
therefore, the source string was not encoded as ISO-8859 anymore the
second time.
It is working fine now...
Stefano
Stefano Noffke ha scritto:
Greetings,
I have a problem with iconv(), and I need help solving it.
Shaun wrote:
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No
Nathan Rixham escribió:
socket_strerror(socket_last_error()) maybe?
That i can see in PHP manual socket functions sre not bundled by default
in PHP 5.3.0 and above, so if i'm using the stream implementation, how i
can determine if a signal interrupt a stream_select call, the stream not
will
Marcos Lois Bermúdez wrote:
I'm rewriting an API to access OneWire Net, i have a problem with select
and signals. The class will support both types of sockets, trought BSD
sockets and with streams.
My problem is that when the PHP app is in socket select and a signal
arrives it threat it as a
Am I missing something obvious?
I am so sorry - I was missing something obvious.
At some early stage of my test, I had a /index.php on my test website
doing a: session_start()
And the apparently made my session work in both sub directories and
thus poisoning my test result.
After closing my
Can anyone explain what's going on. This works; but, I don't understand it.
Two folks pointed out I had my $remote and $local files reversed. I fixed that;
but, it still didn't work.
This does work:
$source_dir is the absolute path i.e., /home/x/public_html/EditPage
Thank you all for your tips and solutions !!
I use chmod and my upload form works fine ;)
Eric
Le 2007-05-09 à 10:23, Daniel Brown a écrit :
PHP has two functions that may help you here, Eric --- chmod() and
chown().
http://php.net/chmod
http://php.net/chown
It should be
After some other tests, I think the problem is with the rights of the
file.
I made tests on my personnal Mac that runs Apache/1.3.33 (Darwin) PHP/
4.4.4.
Settings in PHP:
file_uploads: On
upload_tmp_dir: no value (so it uploads in /var/tmp/)
upload_max_filesize: 2M
My destination folder
PHP has two functions that may help you here, Eric --- chmod() and
chown().
http://php.net/chmod
http://php.net/chown
It should be enough to chmod($filename,0644); the file if it's just an
image, or chmod($filename,0755); the file if it's a script.
On 5/9/07, Eric Trahan [EMAIL
Eric Trahan wrote:
Is there a way to change the owner or the group of a file in PHP.
http://uk2.php.net/chown
But remember the chown will fail if the user Apache is running under
does not have sufficient rights to perform the task.
Cheers,
Rich
--
Zend Certified Engineer
On Wed, May 9, 2007 9:15 am, Eric Trahan wrote:
After some other tests, I think the problem is with the rights of the
file.
I made tests on my personnal Mac that runs Apache/1.3.33 (Darwin) PHP/
4.4.4.
Settings in PHP:
file_uploads: On
upload_tmp_dir: no value (so it uploads in /var/tmp/)
I was thinking the same thing, Richard, but didn't say anything because
of my limited experience with MacOS. I know it's built on BSD, but to be
honest, I have no clue what may have changed over the years.
On 5/9/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, May 9, 2007 9:15 am, Eric
Have you tried your code on another server?
--
itoctopus - http://www.itoctopus.com
Eric Trahan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a form to upload file on my web server, so user can upload their
images.
The upload work. The user file is uploaded to my
Eric,
If you're checking the filesize via FTP, a web-based file manager, or
even the shell if it's a cross-platform upload, it can give bad data. Try
downloading the file and seeing if it's still working. If it does, try
uploading it via FTP and having a script check the md5 hash on the
On Thu, May 3, 2007 8:15 pm, Davis Chan wrote:
I also have a question about using this newsgroup, why is messages I
got
from using Thunderbird not as update as the digest I got via email?
Because PHP's nntp server has fewer gerbils.
--
Some people have a gift link here.
Know what I want?
I
Could you please post your code.
It sounds like you have a submit button that when clicked goes to a
javascript function which pops up a confirmation box. Is that correct?
On 5/3/07, Travis Moore [EMAIL PROTECTED] wrote:
If you're using window.location=./script.php?var=value, it's not
On Thu, May 3, 2007 6:45 am, Dan Shirah wrote:
...
On 5/3/07, Travis Moore [EMAIL PROTECTED] wrote:
If you're using window.location=./script.php?var=value, it's not
actually using a variable, it's using a string.
If you're just using the above as an example, then could you please
post
the
Hi! Everyone, here is the javascript function:
function Ask_Confirm()
{
response = confirm(Are you sure?);
if(response == true)
{
to_url = ./admin.php?to_be_rm= + document.forms[1].to_be_rm.value;
// alert(to_url);
window.location = to_url;
}
else
{
// Do
(sorry if you see 2 posts, I was trying to cancel a post, edit, and repost)
Hi! Everyone, Dan is right, after submit button is clicked, the
javascript function below is called. I am trying here is the javascript
function:
function Ask_Confirm() {
response = confirm(Are you sure?);
If you're using window.location=./script.php?var=value, it's not
actually using a variable, it's using a string.
If you're just using the above as an example, then could you please post
the line of javascript for redirecting.
Travis.
Davis Chan wrote:
Hi! New to this newsgroup and is
Is it possible that your zip file is bigger than your max filesize allots?
Most likely isn't the problem, but worth doublechecking.
Stephen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a form for uploading files. It is intended to upload photos. I have
it listed at the end.
You should check $_FILES, and your form tag should be like this
form action='yoursubmitfile' method='post' enctype='multipart/form-data'
--
itoctopus - http://www.itoctopus.com
Stephen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a form for uploading files. It is intended to
1 - 100 of 491 matches
Mail list logo