DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = PHP - interesting problem...? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 02:09 AM
Chris W Chris W is offline
Junior Member
 
Join Date: May 2008
Posts: 6
Default

PHP - interesting problem...?


I need to display the source code of this encrypted text. However, I can't seem to make it display the source code, only the final product.

How would I write a php page to either load the source into a file or display it to copy? Here's the line:

eval(base64_decode("Pz4gPGRpdiBpZD0iZGF0dW1fdWhyem VpdCI"));


I tried to put it within <textarea> tags, but it still wouldn't display the source.
Just try this... since it won't show the whole snippet.
eval(base64_decode("Pz4gPGRpdiBpZD"));
I need to display the source code of the evaluated expression. It will translate to php source code when decrypted. I don't need to display the snippet, but the result of the snippet - if that makes sense.
Like this... but it's not working
<textarea>
<?php
eval(base64_decode("Pz4gPGRpdiB"));
?>
</textarea>

But it won't show the source php code, only the resulting html that the source code produces.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is better and interesting ,Networking or Software development?? rahul_2007_08 Development Software 5 06-02-2008 08:11 PM
Router problem, mixed with some xbox dns problem, and a tad of att dsl problem?.....? Brian DNS 0 05-13-2008 05:53 AM
What are some interesting stuff to do with PHP/Mysql? B M MySQL 0 05-06-2008 09:33 AM

Your Ad Here

All times are GMT. The time now is 11:40 AM.