Which file has ImageMagick path info in it?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Which file has ImageMagick path info in it?

Post by Bijan Hemati »

I finally was able to get the path info to ImageMagick, on my server, from the provider.

Now I need to know, which file do I open to insert that information in? Please! :roll:

Regards,

Bijan
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

/include/inc_conf/conf.inc.php

$phpwcms["imagick"] = 1; //0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = "/path/to/ImageMagick"; //Path to ImageMagick (default="" - none)
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

Thanks DeXXus,

You are so kind to find the info for me. :wink:

Maybe you can help me with something else also.

Lets say I have an article or content with some text and some links in it. Is there anyway to call a {PHP:my_external.php} when a link is clicked?
I know you can embed a {PHP:my_external.php} in an article. And when the article is accessed via the menu or link, that article automatically opens an external file within the table. But I'm looking for a way to cause the execution of {PHP:my_external.php} command, only after a link or button is clicked.

Bijan
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I saw you ask that question in the other thread about {PHP:my_external.php}.
I assume {PHP:my_external.php} has it's benefits:
Immediate execution, allowing edit/update of the external code w/o need to go into article content editor, avoiding large cut/paste/edits of code, etc.

My simple thoughts are with the OTHER content types of the Article Editor:

HTML

Code: Select all

<a href="http://dexxus/phpwcms/testscripts/test_form.inc.php" target=_new>Click HERE for Test_Form</a>

Code: Select all

<div align="center"><a href=http://dexxus/phpwcms/testscripts/test_form.inc.php>
<img src="http://dexxus/phpwcms/testscripts/img/tfbutton.gif" border=0 alt="Test_Form Button"></a></div>
LINK LIST

Code: Select all

content title:  Link to My Test Form Script

Code: Select all

link list: Click Here to See My Test Form|/phpwcms/testscripts/test_form.inc.php
Bijan Hemati
Posts: 191
Joined: Sun 9. Nov 2003, 00:18
Location: Austin, TX

Post by Bijan Hemati »

DeXXus wrote:I saw you ask that question in the other thread about {PHP:my_external.php}.
I assume {PHP:my_external.php} has it's benefits:
Immediate execution, allowing edit/update of the external code w/o need to go into article content editor, avoiding large cut/paste/edits of code, etc.

My simple thoughts are with the OTHER content types of the Article Editor:

HTML

Code: Select all

<a href="http://dexxus/phpwcms/testscripts/test_form.inc.php" target=_new>Click HERE for Test_Form</a>

Code: Select all

<div align="center"><a href=http://dexxus/phpwcms/testscripts/test_form.inc.php>
<img src="http://dexxus/phpwcms/testscripts/img/tfbutton.gif" border=0 alt="Test_Form Button"></a></div>
LINK LIST

Code: Select all

content title:  Link to My Test Form Script

Code: Select all

link list: Click Here to See My Test Form|/phpwcms/testscripts/test_form.inc.php
Hi DeXXus,

Thanks for these codes. But they did not do what I wanted.

I'm moving this discussion into its own post, so its easy to track and search it.
If you come up with an answer please post it in "Can{PHP:my_external.php}be executed after a link is clicked?" topic.

Regards,

Bijan
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Good idea! I'm slow to visualize what you aim for...

as opposed to something like:

[INT url]http://dexxus/phpwcms/testscripts/test_form.inc.php[/INT]

you are perhaps trying to be able to "embed" the {PHP:my_external.php} tag in some other way.

I'll be interested in your new thread, too! :wink:
Post Reply