What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP - filename editing on the fly.

Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
PHP - filename editing on the fly.
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: PHP - filename editing on the fly.
code:
<?php
$file = "linktofile.ext"
$path = pathinfo($file);
$extension = $path['extension'];
$newfile = "NEWNAME.".$extension;

#then do the header code?
?>

This post was edited on 10-21-2008 at 11:41 AM by hmaster.
[Image: sig.png]
10-21-2008 10:14 AM
Profile PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: PHP - filename editing on the fly.
quote:
Originally posted by Nathan
Meh thats because you have a shitty resolution, it works okay for 1024x768 and upwards.
I use 1024x768.
Scrolling is just way too slow.
YouTube closed-captions ripper (also allows you to download videos!)
10-21-2008 10:48 AM
Profile E-Mail PM Web Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: PHP - filename editing on the fly.
Mine is 1440x900 and it's still a bit choppy.
[Image: sig.png]
10-21-2008 11:45 AM
Profile PM Web Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
O.P. RE: PHP - filename editing on the fly.
Mines 1440x900 and it all depends on the gpu. My 8800gtx works fine with it.
Touch Innovation - touch friendly programs/applications for the windows mobile!


10-21-2008 12:41 PM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: PHP - filename editing on the fly.
quote:
Originally posted by Nathan
Mines 1440x900 and it all depends on the gpu. My 8800gtx works fine with it.
But not everyone's got an 8800...

This post was edited on 10-21-2008 at 12:51 PM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
10-21-2008 12:51 PM
Profile E-Mail PM Web Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
O.P. RE: PHP - filename editing on the fly.
My intel gpu on this thing works fine with it as well :)
Touch Innovation - touch friendly programs/applications for the windows mobile!


10-21-2008 02:58 PM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: PHP - filename editing on the fly.
quote:
Originally posted by Nathan
My intel gpu on this thing works fine with it as well :)
Just try it on a computer that was bought on 2002 :P

This post was edited on 10-21-2008 at 10:40 PM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
10-21-2008 10:40 PM
Profile E-Mail PM Web Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
O.P. RE: PHP - filename editing on the fly.
Okay, lol, we're going off topic, I might update it.

In the mean time, I need help with the PHP :P
Touch Innovation - touch friendly programs/applications for the windows mobile!


10-21-2008 10:41 PM
Profile E-Mail PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: PHP - filename editing on the fly.
quote:
Originally posted by hmaster
code:
<?php
$file = "linktofile.ext"
$path = pathinfo($file);
$extension = $path['extension'];
$newfile = "NEWNAME.".$extension;

#then do the header code?
?>

what would work perfect... all you have to do is change the download page to go to that php page =\

[offtopic]
i have had to adblock the background image as the lag was so bad... nvidia 6200... not everyone has alot of money to buy a decent graphics card remember..
10-22-2008 03:20 AM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP - filename editing on the fly.
uh, does graphics card really matter when websites aren't accelerated anyway :p
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
10-22-2008 03:38 AM
Profile PM Web Find Quote Report
Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On