Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Will generated PHP show in source?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 26 Jan 2008 :  16:14:28  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
I'm new to this, so please bear with me.

When the PHP code is generated on the server and sent to the client, is the resulting PHP code visible?

I want to create a registration code using the PayPal IPN, but I don't want the algorithm to be visible, nor do I want any of the PHP code (or it's derivative) to be visible.

Edited by - rmmarsh on 26 Jan 2008 18:45:30

petran
Super User

Netherlands
345 Posts

Posted - 26 Jan 2008 :  19:30:35  Show Profile  Visit petran's Homepage  Reply with Quote
your PHP code is not visible, only the by PHP generated HTML code is

--------

regards

Petran
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 26 Jan 2008 :  23:13:38  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Hmmm... so if I have some PHP code that generates a GUID, a user won't be able to see the code?
Go to Top of Page

petran
Super User

Netherlands
345 Posts

Posted - 27 Jan 2008 :  12:37:37  Show Profile  Visit petran's Homepage  Reply with Quote
Correct, the PHP code will be parsed by the server and only the generated HTML code is send to the client. Ofcourse this HTML code is visible in the source, but not the PHP you used.
Just try it and look at the sourcecode.

--------

regards

Petran

Edited by - petran on 27 Jan 2008 12:38:39
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000