PHP: Fopen or simplexml

SpaceshipSpaceship
Watch

kedaar

Established Member
Impact
14
Hi,

I have written a script using fopen, however I can use simplexml to retrieve XML feed. As a lazy dominer I have reused the PHP script that was writter few years back using fopen.
I would like to know, would it be any performance issues if I keep fopen? Or I should be rewriting using simplexml.

I am expecting 100-200 hits on the page.

Thanking you,
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
To be honest the best way is to actually try it and see what performance hit it has.

If you are getting the xml from an external site you would probably be better using cURL to retrieve the data.
 
0
•••
To be honest the best way is to actually try it and see what performance hit it has.

If you are getting the xml from an external site you would probably be better using cURL to retrieve the data.

Thx Peter,

I was not aware of cURL. I will have to dig the info on cURL.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back