Sigx

We are the future in the past.
It is currently Mon Mar 18, 2024 6:51 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: If the forum won't allow .php in sig, how do I make a .png ?
PostPosted: Sat Apr 17, 2004 8:49 pm 
Offline

Joined: Fri Apr 16, 2004 12:52 am
Posts: 5
The other forum I'm with won't allow .php extension in [img] code due to security reason so what can I do? The generated .png of my sigx is

Code:
[url=http://sigx.yuriy.net/link.php][img]http://sigx.yuriy.net/images/xTTH.png[/img][/url]

which will look somewhat like this
Image

I want a .png file with my remote sigx. Is it possible? Thanks.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 8:54 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
depending on where you are hosting it, you may need to setup some .htaccess rules

here is what I use
Code:
Redirect /sig/DHFlat04.png http://www.dh5.net/sig/DHFlat04.php

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 9:20 pm 
Offline

Joined: Fri Apr 16, 2004 12:52 am
Posts: 5
Ah yes this is exactly what I'm looking for! Thanks a lot DarkHorizon. :D :D :D

My .GIF image redirected: :)

Image

I found information about how to create .htaccess on Google so I post it here so anyone who wants to do the same can get it faster. Here it is:

http://www.javascriptkit.com/howto/htaccess.shtml

and redirect syntax
http://wsabstract.com/howto/htaccess7.shtml

Once again, thanks DarkHorizon! :D

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 9:29 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
we do have a topic on that here! search its just 1 page of listed topics, not like 100 pages!

http://forum.yuriy.net/phpbb/viewtopic.php?t=61

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 8:33 am 
Offline

Joined: Tue Apr 27, 2004 2:22 pm
Posts: 23
in phpBBs new patch they changed things to fix an exploit... you can no longer post php files as an image
Code:
[img]http://purge.worthplaying.com/sigx/sigx.php[/img]

will not work

however... there is a simple solution:

Code:
[img]http://purge.worthplaying.com/sigx/sigx.php#sig.png[/img]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 11:12 am 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
jam wrote:

Code:
[img]http://purge.worthplaying.com/sigx/sigx.php#sig.png[/img]


if only that worked in invision...

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 07, 2004 2:48 pm 
Offline

Joined: Mon Feb 09, 2004 7:32 am
Posts: 6
u can use (in invision)
Code:
[img]http://purge.worthplaying.com/sigx/sigx.php?.png[/img]


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 07, 2004 4:06 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
Kender wrote:
u can use (in invision)
Code:
[img]http://purge.worthplaying.com/sigx/sigx.php?.png[/img]


actually I'm pretty sure you cant

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 3:44 pm 
Offline

Joined: Tue May 11, 2004 3:40 pm
Posts: 6
I'm pretty new to SigX, but I think I have a way to make this work on any forum that allows images as sigs as I've been using PHP to randomly pick my sigs from a directory for some time now.

What this will take is renaming the PHP file to .png or whatever image format you choose. Then use a .htaccess file with the following:

Code:
<Files yourphpfile.png>
ForceType application/x-httpd-php
</Files>


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 4:07 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
o ya, that could also work.

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 10, 2004 10:16 pm 
Offline

Joined: Tue Jan 13, 2004 7:24 pm
Posts: 16
xenoNfluX wrote:
I'm pretty new to SigX, but I think I have a way to make this work on any forum that allows images as sigs as I've been using PHP to randomly pick my sigs from a directory for some time now.

What this will take is renaming the PHP file to .png or whatever image format you choose. Then use a .htaccess file with the following:

Code:
<Files yourphpfile.png>
ForceType application/x-httpd-php
</Files>

http://forum.yuriy.net/phpbb/viewtopic.php?p=278#278

Yes.
And for those who don't want to rename files, there's always this .htaccess solution:
Code:
Redirect 301 mysigx.jng http://domain.tld/p2sxr/sigx.php

Where \.jng = Whatever extension it takes to work on a given message board (this is good for a reason [1])
Where domain\.tld = that person's domain
Where p2sxr = The path to sigx-remote
Where sigx\.php = Whatever they have named the script
Called as http\:\/\/domain\.tld\/p2sxr\/mysigx\.jng

1: Some message boards won't allow users to use PNG. The people who run those boards, and/or the person who scripted that message board [is a | are] complete and total retard, for disallowing the image format. At the same time, some users have a file number quota to stay under. If a user wanted to hack up something fancy, say, a script that grabs the data, and depending on how the images was picked up via the redirect (ie: .jpg, .png, .jng, .jp2, whatever), output an image that matched the MIMEtype, this would let them use just that one piece of script.

Just my $3.50 admission.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 06, 2004 3:22 pm 
Offline

Joined: Mon Apr 05, 2004 2:32 pm
Posts: 4
is there anyother way to rename it or whatever with out htacces?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 06, 2004 6:28 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
i cant think of a different way

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 07, 2004 7:08 pm 
Offline

Joined: Mon Apr 05, 2004 2:32 pm
Posts: 4
k, thanx anyways!

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group