php-general Digest 23 Feb 2005 10:47:44 - Issue 3302
Topics (messages 209200 through 209221):
Re: Hi ALL
209200 by: Rory Browne
Having problem with ob_start('gz_handler'); (seg fault)
209201 by: Chris W. Parker
209212 by: Burhan Khalid
Re: ranking product based on
Hi,
I'm currently running Apache+PHP under Linux environment. And now
trying to connect to Ms Access (.mdb) database file which is shared by
a Windows station. What library I have to install use ?
Thanks,
Feris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
or if you aren't into regex (which I find confusing and still am trying
to learn):
Read the book Mastering Regular Expressions or first 300 pages of it - trust
me, it is worth the labour (personal experience)!
On Wednesday 23 February 2005 07:44, Ligaya Turmelle wrote:
if
Burhan Khalid wrote:
Jacques wrote:
Can I format an e-mail message with html tags inside the mail()
function? If not, how can I go about it? I would like to format the
layout of the e-mail message using tables, colors and perhaps images.
Please, FFS RTFM
Hello,
How can hide the typed password in web form with *** (asterix)? I dont wan't
everyone to seen evereone passwords in plain text.
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
William Stokes wrote:
Hello,
How can hide the typed password in web form with *** (asterix)? I dont wan't
everyone to seen evereone passwords in plain text.
Thanks
-Will
input type=password
and it's an asterisk, not asterix (the comic)
--
PHP General Mailing List (http://www.php.net/)
To
OK ;-)
M. Sokolewicz [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
William Stokes wrote:
Hello,
How can hide the typed password in web form with *** (asterix)? I dont
wan't everyone to seen evereone passwords in plain text.
Thanks
-Will
input type=password
and it's an
William Stokes wrote:
Hello,
How can hide the typed password in web form with *** (asterix)? I dont wan't
everyone to seen evereone passwords in plain text.
use a form element with type=password
e.g:
input name=WilliesPwdField type=passwd /
not really a php question this, also I'd put money on
Hi there!
How do I copy a file from an URL to my server?
I url fopen wrappers is NOT enabled, and I'm not allowed to do that.
/G
@varupiraten.se
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2005-02-10
--
PHP
Wiberg wrote:
Hi there!
How do I copy a file from an URL to my server?
I url fopen wrappers is NOT enabled, and I'm not allowed to do that.
do you have access to the cURL extension in your php build?
www.php.net/curl
if you do then you should be able to use to do what you want, might
take a bit of
Hello,
I got my little user authentication to work but now I would like to know how
to make and check the (upper/lower) case in password. To put it simple. I
want users password to be case sensitive.
The authentication checks for returned number of rows from DB. If there is
one matching row
Rory Browne wrote:
How to use this list best:
Search the archives at lists.php.net for [NEWBIE GUIDE] It was written
by Jay Blanchard earlier this year I believe. Read it.
heh Rory, is this aimed at me or did you just reply to my mail for
convienience? I happen to know the NEWBIE GUIDE quiet
William Stokes wrote:
Hello,
I got my little user authentication to work but now I would like to know how
to make and check the (upper/lower) case in password. To put it simple. I
want users password to be case sensitive.
The authentication checks for returned number of rows from DB. If there
Hey list
I have a mysql table like this:
Act_name
Act_type_id Act_date
Heyhey
1
22-06-05
Aloha
2
22-06-05
Tralala
2
22-06-05
Wuhu
1
22-06-05
Hehe
3
22-06-05
Olalal
3
22-06-05
Pompom
1
22-06-05
Wuhu
2
22-06-05
Now I retrieve all activities happening in the future
William Stokes wrote:
Hello,
I got my little user authentication to work but now I would like to know how
to make and check the (upper/lower) case in password. To put it simple. I
want users password to be case sensitive.
The authentication checks for returned number of rows from DB. If there
Michael Stearne wrote:
Hi,
I have an file that contains PHP code..variables, db, etc. Is it
possible to include the evaluted contents of that file into a variable
in another, the calling PHP script?
Essentailly I am looking to do something like
include(myCode.php) - HTML Output - $myVariable.
I
Wiberg wrote:
Hi there!
How do I copy a file from an URL to my server?
I url fopen wrappers is NOT enabled, and I'm not allowed to do that.
http://www.php.net/curl
or
use wget via system, exec, etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
dear sir,
i'd like to get a date from my database(mysql).and then show a combobox
of calendar(date-month-year) with the retrieved data selected.
can you help me doing this?? am new to php.
thanks,
karthikeyan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Reinhart Viane wrote:
Hey list
I have a mysql table like this:
[ snipped ]
Now I retrieve all activities happening in the future with this query:
$sqlact=select * from activities where act_date = NOW() order by
act_type_id;
$getact=mysql_query($sqlact)
What Im trying to do now is:
From
Hi
When uploading files using a type=file in a form, if a file is uploaded with
a single quote the file gets truncated to whatever is after the quote
eg.
blah'sblah.txt
will be uploaded as
sblah.txt
Is this a magic quotes issue?
What is the best way to deal with it?
Neil
--
PHP General
[EMAIL PROTECTED] wrote:
Hi
When uploading files using a type=file in a form, if a file is uploaded with
a single quote the file gets truncated to whatever is after the quote
eg.
blah'sblah.txt
will be uploaded as
sblah.txt
Is this a magic quotes issue?
I don't think so, test it by turning it
Hi,
I'm having two problems:
Firstly, the new update of go-pear.php I believe is not working. Does
anyone know when a new fixed one is being released?
Also, I'm having problems signing up to the pear.php.net lists - again,
anyone any ideas?
Cheers
Nunners
I have a series of paragraphs in which the first word contains
alternating spaces. How can I strip out the spaces of only this first
word, while leaving the remainder of the paragraph untouched?
Here's an example:
T h i s is the first paragraph. Only the first word is wacky.
A n o t h e r
Dear phpers,
I'm new to wml. And I got such problem:
I can browse my wml page with opera.
But when I use my Nokia 7650, I always get unknown reply error.
My server is redhat 9, My php is 4.2
The following is one of my test page.
?php
Header(Content-type: text/vnd.wap.wml; charset=UTF-8);
Jocham:
Uh???
First of all, no that was not intended at you. Dhanasekar asked a
question, and I answered it. I don't think the rest of your
message/attack is particularly relevent, with the above taken into
account.
I simply saw a question that I knew the answer to, and answered it as
best I
A little late but:
Robin Getz wrote:
If this runs for awhile things go very bad. This seems to be related to
a specific download manager called NetAnts that seems to be popular in
China.
http://www.netants.com/
Which attempts to open the same url for downloading 10-15 times at the
same
Aaron Gould wrote:
I have a series of paragraphs in which the first word contains
alternating spaces. How can I strip out the spaces of only this first
word, while leaving the remainder of the paragraph untouched?
This is not a solution, but something you can start off with. I haven't
error
Hello.
Im having some trouble when getting a query from a $_GET method
the problem is, when using $_GET, i get some charaters decoded as html
entities.
if i submit the word %sara% (example), is ok
but, if i submi the word %carlos%, i get Êrlos, witch is the translation
of html entity %ca
how
James Nunnerley wrote:
Hi,
I'm having two problems:
Firstly, the new update of go-pear.php I believe is not working. Does
anyone know when a new fixed one is being released?
Not sure. What error are you getting? It is possible that it is trying
to look for the PEAR scripts
[EMAIL PROTECTED] wrote:
Hi All,
Does unset() create a copy of the array and then overwrite the
original
somehow
destroying the reference?
...
---
?php
$stuff = array(array('one','two'),
array('one','two'),
array('three','four'),
Rory Browne wrote:
Jocham:
Uh???
First of all, no that was not intended at you. Dhanasekar asked a
question, and I answered it. I don't think the rest of your
message/attack is particularly relevent, with the above taken into
no attack meant - please tell the russians its a false alarm :-)
I
Bruno Santos wrote:
Hello.
Im having some trouble when getting a query from a $_GET method
the problem is, when using $_GET, i get some charaters decoded as html
entities.
if i submit the word %sara% (example), is ok
but, if i submi the word %carlos%, i get Êrlos, witch is the translation
of
Richard Lynch wrote:
Jochem Maas wrote:
Alex Gemmell wrote:
On Mon, 14 Feb 2005 22:51:42 +0100, Jochem Maas [EMAIL PROTECTED]
wrote:
Alex Gemmell wrote:
#Contain at least one number
if ( !preg_match ('/\\d/', $password) ) return false;
Im pretty sure the double backslash is a typo.
nice
Try using a function to do that.
My code looks like:
anyPHP.php:
your code stuff
...
Include (yourCode.php)
$variable=yourCodeFunction([params]);
Then yourCode.php could be:
function myFunction($param=0){
code
I need to transfer files between a server at my company and one of our
vendors. The vendor's running a SecureFTP (FTPS) server. In order to
automate this from our side, I've created a class that wraps the ftp
functions in an object.
When I test my class on a standard FTP server, everything
Bruno Santos wrote:
Hello.
Im having some trouble when getting a query from a $_GET method
the problem is, when using $_GET, i get some charaters decoded as html
entities.
if i submit the word %sara% (example), is ok
but, if i submi the word %carlos%, i get Êrlos, witch is the translation
Maybe try the active/passive thing...
Often-times, the client/server will/won't allow one or the other, based on
their idea of what's safe/fast.
Disclaimer: For all I know, FTPS doesn't even HAVE active/passive
distinction; Just guessing based on regular FTP problems posted in the
past.
Tim
Aaron Gould wrote:
I have a series of paragraphs in which the first word contains
alternating spaces. How can I strip out the spaces of only this first
word, while leaving the remainder of the paragraph untouched?
Here's an example:
T h i s is the first paragraph. Only the first word is
Jay Blanchard wrote:
[snip]
I want to create a single php file which will be able to display
multiple html
forms.
Like this: Form1 - Form2 - Form3.
After the user completes and submits Form1, the script will process it
and
display a different form. etc...
I am new to php, I would need some
K Karthik wrote:
i'd like to get a date from my database(mysql).and then show a combobox
of calendar(date-month-year) with the retrieved data selected.
can you help me doing this?? am new to php.
http://www.google.com/search?q=PHP+date+combobox
--
Like Music?
http://l-i-e.com/artists.htm
--
Burhan Khalid wrote:
?php
$string = 'E n d l e s s insanity here!';
$letters = explode( ,$string);
foreach ($letters as $key = $letter)
{
if (strlen($letter) == 1)
{
//Possible letter of our first word
$word .= $letters[$key];
} else {
$split_point = $key;
Reinhart Viane wrote:
Hey list
I have a mysql table like this:
Act_name Act_type_id Act_date
Heyhey 1 22-06-05
Aloha2 22-06-05
Tralala 2 22-06-05
Wuhu1
Hi,
I am building a dynamic thumbnail gallery using php and HTML. All action
occurs in the same document, no frames. When you click a thumb the same page
reloads and shows a larger version of the thumb. Otherwise the page is
identical. I have mainly two problems:
*When the page reloads it scrolls
Hi,
I am building a dynamic thumbnail gallery using php and HTML. All action
occurs in the same document, no frames. When you click a thumb the same
page reloads and shows a larger version of the thumb. Otherwise the page
is identical. I have mainly two problems:
*When the page reloads it
Hello,
I am still very puzzled.
If you a couple of minutes of spare time, pls give a look at
http://www.chiari.org/help/
and suggest a way out.
Thanks a lot.
mario
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
William Stokes wrote:
I got my little user authentication to work but now I would like to know
how
to make and check the (upper/lower) case in password. To put it simple. I
want users password to be case sensitive.
The default compile settings for MySQL are case-insensitive.
Usually, one
Feris Thia wrote:
I'm currently running Apache+PHP under Linux environment. And now
trying to connect to Ms Access (.mdb) database file which is shared by
a Windows station. What library I have to install use ?
As I recall, you need to:
Use ODBC library
Set up DSN for the Access database
I'm
Hi,
I am building a dynamic thumbnail gallery using php and HTML. All action
occurs in the same document, no frames. When you click a thumb the same
page reloads and shows a larger version of the thumb. Otherwise the page
is identical. I have mainly two problems:
*When the page reloads it
with php,
HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE
to become like this :
How can I convert sentences like this. To be upper and lower case.
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039 Ext 216
Fax :
Perhaps it is just me, but wouldn't it be easier to make individual
mysql queries for each different act type? That would make the sorting
-much- easier. I'm not sure if that's an option, but if it is, I'd
consider exploring it.
select * from activities where act_date = NOW() act_type_id = 1
or
Hi
I have for the last two days scanned the net for help on implementing a
simple UDP server in PHP. I wan't to use it to wait for input, verify
some userdata and then return som data.
Can anyone help me or piont me in the right direction?
Thanx Jesper
--
PHP General Mailing List
[snip]
with php,
HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE
to become like this :
How can I convert sentences like this. To be upper and lower case.
[/snip]
http://www.php.net/ucfirst
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Vaibhav Sibal wrote:
I need to select around 200 files at random out of a file pool of
10k-15k files from a directory and then transfer them to another
directory on my linux server which runs Apache 2.0.52, PHP 5.0.3 and
Mysql. I will also be requiring to add the paths of all those files
into
Hi,
I am building a dynamic thumbnail gallery. When you click the thumbnail
the larger image appears in the same document(not using frames). My two
problems are:
*When I click on the thumb I would like the page to reload and be
scrolled to the exact same position as before the click (now with
Johannes wrote:
snip
1) Please don't flood the list with the same message.
2) Your question has nothing to do with php.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
...client side stuff...
[/snip]
If you send this one more time you will earn a spot on the dev/null
list.
Everything you ask is as a result of client side HTML rendering. PHP is
server side and cannot control these things. Currently, the anchor tag
is your best bet for this, although I
Well I'm able to do that, there are only 4 different types, but the 4
queries have exactly the same syntax so I think it's better to combine them.
Not?
-Oorspronkelijk bericht-
Van: Justin Lilly [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 23 februari 2005 18:57
Aan:
This is how I would do it, don't know if it is the best way.
A. get the date out of the database
Let's say $maindate is that date you retrieved from the database
B. split up the date into several parts for day month and year The day as a
number (dd):
$day=date (j, strtotime($maindate));
The
[EMAIL PROTECTED] wrote:
Is it possible to limit the bit-depth or reduce the file size of a PNG
image ? I haven't found anything in the manual about this as yet.
http://php.net/imagetruecolortopalette
There are User Contributed posts in there that also give suggestions for
alternative
Johannes wrote:
I am building a dynamic thumbnail gallery. When you click the thumbnail
the larger image appears in the same document(not using frames). My two
problems are:
*When I click on the thumb I would like the page to reload and be
scrolled to the exact same position as before the
Diana Castillo wrote:
with php,
HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE
to become like this :
How can I convert sentences like this. To be upper and lower case.
Sounds like you need a combination of ucfirst() and strtolower().
$newstring =
Jesper Goos wrote:
I have for the last two days scanned the net for help on implementing a
simple UDP server in PHP. I wan't to use it to wait for input, verify
some userdata and then return som data.
Can anyone help me or piont me in the right direction?
Check in the 'streams' section of
Hello Jay,
Wednesday, February 23, 2005, 11:05:51 AM, you wrote:
How can I convert sentences like this. To be upper and lower case.
J http://www.php.net/ucfirst
That won't work because it'll only capitalize the first letter of the
string. Since his string contains more than one sentence he
On Wed, 2005-02-23 at 06:49, [EMAIL PROTECTED] wrote:
Hi
When uploading files using a type=file in a form, if a file is uploaded with
a single quote the file gets truncated to whatever is after the quote
eg.
blah'sblah.txt
will be uploaded as
sblah.txt
Is this a magic quotes issue?
Burhan Khalid mailto:[EMAIL PROTECTED]
on Tuesday, February 22, 2005 11:21 PM said:
I'm running Apache/2.0.40, MySQL 3.23.54, and PHP 4.2.2.
You need to upgrade to the latest PHP version, which is 4.3.10 and
while you are at it, consider upgrading MySQL to 4.0.
Is this a known problem?
Leif Gregory mailto:[EMAIL PROTECTED]
on Wednesday, February 23, 2005 10:31 AM said:
I'm thinking something like:
1. strtolower() the string
2. explode() on the period
3. Loop through the resulting array
a. trim() whitespace on each element
b. ucfirst() on each element of the
[snip]
That won't work because it'll only capitalize the first letter of the
string. Since his string contains more than one sentence he needs to
be able to capitalize the first letter of each sentence.
[/snip]
I was teaching the OP to fish instead of baiting the hook for her.
--
PHP General
Chris W. Parker wrote:
Leif Gregory mailto:[EMAIL PROTECTED]
on Wednesday, February 23, 2005 10:31 AM said:
I'm thinking something like:
1. strtolower() the string
2. explode() on the period
3. Loop through the resulting array
a. trim() whitespace on each element
b. ucfirst() on each
Jay Blanchard wrote:
[snip]
That won't work because it'll only capitalize the first letter of the
string. Since his string contains more than one sentence he needs to
be able to capitalize the first letter of each sentence.
[/snip]
I was teaching the OP to fish instead of baiting the hook for her.
Is it possible for hackers to give a fake IP address when visiting a website
running PHP?
I want to allow certain IP addresses have access to a website (other IP
addresses not), is it possible for someone (e.g. hacker) to give fake IP
address? If so, how is the website returned to this someone?
Hello Chris,
Wednesday, February 23, 2005, 11:49:32 AM, you wrote:
C And on top of that he'll need to convert all 'i' to 'I' because of
C step 1.
You and Mattias both have valid points.
The only other thing I can think of is a regexp that is searching for
a period and a space then does a
Reinhart Viane wrote:
Well I'm able to do that, there are only 4 different types, but the 4
queries have exactly the same syntax so I think it's better to combine them.
Not?
Since mysql 4.1 you can use GROUP_CONCAT() function:
SELECT Act_date, Act_type_id,
LEFT( GROUP_CONCAT(Act_name
Bret,
i have just seen your reply to me.
Please, check link below. Thanks
mario
--
Hello,
I am still very puzzled.
If you a couple of minutes of spare time, pls give a look at
http://www.chiari.org/help/
and suggest a way out.
Thanks a lot.
mario
--
PHP General Mailing List
SED wrote:
Is it possible for hackers to give a fake IP address when visiting a website
running PHP?
I want to allow certain IP addresses have access to a website (other IP
addresses not), is it possible for someone (e.g. hacker) to give fake IP
address? If so, how is the website returned to this
Leif Gregory wrote:
Hello Chris,
Wednesday, February 23, 2005, 11:49:32 AM, you wrote:
C And on top of that he'll need to convert all 'i' to 'I' because of
C step 1.
You and Mattias both have valid points.
The only other thing I can think of is a regexp that is searching for
a period and a space
Hello Mattias,
Wednesday, February 23, 2005, 12:35:21 PM, you wrote:
M Oh, and sentences may end with other characters, too. Notably !
M and ?.
Nuh-u Prove it!(Oh dang..) grin
--
Leif (TB lists moderator and fellow end user).
Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Hi, Richard!
On Wed, 2005-02-23 at 08:45 -0800, Richard Lynch wrote:
Maybe try the active/passive thing...
Often-times, the client/server will/won't allow one or the other, based on
their idea of what's safe/fast.
Yes, I tried that, too. Sorry, I didn't mention that in my original
post. I
Hi,
I am running a simple Upload script in PHP using a HTML Form with a File field.
The user can browse their computer and upload a file. It works great, except
for large files, where the browser will timeout. The timeout appears to happen
after about 5 minutes. Any ideas on how to get
[snip]
I am running a simple Upload script in PHP using a HTML Form with a File
field. The user can browse their computer and upload a file. It works
great, except for large files, where the browser will timeout. The
timeout appears to happen after about 5 minutes. Any ideas on how to
get
Sorry didn't mean to accuse you of attacking. Just had a more hectic
day than usual, and maybe lost it a bit.
Anyway, this is rapidly getting off topic, so..
On Wed, 23 Feb 2005 16:52:25 +0100, Jochem Maas [EMAIL PROTECTED] wrote:
Rory Browne wrote:
Jocham:
Uh???
Hi
i use the following code as a login page for a restricted area
it works fine on some servers when i enter the right username and password
but it doesn't work on some servers when i enter the right username
and password, and returns wrong username and password
can any one tell me what possible
Thanks for your link to set_time_limit( ) Jay. However, I tried adding the
set_time_limit code into my page that processes the uploaded file and I am
still getting the timeout.
I have also tried adding the set_time_limit code onto my page with the HTML
form that calls the upload script
$HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
this code won't work. Instead, you should use $_POST
$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];
change to:
$username = $_POST['username'];
$password = $_POST['password'];
--
Matthew Fonda wrote:
$HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
this code won't work. Instead, you should use $_POST
On this subject, is there anything 'wrong' with using $_REQUEST instead of
specifying between $_POST and $_GET?
Will Beers
smime.p7s
Description:
Hello Will,
Wednesday, February 23, 2005, 2:39:27 PM, you wrote:
W On this subject, is there anything 'wrong' with using $_REQUEST
W instead of specifying between $_POST and $_GET?
$_REQUEST includes POST, GET, and cookies. It basically boils down to
knowing where the information is coming
Matt Cassarino wrote:
Hi,
I am running a simple Upload script in PHP using a HTML Form with a File field.
The user can browse their computer and upload a file. It works great, except
for large files, where the browser will timeout. The timeout appears to happen
after about 5 minutes. Any
Thanks
some answers:
turning magic quotes on and off seemed to make no difference
1. single quotes aren't important to me but this application allows users to
upload photos which often use descriptive filenames which sometimes have
single quotes eg. my mum's car.jpg. I replace the spaces with
On Wed, 2005-02-23 at 22:54 +0100, Marek Kilimajer wrote:
Matt Cassarino wrote:
Hi,
I am running a simple Upload script in PHP using a HTML Form with a File
field. The user can browse their computer and upload a file. It works
great, except for large files, where the browser will
Diana Castillo wrote:
with php,
HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE
to become like this :
How can I convert sentences like this. To be upper and lower case.
here is something I hacked together for Smarty once, modified a bit to suit
your need more (syntax-checked
Thanks Bret
I have tried turning all reporting on - error_reporting(E_ALL);
but that doesn't reveal anything significant
I have looked in the logs but there is nothing significant there.
Because the type is file in the form it is not handled like a post - the
values go into an array called
On Wed, 2005-02-23 at 16:39 -0500, Will Beers wrote:
Matthew Fonda wrote:
$HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
this code won't work. Instead, you should use $_POST
On this subject, is there anything 'wrong' with using $_REQUEST instead of
specifying
I think there is a file size argument both in the html form tag and within
php.ini (max_file_size...? or something like that). I would try to make
both very large, just as a test.
Anyway, I had a similar problem that was fixed by playing around with
these settings.
David
Matt Cassarino
On Wed, 2005-02-23 at 16:40, [EMAIL PROTECTED] wrote:
Thanks Bret
I have tried turning all reporting on - error_reporting(E_ALL);
but that doesn't reveal anything significant
I have looked in the logs but there is nothing significant there.
Because the type is file in the form it is not
Hi Brett
My form is effectively identical to yours
form enctype=multipart/form-data action=/uploadfiles.php method=post
bUpload a file:/b input name=userfile type=file size=100
No the first part of the file name is just dropped and the file with the
truncated name is saved in the correct place.
Reinhart Viane wrote:
Well I'm able to do that, there are only 4 different types, but the 4
queries have exactly the same syntax so I think it's better to combine them.
Not?
what about using UNION on the four queries?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
[EMAIL PROTECTED] wrote:
Thanks
some answers:
turning magic quotes on and off seemed to make no difference
1. single quotes aren't important to me but this application allows users to
upload photos which often use descriptive filenames which sometimes have
single quotes eg. my mum's car.jpg. I
On Wed, 2005-02-23 at 18:45, [EMAIL PROTECTED] wrote:
Hi Brett
My form is effectively identical to yours
form enctype=multipart/form-data action=/uploadfiles.php method=post
bUpload a file:/b input name=userfile type=file size=100
No the first part of the file name is just dropped and the
I am creating a database where I need people to log in using a unique
username and password. I would like to hash the passwords using the one-way
function mhash(). However, when I try to do this, I have some issues that I
cannot figure out. Here is what I have (I'll include every mention of
Does your page work in another phone? When you visit your page in a
(B(normal, computer) web browser, do you see the WML code you expect?
(B
(BRichard
(B
(BOn Feb 23, 2005, at 7:33 AM, $B5m:%(B wrote:
(B
(B
(B Dear phpers,
(B
(B I'm new to wml. And I got such problem:
(B I can
Hi there,
How can I convert a Word file (*.doc) to PDF file? Are there any libraries
available?
Can you give me some hint how can I do that?
Thanks.
Kevin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 103 matches
Mail list logo