hce wrote:
Hi,
I know PHP supports utf8 encode/decode, but does it support utf16
encode/decode? If yes, would you please point me a php manual URL?
It's listed as supported under the mbstring functions here:
http://www.php.net/manual/en/mbstring.supported-encodings.php
--
Postgresql php
El Fri, 13 Jun 2008 10:23:29 -0400
Daniel Brown [EMAIL PROTECTED] escribió:
You can start by asking your question on an Apache list. This has
nothing to do with PHP. ;-P
To answer your question, use this in your .htaccess file:
RewriteCond %{SCRIPT_FILENAME} index
RewriteCond
On Mon, Jun 16, 2008 at 3:59 PM, Chris [EMAIL PROTECTED] wrote:
hce wrote:
Hi,
I know PHP supports utf8 encode/decode, but does it support utf16
encode/decode? If yes, would you please point me a php manual URL?
It's listed as supported under the mbstring functions here:
hce wrote:
On Mon, Jun 16, 2008 at 3:59 PM, Chris [EMAIL PROTECTED] wrote:
hce wrote:
Hi,
I know PHP supports utf8 encode/decode, but does it support utf16
encode/decode? If yes, would you please point me a php manual URL?
It's listed as supported under the mbstring functions here:
Richard Heyes wrote:
That's very cool, Richard.
Well, thanks, but I wouldn't call it very cool.
I thought it was pretty cool too - I didn't know about canvas, but
your example says a lot, I think.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Dears,
Here is my question:
I am write a project manage system.
Now I need to echo one week’s data and send to html show.
Any one got a good idea or codes?
My code has some issues about the loop function. Could you help me check or
give me some suggestion?
The show item like this:
Wei, Alice J. wrote:
Hi,
I am not sure what is exactly the problem with my configurations while I am
trying to configure Apache, PHP and FreeTDS throughout my attempts to install
these packages into my Linux.
It appears that I am doing everything correctly as I am going through
I thought it was pretty cool too - I didn't know about canvas, but
your example says a lot, I think.
But when you compare it to something like this:
http://ejohn.org/apps/processing.js/examples/custom/molten.html
it looks pretty basic (which it is). Mine is perhaps an intro, whereas
this
Richard Heyes wrote:
I thought it was pretty cool too - I didn't know about canvas, but
your example says a lot, I think.
But when you compare it to something like this:
http://ejohn.org/apps/processing.js/examples/custom/molten.html
it looks pretty basic (which it is). Mine is perhaps
2008/6/14 Iv Ray [EMAIL PROTECTED]:
Robin Vickery wrote:
Out of hours technical support often gets billed at a punitive rate.
Which is a bugger if their out of hours is your working day.
It seems you haven't tried Rackspace (UK) yet.
And while you might get tech support out of hours,
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
Out of hours technical support often gets billed at a punitive rate.
Which is a bugger if their out of hours is your working day.
It seems you haven't tried Rackspace (UK) yet.
What do you mean? Personally I've had good experiences with Rackspace.
--
Richard Heyes
Employ me:
Michelle Konzack wrote:
My biggest problem is, that the /fileupload.php was always
references
from outside my webspace. OK, I was thinking this can be solved
by
using HTTP_REFERER which has then worked for some days but NOW
those pigs are back and sending spoofed HTTP_REFERER.
I guess the other browser doesn't do much with canvas ?
Nope. Eg:
canvas id=foo
This gets shown on none supporting browsers, but not on supportive
browsers.
/canvas
MSIE just shows the text and doesn't do anything with the canvas.
One thing about using a canvas is bandwidth. If it's
well, i never try it for my self but somebody out there already develop a simple
library to convert any HTML to image.. google for html2png give me
http://marginalhacks.com/Hacks/html2jpg/
i believe there is more interesting solutions out there. tell me if
you found one.
good luck..
On 6/14/08,
On Sat, Jun 14, 2008 at 11:12 AM, Michelle Konzack
[EMAIL PROTECTED] wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
Hi,
I just realized after someone else replying to me saying that I need mssql.so
instead of php_mssql.dll.
What I don't understand is why every time when I tried to install this with
yum by precessing yum install php, yum install apache, I can never see the
phpinfo page, but when I
On Mon, Jun 16, 2008 at 5:33 AM, Robin Vickery [EMAIL PROTECTED] wrote:
Having to do an emergency failover to a secondary hosting
facility on one of you busiest days of the year can put you in
a really bad mood.
This no longer sounds like a hypothetical. ;-P
--
/Daniel P. Brown
Hi,
I'm working on an app with a external provider (voicexml), which at the end
of the day is posting an html form with normal and file data.
I've got 3 test cases, one is an html form with fields and a file, the other
test case is another voicexml provider, and the third is my provider,
On Mon, Jun 16, 2008 at 11:14 AM, Jim Feniello [EMAIL PROTECTED] wrote:
Hi,
What would cause php to not put it in _files? The obvious is the
multipart/form-data but i've confirmed that. Anything else i can look into?
What does the line for the file input in the HTML source say? Can
you
I can't because it's a third party provider with a voicexml browser. The
best I have is this log from apache mod_security:
POST /temp/save2.php HTTP/1.1
Accept: */*
Host: recording.repsstudio.com
User-Agent: HVP/4.2
Content-Length: 37486
Content-Type: multipart/form-data;
Per Jessen wrote:
Michelle Konzack wrote:
My biggest problem is, that the /fileupload.php was always
references
from outside my webspace. OK, I was thinking this can be solved
by
using HTTP_REFERER which has then worked for some days but NOW
those pigs are back and sending spoofed
Jim Lucas wrote:
Per Jessen wrote:
Michelle Konzack wrote:
My biggest problem is, that the /fileupload.php was always
references
from outside my webspace. OK, I was thinking this can be solved
by
using HTTP_REFERER which has then worked for some days but NOW
those pigs are back
I think you can handle this with 2 pages, the first is checking whether the
user is permitted to upload or not and if so passing him to the upload form
with a simple (bool) $_SESSION variable which indicates his permissions.
If you will try to access the second page and the $_SESS variable won't
On Mon, Jun 16, 2008 at 1:01 PM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote:
I think you can handle this with 2 pages, the first is checking whether the
user is permitted to upload or not and if so passing him to the upload form
with a simple (bool) $_SESSION variable which indicates his
Nitsan Bin-Nun wrote:
I think you can handle this with 2 pages, the first is checking whether the
user is permitted to upload or not and if so passing him to the upload form
with a simple (bool) $_SESSION variable which indicates his permissions.
If you will try to access the second page and the
Okay, I got the idea,
I think you can use PHP to write .htaccess file for IP blocking or something
like that (shared hosts allow this and I'm pretty sure that Apache .htaccess
are able to manage IP blocking).
HTH,
Nitsan
On 16/06/2008, Jim Lucas [EMAIL PROTECTED] wrote:
Nitsan Bin-Nun wrote:
Richard Heyes wrote:
I guess the other browser doesn't do much with canvas ?
Nope. Eg:
canvas id=foo
This gets shown on none supporting browsers, but not on supportive
browsers.
/canvas
MSIE just shows the text and doesn't do anything with the canvas.
One thing about using a canvas
Nitsan Bin-Nun wrote:
Okay, I got the idea,
I think you can use PHP to write .htaccess file for IP blocking or something
like that (shared hosts allow this and I'm pretty sure that Apache .htaccess
are able to manage IP blocking).
As long as Apache allows .htaccess files
But... even then
Umm yes I don't think so too, but thats one of the only possibile options..
so give it a shot because you have nothing to loose (:
I also think he should speak to the server administrator / the guy he pays
him the money and ask what to do, I'm pretty sure that he had already
encountered something
I am looping through a database of files that are numbers 1 through 10
if number 1 is in the database I what to print out the first table
below if it is not then print the else section below. Then loop through
the database to see if 2 through 10 are there and do the same thing. Of
course what
Anyone know if PHP keys off the content-disposition for form pre-processing
to populate the $_FILES array?
In my html form example, the raw data looks like:
Content-Disposition: form-data; name=resp; filename=tada.wav
Content-Type: audio/x-wav
But the form posting from the voicexml browser/server
On Sun, 15 Jun 2008 14:07:14 -0400, tedd wrote:
At 4:11 PM +0100 6/15/08, Richard Heyes wrote:
But, a sophisticated user will find a way around that.
A less sophisticated one will use the PrintScr key... :-)
Must be a windozes thing. :-)
Nope. Works a treat in KDE in linux.
Jonesy
--
On Mon, Jun 16, 2008 at 5:23 PM, Jonesy [EMAIL PROTECTED] wrote:
On Sun, 15 Jun 2008 14:07:14 -0400, tedd wrote:
At 4:11 PM +0100 6/15/08, Richard Heyes wrote:
But, a sophisticated user will find a way around that.
A less sophisticated one will use the PrintScr key... :-)
Must be a windozes
Jim Feniello [EMAIL PROTECTED] wrote on 06/16/2008 03:16:02 PM:
Anyone know if PHP keys off the content-disposition for form
pre-processing
to populate the $_FILES array?
I believe that the $_FILES array is only populated when the form tag
contains 'enctype=multipart/form-data' and there is
On Mon, Jun 16, 2008 at 2:11 PM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote:
Umm yes I don't think so too, but thats one of the only possibile options..
so give it a shot because you have nothing to loose (:
I also think he should speak to the server administrator / the guy he pays
him the money
Richard Kurth wrote:
I am looping through a database of files that are numbers 1 through 10
if number 1 is in the database I what to print out the first table
below if it is not then print the else section below. Then loop through
the database to see if 2 through 10 are there and do the same
Michelle Konzack wrote:
* Do not Cc: me, because I READ THIS LIST, if I write here *
*Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*
Wolf wrote:
Richard Kurth wrote:
I am looping through a database of files that are numbers 1 through
10 if number 1 is in the database I what to print out the first
table below if it is not then print the else section below. Then loop
through the database to see if 2 through 10 are there and
Richard Kurth wrote:
Wolf wrote:
Richard Kurth wrote:
Could you please give me an idea where to start looking
while($row=mysql_fetch_array($sql_result)){
if ($row[number]==1) {
tr
td File 1/td
tdThis is the file/td
tdDelete/td
/tr
}else{
tr
tdFile1/td
td/td
tdAdd/td
/tr
}
}
What is the
Okay, So I'm going to just assume that my issue is the fact that I'm
tired... and my mind won't work properly.
[Mon Jun 16 22:27:58 2008] [error] PHP Warning: mysqli_connect()
expects parameter 5 to be long, string given
Now parameter 5 is the database name, I echoed out each of the
Jason Pruim wrote:
Okay, So I'm going to just assume that my issue is the fact that I'm
tired... and my mind won't work properly.
[Mon Jun 16 22:27:58 2008] [error] PHP Warning: mysqli_connect()
expects parameter 5 to be long, string given
Now parameter 5 is the database name, I echoed
i am not sure what u want to do, for this case you need to tell us
about your database table
structure. i quess you have table like this.. assume the table name is
table1 and there are ten
column in it file1..file10 respectively
|table1 |
|member_id |
|file1|
|file2
Hi,
I am using code
$val = htmlentities($val, ENT_QUOTES, UTF-8);
but it's not working in version 5.2.0. Is there any additional configuration
needed for this. it's working well in 5.2.2. Could you please help me???
--
View this message in context:
45 matches
Mail list logo