Welcome Guest ( Log In | Register )

> Dynamic signature, doesn't work, appears blank
forger
post May 21 2006, 05:04 PM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 21-May 06
Member No.: 57



Hello, it looks like my php signature isn't working :\ I have only some/none knowledge of php, I can easily edit what is necessary though. I used the default script and I can't make it work
I have a free webhosting php service by dotgeek, and checked the http://dotgeek.org/phpinfo.php where it looks like it supports what is necessary (I think)

http://forger.dotgeek.org/np/signature.php/sig.png appears blank.

the chmod is done through cpanel:
base_image.jpg 2 k 0644
base_image.png 1 k 0644
impact.ttf 132 k 0644
lucon.ttf 112 k 0644
npvars.txt 0 k 0666
signature.php 4 k 0777

the folder np is:
np 755

I change songs, restart winamp, but the npvars.txt remains the same:

title=Configure AMIP to update the signature
album=Not Configured
bitrate=000
time=00m:00s
mode=None
year=0000
sr=00

secretword is ok,
the amip configurator is working great in mirc, tested it.

In preset #1 i set this (and it's active):
/template:(c:\amipweb\amipweb.conf) c:\amipweb\amipweb.out
/exec:(c:\amipweb\curl.exe) -K amipweb.out

the amipweb.out is changed successfully:
# Configuration file for cURL
# URL of the signature.php script:
url = http://forger.dotgeek.org/np/signature.php
# use HTTP GET
-G
# list of parameters to pass:
-d "title=Andre+-+without+your+love"
-d "album=Armenia+2006"
-d "bitrate=128"
-d "time=03m%3A01s"
-d "mode=Stereo"
-d "year=2006"
-d "sr=44"

the only problem looks like it can't reach the website, or maybe something is not supported.

Thanks in advance for any suggestions/workarounds smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Serge
post May 22 2006, 05:18 AM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Try running c:\amipweb\curl.exe -K amipweb.out from the command line to see what is the problem.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
forger
post May 22 2006, 10:04 AM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 21-May 06
Member No.: 57



QUOTE(Serge @ May 22 2006, 07:18 AM) *

Try running c:\amipweb\curl.exe -K amipweb.out from the command line to see what is the problem.


Thanks for your support, I get this error:
QUOTE

>c:\amipweb\curl.exe -K amipweb.conf
curl: no URL specified!


the config file:
QUOTE

# Configuration file for cURL
# URL of the signature.php script:
url = http://forger.dotgeek.org/np/signature.php
# use HTTP GET
-G
# list of parameters to pass:
-d "title=Fabrizio+Faniello+-+I+Do"
-d "album=Malta+2006"
-d "bitrate=192"
-d "time=02m%3A44s"
-d "mode=Stereo"
-d "year=2006"
-d "sr=44"
# our signature.php script needs action=secretword to save parameters
# Change the 'secretword' to something else for the security reasons
# Make sure that $config['action'] value in signature.php equals the following
# action value ('secretword' by default):
-d "action=changedword"


oh, the ampsig from ampsig.com works fine: http://forger.dotgeek.org/ampsig/amp.php/stars.jpg
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: