Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Website in php is safe?


jaysh4922

Recommended Posts

Yes, you just have to ensure you code in a secure manner, just like any other programming language.

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

  • 2 weeks later...

Who is telling you that PHP sites are inherently unsafe? They're lying to you, and probably trying to sell you .Net programming services or something. As Geoffrey said, PHP can be as safe as any other language (or, .Net can be as unsafe, if you don't) if you pay attention to security issues when coding.

Link to comment
Share on other sites

PHP is loosely typed which is why many attack it as unsafe. PHP is not inherently unsafe .. it does however offer a lot of power which can be abused if not written defensively.

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

How do we confirm our website is in PHP safe mode? We run an OSCommerce site v2.3.1. Our site is written in php. I am a non-technical oriented site owner and now after bad experiences with several programmers and programming companies, I am trying to learn more on my own. Obviously, I was to confirm that our php site is in safe mode. How specifically, do I do so? thanks!

Link to comment
Share on other sites

upload a file to your root web directory.

 

Let's say it's named my_test.php

 

All the file should contain is: -

 

<?php phpinfo(); ?>

 

Run the file in your browser: -

 

http://www.mysite.com/my_test.php

 

And unless your server managers have disallowed it you will see a full report.

 

Search for safe_mode you will see if On or Off

 

Delete the file after use as it is insecure to leave it available.

 

Also worth mentioning is that safe mode is not an ideal, in fact it was a daft idea, it is therefore deprecated.

Link to comment
Share on other sites

You could also go to your shop admin >> Tools >> Server Info.

 

Don't forget to delete my_test.php if you used Robert's method.

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

You could also go to your shop admin >> Tools >> Server Info.

 

Ridiculous!!!

 

Use an already available feature in admin rather than writing a perfectly good new file!!

 

Never heard of such a thing!

 

:rolleyes:

Link to comment
Share on other sites

@@FWR Media

 

Robert

 

Do you want to join my project committe to design a new method of moving heavy loads. I have the outline already, a container balanced on a large rod.

 

Just need somehing to go on each end. :-)

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

I used to love SMF, lost interest when [uNKNOWN] left and leadership got political.

Link to comment
Share on other sites

I have a more immediate need for helpers to roll a large rock up a steep hill for me...

 

Sorry count me out, I only roll rocks down hill.

 

Just about to patent a moss collector based on this.

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...