Jump to content

Curl Instead Fopen


Recommended Posts

Hi,

 

I research all forum for answer but with no luck.

 

Can anyone explain step by step how to use curl instead fopen. Can i do something before installation?

 

I can't change pnp.ini.

 

  • Prestashop version: 1.6.1.2
  • PHP version: 5.2.17
  • MySQL version: 5.1.63-community-log
  • Free space: 68.36 GB
  • Total space: 127.71 GB
  • max_execution_time = 300
  • memory_limit = 256M
  • Xcache is not installed.
  • APC is not installed.
  • Memcached is not installed.
  • mcrypt is installed.
  • Curl is installed.
  • safe_mode is not activated.
  • register_globals is not activated.
  • allow_url_fopen is not activated.
  • Server API CGI/FastCGI

I also have this file before root of my server. Can i do something with this files:

.bash_logout

.bash_profile

.bashrc

.statspasswd

.wsrc

 

Link to comment
Share on other sites

Do you think that i'm stupid. I simply don't know how to do this thing. Is this your answer or advertisment for your addons?

If you find answers on "your" google i will pay you.

 

i research i think 1000 pages about that and no one expalin that in normal way. All answers are like half answers and i try all of them.

Is that hard to answer someone who need help.

Edited by africanodama (see edit history)
Link to comment
Share on other sites

No one said you are stupid, but at the same time, don't expect someone to detail exactly what you need to do.

 

Prestashop is coded to use fopen in some places, and curl in other places.  Sometimes the code was written to see if fopen is installed and enabled, and if it is then fopen will be used, if it is not then curl will be used.

 

If you don't know PHP programming language or are not comfortable with researching, coding and testing, then perhaps you should hire a professional who can go through all of the PS code base for you, locate all the usages of fopen, and change them to use a different function.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...