Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 23rd, 2003, 03:58 AM
Authorized User
 
Join Date: Jun 2003
Location: Kings Lynn, Norfolk, United Kingdom.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to starsol
Default decoding encoding

(Newbie question!)

I've bought a PHP script that is encoded, and I need to change some of the HTML output. Is there anyway I can decode the script into normal, readable, understandable PHP so I can edit it?

The script currently looks like

<? eval(gzinflate(base64_decode('longlistofcharacters '))); ?>

Thanks in advance for any advice anyone can give!

Best wishes,
Rupe

Rupe Parnell
www.starsol.co.uk
__________________
Rupe Parnell
www.starsol.co.uk
 
Old June 23rd, 2003, 01:32 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Uhh.. not likely. An encoded, but still executable, PHP script is NOT just base 64 encoded. Chances are it's precompiled. If you bought it, perhaps the folks who sell it are willing to tweak the output slightly for you.


Take care,

Nik
http://www.bigaction.org/
 
Old June 29th, 2003, 08:01 AM
Authorized User
 
Join Date: Jun 2003
Location: Kings Lynn, Norfolk, United Kingdom.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to starsol
Default

Thanks Nik :),

Unfortunately the person who wrote it isn't responding to my emails, so I'll have to wait a while.

Best wishes,
Rupe

Rupe Parnell
www.starsol.co.uk




Similar Threads
Thread Thread Starter Forum Replies Last Post
code for decoding a binary dat file myth.12887 C++ Programming 2 May 18th, 2007 09:40 PM
encoding paarupalli J2EE 0 March 2nd, 2007 04:14 AM
Decoding Base64 Encoded Data and saving the image mookashi XML 14 August 3rd, 2006 05:52 PM
ENCODING DECODING everest ASP.NET 1.0 and 1.1 Professional 3 October 17th, 2005 01:41 AM
encoding alihussein3 Javascript How-To 1 October 28th, 2003 05:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.