[PHP] Where do I report bugs/feature requests for Image magick ext

2013-03-12 Thread Carsten Jensen
As subject says, I'm having some trouble finding out where to report 
bugs/feature requests for the Image magick extension.


Anyone would be so kind to point me in the right direction please?

cheers
Carsten

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Fwd: [PHP] Where do I report bugs/feature requests for Image magick ext

2013-03-12 Thread Carsten Jensen

On 03/12/2013 01:45 PM, Camilo Sperberg wrote:



Begin forwarded message:


From: Camilo Sperberg
Subject: Re: [PHP] Where do I report bugs/feature requests for Image magick ext
Date: March 12, 2013 1:40:09 PM GMT+01:00
To: Carsten Jensen 


On Mar 12, 2013, at 1:13 PM, Carsten Jensen wrote:


As subject says, I'm having some trouble finding out where to report 
bugs/feature requests for the Image magick extension.

Anyone would be so kind to point me in the right direction please?

cheers
Carsten

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






Sorry, forgot to reply all:



I guess you mean the imagick extension, in that case it's bugtracker is located 
at bugs.php.net:

https://bugs.php.net/search.php?cmd=display&package_name[]=imagick&search_for=imagemagick&project=&php_os=&php_os_not=&author_email=&bug_type=&boolean=0&bug_age=0&bug_updated=0&order_by=ts1&direction=ASC&limit=30&phpver=&cve_id=&cve_id_not=&patch=&pull=&assign=&status=Open&reorder_by=ts1

If you want to add a new bug, make sure to select package imagick. Search first 
if it isn't filed in as a bug already.

There is a big difference between imagick (PHP extension) and image magick (the 
program). Make sure you know where to file in the bug.

Greetings.





Thanks alot to both of you.

it is of course the Imagick extension :-)

cheers
Carsten

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Empty $_POST after submit.

2013-04-04 Thread Carsten Jensen

On 04/04/2013 01:19 PM, Ashley Sheridan wrote:

On Thu, 2013-04-04 at 16:41 +0530, Ninad wrote:

Have you tried a different browser? Just thinking of anything which 
might narrow down the location of the problem. Thanks, Ash 
http://www.ashleysheridan.co.uk 


does PHP work at all?

what do you get any output of (create this file with the content)

info.php






Re: [PHP] Last Record INSERT

2013-06-26 Thread Carsten Jensen
On 06/26/2013 08:03 PM, Samuel Lopes Grigolato wrote:
> AFAIK "mysql_[...]" is deprecated in favor of "mysqli_[...]" correspondent
> functions, there's nothing to do specifically with mysql[i]_insert_id.
> 
> 
> On Wed, Jun 26, 2013 at 3:01 PM, Tedd Sperling wrote:
> 
>> On Jun 26, 2013, at 1:56 PM, Stuart Dallas  wrote:
>>> On Wednesday, 26 June 2013 at 18:39, Tedd Sperling wrote:
 Let me add, currently I am inserting an email address into a database.

 To find which record was created, I ask for the record number (ID) back.

 I am asking simply because mysql_insert_id() is deprecated.
>>
>> Now you tell me. :-)
>>
>> I learn something new every day of my life... and I'm getting damned tried
>> of it.
>>
>> Back to the books.
>>
>> Thanks.
>>
>> Cheers,
>>
>> tedd
>>
>> _
>> tedd.sperl...@gmail.com
>> http://sperling.com
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> 

Tedd take a look at the manual pages for mysqli_insert_id()

this will show how the changes of mysqli compared to mysql are.
(just a little different)

Look at the procedural way of doing it as it's pretty similar to
what you might already be doing. You can of course also jump
to use the object oriented style, but that requires you to
change more of your code if you're replacing mysql with mysqli

http://php.net/manual/en/mysqli.insert-id.php

cheers
Carsten

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] I am completely lost and need an advice (beginner)

2013-07-18 Thread Carsten Jensen
On 07/18/2013 09:08 PM, php colos wrote:
> Hello world!
> 
> I'm trying to learn PHP ( first programming language that I learn) and
> I feel kinda lost. I've read PHP programming 3rd edition( O'reilly),
> 'getting good with PHP' by Andrew Burgees and some tutorials on the
> internet but can't code something more complex than 'hello world'.
> 
> 
> I do understand functions/values/operators/control structures, etc but
> as I said, I feel that I can't use the language.
> Am I reading the wrong books for a beginner?
> 
> Any advices?
> 
> 
> 
> *Apologies if this email might seem confusing. :)
> 
> Richard
> 

As others have mentioned, reading only isn't a good thing. You'll need
to code alongside reading.

You also might need to have a goal/project to motivate you to code.
Starting small is a good thing. Or you could help out some of the
smaller php projects that have only a few coders. Fixing bugs in a
project can be a great help, and you'll learn a lot.

If you don't have any project in mind, you can go to codecademy.com
or some of the other interactive learning sites to start coding.
I just checked, they've implemented PHP now, I haven't tried this. But
the javascript course is great.

cheers
Carsten







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] filesize() fails on file and works on it's copy (same permissions, same directory)

2013-09-23 Thread Carsten Jensen

if you have console access and the cli version of php works,
what does

echo filesize('/path/to/file');

tell (try running as root, then later as uid 51/webuser)
this will eliminate permission doubts

also you should use 
regardless of you, saying they have same permissions I think they do not
have the same permission

try to use --reference for chmod to see if there is any differences

try to copy the file keeping the whole permissions from original using sudo
cp -rp and check.
if this copy has the warning then your problem is from the permissions.


Sincerely
Negin Nickparsa


On Tue, Aug 13, 2013 at 11:30 AM, Michał Kochanowicz
wrote:


Hello

I've got a file, which can't be checked with filesize(). I copy it (with
permissions) and then I can filesize() the copy. This is same directory,
permissions are same. I don't understand what's the difference. Can you
help me?

Original file:
   File: 'DSC_5196_fx-1553725666.JPG'
   Size: 1907383 Blocks: 3728   IO Block: 4096   regular file
Device: 803h/2051d  Inode: 5905591363  Links: 1
Access: (0644/-rw-r--r--)  Uid: (   51/http)   Gid: (   51/http)
Access: 2013-08-13 00:47:28.107477918 +0200
Modify: 2013-08-12 21:38:27.219913208 +0200
Change: 2013-08-13 00:47:08.931478654 +0200
  Birth: -

Copy:
   File: 'DSC_5196_fx-1553725666_X.JPG'
   Size: 1907383 Blocks: 3728   IO Block: 4096   regular file
Device: 803h/2051d  Inode: 144 Links: 1
Access: (0644/-rw-r--r--)  Uid: (   51/http)   Gid: (   51/http)
Access: 2013-08-13 00:45:48.0 +0200
Modify: 2013-08-12 21:38:27.0 +0200
Change: 2013-08-13 00:47:28.199477914 +0200
  Birth: -

The only difference is inode: (5905591363 - doesn't work vs 144 - does
work).

Test script:









Result:

Warning: filesize(): stat failed for /home/services/httpd/html.**
galeria.XXX/gallery/var/**albums/988_Rok-2013/333_**
Rydzewo-04-06.08.2013/Sobota/**DSC_5196_fx-1553725666.JPG in
/home/services/httpd/html.**galeria.michal.waw.pl/**
gallery3-3.0.x/test.phpon
 line 13
/home/services/httpd/html.**galeria.XXX/gallery/var/**
albums/988_Rok-2013/333_**Rydzewo-04-06.08.2013/Sobota/**DSC_5196_fx-1553725666.JPG:

/home/services/httpd/html.**galeria.XXX/gallery/var/**
albums/988_Rok-2013/333_**Rydzewo-04-06.08.2013/Sobota/**DSC_5196_fx-1553725666_X.JPG:
1907383

Regards
Michał

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php